/* ================================================================
   ResQRent — Design System v2
   Inspiré Apple + NextMobile + premium brand. Blanc + orange + navy.
   ================================================================ */

/* ----- Tokens ----- */
:root {
  /* Couleurs */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F7F8FA;
  --c-bg-soft: #FDFBF7;
  --c-text: #0A1A3E;
  --c-text-muted: #3D4F6F;
  --c-text-soft: #7B8BA5;
  --c-border: #E5E7EB;
  --c-border-soft: #EEF0F3;

  --c-primary: #E96B10;
  --c-primary-600: #D15E0B;
  --c-primary-700: #B44F08;
  --c-primary-50: #FFF6EE;
  --c-primary-100: #FFE4CC;

  --c-navy: #0A1A3E;
  --c-navy-600: #112142;
  --c-navy-soft: #1E2E55;
  --c-accent-blue: #2563EB;

  --c-success: #10B981;
  --c-success-bg: #D1FAE5;
  --c-warning: #F59E0B;
  --c-warning-bg: #FEF3C7;
  --c-danger: #DC2626;
  --c-danger-bg: #FEE2E2;
  --c-info: #3B82F6;
  --c-info-bg: #DBEAFE;

  /* Rayons */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(16,24,40,.04);
  --sh-sm: 0 2px 6px rgba(16,24,40,.05), 0 1px 2px rgba(16,24,40,.03);
  --sh-md: 0 4px 14px rgba(16,24,40,.08), 0 2px 6px rgba(16,24,40,.04);
  --sh-lg: 0 12px 32px rgba(16,24,40,.10), 0 4px 12px rgba(16,24,40,.06);
  --sh-xl: 0 24px 60px rgba(16,24,40,.14);
  --sh-glow: 0 10px 30px -10px rgba(233,107,16,.45);

  /* Espacement */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Typographie */
  --f-display: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Transitions */
  --t-fast: 120ms ease;
  --t-base: 200ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);

  /* Container */
  --container-max: 1240px;
  --container-narrow: 780px;

  /* Navbar */
  --nav-h: 72px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary-600); }
a.btn { color: var(--btn-color); }
a.btn:hover { color: var(--btn-color); }
:focus-visible { outline: 3px solid rgba(233,107,16,.4); outline-offset: 2px; border-radius: var(--r-sm); }

::selection { background: var(--c-primary); color: #fff; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--c-text);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.625rem, 2.5vw + .75rem, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: var(--sp-3);
}
.text-muted { color: var(--c-text-muted); }
.text-soft { color: var(--c-text-soft); }
.text-primary { color: var(--c-primary); }
.text-small { font-size: .875rem; }
.text-lead { font-size: 1.125rem; color: var(--c-text-muted); line-height: 1.6; }
.accent { color: var(--c-primary); position: relative; }
.accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.05em; height: .12em;
  background: var(--c-primary); opacity: .18; border-radius: var(--r-full);
}

/* ----- Layout ----- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-6); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-20) 0; position: relative; }
.section-sm { padding: var(--sp-12) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-soft) 100%);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .text-muted { color: rgba(255,255,255,.7); }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.mt-1 { margin-top: var(--sp-2); } .mt-2 { margin-top: var(--sp-4); }
.mt-3 { margin-top: var(--sp-6); } .mt-4 { margin-top: var(--sp-8); }
.mt-5 { margin-top: var(--sp-12); }
.mb-1 { margin-bottom: var(--sp-2); } .mb-2 { margin-bottom: var(--sp-4); }
.mb-3 { margin-bottom: var(--sp-6); } .mb-4 { margin-bottom: var(--sp-8); }
.mb-5 { margin-bottom: var(--sp-12); }

/* ----- Navbar ----- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--c-border-soft);
  transition: box-shadow var(--t-base);
}
.navbar.is-scrolled { box-shadow: var(--sh-sm); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: var(--sp-6);
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-6);
}
.navbar-logo { display: inline-flex; align-items: center; transition: transform var(--t-fast); }
.navbar-logo:hover { transform: translateY(-1px); }
.navbar-logo .logo { height: 34px; width: auto; }

.navbar-menu { display: flex; align-items: center; gap: var(--sp-8); }
.navbar-menu > ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: var(--sp-6); align-items: center;
}
.navbar-menu > ul a {
  color: var(--c-text); font-family: var(--f-display); font-weight: 500;
  font-size: 14.5px; padding: var(--sp-2) 0;
  position: relative;
  transition: color var(--t-fast);
  text-decoration: none;
}
.navbar-menu > ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base);
}
.navbar-menu > ul a:hover, .navbar-menu > ul a.active { color: var(--c-primary); }
.navbar-menu > ul a.active::after, .navbar-menu > ul a:hover::after { transform: scaleX(1); }

.navbar-actions { display: flex; align-items: center; gap: var(--sp-3); }
.navbar-link {
  color: var(--c-text); font-family: var(--f-display); font-weight: 500;
  font-size: 14.5px; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.navbar-link:hover { background: var(--c-bg-alt); color: var(--c-text); }
.navbar-cta {
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  color: var(--c-primary);
  padding: 7px 16px; border-radius: var(--r-full);
  border: 1.5px solid var(--c-primary);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap; line-height: 1.3;
  text-decoration: none;
}
.navbar-cta:hover { background: var(--c-primary); color: #fff; text-decoration: none; }
.navbar-cta::after { display: none !important; }

.navbar-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  position: relative;
}
.navbar-toggle span {
  display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 1px;
  position: absolute; left: 10px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.navbar-toggle span:nth-child(1) { top: 14px; }
.navbar-toggle span:nth-child(2) { top: 20px; }
.navbar-toggle span:nth-child(3) { top: 26px; }
.navbar-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sélecteur langue */
.lang-switch { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--r-sm);
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  color: var(--c-text); transition: background var(--t-fast);
}
.lang-trigger:hover { background: var(--c-bg-alt); }
.lang-trigger svg { width: 14px; height: 14px; opacity: .7; transition: transform var(--t-fast); }
.lang-switch[data-open="true"] .lang-trigger svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  min-width: 200px; padding: var(--sp-2);
  display: none;
  z-index: 200;
}
.lang-switch[data-open="true"] .lang-menu { display: block; animation: fadeIn var(--t-base); }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--c-text); font-weight: 500;
}
.lang-menu a:hover { background: var(--c-bg-alt); color: var(--c-text); }
.lang-menu a.is-current { color: var(--c-primary); background: var(--c-primary-50); }
.lang-menu .flag { font-size: 16px; line-height: 1; }

/* ----- Buttons ----- */
.btn {
  --btn-bg: var(--c-primary);
  --btn-color: #fff;
  --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r-md);
  border: 2px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-color);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  text-align: center; line-height: 1.2; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(233,107,16,.4); outline-offset: 2px; }
.btn-primary { --btn-bg: var(--c-primary); --btn-color: #fff; box-shadow: var(--sh-glow); }
.btn-primary:hover { --btn-bg: var(--c-primary-600); box-shadow: 0 14px 36px -8px rgba(233,107,16,.55); }
.btn-secondary { --btn-bg: transparent; --btn-color: var(--c-primary); --btn-border: var(--c-primary); }
.btn-secondary:hover { --btn-bg: var(--c-primary); --btn-color: #fff; color: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-color: var(--c-text); --btn-border: var(--c-border); }
.btn-ghost:hover { --btn-bg: var(--c-text); --btn-color: #fff; color: #fff; }
.btn-dark { --btn-bg: var(--c-navy); --btn-color: #fff; }
.btn-dark:hover { --btn-bg: var(--c-navy-soft); --btn-color: #fff; color: #fff; }
.btn-danger { --btn-bg: var(--c-danger); --btn-color: #fff; }
.btn-danger:hover { --btn-bg: #B91C1C; --btn-color: #fff; color: #fff; }
.btn-success { --btn-bg: var(--c-success); --btn-color: #fff; }
.btn-success:hover { color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 20px 38px; font-size: 17px; border-radius: var(--r-lg); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ----- Hero ----- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 10vw, 140px) 0 clamp(80px, 12vw, 160px);
  background: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 65% -10%, rgba(233,107,16,.08), transparent 55%),
    radial-gradient(ellipse 60% 70% at -5% 100%, rgba(37,99,235,.06), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-16); align-items: center;
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-6);
  position: relative;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: var(--sp-8);
  font-weight: 800;
}
.hero-subtitle {
  font-size: clamp(1.05rem, .4vw + .95rem, 1.35rem);
  color: var(--c-text-muted); max-width: 560px;
  margin-bottom: var(--sp-10); line-height: 1.65;
}
.hero-ctas {
  display: flex; gap: var(--sp-4); flex-wrap: wrap;
  align-items: center;
}
.hero-badges {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  margin-top: var(--sp-10);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: var(--c-bg-alt); border: 1px solid var(--c-border-soft);
  font-size: .82rem; font-weight: 600; color: var(--c-text-muted);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--c-success); }

.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 500px;
}
.hero-product {
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.18));
  animation: floaty 7s ease-in-out infinite;
  max-width: 380px;
  position: relative; z-index: 1;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-5deg) scale(1); }
  50%      { transform: translateY(-16px) rotate(-3deg) scale(1.02); }
}
.hero-glow {
  position: absolute; inset: 5% 10%;
  background: radial-gradient(circle, rgba(233,107,16,.20), transparent 55%);
  filter: blur(50px); z-index: 0;
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50%     { opacity: .75; transform: scale(1.15); }
}
.hero-ring {
  position: absolute; z-index: 0;
  width: 420px; height: 420px;
  border: 2px solid rgba(233,107,16,.1);
  border-radius: 50%;
  animation: ring-grow 8s ease-in-out infinite;
}
.hero-ring:nth-child(2) { width: 520px; height: 520px; animation-delay: -2s; border-color: rgba(37,99,235,.06); }
@keyframes ring-grow {
  0%,100% { transform: scale(.95); opacity: .5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Rotating words — single-word swap, clean */
.rotate-wrap {
  display: inline-block; position: relative;
  height: 1.15em; overflow: hidden;
  vertical-align: bottom;
}
.rotate-wrap .rotate-inner {
  display: flex; flex-direction: column;
}
.rotate-wrap .rw {
  height: 1.15em; display: flex; align-items: center;
  color: var(--c-primary);
  font-weight: 800;
  white-space: nowrap;
}
.rotate-inner {
  animation: rotateY 15s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes rotateY {
  0%,12%     { transform: translateY(0); }
  16.66%,28% { transform: translateY(calc(-1 * 1.15em)); }
  33.33%,45% { transform: translateY(calc(-2 * 1.15em)); }
  50%,62%    { transform: translateY(calc(-3 * 1.15em)); }
  66.66%,78% { transform: translateY(calc(-4 * 1.15em)); }
  83.33%,95% { transform: translateY(calc(-5 * 1.15em)); }
  100%       { transform: translateY(0); }
}

/* Price tag in hero */
.hero-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  color: var(--c-text-muted);
  margin-top: var(--sp-4);
}
.hero-price .amt {
  font-size: 2rem; font-weight: 800; color: var(--c-primary);
  letter-spacing: -0.02em; line-height: 1;
}

/* Use-case grid */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.usecase {
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-soft);
  background: #fff;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.usecase:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--c-primary-100);
}
.usecase-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--c-primary-50); color: var(--c-primary);
  display: grid; place-items: center; margin-bottom: var(--sp-3);
}
.usecase-icon svg { width: 22px; height: 22px; }
.usecase h4 { font-size: .95rem; margin-bottom: var(--sp-1); }
.usecase p { font-size: .85rem; color: var(--c-text-muted); margin: 0; }

@media (max-width: 860px) {
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .usecase-grid { grid-template-columns: 1fr; }
}

/* ----- Steps ----- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6);
}
.step {
  text-align: center; padding: var(--sp-6);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), background var(--t-base);
}
.step:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--sh-md); }
.step-icon {
  width: 64px; height: 64px; margin: 0 auto var(--sp-4);
  background: linear-gradient(135deg, var(--c-primary-50), #fff);
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  color: var(--c-primary);
  box-shadow: var(--sh-xs);
}
.step-icon svg { width: 30px; height: 30px; }
.step-number {
  display: inline-block;
  font-family: var(--f-display); font-weight: 700;
  color: var(--c-primary); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.step h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.step p { color: var(--c-text-muted); font-size: .95rem; margin: 0; }

/* ----- Cards ----- */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

/* Card produit */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--sp-6);
}
.card-product { display: flex; flex-direction: column; }
.card-product .card-image {
  background: linear-gradient(180deg, var(--c-bg-alt) 0%, #fff 100%);
  height: 260px; display: grid; place-items: center;
  padding: var(--sp-6);
  position: relative; overflow: hidden;
}
.card-product .card-image::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(233,107,16,.08), transparent 60%);
  opacity: 0; transition: opacity var(--t-base);
}
.card-product:hover .card-image::before { opacity: 1; }
.card-product .card-image img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--t-slow);
}
.card-product:hover .card-image img { transform: scale(1.05); }
.card-product .card-body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  display: flex; flex-direction: column; flex: 1;
}
.card-product .card-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  color: var(--c-accent-blue); background: var(--c-info-bg);
  padding: 4px 10px; border-radius: var(--r-full);
  letter-spacing: .04em; margin-bottom: var(--sp-2);
  text-transform: uppercase;
}
.card-product h3 { margin: 0 0 var(--sp-1); font-size: 1.2rem; }
.card-product .card-desc {
  color: var(--c-text-muted); font-size: .9rem;
  min-height: 3em; margin-bottom: var(--sp-4);
  line-height: 1.5;
}
.card-product .card-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-3); margin-top: auto;
}
.card-product .price {
  font-family: var(--f-display); font-weight: 700;
  color: var(--c-primary); font-size: 1.5rem; line-height: 1;
}
.card-product .price small {
  display: block; font-weight: 500; font-size: .72rem;
  color: var(--c-text-soft); margin-top: 4px; letter-spacing: .02em;
}

/* Badges stock */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .02em;
}
.badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.badge-available { background: var(--c-success-bg); color: #065F46; }
.badge-soon      { background: var(--c-warning-bg); color: #92400E; }
.badge-notify    { background: #E5E7EB; color: #374151; }
.badge-success   { background: var(--c-success-bg); color: #065F46; }
.badge-warning   { background: var(--c-warning-bg); color: #92400E; }
.badge-info      { background: var(--c-info-bg); color: #1E40AF; }
.badge-danger    { background: var(--c-danger-bg); color: #991B1B; }
.badge-muted     { background: #E5E7EB; color: #374151; }
.badge-plain { padding: 3px 10px; }
.badge-plain::before { display: none; }

/* ----- Trust / réassurance ----- */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6);
}
.trust-item {
  text-align: left; padding: var(--sp-8) var(--sp-6);
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border-soft);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.trust-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-600));
  color: #fff; display: grid; place-items: center; margin-bottom: var(--sp-4);
  box-shadow: var(--sh-glow);
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-item h4 { margin-bottom: var(--sp-2); font-size: 1.125rem; }
.trust-item p { color: var(--c-text-muted); margin: 0; font-size: .95rem; }

/* Stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6);
  padding: var(--sp-10) var(--sp-8);
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-soft));
  border-radius: var(--r-xl); color: #fff;
  box-shadow: var(--sh-xl);
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--f-display); font-weight: 800; font-size: 2.25rem;
  line-height: 1; color: #fff; margin-bottom: 6px;
}
.stat-value .plus { color: var(--c-primary); }
.stat-label {
  color: rgba(255,255,255,.72); font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ----- Product page ----- */
.product-page {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16);
  padding: var(--sp-12) 0;
}
.product-gallery {
  background: linear-gradient(180deg, var(--c-bg-alt) 0%, #fff 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  display: grid; place-items: center;
  min-height: 520px; position: relative; overflow: hidden;
}
.product-gallery img { max-height: 460px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.12)); }
.product-info .product-tag {
  display: inline-block;
  color: var(--c-accent-blue); background: var(--c-info-bg);
  padding: 5px 12px; border-radius: var(--r-full);
  font-weight: 700; font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: var(--sp-3);
}
.product-info h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  margin-bottom: var(--sp-2);
}
.product-info .short-desc {
  color: var(--c-text-muted); font-size: 1.05rem;
  margin-bottom: var(--sp-8); line-height: 1.6;
}

.duration-selector {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-6);
}
.duration-option {
  border: 2px solid var(--c-border); border-radius: var(--r-md);
  padding: 14px 10px; cursor: pointer;
  transition: all var(--t-base);
  text-align: center; background: #fff;
  position: relative;
}
.duration-option:hover { border-color: var(--c-primary-100); }
.duration-option .d-label {
  display: block; font-family: var(--f-display); font-weight: 700;
  color: var(--c-text); font-size: .9rem; margin-bottom: 2px;
}
.duration-option .d-price { color: var(--c-text-muted); font-size: .85rem; font-weight: 500; }
.duration-option.selected {
  border-color: var(--c-primary);
  background: var(--c-primary-50);
  box-shadow: 0 0 0 3px rgba(233,107,16,.12);
}
.duration-option.selected .d-price { color: var(--c-primary-700); font-weight: 700; }
.duration-option input { position: absolute; opacity: 0; pointer-events: none; }

.insurance-toggle {
  border: 2px solid var(--c-border); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  display: flex; gap: var(--sp-4); align-items: flex-start;
  cursor: pointer; transition: all var(--t-base);
  margin: var(--sp-4) 0 var(--sp-6);
}
.insurance-toggle:has(input:checked) {
  border-color: var(--c-primary); background: var(--c-primary-50);
}
.insurance-toggle input { margin-top: 4px; accent-color: var(--c-primary); }
.insurance-toggle strong { display: block; color: var(--c-text); font-weight: 700; }
.insurance-toggle small { display: block; color: var(--c-text-muted); font-size: .88rem; margin-top: 2px; }

/* Tabs */
.tabs {
  display: flex; gap: var(--sp-1);
  border-bottom: 1px solid var(--c-border); margin-bottom: var(--sp-6);
  overflow-x: auto;
}
.tab {
  padding: 12px 20px; border: 0; background: none;
  font-family: var(--f-display); font-weight: 600;
  color: var(--c-text-muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.tab:hover { color: var(--c-text); }
.tab.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab-panel { display: none; animation: fadeIn var(--t-base); }
.tab-panel.active { display: block; }

.tech-table { width: 100%; border-collapse: collapse; }
.tech-table td {
  padding: 12px 0; border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
}
.tech-table td:first-child {
  color: var(--c-text-muted); width: 40%;
  font-weight: 500; font-size: .9rem;
}

/* ----- Forms ----- */
.form-group { margin-bottom: var(--sp-4); }
.form-label, label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--c-text); margin-bottom: 6px;
}
.form-hint { font-size: .8rem; color: var(--c-text-soft); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=date], input[type=url], input[type=search],
select, textarea {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: #fff;
  color: var(--c-text);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--c-primary); outline: none;
  box-shadow: 0 0 0 3px rgba(233,107,16,.15);
}
input::placeholder, textarea::placeholder { color: var(--c-text-soft); }
textarea { min-height: 110px; resize: vertical; }
input[type=file] {
  padding: 12px;
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-border); cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
input[type=file]:hover { border-color: var(--c-primary); background: var(--c-primary-50); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.error { color: var(--c-danger); font-size: .875rem; margin-top: 6px; }

.radio-stack label, .checkbox-stack label {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border); border-radius: var(--r-md);
  margin-bottom: var(--sp-2); cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  font-weight: 500;
}
.radio-stack label:has(input:checked),
.checkbox-stack label:has(input:checked) {
  border-color: var(--c-primary); background: var(--c-primary-50);
}
.radio-stack input, .checkbox-stack input { margin-top: 4px; accent-color: var(--c-primary); }

/* Checkbox inline */
.checkbox-inline {
  display: inline-flex; gap: 8px; align-items: flex-start; cursor: pointer;
}
.checkbox-inline input { margin-top: 4px; accent-color: var(--c-primary); width: auto; }

/* ----- Flash ----- */
.flash-container { padding-top: var(--sp-4); }
.flash {
  padding: 14px 18px; border-radius: var(--r-md); margin-bottom: var(--sp-3);
  border-left: 4px solid; font-size: .95rem;
  animation: slideInDown var(--t-base);
}
.flash-success { background: var(--c-success-bg); border-color: var(--c-success); color: #065F46; }
.flash-error   { background: var(--c-danger-bg);  border-color: var(--c-danger);  color: #991B1B; }
.flash-warning { background: var(--c-warning-bg); border-color: var(--c-warning); color: #92400E; }
.flash-info    { background: var(--c-info-bg);    border-color: var(--c-info);    color: #1E40AF; }

/* ----- Stepper ----- */
.stepper {
  display: flex; justify-content: center;
  margin: 0 0 var(--sp-10); flex-wrap: wrap;
}
.stepper-step {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-text-soft); font-family: var(--f-display); font-weight: 600;
  font-size: .875rem;
}
.stepper-step .num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-border); color: #fff;
  display: grid; place-items: center; font-size: .8rem;
  transition: background var(--t-base);
}
.stepper-step.active { color: var(--c-primary); }
.stepper-step.active .num { background: var(--c-primary); box-shadow: var(--sh-glow); }
.stepper-step.done { color: var(--c-text); }
.stepper-step.done .num { background: var(--c-success); }
.stepper-divider {
  width: 50px; height: 2px; background: var(--c-border);
  align-self: center; margin: 0 var(--sp-4);
}

/* ----- Summary card ----- */
.summary-card {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border-soft);
  padding: var(--sp-6);
  box-shadow: var(--sh-xs);
}
.summary-card h3 { margin-top: 0; }
.summary-line {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: .95rem;
  color: var(--c-text);
}
.summary-total {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--c-border); padding-top: var(--sp-3);
  margin-top: var(--sp-2);
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
  color: var(--c-primary);
}

.price-display {
  font-family: var(--f-display); font-weight: 800;
  color: var(--c-primary); font-size: 2.5rem; line-height: 1;
  margin: var(--sp-4) 0 var(--sp-1);
}
.price-display small { font-weight: 500; font-size: 1rem; color: var(--c-text-soft); }
.price-detail { font-size: .9rem; color: var(--c-text-muted); margin-bottom: var(--sp-6); }

/* ----- Footer ----- */
.footer {
  background: var(--c-navy);
  color: rgba(255,255,255,.75);
  padding: var(--sp-16) 0 0;
  margin-top: var(--sp-20);
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), transparent);
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-10); padding-bottom: var(--sp-12);
  max-width: var(--container-max); margin: 0 auto; padding-inline: var(--sp-6);
}
.footer-logo .logo { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline { margin-top: var(--sp-4); font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-col h4 {
  font-family: var(--f-display); font-size: .85rem; font-weight: 700;
  color: #fff; margin-bottom: var(--sp-4);
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-col a:hover { color: var(--c-primary); }
.footer-newsletter {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  margin-top: var(--sp-3);
}
.footer-newsletter form { display: flex; gap: 6px; }
.footer-newsletter input {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: .875rem; padding: 9px 12px;
  border-radius: var(--r-sm);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter .btn { padding: 9px 16px; font-size: .85rem; border-radius: var(--r-sm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-5) 0; font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
}
.footer-social { display: flex; gap: var(--sp-3); }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  color: rgba(255,255,255,.7); transition: background var(--t-fast), color var(--t-fast);
}
.footer-social a:hover { background: var(--c-primary); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* ----- Tables ----- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-xs);
}
table.data th, table.data td {
  padding: 14px 16px; text-align: left;
  border-bottom: 1px solid var(--c-border-soft); font-size: .9rem;
}
table.data th {
  background: var(--c-bg-alt); font-weight: 700;
  font-family: var(--f-display); font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted);
}
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover { background: var(--c-bg-soft); }
table.data code { font-family: var(--f-mono); font-size: .85em; background: var(--c-bg-alt); padding: 2px 6px; border-radius: 4px; }

/* ----- FAQ ----- */
.faq-item {
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-fast);
}
.faq-item:hover { background: var(--c-bg-soft); }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0;
  padding: var(--sp-5) var(--sp-4); cursor: pointer;
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.05rem; color: var(--c-text);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq-question::after {
  content: "+"; color: var(--c-primary); font-size: 1.75rem; font-weight: 300;
  transition: transform var(--t-base); line-height: 1;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-primary-50); display: grid; place-items: center;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-base);
  padding: 0 var(--sp-4);
  color: var(--c-text-muted);
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 var(--sp-4) var(--sp-5); }

/* ----- OTP input ----- */
.otp-input {
  display: flex; gap: 10px; justify-content: center;
  margin: var(--sp-6) 0;
}
.otp-input input {
  width: 52px; height: 60px;
  text-align: center; font-size: 1.75rem;
  font-family: var(--f-mono); font-weight: 700;
  padding: 0; background: #fff;
}

/* ----- Animations ----- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----- Cookie banner ----- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  max-width: 480px; margin: 0 auto;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: var(--sp-5) var(--sp-6);
  z-index: 500;
  animation: slideInDown 600ms ease;
}
.cookie-banner h4 { margin-top: 0; margin-bottom: var(--sp-2); }
.cookie-banner p { margin: 0 0 var(--sp-3); font-size: .875rem; color: var(--c-text-muted); }
.cookie-banner .btn { width: 100%; }

/* ----- Promo popup ----- */
.promo-trigger {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px;
  background: var(--c-text); color: #fff;
  border: none; border-radius: var(--r-full);
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  cursor: pointer;
  box-shadow: var(--sh-xl);
  transition: transform var(--t-base), box-shadow var(--t-base);
  animation: triggerPulse 3s ease-in-out infinite;
}
.promo-trigger:hover { transform: scale(1.05); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
@keyframes triggerPulse {
  0%, 100% { box-shadow: var(--sh-xl); }
  50% { box-shadow: 0 16px 50px rgba(233,107,16,.3), var(--sh-xl); }
}
.promo-trigger-badge {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: -.02em;
}
.promo-trigger-text { white-space: nowrap; }

.promo-popup {
  position: fixed; bottom: 24px; right: 24px; z-index: 450;
  width: 380px; max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
  padding: var(--sp-8);
  display: none;
  animation: popupSlideIn 400ms cubic-bezier(.16,1,.3,1);
}
.promo-popup[aria-hidden="false"] { display: block; }
@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.promo-close {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-bg-alt); border: none;
  color: var(--c-text-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.promo-close:hover { background: var(--c-border); color: var(--c-text); }
.promo-close svg { flex-shrink: 0; }
.promo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-700));
  color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.125rem;
  margin-bottom: var(--sp-4);
  box-shadow: 0 6px 20px rgba(233,107,16,.35);
}
.promo-title {
  font-size: 1.25rem; margin: 0 0 var(--sp-2); line-height: 1.2;
}
.promo-desc {
  font-size: .9rem; color: var(--c-text-muted); margin: 0 0 var(--sp-5); line-height: 1.5;
}
.promo-form {
  display: flex; flex-direction: column; gap: 10px;
}
.promo-form input {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 15px; background: #fff;
  transition: border-color var(--t-fast);
}
.promo-form input:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px rgba(233,107,16,.12); }
.promo-btn {
  width: 100%; padding: 14px 20px;
  background: var(--c-primary); color: #fff;
  border: none; border-radius: var(--r-md);
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: background var(--t-fast);
}
.promo-btn:hover { background: var(--c-primary-600); }
.promo-btn:disabled { opacity: .6; cursor: wait; }
.promo-legal {
  font-size: .72rem; color: var(--c-text-soft); margin: var(--sp-3) 0 0; line-height: 1.4;
}
.promo-success { text-align: center; }
.promo-check-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-success-bg); color: var(--c-success);
  display: grid; place-items: center; margin: 0 auto var(--sp-4);
}
.promo-check-icon svg { width: 28px; height: 28px; }
.promo-success .promo-title { color: var(--c-success); }

@media (max-width: 480px) {
  .promo-popup { bottom: 12px; right: 12px; left: 12px; width: auto; padding: var(--sp-6); }
  .promo-trigger { bottom: 16px; right: 16px; padding: 10px 16px 10px 10px; }
  .promo-form { flex-direction: column; }
}

/* ----- Utilities ----- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ----- Global mobile safety nets (tous viewports) ----- */
html, body { overflow-x: hidden; }
body { -webkit-tap-highlight-color: transparent; }
img, video, iframe, svg { max-width: 100%; height: auto; }
input, select, textarea { accent-color: var(--c-primary); }
input[type=checkbox], input[type=radio] { accent-color: var(--c-primary); }
/* Évite le zoom iOS au focus des inputs — min 16px */
@media (max-width: 768px) {
  input[type=text], input[type=email], input[type=password], input[type=tel],
  input[type=number], input[type=date], input[type=url], input[type=search],
  select, textarea { font-size: 16px; }
}
/* Casse les URLs longues en mobile pour éviter les overflow */
.legal p, .legal li, .breadcrumb, .card-desc, .footer-col a {
  word-break: break-word; overflow-wrap: anywhere;
}

/* ==============================================================
   MOBILE RESPONSIVE (refonte complète)
   - ≥ 1025 px : desktop, intact
   - ≤ 1024 px : ajustements tablette
   - ≤ 768 px  : mode mobile large (nav drawer, grilles recomposées)
   - ≤ 600 px  : mode mobile standard
   - ≤ 380 px  : petits téléphones
   ============================================================== */

/* --- Tablette --- */
@media (max-width: 1024px) {
  .hero-grid, .product-page { grid-template-columns: 1fr; gap: var(--sp-10); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .container, .container-narrow { padding: 0 var(--sp-5); }
  .section { padding: var(--sp-16) 0; }
}

/* --- Mobile large (≤ 768 px) --- */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Container */
  .container, .container-narrow { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-12) 0; }
  .section-sm { padding: var(--sp-8) 0; }

  /* Grilles : presque tout repasse en 1 colonne */
  .grid-2, .grid-3, .grid-4, .footer-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .products-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .trust-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: var(--sp-6) var(--sp-5); gap: var(--sp-4); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .duration-selector { grid-template-columns: repeat(2, 1fr); }
  .activity-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .guide-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .seo-columns { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-seo-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .legal-toc ol { columns: 1; }

  /* Hero : empile texte et visuel, CTA pleine largeur */
  .hero { padding: var(--sp-10) 0 var(--sp-12); }
  .hero-grid { gap: var(--sp-8); text-align: center; }
  .hero h1 { font-size: clamp(2rem, 8vw + .5rem, 3.2rem); }
  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw + .5rem, 1.15rem);
    margin-left: auto; margin-right: auto; margin-bottom: var(--sp-6);
  }
  .hero .btn-xl { width: 100%; max-width: 380px; font-size: 15px; padding: 16px 24px; }
  .hero-price {
    justify-content: center; flex-wrap: wrap;
    font-size: .9rem; margin-top: var(--sp-4);
  }
  .hero-price .amt { font-size: 1.75rem; }
  .hero-visual { min-height: 260px; order: -1; }
  .hero-product { max-width: 220px; }
  .hero-ring { width: 280px; height: 280px; }
  .hero-ring:nth-child(2) { width: 340px; height: 340px; }
  .eyebrow { font-size: .72rem; }

  /* Navbar + drawer mobile */
  /* IMPORTANT : retirer backdrop-filter qui crée un containing block piégeant
     position:fixed des enfants (.navbar-menu) dans les 60px du header. */
  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,.98);
  }
  .navbar-inner { padding: 0 var(--sp-4); gap: var(--sp-3); }
  .navbar-logo .logo { height: 28px; }
  .navbar-toggle {
    display: inline-flex;
    width: 44px; height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  .navbar-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    padding: var(--sp-5) var(--sp-5) calc(var(--sp-10) + env(safe-area-inset-bottom));
    gap: var(--sp-4);
    display: flex;
    overflow-y: auto;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(.4,0,.2,1);
    box-shadow: -10px 0 40px rgba(10,26,62,.08);
    z-index: 99;
  }
  .navbar-menu.open { transform: translateX(0); }
  .navbar-menu ul { flex-direction: column; gap: 0; width: 100%; }
  .navbar-menu ul li { width: 100%; }
  .navbar-menu a {
    padding: 14px 4px; display: block;
    font-size: 1rem; font-weight: 600;
    border-bottom: 1px solid var(--c-border-soft);
    min-height: 48px;
  }
  .navbar-menu a::after { display: none; }
  .navbar-actions { flex-direction: column; width: 100%; gap: var(--sp-2); align-items: stretch; margin-top: var(--sp-4); }
  .navbar-actions .btn, .navbar-cta { width: 100%; justify-content: center; padding: 14px 16px; }
  .navbar-link { padding: 12px 10px; font-size: 1rem; min-height: 44px; }
  /* Overlay derrière le drawer */
  body.nav-open::before {
    content: '';
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgba(10,26,62,.35);
    z-index: 90;
    animation: fadeIn 200ms ease;
  }
  body.nav-open { overflow: hidden; }

  /* Cards & steps : padding réduit */
  .card-product .card-image { height: 220px; padding: var(--sp-4); }
  .card-product .card-image img { max-height: 180px; width: auto; height: auto; object-fit: contain; }
  .card-product .card-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
  .step { padding: var(--sp-4); }
  .trust-item { padding: var(--sp-5) var(--sp-4); }

  /* Stats : texte resserré */
  .stat-value { font-size: 1.75rem; }
  .stat-label { font-size: .7rem; letter-spacing: .06em; }

  /* Stepper checkout : compact */
  .stepper { margin-bottom: var(--sp-6); gap: 4px; }
  .stepper-divider { width: 20px; margin: 0 4px; }
  .stepper-step .num { width: 26px; height: 26px; font-size: .72rem; }
  .stepper-step { font-size: .78rem; gap: 6px; }

  /* Tables larges -> scroll-x */
  .legal table, .tech-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .legal .tech-table td { white-space: normal; }

  /* Boutons : touch target minimum */
  .btn { min-height: 44px; padding: 12px 20px; }
  .btn-sm { min-height: 38px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .btn-xl { padding: 15px 24px; font-size: 15.5px; border-radius: var(--r-md); }
  .btn svg { width: 16px; height: 16px; }

  /* Footer */
  .footer { padding-top: var(--sp-10); margin-top: var(--sp-12); }
  .footer-inner { gap: var(--sp-8); padding-bottom: var(--sp-8); }
  .footer-newsletter form { flex-direction: column; gap: 8px; }
  .footer-newsletter .btn { width: 100%; }
  .footer-bottom .container { flex-direction: column; gap: var(--sp-3); text-align: center; }

  /* FAQ */
  .faq-question { padding: var(--sp-4) var(--sp-3); font-size: .98rem; }
  .faq-question::after { width: 28px; height: 28px; font-size: 1.4rem; }
  .faq-item.open .faq-answer { padding: 0 var(--sp-3) var(--sp-4); }

  /* Breadcrumb */
  .breadcrumb { font-size: .78rem; }
  .breadcrumb ol { gap: 4px; }

  /* Produits page */
  .product-gallery { padding: var(--sp-5); min-height: 320px; }
  .product-gallery img { max-height: 240px; }
  .product-info h1 { font-size: clamp(1.6rem, 5vw, 2rem); }

  /* Legal */
  .legal { padding: 0 var(--sp-4); font-size: .98rem; }
  .legal h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .legal h2 { font-size: 1.2rem; }

  /* Cookie banner */
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: var(--sp-4); }
}

/* --- Mobile standard (≤ 600 px) --- */
@media (max-width: 600px) {
  .section { padding: var(--sp-10) 0; }

  .steps { grid-template-columns: 1fr; gap: var(--sp-3); }
  .trust-grid { grid-template-columns: 1fr; }
  .stats-band {
    grid-template-columns: 1fr 1fr;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-3);
    border-radius: var(--r-lg);
  }
  .duration-selector { grid-template-columns: 1fr 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-seo-grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  /* Hero */
  .hero { padding: var(--sp-8) 0 var(--sp-10); }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .hero-visual { min-height: 220px; }
  .hero-product { max-width: 180px; }
  .hero-ring { width: 240px; height: 240px; }
  .hero-ring:nth-child(2) { width: 290px; height: 290px; }

  /* Cards */
  .card-product .card-image { height: 200px; }
  .card-product .card-image img { max-height: 160px; width: auto; height: auto; object-fit: contain; }
  .card-product h3 { font-size: 1.08rem; }
  .card-product .price { font-size: 1.3rem; }

  /* Step icon */
  .step-icon { width: 54px; height: 54px; }
  .step-icon svg { width: 26px; height: 26px; }

  /* Stepper minimal en mobile */
  .stepper-step span.lbl { display: none; }
  .stepper-divider { width: 16px; margin: 0 2px; }

  /* Tabs scrollables */
  .tabs { gap: 0; padding-bottom: 2px; }
  .tab { padding: 10px 14px; font-size: .9rem; }

  /* OTP input réduit */
  .otp-input { gap: 6px; }
  .otp-input input { width: 44px; height: 52px; font-size: 1.4rem; }

  /* Summary card */
  .summary-card { padding: var(--sp-4); }
  .price-display { font-size: 2rem; }

  /* Promo */
  .promo-popup { padding: var(--sp-5); }
}

/* --- Très petit (≤ 380 px) --- */
@media (max-width: 380px) {
  .container, .container-narrow { padding: 0 var(--sp-3); }
  .hero h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .hero .btn-xl { font-size: 14.5px; padding: 14px 18px; }
  .hero-price { font-size: .8rem; }
  .hero-price .amt { font-size: 1.5rem; }
  .stats-band { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .btn { font-size: 14px; padding: 11px 16px; }
  .btn-lg { font-size: 14.5px; padding: 13px 18px; }
  .card-product .card-image { height: 180px; }
  .card-product .card-image img { max-height: 150px; width: auto; height: auto; object-fit: contain; }
  .stat-value { font-size: 1.5rem; }
  .faq-question { font-size: .92rem; padding: 14px 8px; }
  .navbar-logo .logo { height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .navbar-menu { transition: none !important; }
}

/* === SEO CONTENT PAGES === */

/* Breadcrumbs */
.breadcrumb {
  margin: 0 0 var(--sp-6);
  font-size: .875rem;
}
.breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  color: var(--c-text-soft);
}
.breadcrumb .bc-item:not(:last-child)::after {
  content: '/'; margin-left: 10px; color: var(--c-border);
}
.breadcrumb .bc-item a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}
.breadcrumb .bc-item a:hover { color: var(--c-primary); }
.breadcrumb .bc-current span { color: var(--c-text); font-weight: 600; }

/* Guide / activity / blog cards grid */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin: var(--sp-6) 0;
}
.guide-card {
  display: block;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  color: var(--c-text);
  text-decoration: none;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  min-height: 180px;
}
.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--c-primary-100);
  color: var(--c-text);
}
.guide-card-cat {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}
.guide-card h3 {
  font-size: 1.125rem;
  margin: 0 0 var(--sp-2);
  line-height: 1.3;
}
.guide-card p {
  margin: 0 0 var(--sp-3);
  color: var(--c-text-muted);
  font-size: .925rem;
  line-height: 1.5;
}
.guide-card-arrow {
  color: var(--c-primary);
  font-weight: 600;
  font-size: .875rem;
}

/* Guide article layout */
.guide-article {
  padding: var(--sp-8) 0 var(--sp-20);
}
.guide-article h1 {
  margin-bottom: var(--sp-5);
}
.guide-article h2 {
  margin: var(--sp-12) 0 var(--sp-4);
  padding-top: var(--sp-4);
}
.guide-article h3 {
  margin: var(--sp-8) 0 var(--sp-3);
  font-size: 1.25rem;
}
.guide-article p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin: 0 0 var(--sp-4);
}
.guide-article ul, .guide-article ol {
  padding-left: var(--sp-6);
  line-height: 1.7;
  color: var(--c-text-muted);
  margin: 0 0 var(--sp-5);
}
.guide-article li { margin-bottom: var(--sp-2); }
.guide-article table.tech-table { margin: var(--sp-5) 0; }
.guide-hero-img {
  margin: var(--sp-6) 0;
  text-align: center;
}
.guide-hero-img img {
  max-width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.guide-hero-img figcaption {
  font-size: .875rem;
  color: var(--c-text-soft);
  margin-top: var(--sp-2);
  font-style: italic;
}

/* Reco / CTA blocks in articles */
.guide-reco, .guide-cta {
  margin: var(--sp-8) 0;
  padding: var(--sp-6);
  background: linear-gradient(135deg, var(--c-primary-50), #fff);
  border: 1px solid var(--c-primary-100);
  border-radius: var(--r-lg);
}
.guide-reco h3, .guide-cta h3 { margin-top: 0; color: var(--c-primary-700); }
.guide-cta {
  text-align: center;
  margin-top: var(--sp-12);
}

.guide-related {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-3);
}
.guide-related li {
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
}
.guide-related a {
  display: block;
  padding: var(--sp-4);
  color: var(--c-text);
  font-weight: 600;
  font-size: .925rem;
}
.guide-related a:hover { color: var(--c-primary); }

.faq-inline h3 {
  font-size: 1.05rem;
  margin: var(--sp-5) 0 var(--sp-2);
}
.faq-inline p {
  font-size: .975rem;
  margin-bottom: var(--sp-4);
}

/* Activity cards grid (home + catalog) */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-4);
}
.activity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: .925rem;
  transition: all var(--t-base);
}
.activity-item svg {
  width: 32px; height: 32px;
  color: var(--c-primary);
}
.activity-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary);
  box-shadow: var(--sh-sm);
  color: var(--c-primary-700);
}

/* Catalog filters */
.catalog-filters {
  margin: 0 0 var(--sp-8);
  padding: var(--sp-5);
  background: var(--c-bg-alt);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}
.filter-label {
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-text-muted);
  min-width: 80px;
}
.filter-chip {
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: #fff;
  border: 1px solid var(--c-border);
  font-size: .85rem;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: all var(--t-fast);
  cursor: pointer;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* SEO columns text block (home + catalog) */
.seo-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-8);
  max-width: 1080px;
  margin: 0 auto;
}
.seo-columns h2 {
  font-size: 1.25rem;
  margin: 0 0 var(--sp-3);
}
.seo-columns p {
  font-size: .975rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0 0 var(--sp-3);
}

/* Footer SEO band + enriched footer */
.footer-seo {
  background: #0F1B3B;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-12) 0 var(--sp-8);
  color: rgba(255,255,255,.75);
}
.footer-seo h4 {
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 var(--sp-4);
}
.footer-seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-8);
}
.footer-seo-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-seo-grid li {
  padding: 4px 0;
  font-size: .875rem;
}
.footer-seo-grid a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-seo-grid a:hover { color: var(--c-primary); }

.footer-seo-band {
  background: #08122A;
  padding: var(--sp-5) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-seo-band p {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* (les media queries communes sont désormais dans le bloc MOBILE RESPONSIVE refondu plus haut) */

/* ----- Homepage v2 : bandeaux aérés ----- */
.trust-band {
  background: var(--c-bg-alt);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
}
.trust-band-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-4) var(--sp-10);
  font-size: .92rem; color: var(--c-text-muted);
}
.trust-band-list li {
  display: inline-flex; align-items: baseline; gap: 8px;
  white-space: nowrap;
}
.trust-band-list strong {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--c-primary);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* Chips row (liens internes compacts) */
.chips-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: var(--sp-2) var(--sp-3);
}
.chips-label {
  font-family: var(--f-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-text-soft);
  margin-right: var(--sp-2);
}
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--c-border);
  font-family: var(--f-display); font-weight: 600; font-size: .88rem;
  color: var(--c-text); text-decoration: none;
  transition: all var(--t-fast);
  min-height: 38px;
}
.chip:hover {
  background: var(--c-primary-50);
  border-color: var(--c-primary);
  color: var(--c-primary-700);
}

/* CTA final */
.cta-final-actions {
  display: inline-flex; gap: var(--sp-3); flex-wrap: wrap; justify-content: center;
}

@media (max-width: 600px) {
  .trust-band { padding: var(--sp-4) 0; }
  .trust-band-list {
    gap: var(--sp-2) var(--sp-5);
    font-size: .82rem;
  }
  .trust-band-list strong { font-size: 1rem; }
  .trust-band-list li { flex-basis: 45%; justify-content: center; }

  .chips-row { gap: 8px; }
  .chip { padding: 7px 13px; font-size: .82rem; min-height: 36px; }
  .chips-label { flex-basis: 100%; text-align: center; margin-right: 0; margin-bottom: 6px; }

  .cta-final-actions { display: flex; flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .cta-final-actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .trust-band-list li { flex-basis: 100%; }
}

/* ================================================================
   === LEGAL PAGES ===
   Styles partagés par l'ensemble des documents juridiques :
   CGL, CGV Pro, CGU, confidentialité, cookies, mentions légales,
   politique de retour, assurance, responsabilités, accessibilité,
   charte éthique, préférences cookies.
   ================================================================ */
.legal {
  max-width: 880px;
  margin: var(--sp-8) auto var(--sp-10);
  padding: 0 var(--sp-6);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 1rem;
}
.legal h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  margin: var(--sp-4) 0 var(--sp-2);
  color: var(--c-navy);
}
.legal h2 {
  font-size: 1.35rem;
  margin: var(--sp-7) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border-soft);
  color: var(--c-navy);
}
.legal h3 {
  font-size: 1.08rem;
  margin: var(--sp-5) 0 var(--sp-2);
  color: var(--c-navy-soft);
}
.legal p { margin: 0 0 var(--sp-3); }
.legal ul, .legal ol {
  margin: 0 0 var(--sp-3) var(--sp-5);
  padding: 0;
}
.legal ul li, .legal ol li { margin-bottom: var(--sp-2); }
.legal a { color: var(--c-primary-600); }
.legal a:hover { text-decoration: underline; }
.legal code {
  background: var(--c-bg-alt);
  padding: 0 4px;
  border-radius: var(--r-xs);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .92em;
}
.legal-meta {
  color: var(--c-text-muted);
  font-size: .92rem;
  margin: 0 0 var(--sp-4);
}
.legal-notice {
  margin: var(--sp-4) 0 var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  border-left: 4px solid var(--c-warning);
  background: var(--c-warning-bg);
  border-radius: var(--r-sm);
  color: #5A3F00;
  font-size: .95rem;
}
.legal-notice strong { color: #3F2B00; }

.legal-toc {
  margin: var(--sp-4) 0 var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-soft);
}
.legal-toc-title {
  margin: 0 0 var(--sp-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--c-navy-soft);
}
.legal-toc ol {
  columns: 2;
  column-gap: var(--sp-5);
  margin: 0;
  padding-left: var(--sp-5);
  font-size: .93rem;
}
.legal-toc ol li { break-inside: avoid; margin-bottom: 6px; }
.legal-toc ol li a { color: var(--c-navy); text-decoration: none; }
.legal-toc ol li a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
}

.legal section { scroll-margin-top: 96px; }
.legal section + section { margin-top: var(--sp-6); }

.legal .tech-table {
  width: 100%;
  margin: var(--sp-3) 0 var(--sp-4);
  font-size: .94rem;
}
.legal .tech-table td {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
}
.legal .tech-table td:first-child {
  background: var(--c-bg-alt);
  width: 34%;
  font-weight: 600;
  color: var(--c-navy);
}

.legal-formulaire {
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  margin: var(--sp-3) 0;
  font-size: .95rem;
}

.legal-footer {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border-soft);
  font-size: .9rem;
}

.legal-warning {
  background: var(--c-danger-bg);
  border-left: 4px solid var(--c-danger);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  color: #7A1414;
  margin: var(--sp-3) 0;
}

.legal-preferences {
  margin: var(--sp-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.legal-pref-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
}
.legal-pref-item h3 { margin-top: 0; }
.legal-pref-item h3 small { color: var(--c-text-soft); font-weight: 400; font-size: .82rem; }
.legal-pref-item p { margin: 0; font-size: .92rem; color: var(--c-text-muted); }
.legal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: var(--c-navy);
  white-space: nowrap;
}
.legal-toggle input { transform: scale(1.15); }
.legal-pref-actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .legal-pref-item { grid-template-columns: 1fr; }
}
