/* ==========================================================================
   WytsWeb — feuille de style commune (V3)
   Couleurs tirées du logo : bleu nuit → bleu roi → cyan
   ========================================================================== */

:root {
  --ink: #0b1736;
  --text: #33415c;
  --muted: #5d6b86;
  --navy: #1e376e;
  --navy-deep: #0b1736;
  --blue: #2563c1;
  --blue-dark: #1c4e9d;
  --sky: #31a6d2;
  --cyan: #34d2e6;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf3fc;
  --line: #e1e8f1;
  --line-strong: #c9d5e5;
  --ok: #138a5b;

  --grad: linear-gradient(120deg, #1e376e 0%, #2563c1 45%, #31a6d2 78%, #34d2e6 100%);
  --grad-text: linear-gradient(100deg, #2563c1 10%, #31a6d2 90%);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 54, .06);
  --shadow: 0 10px 30px rgba(11, 23, 54, .08);
  --shadow-lg: 0 24px 60px rgba(11, 23, 54, .16);
  --shadow-blue: 0 14px 34px rgba(37, 99, 193, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- 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: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(37, 99, 193, .45); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy-deep); color: #c8d3e8; }
.section-dark h2, .section-dark h3 { color: #fff; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Icônes ---------- */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 26px; height: 26px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 1rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { color: var(--blue-dark); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-sm { padding: .7rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue); }
.link-arrow .ic { transition: transform .18s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 23, 54, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand-name b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

.nav > a:not(.btn), .nav-drop > button {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border-radius: 999px; border: 0; background: none; cursor: pointer;
  color: var(--text); font-weight: 600; font-size: .94rem; transition: color .15s ease, background-color .15s ease;
}
.nav > a:not(.btn):hover, .nav-drop > button:hover, .nav-drop.open > button { color: var(--blue); background: var(--bg-tint); }
.nav > a[aria-current="page"], .nav-drop.current > button { color: var(--blue); }
.nav .btn { margin-left: .6rem; }
.nav-drop { position: relative; }
.nav-drop > button .ic { transition: transform .2s ease; }
.nav-drop.open > button .ic { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 520px; padding: .6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: .75rem; padding: .55rem; border-radius: var(--radius); color: var(--ink); }
.dropdown a:hover { background: var(--bg-soft); color: var(--ink); }
.dropdown img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.dropdown strong { display: block; font-size: .95rem; }
.dropdown span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; }

/* ---------- Titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-text); }
.section-dark .eyebrow { color: var(--cyan); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: #a9b8d3; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(52, 210, 230, .16), transparent 65%),
    radial-gradient(640px 480px at 0% 100%, rgba(37, 99, 193, .10), transparent 65%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 1.5rem;
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }
.pill .dot .ic { width: 13px; height: 13px; stroke-width: 3; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.4rem; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.trust .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }

.hero-visual { position: relative; padding: 0 0 70px 40px; }
.hero-photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 23, 54, .35)); }
.hero-visual .laptop { position: absolute; left: -10px; bottom: 0; width: 66%; z-index: 2; }
.hero-visual .phone { position: absolute; right: -14px; bottom: 30px; width: 25%; z-index: 3; }
.float-badge {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .6rem;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: .7rem .95rem; font-size: .86rem; font-weight: 700; color: var(--ink);
}
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.float-badge .badge-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.float-badge.top { top: 26px; left: 0; }
.float-badge .live { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* ---------- Cadres d'appareils ---------- */
.laptop { filter: drop-shadow(0 26px 40px rgba(11, 23, 54, .28)); }
.laptop .screen { background: #0f1a33; border-radius: 14px 14px 0 0; padding: 3% 3% 3.6%; position: relative; }
.laptop .screen::before { content: ""; position: absolute; top: 1.2%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #2c3a5a; transform: translateX(-50%); }
.laptop .screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; background: #fff; }
.laptop .base { position: relative; height: 0; padding-bottom: 4.2%; margin: 0 -7%; background: linear-gradient(180deg, #e3e8ef, #b9c2cf); border-radius: 0 0 16px 16px; }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16%; height: 38%; background: #c3cad6; border-radius: 0 0 10px 10px; }

.phone { background: #0f1a33; border-radius: 30px; padding: 7px; box-shadow: 0 24px 44px rgba(11, 23, 54, .3); position: relative; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 32%; height: 14px; border-radius: 10px; background: #0f1a33; z-index: 2; }
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 24px; background: #fff; }

.browser { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dae5; }
.browser-bar i:nth-child(1) { background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3) { background: #34d399; }
.browser-url { flex: 1; margin-left: 8px; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .76rem; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url .ic { width: 12px; height: 12px; color: var(--ok); }
.browser > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- Bandeau confiance ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: .9rem; padding: 1.6rem 1.2rem; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--blue); background: var(--bg-tint); flex-shrink: 0; }
.strip-item strong { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.25; }
.strip-item span { font-size: .86rem; color: var(--muted); }

/* ---------- Cartes métiers ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sector-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: var(--text); }
.sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.sector-card .media { aspect-ratio: 4 / 3.3; overflow: hidden; position: relative; }
.sector-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector-card:hover .media img { transform: scale(1.05); }
.sector-card .tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .35rem .65rem; border-radius: 999px; }
.sector-card .tag .ic { width: 15px; height: 15px; color: var(--blue); }
.sector-card .body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.sector-card h3 { font-size: 1.18rem; font-weight: 800; }
.sector-card p { font-size: .93rem; color: var(--muted); }
.sector-card .link-arrow { margin-top: auto; padding-top: .4rem; font-size: .93rem; }

/* ---------- Démos ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.demo-card { position: relative; padding: 0 34px 34px 0; }
.demo-card .phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 22px; padding: 5px; }
.demo-card .phone::before { top: 9px; height: 10px; }
.demo-card .phone img { border-radius: 18px; }
.demo-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding-right: 28%; }
.demo-meta h3 { font-size: 1.15rem; font-weight: 800; color: #fff; }
.demo-meta p { font-size: .9rem; color: #a9b8d3; }
.section-dark .browser { border-color: rgba(255, 255, 255, .08); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.demo-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--cyan); white-space: nowrap; margin-top: .5rem; }
.demo-link:hover { color: #fff; }
.demo-note { margin-top: 2.6rem; font-size: .86rem; color: #8193b3; text-align: center; }

/* ---------- Fonctionnalités ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; transition: box-shadow .2s ease, transform .2s ease; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; color: #fff; background: var(--grad); box-shadow: 0 8px 18px rgba(37, 99, 193, .25); }
.feature h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: .35rem; }
.feature p { font-size: .92rem; color: var(--muted); }

/* ---------- Split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media > img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media .float-badge { left: -22px; bottom: 28px; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.45rem); font-weight: 800; margin-bottom: 1rem; }
.split .lead { font-size: 1.06rem; color: var(--muted); margin-bottom: 1.6rem; }
.check-list { display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.check-list .tick .ic { width: 14px; height: 14px; stroke-width: 3; }
.check-list strong { color: var(--ink); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem 1.5rem; }
.step-num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); margin-bottom: 1.1rem; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.9rem; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: rotate(45deg); }

/* ---------- Tarifs ---------- */
.price-hero {
  position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.price-main { position: relative; padding: 2.4rem; color: #c8d3e8; background: var(--navy-deep); overflow: hidden; }
.price-main::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(52, 210, 230, .35), transparent 65%); }
.price-main > * { position: relative; }
.price-label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: .9rem; }
.price-main h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: .6rem; }
.price-amount { display: flex; align-items: flex-start; gap: .2rem; color: #fff; font-weight: 800; font-size: 4rem; line-height: 1; letter-spacing: -0.04em; margin: 1.4rem 0 .4rem; }
.price-amount sup { font-size: 1.8rem; margin-top: .4rem; }
.price-note { font-size: .9rem; color: #a9b8d3; }
.price-note strong { color: #fff; }
.price-main .btn { margin-top: 1.8rem; }
.price-includes { padding: 2.4rem; }
.price-includes h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.inc { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.inc .ic { color: var(--blue); margin-top: 2px; width: 20px; height: 20px; }
.inc strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.inc span { color: var(--muted); font-size: .86rem; line-height: 1.4; display: block; }

.plans-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3.2rem 0 1.4rem; }
.plans-title h3 { font-size: 1.4rem; font-weight: 800; }
.plans-title p { color: var(--muted); font-size: .95rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-blue); }
.plan-badge { position: absolute; top: -13px; left: 1.8rem; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px; letter-spacing: .02em; }
.plan h4 { font-size: 1.2rem; font-weight: 800; }
.plan .plan-sub { font-size: .9rem; color: var(--muted); margin-top: .25rem; }
.plan-price { display: flex; align-items: baseline; gap: .3rem; margin: 1.2rem 0 1.2rem; color: var(--ink); }
.plan-price strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan ul { display: grid; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.plan li .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; margin-top: 3px; }
.plan li.no { color: #94a0b6; }
.plan li.no .ic { color: #b5bfd0; }
.plan.option { background: var(--bg-soft); border-style: dashed; border-color: var(--line-strong); }
.plan.option .plan-price strong { font-size: 2rem; }
.legal-note { margin-top: 1.4rem; font-size: .84rem; color: var(--muted); text-align: center; }

/* ---------- Simulateur ---------- */
.sim { margin-top: 3rem; display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.sim-controls { padding: 2.2rem; }
.sim-controls h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .35rem; }
.sim-controls > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.sim-group { border: 0; padding: 0; margin: 0 0 1.4rem; }
.sim-group legend { font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: .7rem; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg .opt { display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; transition: border-color .15s ease, background-color .15s ease; }
.seg .opt strong { display: block; color: var(--ink); }
.seg .opt span { font-size: .85rem; color: var(--muted); }
.seg input:checked + .opt { border-color: var(--blue); background: var(--bg-tint); }
.seg input:focus-visible + .opt { outline: 3px solid rgba(37, 99, 193, .45); outline-offset: 2px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 2px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.toggle strong { display: block; color: var(--ink); }
.toggle span { font-size: .85rem; color: var(--muted); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #cfd8e6; flex-shrink: 0; transition: background-color .15s ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.toggle:has(input:checked) { border-color: var(--blue); background: var(--bg-tint); }
.toggle input:checked ~ .switch { background: var(--blue); }
.toggle input:checked ~ .switch::after { transform: translateX(20px); }
.toggle:has(input:focus-visible) { outline: 3px solid rgba(37, 99, 193, .45); outline-offset: 2px; }
.sim-result { padding: 2.2rem; background: var(--navy-deep); color: #c8d3e8; display: flex; flex-direction: column; gap: 1.1rem; justify-content: center; }
.sim-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sim-line:last-of-type { border-bottom: 0; }
.sim-line > span { font-size: .95rem; }
.sim-line strong { color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.sim-line strong small { font-size: .95rem; font-weight: 600; color: #a9b8d3; }
.sim-extra { font-size: .86rem; color: #8ea0c1; }
.sim-extra strong { color: var(--cyan); }
.sim-result .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease, box-shadow .15s ease; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 1.3rem 1.25rem; color: var(--muted); }
.faq .answer p + p { margin-top: .7rem; }

/* ---------- Appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--grad); padding: 4rem 3.5rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; color: #e6f0ff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .9rem; }
.cta-band p { font-size: 1.05rem; color: #dbe8ff; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: flex-end; }
.cta-mark { position: absolute; right: -60px; bottom: -90px; width: 340px; opacity: .14; pointer-events: none; }

/* ---------- Héros des pages intérieures ---------- */
.page-hero { position: relative; padding: 48px 0 80px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px 380px at 92% 0%, rgba(52, 210, 230, .14), transparent 65%), linear-gradient(180deg, #f7faff, #fff 75%); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .86rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .ic { width: 14px; height: 14px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.2rem; }
.page-hero .hero-lead { margin-bottom: 1.8rem; }
.page-hero-media { position: relative; padding-bottom: 40px; }
.page-hero-media > img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; object-fit: cover; }
.page-hero-media .phone { position: absolute; right: -10px; bottom: 0; width: 28%; }
.page-hero-media .float-badge { left: -20px; top: 24px; }
.page-hero.simple { padding-bottom: 56px; }
.page-hero.simple .container { max-width: 860px; }
.page-hero.simple.full .container { max-width: var(--container); }

/* ---------- Mise en avant démo (pages métiers) ---------- */
.showcase { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.showcase-visual { position: relative; padding: 0 40px 40px 0; }
.showcase-visual .phone { position: absolute; right: 0; bottom: 0; width: 26%; }

/* ---------- Cartes avantages ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.card-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- WytsWeb Résa ---------- */
.resa { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-deep); color: #c8d3e8; display: grid; grid-template-columns: 1fr 1fr; }
.resa-copy { padding: 3rem; position: relative; z-index: 1; }
.resa-copy h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }
.resa-copy .lead { color: #a9b8d3; margin-bottom: 1.6rem; }
.resa-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin-bottom: 1.8rem; }
.resa-feats li { display: flex; gap: .7rem; align-items: flex-start; }
.resa-feats .ic-box { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(52, 210, 230, .14); color: var(--cyan); flex-shrink: 0; }
.resa-feats strong { display: block; color: #fff; font-size: .95rem; }
.resa-feats span { font-size: .85rem; color: #a9b8d3; line-height: 1.4; display: block; }
.resa-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: .45rem .9rem; }
.resa-visual { position: relative; min-height: 480px; }
.resa-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.resa-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(11, 23, 54, .25) 35%, rgba(11, 23, 54, 0) 60%); }

/* Maquette d'interface de l'appli */
.app-ui { position: absolute; z-index: 2; right: 28px; bottom: 28px; width: min(330px, 78%); background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; color: var(--text); font-size: .8rem; }
.app-ui-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.app-ui-head strong { color: var(--ink); font-size: .86rem; }
.app-ui-head span { font-size: .72rem; color: var(--muted); }
.app-ui-row { display: flex; align-items: center; gap: .7rem; padding: .62rem 1rem; border-bottom: 1px solid var(--line); }
.app-ui-row:last-child { border-bottom: 0; }
.app-ui-time { font-weight: 800; color: var(--ink); width: 42px; }
.app-ui-name { flex: 1; min-width: 0; }
.app-ui-name b { display: block; color: var(--ink); font-size: .8rem; }
.app-ui-name small { color: var(--muted); font-size: .72rem; }
.app-ui-status { font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; }
.app-ui-status.ok { background: #dcf5e9; color: #0f7a50; }
.app-ui-status.new { background: var(--bg-tint); color: var(--blue); }

/* ---------- Page sur mesure ---------- */
.project-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.code-card { background: var(--navy-deep); color: #c8d3e8; border-radius: var(--radius-lg); padding: 1.8rem; }
.code-card .card-ic { background: rgba(52, 210, 230, .14); color: var(--cyan); }
.code-card h3 { color: #fff; font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.code-card p { color: #a9b8d3; font-size: .95rem; }
.code-card ul { margin-top: 1rem; display: grid; gap: .45rem; }
.code-card li { display: flex; gap: .55rem; align-items: center; font-size: .9rem; color: #dbe5f5; }
.code-card li .ic { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- À propos ---------- */
.about-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 2.2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.about-id { display: flex; align-items: center; gap: 1rem; }
.about-id img { width: 64px; height: 64px; }
.about-id strong { display: block; color: var(--ink); font-size: 1.15rem; }
.about-id span { color: var(--muted); font-size: .92rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--bg-soft); border-radius: var(--radius); padding: 1.1rem; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--muted); }
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.1rem; font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 2.2rem; }
.form-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; width: 100%;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 193, .12); }
.field .error-msg { display: none; font-size: .84rem; color: #c0392b; }
.field.invalid input, .field.invalid textarea { border-color: #e06666; }
.field.invalid .error-msg { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.alert { display: none; align-items: flex-start; gap: .7rem; border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1.4rem; font-weight: 600; font-size: .95rem; }
.alert.show { display: flex; }
.alert.ok { background: #e3f7ee; color: #0f6b46; }
.alert.err { background: #fdecec; color: #a93226; }
.contact-side { display: grid; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.contact-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 1rem; }
.contact-item { display: flex; gap: .9rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--text); }
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item .strip-ic { width: 42px; height: 42px; border-radius: 12px; }
.contact-item small { display: block; font-size: .8rem; color: var(--muted); }
.contact-item strong { color: var(--ink); font-size: .98rem; }
a.contact-item:hover strong { color: var(--blue); }
.mini-steps { display: grid; gap: .9rem; counter-reset: ms; }
.mini-steps li { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; }
.mini-steps li::before { counter-increment: ms; content: counter(ms); width: 26px; height: 26px; border-radius: 8px; background: var(--bg-tint); color: var(--blue); font-weight: 800; font-size: .82rem; display: grid; place-items: center; flex-shrink: 0; }
.mini-steps strong { display: block; color: var(--ink); }
.mini-steps span { color: var(--muted); font-size: .88rem; }

/* ---------- Pages légales ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; font-weight: 800; margin: 2.6rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.2rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink); background: var(--bg-soft); font-weight: 700; }
.legal .kv td:first-child { width: 38%; font-weight: 700; color: var(--ink); }
.legal .updated { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #93a3c2; padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-name b { background: linear-gradient(100deg, #5b9bf0, #46ddee); -webkit-background-clip: text; background-clip: text; }
.footer-about { max-width: 320px; }
.footer-col h3 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0; }
.footer-col a { display: block; color: #93a3c2; padding: .28rem 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 24px; font-size: .85rem; color: #6f81a3; }
.footer-bottom a { color: #6f81a3; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav > a:not(.btn), .nav-drop > button { padding: .5rem .55rem; font-size: .9rem; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan.option { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; padding: 1rem 24px 2rem; overflow-y: auto; border-top: 1px solid var(--line); }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: flex; align-items: center; gap: .8rem; padding: .85rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; }
  .mobile-nav a img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
  .mobile-nav .mobile-label { display: block; margin: 1.2rem 0 .2rem; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .mobile-nav .btn { margin-top: 1.4rem; width: 100%; border-bottom: 0; color: #fff; justify-content: center; }
  body.menu-open { overflow: hidden; }

  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .page-hero-grid, .split, .showcase, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .demo-grid { grid-template-columns: 1fr; gap: 44px; }
  .price-hero { grid-template-columns: 1fr; }
  .sim { grid-template-columns: 1fr; }
  .resa { grid-template-columns: 1fr; }
  .resa-visual { min-height: 420px; }
  .resa-visual::before { background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(11, 23, 54, 0) 40%); }
  .cards-3, .project-types { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .page-hero-media, .showcase-visual { max-width: 600px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 2.2rem; }
  .hero-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 0 0 52px 0; }
  .hero-visual .laptop { left: -6px; width: 74%; }
  .hero-visual .phone { right: -4px; width: 29%; }
  .float-badge.top { top: 14px; left: 12px; }
  .float-badge { padding: .55rem .75rem; font-size: .8rem; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { padding: 1.1rem .4rem; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .sector-grid, .feature-grid, .steps, .plans { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .demo-card { padding: 0 20px 24px 0; }
  .demo-meta { padding-right: 0; flex-direction: column; gap: .3rem; }
  .price-main, .price-includes, .sim-controls, .sim-result, .form-card, .resa-copy { padding: 1.6rem; }
  .price-amount { font-size: 3.3rem; }
  .inc-grid, .resa-feats, .form-row, .seg, .stats { grid-template-columns: 1fr; }
  .sim-line strong { font-size: 1.6rem; }
  .cta-band { padding: 2.4rem 1.4rem; }
  .cta-actions .btn { width: 100%; }
  .page-hero-media .float-badge, .split-media .float-badge { left: 10px; }
  .app-ui { right: 14px; bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Mini-interfaces (illustrations des fonctionnalités)
   ========================================================================== */
.mini {
  position: relative; height: 136px; margin-bottom: 1.15rem; padding: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(160deg, #f6f9fe 0%, #e9f1fb 100%);
  font-size: 11px; line-height: 1.35; color: var(--ink);
}
.card .mini { height: 168px; }
.mini.dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.mini b { font-weight: 700; color: var(--ink); }
.mini small { display: block; font-size: 9.5px; color: var(--muted); }
.m-card { width: 100%; max-width: 230px; background: #fff; border-radius: 10px; padding: 10px 11px; box-shadow: 0 8px 20px rgba(11, 23, 54, .09); }
.m-title { font-weight: 800; font-size: 11.5px; color: var(--ink); margin-bottom: 7px; }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-row + .m-row { margin-top: 5px; }
.m-row.m-left { justify-content: flex-start; }
.m-muted { color: var(--muted); }
.m-line { display: block; height: 5px; border-radius: 3px; background: #dfe6f0; }
.m-line + .m-line { margin-top: 5px; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: var(--blue); color: #fff; font-weight: 700; font-size: 10px; border-radius: 6px; padding: 5px 9px; }
.m-full { display: flex; width: 100%; margin-top: 8px; }
.m-mt { display: inline-block; margin-top: 8px; }
.m-badge { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.m-badge.ok { background: #dcf5e9; color: #0f7a50; }
.m-badge.blue { background: var(--bg-tint); color: var(--blue); }
.m-chip { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 7px; font-weight: 700; font-size: 10px; color: var(--ink); }
.m-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.m-slots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.m-ck { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -1px; color: var(--ok); }
.m-btn .m-ck, .m-bub.out .m-ck { color: inherit; }
.m-item { display: flex; align-items: baseline; gap: 6px; }
.m-item + .m-item { margin-top: 5px; }
.m-item .lead { flex: 1; border-bottom: 1.5px dotted #c5d0df; transform: translateY(-3px); }
.m-field { border: 1px solid var(--line); border-radius: 6px; padding: 5px 7px; color: var(--muted); background: var(--bg-soft); }
.m-field + .m-field { margin-top: 5px; }
.m-banner { background: #fff4d9; color: #8a5a00; border-radius: 6px; padding: 4px 7px; font-weight: 700; font-size: 10px; margin-bottom: 7px; }

.m-design { display: flex; align-items: center; gap: 16px; }
.m-aa { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.m-swatches { display: grid; grid-template-columns: repeat(2, 22px); gap: 6px; }
.m-swatches i { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(11, 23, 54, .08); }

.m-phone { width: 62px; height: 112px; border-radius: 12px; background: #fff; border: 3px solid #0f1a33; padding: 6px 5px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 10px 22px rgba(11, 23, 54, .18); }
.m-phone-2 { transform: translateY(10px) rotate(6deg); }
.m-ph-bar { height: 5px; border-radius: 3px; background: #0f1a33; width: 40%; }
.m-ph-hero { height: 30px; border-radius: 5px; background: var(--grad); }
.m-ph-img { height: 26px; border-radius: 5px; background: linear-gradient(135deg, #f5d9a8, #d9a05b); }
.m-ph-btn { height: 9px; border-radius: 4px; background: var(--blue); width: 60%; margin-top: auto; }
.m-phone .m-line { height: 4px; margin: 0; }

.m-url { color: #138a5b; font-size: 10px; }
.m-link { color: #1a56c4; font-size: 12.5px; font-weight: 600; margin: 2px 0 7px; }

.m-map { position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 47%, #ffffff 47%, #ffffff 53%, transparent 53%),
  linear-gradient(20deg, transparent 58%, #ffffff 58%, #ffffff 62%, transparent 62%),
  linear-gradient(90deg, transparent 30%, #f7f9fc 30%, #f7f9fc 33%, transparent 33%),
  radial-gradient(circle at 78% 22%, #d6ecd3 0 18%, transparent 19%),
  #e7eef4; }
.m-pin { position: absolute; left: 50%; top: 22%; width: 34px; height: 34px; transform: translateX(-50%); fill: #e5484d; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.m-map-btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 6px 12px; font-size: 11px; box-shadow: 0 6px 14px rgba(37, 99, 193, .3); }

.m-urlbar { display: flex; align-items: center; gap: 8px; padding: 9px 10px; }
.m-dots { display: flex; gap: 4px; }
.m-dots i { width: 7px; height: 7px; border-radius: 50%; background: #f87171; }
.m-dots i:nth-child(2) { background: #fbbf24; }
.m-dots i:nth-child(3) { background: #34d399; }
.m-addr { flex: 1; display: flex; align-items: center; gap: 5px; background: var(--bg-soft); border-radius: 6px; padding: 5px 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.m-lock { width: 11px; height: 11px; fill: none; stroke: #138a5b; stroke-width: 2.6; }

.m-from { justify-content: flex-start; margin-bottom: 8px; }
.m-av { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.m-flag { display: inline-flex; margin-right: 4px; vertical-align: -1px; }
.m-flag i { width: 5px; height: 9px; background: #1e3a8a; }
.m-flag i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 .5px #ccd; }
.m-flag i:nth-child(3) { background: #e5484d; }

.m-chat { display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 240px; }
.m-bub { max-width: 82%; padding: 7px 10px; border-radius: 12px; font-size: 11px; line-height: 1.35; }
.m-bub small { margin-top: 2px; font-size: 9px; opacity: .75; }
.m-bub.in { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 4px 12px rgba(11, 23, 54, .08); }
.m-bub.out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.mini .m-bub.out small { color: #dbe8ff; }

.m-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; max-width: 240px; }
.m-prod { background: #fff; border-radius: 8px; padding: 5px; box-shadow: 0 6px 14px rgba(11, 23, 54, .08); }
.m-prod b { display: block; font-size: 10px; margin-top: 4px; }
.m-prod span { font-size: 10px; color: var(--blue); font-weight: 700; }
.m-thumb { display: block; aspect-ratio: 1; border-radius: 5px; background-color: #e3e9f1; background-repeat: no-repeat; }
.m-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; max-width: 230px; }
.m-gallery .m-thumb { border-radius: 7px; box-shadow: 0 4px 10px rgba(11, 23, 54, .1); }

.m-progress { height: 7px; border-radius: 4px; background: #e3e9f1; margin: 9px 0 6px; overflow: hidden; }
.m-progress i { display: block; height: 100%; width: 100%; background: var(--grad); }
.m-preview { display: block; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #1e376e, #2563c1 55%, #34d2e6); margin-bottom: 7px; }

.m-window { padding: 0; overflow: hidden; }
.m-win-bar { display: flex; gap: 4px; padding: 6px 8px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.m-win-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cfd8e6; }
.m-win-body { display: flex; }
.m-side { width: 34px; background: #0f1a33; padding: 7px 6px; display: grid; gap: 5px; align-content: start; }
.m-side i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.m-side i:first-child { background: var(--cyan); }
.m-main { flex: 1; padding: 8px 9px; }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 8px; }
.m-kpis span { background: var(--bg-soft); border-radius: 6px; padding: 4px 6px; }
.m-kpis b { display: block; font-size: 13px; }
.m-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.m-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #34d2e6, #2563c1); }
.m-sync { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 260px; }
.m-box { flex: 1; padding: 9px; }
.m-box b { display: block; font-size: 11px; }
.m-arrows svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Ajustements V3.1 : moins d’espace, moins de pastilles
   ========================================================================== */
.section { padding: 80px 0; }
.hero { padding: 56px 0 72px; }
.page-hero { padding: 44px 0 64px; }
.section-head { margin-bottom: 2.5rem; }
.plans-title { margin: 2.6rem 0 1.2rem; }
.sim { margin-top: 2.4rem; }
/* deux sections de même fond qui se suivent : pas de double espace */
.section:not(.section-soft):not(.section-dark) + .section:not(.section-soft):not(.section-dark),
.section:not(.section-soft):not(.section-dark) + .section-sm,
.section-soft + .section-soft { padding-top: 0; }

.hero-photo img { object-position: 55% 45%; }

/* Bandeau en chiffres (sans icône) */
.strip-item { flex-direction: column; align-items: flex-start; gap: .1rem; }
.strip-item .strip-num { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Listes et contacts : coche ou icône simple, sans pastille */
.inc .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }
.resa-feats .rck { width: 18px; height: 18px; color: var(--cyan); stroke-width: 2.6; margin-top: 2px; }
.contact-item .contact-ic { width: 22px; display: grid; place-items: center; color: var(--blue); flex-shrink: 0; }

@media (max-width: 960px) {
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero { padding: 32px 0 56px; }
  .mini, .card .mini { height: 150px; }
}
