/* ==========================================================================
   YourHeberg.com — feuille de style commune (site public + espace client)
   Direction : claire et corporate. Bleu du logo, marine pour les bandeaux,
   DM Sans, cartes blanches à ombre légère, animations sobres.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-elev: #ffffff;
  --bg-elev-2: #f1f4f9;
  --border: #e3e8ef;
  --border-strong: #cdd5e0;
  --text: #0e1a2b;
  --text-2: #4a5568;
  --text-3: #6b7789;
  --accent: #1f6feb;
  --accent-hover: #1759c4;
  --accent-soft: #eaf2ff;
  --accent-line: #b8d2ff;
  --navy: #0b1d3a;
  --navy-2: #12284d;
  --success: #12a150;
  --success-soft: #e8f7ef;
  --danger: #d92d20;
  --danger-soft: #fef1f0;
  --warning: #b54708;
  --warning-soft: #fffaeb;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 28px -12px rgba(16, 24, 40, 0.14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, 0.04), 0 24px 48px -18px rgba(16, 24, 40, 0.22);
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: 3.25rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--text); }
code, .mono { font-family: var(--mono); font-size: 0.85em; }
code { padding: 1px 6px; border-radius: 4px; background: var(--bg-elev-2); border: 1px solid var(--border); }
::selection { background: #cfe0ff; }

.icon, .icon-sm, .icon-lg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 20px; height: 20px; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.small { font-size: 0.875rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-grid > *, .split > *, .faq-layout > *, .checkout-grid > *, .footer-grid > *, .dash > *, .slide > * { min-width: 0; }

/* Sections --------------------------------------------------------------- */

.section { padding: 104px 0; }
.section.soft, .section.tint { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.0625rem; }
.label { display: inline-block; margin-bottom: 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Boutons ---------------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn .icon-sm { transition: transform 0.2s var(--ease); }
.btn:hover .icon-sm { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(31, 111, 235, 0.25); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 18px -6px rgba(31, 111, 235, 0.55); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #b3bfcf; color: var(--text); background: #fbfcfe; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-elev-2); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef4ff; color: var(--navy); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.875rem; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Bandeau supérieur + navigation ----------------------------------------- */

.topbar { background: var(--navy); color: #c5d2e8; font-size: 0.8125rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar ul { display: flex; gap: 22px; }
.topbar li { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon-sm { width: 14px; height: 14px; color: #7fb0ff; }
.topbar a { color: #c5d2e8; }
.topbar a:hover { color: #fff; }

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow 0.25s var(--ease); }
.nav.scrolled { box-shadow: 0 6px 20px -12px rgba(16, 24, 40, 0.25); }
.nav .container { display: flex; align-items: center; height: 100%; gap: 36px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo .tld { color: var(--accent); font-weight: 600; }
.logo-img { width: 32px; height: 32px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: var(--radius); border: 0; background: none; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); cursor: pointer; transition: color 0.15s, background-color 0.15s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--bg-elev-2); }
.nav-link .icon-sm { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }

.nav-dropdown { position: absolute; top: calc(100% + 10px); left: -10px; width: 330px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s; }
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-links > li:hover .nav-dropdown, .nav-links > li:focus-within .nav-dropdown, .nav-links > li.open .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-links > li:hover .nav-link .icon-sm, .nav-links > li.open .nav-link .icon-sm { transform: rotate(180deg); }
.nav-dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--text); }
.nav-dropdown a > span { display: inline-flex; align-items: center; gap: 10px; }
.nav-dropdown a small { font-size: 0.8125rem; font-weight: 400; color: var(--text-3); }
.nav-dropdown .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff; color: var(--text); cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 49; padding: 8px 24px 32px; background: #fff; overflow-y: auto; }
.nav-mobile.open { display: block; animation: fadeIn 0.2s var(--ease); }
.nav-mobile a { display: block; padding: 13px 0; font-size: 1rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.nav-mobile .group-label { padding: 22px 0 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.nav-mobile .actions { display: grid; gap: 10px; margin-top: 24px; }
.nav-mobile .actions .btn { display: flex; padding: 0 20px; border: 1px solid var(--border-strong); }
.nav-mobile .actions .btn-primary { color: #fff; border-color: var(--accent); }

/* Slider d'accueil ------------------------------------------------------- */

.hero-slider { position: relative; padding: 72px 0 0; background: linear-gradient(180deg, #eef4ff 0%, #f6f9fe 60%, #fff 100%); overflow: hidden; }
.slides { position: relative; display: grid; touch-action: pan-y; }
.slide { position: relative; grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide .copy > * { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.slide.active .copy > * { opacity: 1; transform: none; }
.slide.active .copy > *:nth-child(2) { transition-delay: 0.06s; }
.slide.active .copy > *:nth-child(3) { transition-delay: 0.12s; }
.slide.active .copy > *:nth-child(4) { transition-delay: 0.18s; }
.slide.active .copy > *:nth-child(5) { transition-delay: 0.24s; }
.slide .visual { opacity: 0; transform: translateX(24px) scale(0.98); transition: opacity 0.7s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s; }
.slide.active .visual { opacity: 1; transform: none; }
.slide-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.slide-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.slide .h1-like { margin-top: 20px; font-size: 3.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.slide .lead { margin-top: 18px; max-width: 540px; font-size: 1.125rem; color: var(--text-2); }
.slide .checks { display: grid; gap: 10px; margin-top: 24px; }
.slide .checks li { display: flex; align-items: center; gap: 10px; font-size: 0.975rem; color: var(--text); }
.slide .checks .icon-sm { color: var(--success); }
.slide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.slide-cta .price { font-size: 0.9375rem; color: var(--text-2); }
.slide-cta .price b { font-size: 1.5rem; color: var(--text); letter-spacing: -0.02em; }

/* Maquette de carte dans le slider */
.mock { position: relative; max-width: 460px; margin-left: auto; }
.mock-card { position: relative; z-index: 1; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.mock-card .mh { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.mock-card .mh .t { font-weight: 700; }
.mock-card .mh .s { font-size: 0.8125rem; color: var(--text-3); }
.mock-card .mh .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 0.75rem; font-weight: 600; }
.mock-card .mh .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse 2s var(--ease) infinite; }
.mock-rows { display: grid; gap: 14px; margin-top: 18px; }
.mock-row .top { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--text-2); }
.mock-row .top b { color: var(--text); font-weight: 600; }
.mock-bar { height: 8px; margin-top: 8px; border-radius: 99px; background: var(--bg-elev-2); overflow: hidden; }
.mock-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c, var(--accent)); transition: width 1.2s var(--ease) 0.35s; }
.slide.active .mock-bar span { width: var(--w); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mock-grid div { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); }
.mock-grid small { display: block; font-size: 0.75rem; color: var(--text-3); }
.mock-grid b { font-size: 1rem; }
.mock-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 0.8125rem; font-weight: 600; animation: floaty 6s ease-in-out infinite; }
.mock-float .ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--c-soft, var(--accent-soft)); color: var(--c, var(--accent)); }
.mock-float small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--text-3); }
.mock-float.a { left: -36px; bottom: -30px; }
.mock-float.b { right: -28px; top: -44px; animation-delay: -3s; }
.mock-deco { position: absolute; inset: 30px -30px -30px 30px; z-index: 0; border-radius: 20px; background: var(--c-soft, var(--accent-soft)); border: 1px solid var(--c-line, var(--accent-line)); }

.slider-tabs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 0; box-shadow: 0 -10px 30px -20px rgba(16, 24, 40, 0.2); }
.slider-tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 22px; border: 0; border-left: 1px solid var(--border); background: none; text-align: left; cursor: pointer; color: var(--text-2); transition: background-color 0.2s, color 0.2s; }
.slider-tab:first-child { border-left: 0; }
.slider-tab:hover { background: var(--bg-soft); color: var(--text); }
.slider-tab .ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--c-soft); color: var(--c); }
.slider-tab b { display: block; font-size: 0.9375rem; color: var(--text); }
.slider-tab small { display: block; font-size: 0.8125rem; color: var(--text-3); }
.slider-tab .progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; overflow: hidden; }
.slider-tab .progress span { display: block; width: 0; height: 100%; background: var(--c); }
.slider-tab[aria-selected="true"] { background: #fff; color: var(--text); }
.slider-tab[aria-selected="true"] .progress span { width: 100%; transition: width var(--slide-ms, 7000ms) linear; }
.hero-slider.paused .slider-tab[aria-selected="true"] .progress span { width: 100%; transition: none; }

/* Bandeau de confiance */
.trust { border-bottom: 1px solid var(--border); background: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 22px 20px; border-left: 1px solid var(--border); font-size: 0.9rem; color: var(--text-2); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust .icon { color: var(--accent); }
.trust b { display: block; color: var(--text); font-size: 0.9375rem; }

/* Cartes de services ----------------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--text); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-line, var(--accent-line)); color: var(--text); }
.svc-card .top { display: flex; align-items: center; gap: 14px; }
.svc-card .ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--c-soft); color: var(--c); flex: none; transition: transform 0.3s var(--ease); }
.svc-card:hover .ic { transform: scale(1.06); }
.svc-card h3 { font-size: 1.1875rem; }
.svc-card .sub { font-size: 0.875rem; color: var(--text-3); }
.svc-card ul { display: grid; gap: 9px; margin-top: 22px; font-size: 0.9375rem; color: var(--text-2); flex: 1; }
.svc-card li { display: flex; align-items: center; gap: 10px; }
.svc-card li .icon-sm { color: var(--c); }
.svc-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.svc-card .foot .p { font-size: 0.875rem; color: var(--text-3); }
.svc-card .foot .p b { font-size: 1.375rem; color: var(--text); letter-spacing: -0.02em; margin-right: 2px; }
.svc-card .foot .go { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--c); }
.svc-card:hover .foot .go .icon-sm { transform: translateX(3px); }
.svc-card .foot .go .icon-sm { transition: transform 0.2s var(--ease); }
.svc-extra { margin-top: 28px; text-align: center; font-size: 0.9rem; color: var(--text-3); }

/* En-tête des pages produit ---------------------------------------------- */

.page-header { padding: 56px 0 88px; background: linear-gradient(180deg, #eef4ff 0%, #f7faff 70%, #fff 100%); }
.crumbs { display: flex; gap: 8px; margin-bottom: 32px; font-size: 0.875rem; color: var(--text-3); }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.page-header h1 { font-size: 3rem; }
.page-header .lead { margin-top: 18px; max-width: 580px; font-size: 1.125rem; color: var(--text-2); }
.cat-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 14px; color: var(--c); background: var(--c-soft); }
.meta-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.meta-list li { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 0.875rem; font-weight: 500; color: var(--text-2); }
.from-box { padding: 28px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--c, var(--accent)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.from-box .k { font-size: 0.875rem; color: var(--text-3); }
.from-box .v { margin-top: 4px; font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; }
.from-box .v span { font-size: 0.9375rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.from-box ul { margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: 0.9375rem; color: var(--text-2); }
.from-box li { display: flex; align-items: center; gap: 10px; }
.from-box li .icon-sm { color: var(--success); }

/* Offres ----------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plans.plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.recommended { border: 2px solid var(--c, var(--accent)); padding: 29px 25px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan h3 { font-size: 1.1875rem; }
.plan-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--c, var(--accent)); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.plan-desc { margin-top: 4px; font-size: 0.875rem; color: var(--text-3); }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 4px; }
.plan-price strong { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.035em; }
.plan-price span { font-size: 0.875rem; color: var(--text-3); }
.plan-specs { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 11px; font-size: 0.9375rem; color: var(--text-2); flex: 1; }
.plan-specs li { display: flex; align-items: flex-start; gap: 10px; }
.plan-specs .icon-sm { color: var(--c, var(--success)); margin-top: 4px; }
.plan .btn { margin-top: 26px; }
.plan.recommended .btn-primary { background: var(--c, var(--accent)); }
.plan.recommended .btn-primary:hover { filter: brightness(0.92); }
.plans-note { margin: 28px auto 0; max-width: 820px; text-align: center; font-size: 0.875rem; color: var(--text-3); }
.plans-note p + p { margin-top: 6px; }

/* Grilles d'arguments ---------------------------------------------------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature > .icon { box-sizing: content-box; padding: 11px; border-radius: 12px; background: var(--c-soft, var(--accent-soft)); color: var(--c, var(--accent)); }
.feature h3 { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature p { margin-top: 8px; font-size: 0.9375rem; color: var(--text-2); }

.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: var(--bg-elev-2); color: var(--text-2); white-space: nowrap; }
.tag-success { background: var(--success-soft); color: var(--success); }
.tag-accent { background: var(--accent-soft); color: var(--accent); }

/* Blocs deux colonnes, fiche technique, schéma --------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .lead { margin-top: 16px; font-size: 1.0625rem; color: var(--text-2); }
.bullets { display: grid; gap: 18px; margin-top: 28px; }
.bullets li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); }
.bullets .icon { color: var(--success); margin-top: 2px; }

.spec-sheet { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.spec-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--bg-soft); font-weight: 600; }
.spec-sheet-head .state { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--success); }
.spec-sheet-head .state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: pulse 2s var(--ease) infinite; }
.spec-sheet dl { margin: 0; }
.spec-sheet dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.spec-sheet dl > div:last-child { border-bottom: 0; }
.spec-sheet dt { color: var(--text-3); }
.spec-sheet dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.spec-sheet dd span { font-weight: 400; color: var(--text-3); }

.pipeline { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px 24px; }
.pipe-step { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; }
.pipe-step + .pipe-step { border-top: 1px solid var(--border); }
.pipe-step .n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.875rem; }
.pipe-step b { display: block; font-weight: 600; }
.pipe-step small { display: block; font-size: 0.875rem; color: var(--text-3); }
.pipe-step.drop .n { background: var(--danger-soft); color: var(--danger); }
.pipe-step.pass .n { background: var(--success-soft); color: var(--success); }

/* FAQ -------------------------------------------------------------------- */

.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0 22px; transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--accent-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon-sm { flex: none; color: var(--accent); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon-sm { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 20px; color: var(--text-2); max-width: 640px; }
.faq details[open] .faq-body { animation: fadeUp 0.3s var(--ease); }

/* Bandeau final ---------------------------------------------------------- */

.cta-band { padding: 0 0 104px; }
.cta-band .inner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 56px; border-radius: 18px; background: var(--navy); }
.cta-band .inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; border: 48px solid rgba(31, 111, 235, 0.35); }
.cta-band .inner > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 1.75rem; color: #fff; }
.cta-band p { margin-top: 8px; color: #b9c7de; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pied de page ----------------------------------------------------------- */

.footer { background: var(--navy); color: #b9c7de; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.footer .logo { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: #95a6c2; max-width: 300px; }
.footer h4 { font-size: 0.9375rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 0.9rem; color: #95a6c2; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8125rem; color: #7f91b0; }
.footer-bottom a { color: #95a6c2; }
.footer-bottom a:hover { color: #fff; }

/* Pages légales ---------------------------------------------------------- */

.legal { padding: 64px 0 104px; background: var(--bg-soft); }
.legal h1 { font-size: 2.5rem; }
.legal .updated { margin-top: 10px; font-size: 0.875rem; color: var(--text-3); }
.legal article { margin-top: 36px; padding: 16px 40px 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.legal article h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal article p, .legal article li { color: var(--text-2); }
.legal article ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin-top: 10px; }

/* Animations ------------------------------------------------------------- */

/* Masqué uniquement si le JavaScript a démarré (classe posée dans <head>) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Espace client : formulaires, authentification, tableau de bord, paiement
   ========================================================================== */

.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.field label small { font-weight: 400; color: var(--text-3); }
.input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff; font-size: 0.9375rem; color: var(--text); outline: none; box-shadow: var(--shadow-sm); transition: border-color 0.15s, box-shadow 0.15s; }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input::placeholder { color: #98a2b3; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.15); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7789' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 44px; }
.input-wrap .trail { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: inline-flex; padding: 6px; border: 0; background: none; color: var(--text-3); cursor: pointer; border-radius: 6px; }
.input-wrap .trail:hover { color: var(--text); background: var(--bg-elev-2); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text-2); cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--accent); width: 16px; height: 16px; }
.hint { font-size: 0.8125rem; color: var(--text-3); }

.alert { display: none; padding: 12px 14px; margin-bottom: 16px; border-radius: var(--radius); border: 1px solid transparent; font-size: 0.875rem; }
.alert.show { display: block; animation: fadeUp 0.25s var(--ease); }
.alert-error { background: var(--danger-soft); border-color: #fecdca; color: #b42318; }
.alert-success { background: var(--success-soft); border-color: #abefc6; color: #067647; }
.alert-warning { background: var(--warning-soft); border-color: #fedf89; color: var(--warning); }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.panel-head h2 { font-size: 1rem; letter-spacing: -0.01em; }
.panel-body { padding: 22px; }
.panel + .panel { margin-top: 20px; }
.empty { padding: 36px 20px; text-align: center; font-size: 0.9375rem; color: var(--text-3); }

.bar-simple { height: var(--nav-h); background: #fff; border-bottom: 1px solid var(--border); }
.bar-simple .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.bar-simple .aside { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--text-3); }
.foot-simple { padding: 22px 32px; border-top: 1px solid var(--border); background: #fff; font-size: 0.8125rem; color: var(--text-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-simple a { color: var(--text-3); margin-left: 16px; }
.foot-simple a:hover { color: var(--text); }

.auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-soft); }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 20px; }
.auth-box { width: 100%; max-width: 440px; animation: fadeUp 0.5s var(--ease); }
.auth-box h1 { font-size: 1.875rem; text-align: center; }
.auth-box .sub { margin-top: 8px; font-size: 0.9375rem; color: var(--text-2); text-align: center; }
.auth-card { margin-top: 28px; padding: 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.auth-form { display: grid; gap: 18px; }
.auth-form .between { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; }
.auth-alt { margin-top: 22px; font-size: 0.875rem; color: var(--text-3); text-align: center; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.strength span { height: 4px; border-radius: 2px; background: var(--border); transition: background-color 0.2s; }
.strength-label { margin-top: 6px; min-height: 1em; font-size: 0.8125rem; color: var(--text-3); }

.dash-top { position: sticky; top: 0; z-index: 40; height: 64px; border-bottom: 1px solid var(--border); background: #fff; }
.dash-top .inner { display: flex; align-items: center; gap: 16px; height: 100%; padding: 0 24px; }
.dash-top .sep { width: 1px; height: 22px; background: var(--border); }
.dash-top .crumb { font-size: 0.875rem; font-weight: 500; color: var(--text-3); }
.dash-top .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0.8125rem; font-weight: 700; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.125rem; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip .n { font-size: 0.875rem; font-weight: 600; line-height: 1.2; }
.user-chip .e { font-size: 0.8125rem; color: var(--text-3); }
.dash { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 64px); background: var(--bg-soft); }
.side { padding: 20px 14px; background: #fff; border-right: 1px solid var(--border); }
.side .group { padding: 18px 12px 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.side-link { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: var(--radius); background: none; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); cursor: pointer; text-align: left; transition: background-color 0.15s, color 0.15s; }
.side-link:hover { background: var(--bg-soft); color: var(--text); }
.side-link.active { background: var(--accent-soft); color: var(--accent); }
.side-link .icon-sm { color: currentColor; }
.dash-main { padding: 36px 44px 72px; max-width: 1140px; }
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.35s var(--ease); }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-title h1 { font-size: 1.75rem; }
.page-title p { margin-top: 4px; color: var(--text-2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { padding: 20px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.kpi .k { font-size: 0.875rem; color: var(--text-3); }
.kpi .v { margin-top: 6px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.list-row:last-child { border-bottom: 0; }
.list-row .t { font-weight: 600; }
.list-row .s { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); }
.list-row .r { margin-left: auto; display: flex; align-items: center; gap: 14px; text-align: right; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th { padding: 12px 22px; text-align: left; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.table td { padding: 14px 22px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick a, .quick button { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 0.9375rem; font-weight: 500; color: var(--text); cursor: pointer; text-align: left; transition: border-color 0.15s, box-shadow 0.15s; }
.quick a:hover, .quick button:hover { border-color: var(--accent-line); box-shadow: var(--shadow); color: var(--text); }
.quick .icon-sm { color: var(--accent); }
.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.support-links a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--text); transition: box-shadow 0.2s, border-color 0.2s; }
.support-links a:hover { box-shadow: var(--shadow); border-color: var(--accent-line); color: var(--text); }
.support-links .icon { color: var(--accent); }
.support-links b { display: block; font-weight: 600; }
.support-links small { font-size: 0.8125rem; color: var(--text-3); }
.form-stack { display: grid; gap: 18px; max-width: 480px; }
.mobile-tabs { display: none; }

.checkout-page { background: var(--bg-soft); min-height: 100vh; display: flex; flex-direction: column; }
.checkout { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 40px 32px 72px; }
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.checkout-grid .stack { display: grid; gap: 20px; }
.steps { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 0.875rem; color: var(--text-3); }
.steps .step { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.steps .n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; font-size: 0.75rem; font-weight: 700; }
.steps .done .n { background: var(--success); border-color: var(--success); color: #fff; }
.steps .current { color: var(--text); }
.steps .current .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps .line { width: 36px; height: 2px; background: var(--border); }
.method-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.method-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.method-tab.active { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent); }
.pay-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: 0.8125rem; color: var(--text-3); }
.pay-meta .lock { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.summary { position: sticky; top: 24px; }
.summary-plan { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.summary-plan .top { display: flex; justify-content: space-between; gap: 12px; }
.summary-plan .cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.summary-plan .name { margin-top: 4px; font-weight: 700; font-size: 1.0625rem; }
.summary-plan .price { text-align: right; white-space: nowrap; }
.summary-plan .price strong { display: block; font-size: 1.25rem; font-weight: 700; }
.summary-plan .price span { display: block; font-size: 0.75rem; color: var(--text-3); }
.summary-plan ul { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: 0.875rem; color: var(--text-2); }
.summary-plan li { display: flex; align-items: center; gap: 8px; }
.summary-plan li .icon-sm { width: 14px; height: 14px; color: var(--success); }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 0.875rem; color: var(--text-2); transition: border-color 0.15s, background-color 0.15s; }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.totals { display: grid; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-2); }
.totals > div { display: flex; justify-content: space-between; }
.totals .total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 1.125rem; font-weight: 700; color: var(--text); }
.totals .ok { color: var(--success); font-weight: 600; }
.overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(11, 29, 58, 0.45); backdrop-filter: blur(4px); overflow-y: auto; }
.overlay.show { display: flex; animation: fadeIn 0.2s var(--ease); }
.overlay .box { width: 100%; max-width: 500px; padding: 30px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: fadeUp 0.3s var(--ease); }
.spinner { width: 32px; height: 32px; margin: 0 auto 14px; border: 3px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
.info-rows { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.info-row:last-child { border-bottom: 0; }
.info-row .k { color: var(--text-3); }
.info-row .v { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.8125rem; word-break: break-all; text-align: right; }
.copy-btn { display: inline-flex; padding: 5px; border: 1px solid var(--border-strong); border-radius: 6px; background: #fff; color: var(--text-3); cursor: pointer; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent-line); }
.test-banner { margin-bottom: 20px; padding: 12px 16px; border: 1px solid #fedf89; border-radius: var(--radius); background: var(--warning-soft); font-size: 0.875rem; color: var(--warning); }

/* Couleurs par service --------------------------------------------------- */

.c-mc    { --c: #3f8f2a; --c-soft: #ecf7e8; --c-line: #b9e0ad; }
.c-fivem { --c: #e46f0b; --c-soft: #fff1e5; --c-line: #fcc99b; }
.c-redm  { --c: #c8372d; --c-soft: #fdeceb; --c-line: #f4b5b0; }
.c-bot   { --c: #4f5bd5; --c-soft: #eef0ff; --c-line: #c3c8f7; }
.c-vps   { --c: #1f6feb; --c-soft: #eaf2ff; --c-line: #b8d2ff; }
.c-web   { --c: #0e8f80; --c-soft: #e6f6f4; --c-line: #a6ded6; }
.c-retro { --c: #b7791f; --c-soft: #fdf5e6; --c-line: #efd29f; }
.c-shield{ --c: #0b1d3a; --c-soft: #e8edf5; --c-line: #c2cde0; }

/* Barre d'achat mobile (pages produit) */
.mobile-cta { display: none; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slider-tab { padding: 16px; }
  .slider-tab small { display: none; }
  .mock-float.a { left: -12px; }
  .mock-float.b { right: -8px; }
}

@media (max-width: 900px) {
  .topbar ul li:nth-child(n+2) { display: none; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .slide, .hero-grid, .split, .faq-layout, .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { margin: 0 auto; }
  h1, .page-header h1, .slide .h1-like { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  .cards, .features { grid-template-columns: 1fr 1fr; }
  .plans.plans-3 { grid-template-columns: 1fr; max-width: 480px; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .dash { grid-template-columns: 1fr; }
  .side { display: none; }
  .dash-main { padding: 24px 20px 100px; }
  .kpis, .quick { grid-template-columns: 1fr 1fr; }
  .mobile-tabs { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; border-top: 1px solid var(--border); background: #fff; padding: 6px; }
  .mobile-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px; border: 0; background: none; font-size: 0.72rem; font-weight: 500; color: var(--text-3); cursor: pointer; }
  .mobile-tabs button.active { color: var(--accent); }
  .summary { position: static; }
  .user-chip .meta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .container-narrow { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero-slider { padding-top: 40px; }
  h1, .page-header h1, .slide .h1-like { font-size: 2.125rem; }
  h2 { font-size: 1.625rem; }
  .slide .lead, .page-header .lead { font-size: 1.0625rem; }
  .slider-tabs { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
  .slider-tab { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 4px; text-align: center; }
  .slider-tab b { font-size: 0.75rem; }
  .slider-tab .ic { width: 32px; height: 32px; }
  .mock-float { display: none; }
  .mock-deco { inset: 16px -10px -14px 16px; }
  .cards, .features, .plans, .footer-grid, .row-2, .support-links { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr; }
  .trust li { border-left: 0; padding-left: 0; }
  .trust li + li { border-top: 1px solid var(--border); }
  .spec-sheet dl > div { grid-template-columns: 110px 1fr; }
  .cta-band .inner { padding: 32px 24px; }
  .legal article { padding: 8px 22px 28px; }
  .checkout { padding: 24px 20px 56px; }
  .auth-card { padding: 24px; }

  h1, .page-header h1, .slide .h1-like { font-size: 1.875rem; }
  .slide .visual { display: none; }
  .slide .lead { font-size: 1rem; }
  .slide-cta .btn { flex: 1 1 100%; }
  .checkout-grid .summary { order: -1; }
  .steps .line { width: 16px; }
  .topbar ul:last-child { display: none; }
  .page-header { padding: 36px 0 56px; }
  .crumbs { margin-bottom: 20px; }
  .from-box .v { font-size: 2rem; }
  .section-head { margin-bottom: 36px; }
  .faq summary { font-size: 0.9375rem; }

  .bar-simple .aside > span { display: none; }
  .auth-main { align-items: flex-start; padding-top: 40px; }
  .dash-top .crumb, .dash-top .sep { display: none; }
  .dash-top .inner { padding: 0 16px; }
  .dash-top .btn .label-text { display: none; }

  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(16, 24, 40, 0.25); transform: translateY(110%); transition: transform 0.3s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta small { display: block; font-size: 0.75rem; color: var(--text-3); }
  .mobile-cta b { font-size: 1.125rem; }
  .mobile-cta .btn { height: 44px; }
}

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