/* ==========================================================================
   WEBSPACE STUDIO — Feuille de styles officielle
   Identité : Éditoriale, minimaliste, studio digital haut de gamme
   Palette : Bleu nuit profond (#060B17) | Ardoise sombre (#0D1528) | Bleu électrique (#3B82F6)
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg-canvas: #060B17;
  --bg-surface: #0D1528;
  --bg-subtle: #15213B;
  --bg-dark: #040710;
  --bg-dark-card: #0E172E;

  /* Encres & Textes */
  --ink-primary: #F8FAFC;
  --ink-secondary: #CBD5E1;
  --ink-muted: #94A3B8;
  --ink-light: #F8FAFC;
  --ink-light-muted: #CBD5E1;

  /* Accent Bleu Électrique */
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-bright: #3B82F6;
  --accent-glow: #60A5FA;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --accent-border: rgba(96, 165, 250, 0.34);

  /* Bordures */
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-medium: rgba(148, 163, 184, 0.24);
  --border-dark: rgba(148, 163, 184, 0.16);

  /* Typographie */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Rayons & Ombres */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 14px 36px -8px rgba(0, 0, 0, 0.52), 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-hover: 0 22px 48px -12px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(96, 165, 250, 0.28), 0 8px 24px -8px rgba(37, 99, 235, 0.28);
  --shadow-device: 0 32px 68px -16px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(148, 163, 184, 0.14);

  /* Conteneur & Rythme */
  --container-max: 1200px;
  --header-height: 78px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  overflow-x: clip;
  width: 100%;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Adaptation des icônes SVG en mode sombre */
.card-icon svg [stroke="#2563EB"],
.service-icon svg [stroke="#2563EB"] {
  stroke: var(--accent-glow);
}

.service-icon svg rect[fill="#FFFFFF"] {
  fill: var(--bg-surface);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= BOUTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition: transform 0.22s var(--ease-out), background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), color 0.22s var(--ease-out);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn-sm {
  padding: 0.58rem 1.1rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-md {
  padding: 0.78rem 1.35rem;
  font-size: 0.9375rem;
  min-height: 44px;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
  min-height: 50px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(37, 99, 235, 0.55);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-border);
  background-color: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--ink-primary);
  border-color: var(--border-medium);
}

.btn-outline-dark:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-border);
  color: #FFFFFF;
}

/* ================= NAVIGATION / HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(6, 11, 23, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background-color: rgba(6, 11, 23, 0.95);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
  white-space: nowrap;
}

.brand-name span {
  font-weight: 500;
  color: var(--accent-glow);
}

.brand-name-light {
  color: var(--ink-light);
}

.brand-name-light span {
  color: var(--accent-glow);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link-highlight {
  color: #93C5FD;
  background-color: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.36);
  border-radius: var(--radius-full);
  padding: 0.36rem 0.78rem;
  font-weight: 600;
}

.nav-link-highlight::after {
  display: none;
}

.nav-link-highlight:hover {
  color: #FFFFFF;
  background-color: rgba(37, 99, 235, 0.28);
  border-color: var(--accent-glow);
}

.nav-link-highlight.is-active {
  color: #FFFFFF;
  background-color: var(--accent);
  border-color: var(--accent-bright);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.42);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Bouton Hamburger Mobile */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle-line {
  width: 20px;
  height: 2px;
  background-color: var(--ink-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu Tiroir Mobile */
.mobile-drawer {
  display: none;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-medium);
  padding: 1.25rem 1.5rem 1.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.5rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--accent-glow);
}

.mobile-drawer-footer {
  margin-top: 1.25rem;
}

/* ================= HÉRO ================= */
.hero-section {
  position: relative;
  padding: clamp(3.5rem, 6.5vw, 6.5rem) 0 clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.14), transparent 70%),
    linear-gradient(to right, rgba(148, 163, 184, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.065) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.hero-title {
  font-size: clamp(2.45rem, 4.9vw, 4.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: var(--ink-primary);
  margin-bottom: 1.5rem;
}

.text-accent {
  color: var(--accent-glow);
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2.1rem;
}

.hero-subtitle .hero-highlight {
  color: var(--ink-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 2.25rem;
}

.btn-software {
  background-color: rgba(37, 99, 235, 0.16);
  color: #93C5FD;
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: var(--shadow-sm);
}

.btn-software:hover {
  background-color: rgba(37, 99, 235, 0.28);
  border-color: var(--accent-glow);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-software-strip {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, rgba(14, 25, 53, 0.94) 0%, rgba(19, 36, 77, 0.94) 100%);
  border: 1px solid rgba(96, 165, 250, 0.36);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 18px 42px -12px rgba(0, 0, 0, 0.6), 0 0 36px -14px rgba(37, 99, 235, 0.24);
}

.hero-software-strip-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.hero-software-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.42);
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-software-strip-icon svg {
  width: 22px;
  height: 22px;
}

.hero-software-strip-text {
  min-width: 0;
}

.hero-software-strip-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 0.15rem;
}

.hero-software-strip-title {
  font-size: 1.04rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.hero-software-strip-desc {
  font-size: 0.9rem;
  color: var(--ink-light-muted);
  margin-top: 0.15rem;
}

.hero-software-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.hero-software-strip-cta {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero-software-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-software-strip-actions {
    width: 100%;
  }

  .hero-software-strip-actions .btn,
  .hero-software-strip-cta {
    width: 100%;
  }
}

.hero-sectors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.sector-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.sector-list li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-primary);
  position: relative;
}

.sector-list li:not(:last-child)::after {
  content: '·';
  margin-left: 1rem;
  color: var(--accent);
}

/* ================= VISUEL HÉRO : MAQUETTES MULTI-ÉCRANS ================= */
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(37, 99, 235, 0.28), transparent 65%);
  filter: blur(42px);
  pointer-events: none;
}

.showcase-stage {
  position: relative;
  width: 100%;
  padding: 2.35rem 0 2.5rem;
}

/* Maquette Ordinateur */
.mockup-desktop {
  width: 92%;
  background-color: #090F1E;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 32px 72px -16px rgba(0, 0, 0, 0.78), 0 0 48px -14px rgba(37, 99, 235, 0.26);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background-color: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
}

.browser-dots span:first-child {
  background-color: #3B82F6;
}

.browser-url {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #94A3B8;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
}

.desktop-screen {
  padding: 1.15rem 1.25rem 1.35rem;
  background: linear-gradient(160deg, #0B132B 0%, #090F1E 100%);
}

.wire-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.1rem;
}

.wire-brand {
  width: 44px;
  height: 8px;
  border-radius: 4px;
  background-color: #F8FAFC;
}

.wire-links {
  display: flex;
  gap: 10px;
}

.wire-links span {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  background-color: rgba(203, 213, 225, 0.35);
}

.wire-cta-sm {
  font-size: 0.62rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--accent);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
}

.wire-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.wire-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 0.45rem;
}

.wire-h1 {
  height: 11px;
  width: 95%;
  border-radius: 4px;
  background-color: #F8FAFC;
  margin-bottom: 0.38rem;
}

.wire-h1-short {
  width: 68%;
  margin-bottom: 0.65rem;
}

.wire-p {
  height: 6px;
  width: 90%;
  border-radius: 3px;
  background-color: rgba(203, 213, 225, 0.32);
  margin-bottom: 0.32rem;
}

.wire-p-short {
  width: 62%;
  margin-bottom: 0.8rem;
}

.wire-btn-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.wire-btn-primary {
  font-size: 0.62rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--accent);
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
}

.wire-btn-ghost {
  width: 44px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wire-hero-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wire-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.wire-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.65rem;
}

.wire-card-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background-color: rgba(59, 130, 246, 0.28);
  border: 1px solid rgba(96, 165, 250, 0.55);
  margin-bottom: 0.45rem;
}

.wire-line-md {
  height: 6px;
  width: 78%;
  border-radius: 3px;
  background-color: rgba(248, 250, 252, 0.72);
  margin-bottom: 0.3rem;
}

.wire-line-sm {
  height: 5px;
  width: 55%;
  border-radius: 3px;
  background-color: rgba(148, 163, 184, 0.35);
}

/* Maquette Smartphone superposée */
.mockup-phone {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  width: 32%;
  min-width: 142px;
  max-width: 175px;
  background-color: #090F1E;
  border-radius: 22px;
  padding: 0.45rem;
  border: 2px solid #1E293B;
  box-shadow: 0 24px 48px rgba(9, 15, 30, 0.42), 0 0 0 1px rgba(96, 165, 250, 0.25);
  animation: floatPhone 6s ease-in-out infinite;
}

.phone-notch {
  width: 40%;
  height: 5px;
  margin: 0.15rem auto 0.45rem;
  border-radius: 99px;
  background-color: #1E293B;
}

.phone-screen {
  background: linear-gradient(180deg, #101A34 0%, #090F1E 100%);
  border-radius: 14px;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.phone-logo {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  background-color: #F8FAFC;
}

.phone-burger {
  width: 12px;
  height: 2px;
  background-color: #94A3B8;
  box-shadow: 0 4px 0 #94A3B8;
}

.phone-hero {
  margin-bottom: 0.65rem;
}

.phone-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.52rem;
  color: var(--accent-glow);
  background-color: rgba(37, 99, 235, 0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  margin-bottom: 0.35rem;
}

.phone-title {
  height: 7px;
  width: 92%;
  border-radius: 3px;
  background-color: #F8FAFC;
  margin-bottom: 0.25rem;
}

.phone-title.short {
  width: 65%;
  margin-bottom: 0.4rem;
}

.phone-text {
  height: 4px;
  width: 85%;
  border-radius: 2px;
  background-color: rgba(203, 213, 225, 0.35);
  margin-bottom: 0.55rem;
}

.phone-btn {
  display: block;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--accent);
  padding: 0.3rem 0.4rem;
  border-radius: 5px;
}

.phone-block {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.4rem;
}

.phone-block-img {
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(15, 23, 42, 0.9));
  margin-bottom: 0.35rem;
}

.phone-block-line {
  height: 4px;
  width: 70%;
  border-radius: 2px;
  background-color: rgba(248, 250, 252, 0.55);
}

/* Badges flottants conceptuels (sans fausse stat) */
.stage-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.stage-tag-top {
  top: 0;
  right: 0;
}

.stage-tag-bottom {
  bottom: 0.65rem;
  left: 0.75rem;
  background-color: #090F1E;
  color: var(--ink-light);
  border-color: rgba(148, 163, 184, 0.28);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-bright);
}

.tag-svg {
  width: 16px;
  height: 16px;
  color: #CBD5E1;
}

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

/* ================= STRUCTURE DES SECTIONS ================= */
.section {
  padding: clamp(4rem, 7vw, 6.75rem) 0;
}

.section-light {
  background-color: var(--bg-canvas);
}

.section-surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--ink-light);
  overflow: hidden;
}

.dark-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%);
  pointer-events: none;
}

.section-index {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 0.85rem;
}

.section-index-dark {
  color: var(--accent-glow);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
}

.section-title-dark {
  color: var(--ink-light);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.section-lead-dark {
  color: var(--ink-light-muted);
}

.section-header-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.section-header-centered {
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 4.5vw, 3.75rem);
  text-align: center;
}

.section-header-centered .section-lead {
  margin-top: 1rem;
}

/* ================= POURQUOI AVOIR UN SITE ================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  margin-bottom: 1.35rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover .card-icon {
  background-color: var(--accent-soft);
  border-color: var(--accent-border);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.96rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ================= NOS SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-out), background-color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.service-card:hover {
  background-color: var(--bg-surface);
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-hover);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-num {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

/* ================= NOS RÉALISATIONS (EXTENSIBLE) ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.project-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-border);
}

.project-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-out);
}

.project-card:hover .project-media img {
  transform: scale(1.03);
}

.project-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-placeholder svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.project-card:hover .project-placeholder svg {
  transform: scale(1.02);
}

.project-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #E2E8F0;
  background-color: rgba(9, 15, 30, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-full);
}

.project-badge.is-live {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #FFFFFF;
  background-color: rgba(37, 99, 235, 0.92);
  border-color: rgba(147, 197, 253, 0.55);
  font-weight: 600;
}

.project-badge.is-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFFFFF;
}

.placeholder-caption {
  position: absolute;
  bottom: 0.7rem;
  right: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  color: rgba(203, 213, 225, 0.78);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin-bottom: 0.65rem;
}

.project-number {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-glow);
  white-space: nowrap;
}

.project-sector {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.project-title {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.project-desc {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-footer {
  margin-top: auto;
}

/* ================= NOTRE MÉTHODE ================= */
.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.method-step {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}

.method-step:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #60A5FA;
  background-color: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.32);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

.step-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.45), rgba(255, 255, 255, 0.06));
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--ink-light-muted);
  line-height: 1.6;
}

/* ================= NOS TARIFS ================= */
.pricing-lead {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-cards-grid .pricing-card-top,
.software-pricing-grid .pricing-card-top {
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.pricing-cards-grid .pricing-title-group,
.software-pricing-grid .pricing-title-group {
  flex: 1 1 175px;
}

.pricing-cards-grid .pricing-offer-title {
  font-size: clamp(1.25rem, 1.8vw, 1.52rem);
}

.pricing-cards-grid .pricing-value {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
}

.software-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.65rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.55rem, 2.7vw, 2.15rem);
  color: var(--ink-primary);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.pricing-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pricing-card .pricing-card-top {
  border-bottom-color: var(--border-subtle);
}

.pricing-card .pricing-eyebrow {
  color: var(--accent);
  background-color: var(--accent-soft);
  border-color: var(--accent-border);
}

.pricing-card .pricing-offer-title,
.pricing-card .pricing-value,
.pricing-card .pricing-list-title,
.pricing-card .pricing-summary-line {
  color: var(--ink-primary);
}

.pricing-card .pricing-summary-line {
  border-top-color: var(--border-subtle);
}

.pricing-card .pricing-from,
.pricing-card .pricing-offer-desc,
.pricing-card .pricing-checklist li {
  color: var(--ink-secondary);
}

.pricing-card .pricing-badge-price {
  background-color: var(--bg-surface);
  border-color: var(--border-subtle);
}

.pricing-card .pricing-check {
  background-color: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.pricing-eyebrow-highlight {
  color: #6EE7B7;
  background-color: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.42);
}

.pricing-strike {
  text-decoration: line-through;
  opacity: 0.72;
  margin-right: 0.35rem;
}

.pricing-sub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.pricing-sub-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.pricing-sub-link:hover {
  text-decoration: underline;
}

.pricing-legal-note {
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 72ch;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card-featured {
  position: relative;
  background: linear-gradient(155deg, #0E1935 0%, #15264E 100%);
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: var(--radius-lg);
  padding: clamp(1.85rem, 3.2vw, 2.5rem);
  color: var(--ink-light);
  box-shadow: var(--shadow-device);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pricing-card-glow {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 68%);
  pointer-events: none;
}

.pricing-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 1.45rem;
}

.pricing-title-group {
  min-width: 0;
}

.pricing-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-glow);
  background-color: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.28);
  padding: 0.32rem 0.72rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.pricing-offer-title {
  font-size: clamp(1.38rem, 2.2vw, 1.72rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.pricing-badge-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  text-align: right;
}

.pricing-from {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  margin-bottom: 0.18rem;
}

.pricing-value {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  white-space: nowrap;
}

.pricing-offer-desc {
  font-size: 1rem;
  color: var(--ink-light-muted);
  line-height: 1.65;
  margin-bottom: 1.55rem;
}

.pricing-includes {
  margin-bottom: 1.55rem;
}

.pricing-list-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 0.95rem;
}

.pricing-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #E2E8F0;
}

.pricing-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.06rem;
}

.pricing-check svg {
  width: 14px;
  height: 14px;
}

.pricing-summary-line {
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-dark);
  margin-top: auto;
}

.pricing-card-footer {
  padding-top: 0.2rem;
}

.pricing-disclaimer {
  margin-top: 0.95rem;
  font-size: 0.85rem;
  color: var(--ink-light-muted);
  line-height: 1.55;
  text-align: center;
}

.pricing-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.pricing-side-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  min-width: 0;
}

.pricing-side-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.pricing-side-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-side-icon svg {
  width: 22px;
  height: 22px;
}

.pricing-side-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.pricing-side-intro {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.domain-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.domain-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
}

.domain-item-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background-color: var(--bg-subtle);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.domain-item-icon svg {
  width: 18px;
  height: 18px;
}

.domain-item-body {
  min-width: 0;
  flex: 1;
}

.domain-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin-bottom: 0.35rem;
}

.domain-item-body h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.domain-cost-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  line-height: 1.3;
}

.domain-cost-tag-free {
  color: #34D399;
  background-color: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
}

.domain-item-body p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.domain-example {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  padding: 0.12rem 0.42rem;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

.domain-transparency {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-bright);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.domain-transparency p {
  font-size: 0.89rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.domain-accompany {
  font-weight: 600;
  color: var(--ink-primary);
}

.pricing-custom-card {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-canvas) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.pricing-custom-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

.pricing-custom-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
  margin-bottom: 0.55rem;
}

.pricing-custom-body p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.pricing-custom-cta {
  align-self: flex-start;
}

/* ================= APPEL À L'ACTION ================= */
.section-cta {
  background-color: var(--bg-canvas);
}

.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0D1731 0%, #14254E 100%);
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: var(--radius-lg);
  padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-device);
}

.cta-banner-glow {
  position: absolute;
  top: -45%;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.32), transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-glow);
  margin-bottom: 1rem;
}

.cta-title {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.15rem;
}

.cta-text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-light-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

/* ================= SECTION CONTACT ================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-intro {
  font-size: 1.04rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 1.15rem 0 2rem;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.highlight-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-icon svg {
  width: 15px;
  height: 15px;
}

.contact-highlights strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.15rem;
}

.contact-highlights span:not(.highlight-icon) {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.contact-form-wrap {
  min-width: 0;
}

.contact-form {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.form-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  min-width: 0;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-primary);
}

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

.opt {
  font-weight: 400;
  color: var(--ink-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
  font-size: 0.96rem;
  color: var(--ink-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 132px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748B;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.field-error {
  font-size: 0.82rem;
  color: #FCA5A5;
  min-height: 1.1em;
}

.field-error:empty {
  display: none;
}

.select-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  text-overflow: ellipsis;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}

.form-footnote {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-status.is-success {
  background-color: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #6EE7B7;
}

.form-status.is-info {
  background-color: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.38);
  color: #BFDBFE;
}

.form-status.is-error {
  background-color: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.38);
  color: #FCA5A5;
}

.status-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.status-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #DBEAFE;
  background-color: rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.status-copy-btn:hover {
  background-color: rgba(37, 99, 235, 0.45);
}

/* ================= PIED DE PAGE ================= */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--ink-light);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 440px;
  font-size: 0.94rem;
  color: var(--ink-light-muted);
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 1rem;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  display: inline-block;
  padding: 0.2rem 0;
  font-size: 0.92rem;
  color: var(--ink-light-muted);
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #CBD5E1;
  font-weight: 500;
  padding: 0.35rem 0;
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

.back-to-top:hover {
  color: #FFFFFF;
}

/* ================= MODALE PROJET EN PRÉPARATION ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(3, 6, 14, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-device);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.modal-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
  padding-right: 2rem;
}

.modal-desc {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ================= ANIMATIONS AU DÉFILEMENT ================= */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mockup-phone {
    animation: none;
  }
  .js-motion [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ================= RESPONSIVE TABLETTE (≤ 1320px / ≤ 1024px) ================= */
@media (max-width: 1320px) {
  .site-header .container {
    padding: 0 1.4rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .nav-list {
    gap: 0.65rem;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .nav-link-highlight {
    padding: 0.28rem 0.6rem;
  }

  .header-phone {
    padding: 0.36rem 0.62rem;
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 0.46rem 0.82rem;
    font-size: 0.8rem;
    min-height: 36px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .software-hero .legal-breadcrumb {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas,
  .hero-sectors {
    justify-content: center;
  }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .section-header-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefits-grid,
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-cards-grid .pricing-card-pack {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ================= RESPONSIVE MOBILE (≤ 1120px Navigation + ≤ 640px Grilles) ================= */
@media (max-width: 1120px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 820px) {
  .pricing-cards-grid,
  .pricing-meta-grid,
  .software-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards-grid .pricing-card-pack {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.15rem;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-name {
    font-size: 0.94rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn {
    overflow-wrap: break-word;
  }

  .hero-section {
    padding: 2.5rem 0 3.25rem;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 1.15rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.08;
    margin-bottom: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .sector-list li:not(:last-child)::after {
    margin-left: 0.65rem;
  }

  /* Showcase maquettes proprement contenu sur mobile */
  .showcase-stage {
    padding: 2rem 0 2.5rem;
  }

  .mockup-desktop {
    width: 94%;
  }

  .wire-hero {
    grid-template-columns: 1fr;
  }

  .wire-hero-media {
    display: none;
  }

  .mockup-phone {
    width: 42%;
    min-width: 122px;
    bottom: 0;
  }

  .stage-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }

  .stage-tag-top {
    left: 0;
    right: auto;
  }

  .stage-tag-bottom {
    display: none;
  }

  .benefits-grid,
  .services-grid,
  .projects-grid,
  .method-grid,
  .form-row-2,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .service-card,
  .method-step,
  .pricing-card,
  .pricing-card-featured,
  .pricing-side-card,
  .pricing-custom-card {
    padding: 1.45rem;
  }

  .pricing-cards-grid,
  .pricing-meta-grid,
  .software-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards-grid .pricing-card-pack {
    grid-column: auto;
  }

  .pricing-sub-link {
    min-height: 44px;
  }

  .pricing-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .pricing-badge-price {
    align-items: flex-start;
    text-align: left;
  }

  .pricing-disclaimer {
    text-align: left;
  }

  .pricing-custom-cta {
    width: 100%;
    align-self: stretch;
  }

  .project-body {
    padding: 1.4rem;
  }

  .contact-form {
    padding: 1.4rem;
  }

  .form-row-2 {
    gap: 0;
  }

  .footer-col a {
    padding: 0.42rem 0;
  }

  .modal-panel {
    padding: 1.5rem;
  }

  .modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .mockup-phone {
    width: 46%;
    min-width: 112px;
  }
}

/* ================= FORMULAIRE MAQUETTE GRATUITE (3 ÉTAPES) ================= */
.wizard-head {
  margin-bottom: 1.35rem;
}

.wizard-title {
  font-size: clamp(1.32rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.wizard-sub {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 1.05rem;
}

.wizard-progress-track {
  width: 100%;
  height: 5px;
  background-color: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.wizard-progress-fill {
  height: 100%;
  width: 33.333%;
  background-color: var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.28s var(--ease-out);
}

.wizard-step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.wizard-step-heading {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  margin-bottom: 1rem;
}

.wizard-step[hidden] {
  display: none;
}

.wizard-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.wizard-next-grow {
  flex: 1;
}

.request-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.request-type-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.request-type-option:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.request-type-option:hover {
  border-color: var(--accent-border);
}

.request-type-option:has(input:focus-visible) {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.request-type-option input[type="radio"],
.request-type-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-type-option.is-selected {
  border-color: var(--accent-bright);
  background-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.request-type-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.request-type-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border-medium);
  background-color: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #ffffff;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.request-type-check svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.request-type-option.is-selected .request-type-check {
  background-color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.request-type-option.is-selected .request-type-check svg {
  opacity: 1;
  transform: scale(1);
}

.request-type-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.25;
}

.request-type-desc {
  font-size: 0.78rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

.footnote-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink-secondary);
  text-decoration: underline;
  cursor: pointer;
}

.footnote-link:hover {
  color: var(--accent-glow);
}

@media (max-width: 600px) {
  .request-type-grid {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.choice-pills-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.choice-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.72rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.choice-pill:hover {
  border-color: var(--accent-border);
}

.choice-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill.is-selected {
  border-color: var(--accent-bright);
  background-color: var(--accent-soft);
  color: var(--accent-glow);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.conditional-subbox {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

.conditional-subbox[hidden] {
  display: none;
}

.logo-drop-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px dashed var(--accent-border);
  border-radius: var(--radius-xs);
  background-color: var(--bg-canvas);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.logo-drop-label:hover {
  border-color: var(--accent-glow);
  background-color: var(--accent-soft);
}

.logo-drop-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: var(--accent-soft);
  color: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-drop-icon svg {
  width: 18px;
  height: 18px;
}

.logo-drop-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.logo-drop-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-drop-hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.logo-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.logo-clear-btn {
  margin-top: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: underline;
  cursor: pointer;
}

.logo-clear-btn:hover {
  color: #F87171;
}

@media (max-width: 600px) {
  .choice-pills-row {
    grid-template-columns: 1fr;
  }
}

/* ================= COORDONNEES DIRECTES (CONTACT & FOOTER) ================= */
.contact-direct-card {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-direct-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-direct-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-primary);
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-direct-item:hover {
  color: var(--accent-glow);
}

.contact-direct-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: var(--accent-soft);
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-direct-icon svg {
  width: 17px;
  height: 17px;
}

.footer-contact-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light-muted);
  transition: color 0.2s ease;
}

.footer-contact-link svg {
  width: 16px;
  height: 16px;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.footer-contact-link:hover {
  color: #FFFFFF;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.46rem 0.82rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.header-phone svg {
  width: 15px;
  height: 15px;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.header-phone:hover {
  border-color: var(--accent-glow);
  color: var(--accent-glow);
  transform: translateY(-1px);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-phone {
    padding: 0.3rem 0.54rem;
    font-size: 0.74rem;
    gap: 0.24rem;
  }

  .header-phone svg {
    width: 12px;
    height: 12px;
  }
}

/* ================= PAGES JURIDIQUES (CGV, MENTIONS, CONFIDENTIALITÉ) ================= */
.legal-hero {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-canvas);
  overflow: hidden;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.legal-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.legal-breadcrumb a {
  color: var(--ink-secondary);
  font-weight: 600;
}

.legal-breadcrumb a:hover {
  color: var(--accent-glow);
}

.legal-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--ink-primary);
  margin-bottom: 1rem;
}

.legal-lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
}

.legal-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.42rem 0.85rem;
}

.legal-meta-pill.is-draft-notice {
  color: #FCD34D;
  background-color: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.35);
}

.legal-page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-page-tab {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

.legal-page-tab:hover {
  color: var(--ink-primary);
  border-color: var(--accent-border);
  background-color: var(--accent-soft);
}

.legal-page-tab.is-active {
  color: #FFFFFF;
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.4);
}

.legal-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 6.5vw, 5.5rem);
  background-color: var(--bg-surface);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 285px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.legal-toc-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.legal-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 0.85rem;
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.legal-toc-list a {
  display: block;
  padding: 0.42rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  line-height: 1.35;
}

.legal-toc-list a:hover {
  color: var(--ink-primary);
  background-color: var(--bg-surface);
}

.legal-sidebar-contact {
  background: linear-gradient(155deg, #0D1731 0%, #14254E 100%);
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  color: var(--ink-light);
}

.legal-sidebar-contact h2 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.45rem;
}

.legal-sidebar-contact p {
  font-size: 0.85rem;
  color: var(--ink-light-muted);
  line-height: 1.55;
  margin-bottom: 0.95rem;
}

.legal-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.legal-sidebar-links a {
  color: var(--accent-glow);
  overflow-wrap: anywhere;
}

.legal-sidebar-links a:hover {
  color: #FFFFFF;
}

.legal-document {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.legal-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 3vw, 2.15rem);
  scroll-margin-top: calc(var(--header-height) + 24px);
  overflow-wrap: anywhere;
}

.legal-card code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.legal-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  line-height: 1.25;
}

.legal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 1.15rem 0 0.45rem;
}

.legal-card p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: var(--ink-primary);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.65rem 0 0.95rem;
}

.legal-list:last-child {
  margin-bottom: 0;
}

.legal-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-bright);
}

.legal-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.75rem 0 0.95rem;
}

.legal-fact {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  min-width: 0;
}

.legal-fact-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.legal-fact-value {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-primary);
  overflow-wrap: anywhere;
}

.legal-callout {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-bright);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.legal-pending-box {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 0.85rem 0;
  font-size: 0.91rem;
  color: #FDE68A;
  line-height: 1.62;
}

.legal-pending-box strong {
  color: #FEF3C7;
}

.legal-retraction-box {
  background-color: var(--bg-surface);
  border: 1.5px dashed var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.legal-retraction-box h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  color: var(--ink-primary);
}

.legal-inline-link {
  color: var(--accent-glow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-inline-link:hover {
  color: #93C5FD;
}

.legal-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
}

.legal-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 2.1rem 0 1.85rem;
  }

  .legal-title {
    font-size: 1.8rem;
  }

  .legal-page-tabs {
    flex-direction: column;
  }

  .legal-page-tab {
    width: 100%;
    justify-content: center;
  }

  .legal-facts-grid {
    grid-template-columns: 1fr;
  }

  .legal-bottom-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-bottom-links {
    flex-direction: column;
  }

  .legal-bottom-actions .btn {
    width: 100%;
  }
}

/* ================= PAGE LOGICIELS DE GESTION (WEBSPACE GESTION) ================= */
.software-hero {
  padding-top: clamp(2.75rem, 5.5vw, 5rem);
}

.software-hero .legal-breadcrumb {
  display: flex;
  width: 100%;
  margin-bottom: 1rem;
}

.win-stage {
  position: relative;
  width: 100%;
  padding: 2.25rem 0 2.75rem;
}

.win-frame {
  width: 100%;
  background-color: #090F1E;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 32px 72px -16px rgba(0, 0, 0, 0.82), 0 0 48px -14px rgba(37, 99, 235, 0.26);
  overflow: hidden;
}

.win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background-color: #0F172A;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.win-app-id {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: #E2E8F0;
}

.win-app-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background-color: rgba(37, 99, 235, 0.24);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #60A5FA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.win-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.win-ctrl {
  width: 22px;
  height: 18px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  line-height: 1;
}

.win-body {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  background: linear-gradient(160deg, #0B132B 0%, #070D1D 100%);
}

.win-sidebar {
  padding: 1rem 0.75rem;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  background-color: rgba(4, 7, 16, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.win-nav-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  padding: 0.44rem 0.6rem;
  border-radius: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-nav-pill.is-active {
  background-color: rgba(37, 99, 235, 0.22);
  color: #93C5FD;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.win-main {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.win-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.win-main-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #F8FAFC;
}

.win-badge-concept {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #93C5FD;
  background-color: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.32);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.win-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.win-kpi {
  background-color: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
}

.win-kpi-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  margin-bottom: 0.35rem;
}

.win-kpi-bar {
  display: block;
  height: 7px;
  width: 78%;
  border-radius: 4px;
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
  margin-bottom: 0.32rem;
}

.win-kpi-sub {
  display: block;
  font-size: 0.68rem;
  color: #CBD5E1;
  font-weight: 500;
}

.win-doc-panel {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.win-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 0.72rem;
  color: #E2E8F0;
}

.win-doc-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.win-doc-tag {
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.16rem 0.48rem;
  border-radius: var(--radius-full);
  background-color: rgba(59, 130, 246, 0.18);
  color: #93C5FD;
  white-space: nowrap;
}

.win-doc-tag.is-ok {
  background-color: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
}

.win-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background-color: #050914;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.68rem;
  color: #94A3B8;
}

.software-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.software-feature-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.55rem 1.65rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: transform 0.28s var(--ease-out), background-color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.software-feature-card:hover {
  background-color: var(--bg-surface);
  transform: translateY(-3px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-hover);
}

.software-feature-card .service-icon {
  flex-shrink: 0;
  color: var(--accent-glow);
}

.software-feature-body {
  min-width: 0;
}

.software-feature-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.software-feature-body p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.advantages-grid .card-icon {
  color: var(--accent-glow);
}

.windows-terms-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.windows-terms-grid .method-step {
  grid-column: span 2;
}

.windows-terms-grid .method-step:nth-child(4),
.windows-terms-grid .method-step:nth-child(5) {
  grid-column: span 3;
}

.windows-honest-note {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--accent-bright);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  font-size: 0.92rem;
  color: var(--ink-light-muted);
  line-height: 1.62;
}

.windows-honest-note strong {
  color: var(--ink-light);
}

.evolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.evolution-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.evolution-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

.evolution-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.evolution-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
}

.evolution-card p {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.cta-actions-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-direct-meta {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-light-muted);
}

.cta-direct-meta a {
  color: var(--accent-glow);
  font-weight: 600;
}

.cta-direct-meta a:hover {
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .windows-terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .windows-terms-grid .method-step {
    grid-column: auto;
  }

  .windows-terms-grid .method-step:nth-child(4),
  .windows-terms-grid .method-step:nth-child(5) {
    grid-column: auto;
  }

  .windows-terms-grid .method-step:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .software-features-grid,
  .advantages-grid,
  .evolution-grid,
  .windows-terms-grid {
    grid-template-columns: 1fr;
  }

  .windows-terms-grid .method-step:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .win-stage {
    padding: 1.85rem 0 2.25rem;
  }

  .win-body {
    grid-template-columns: 1fr;
  }

  .win-sidebar {
    display: none;
  }

  .win-kpi-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions-centered {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions-centered .btn {
    width: 100%;
  }
}

.demo-download-box {
  position: relative;
  background: linear-gradient(135deg, #0D1731 0%, #14254E 100%);
  border: 1px solid rgba(96, 165, 250, 0.36);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.2vw, 2.35rem);
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-device);
  overflow: hidden;
}

.demo-download-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

.demo-download-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 0.55rem;
}

.demo-download-title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.demo-download-desc {
  font-size: 0.94rem;
  color: var(--ink-light-muted);
  line-height: 1.62;
}

.demo-download-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-dark);
}

.demo-device-grid.is-single-device {
  grid-template-columns: 1fr;
}

.demo-device-item {
  display: flex;
  flex-direction: column;
  background-color: rgba(6, 11, 23, 0.45);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
}

.demo-device-item[hidden] {
  display: none !important;
}

.demo-device-item.is-detected {
  border-color: rgba(96, 165, 250, 0.42);
  background-color: rgba(15, 28, 56, 0.72);
}

.demo-device-detected {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.18rem 0.58rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93C5FD;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.demo-device-detected[hidden] {
  display: none !important;
}

.demo-device-switch-wrap {
  margin-top: 0.75rem;
}

.demo-device-switch-wrap[hidden] {
  display: none !important;
}

.demo-device-switch-btn {
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: var(--ink-light-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.demo-device-switch-btn:hover {
  color: #FFFFFF;
}

.demo-device-item strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.demo-device-item p {
  font-size: 0.84rem;
  color: var(--ink-light-muted);
  line-height: 1.55;
  flex: 1;
}

.demo-device-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-device-link:hover {
  color: #FFFFFF;
}

@media (max-width: 960px) {
  .demo-download-head,
  .demo-device-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AMÉLIORATIONS VITRINE WEBSPACE STUDIO
   Démos avec fonctionnalité clé, mention fictive, engagements & à-propos
   ========================================================================== */

.projects-grid .project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.projects-grid .project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.projects-grid .project-footer {
  margin-top: auto;
  padding-top: 0.25rem;
}

.project-feature {
  margin-top: 0.95rem;
  margin-bottom: 1.35rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.22);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.project-feature strong {
  color: var(--accent-glow);
  font-weight: 700;
}

.demos-disclaimer {
  margin-top: 2.25rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.demos-disclaimer-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.12rem;
}

.demos-disclaimer p {
  font-size: 0.875rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.demos-disclaimer strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.demos-disclaimer em {
  color: var(--ink-secondary);
  font-style: normal;
  font-weight: 500;
}

/* Section Engagements : Pourquoi choisir Webspace Studio ? */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.commitment-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-out), background-color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.commitment-card:hover {
  transform: translateY(-4px);
  background-color: rgba(13, 21, 40, 0.9);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-hover);
}

.commitment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.commitment-num {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  padding: 0.26rem 0.65rem;
  border-radius: var(--radius-full);
}

.commitment-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
}

.commitment-icon svg {
  width: 20px;
  height: 20px;
}

.commitment-card .card-title {
  font-size: 1.06rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--ink-primary);
}

.commitment-card .card-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* Badge hébergement transparent (à la charge du client) */
.domain-cost-tag-client {
  background-color: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-glow);
}

/* Section À propos : Studio à taille humaine */
.about-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem;
  align-items: stretch;
}

.about-studio-story,
.about-studio-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.about-studio-story {
  gap: 1.05rem;
}

.about-studio-story h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.about-studio-story p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.about-story-footer {
  margin-top: auto;
  padding-top: 0.65rem;
}

.about-card-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-glow);
  margin-bottom: 0.4rem;
}

.about-card-title {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 1.5rem;
}

.about-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
}

.about-pillar-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: flex-start;
  padding-top: 1.05rem;
  border-top: 1px solid var(--border-subtle);
}

.about-pillar-item:first-child {
  padding-top: 0;
  border-top: none;
}

.about-pillar-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-glow);
  background-color: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  padding: 0.24rem 0.6rem;
  margin-top: 0.1rem;
}

.about-pillar-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
}

.about-pillar-item span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

@media (max-width: 1024px) {
  .commitments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-studio-layout {
    grid-template-columns: 1fr;
  }
}

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

  .commitment-card,
  .about-studio-story,
  .about-studio-card {
    padding: 1.5rem;
  }

  .demos-disclaimer {
    padding: 1rem 1.05rem;
    gap: 0.75rem;
  }

  .project-feature {
    padding: 0.75rem 0.85rem;
    font-size: 0.84rem;
  }
}


/* ================= OPTIMISATIONS RESPONSIVE, MODALES & CIBLES TACTILES ================= */
body {
  min-height: 100dvh;
}

.mobile-drawer {
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-panel {
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  width: 44px;
  height: 44px;
}

.btn-sm,
.legal-page-tab,
.status-copy-btn,
.logo-clear-btn {
  min-height: 44px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-contact-link,
.cta-direct-meta,
.cta-direct-meta a,
.legal-prose code,
.legal-prose a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.win-statusbar {
  flex-wrap: wrap;
}

.retraction-box input,
.retraction-box .retraction-line {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.4rem;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.42rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 0.35rem;
  }

  .header-phone {
    min-height: 44px;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    gap: 0.22rem;
  }

  .modal-panel {
    padding: 1.5rem 1.15rem;
  }
}

@media (max-width: 374px) {
  .container {
    padding: 0 0.85rem;
  }

  .brand-name {
    font-size: 0.78rem;
  }
}

.select-chevron {
  display: none;
}

.form-group select {
  appearance: auto;
  -webkit-appearance: menulist;
  padding-right: 1rem;
}

@media (max-width: 440px) {
  .brand-name {
    font-size: clamp(0.69rem, 3.6vw, 0.85rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-phone {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  .header-phone span {
    display: none;
  }

  .header-phone svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.72rem;
  }

  .header-inner {
    gap: 0.3rem;
  }

  .brand {
    gap: 0.32rem;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
  }

  .brand-name {
    font-size: 0.69rem;
    letter-spacing: 0.015em;
  }

  .header-actions {
    gap: 0.25rem;
  }
}
