/* PARATECH — style clair et vert émeraude, inspiré des sites d'agence modernes */
:root {
  /* Charte ParaTech : bleu marine (structure, confiance) et orange (action, énergie). */
  --ink: #0B1B33;          /* titres, pied de page */
  --navy-900: #001E3C;
  --navy-700: #003163;     /* couleur de marque */
  --navy-600: #0B4A8B;
  --navy-400: #4C7DB8;
  --orange: #F7A000;       /* boutons d'action, repères */
  --orange-600: #E08E00;
  --orange-ink: #8F5400;   /* l'orange en texte : lisible sur fond clair (contraste ≥ 4,5:1) */
  --sky: #C9D8EA;
  --sky-50: #EEF3F9;
  --text: #33445A;
  --muted: #66758A;
  --line: #E2E9EF;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(0, 33, 63, .05), 0 10px 30px rgba(0, 33, 63, .08);
  --shadow-lg: 0 30px 70px rgba(0, 33, 63, .20);
  --container: 1180px;
  --font-display: "Plus Jakarta Sans", "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; font-family: var(--font-display); }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
main { overflow-x: clip; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .8em; }
.pill { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-700); letter-spacing: .04em; text-transform: none; font-size: .88rem; box-shadow: var(--shadow); }
.lead { font-size: 1.12rem; }
.muted { color: var(--muted); font-weight: 600; }
.accent { color: var(--navy-700); background: linear-gradient(transparent 60%, rgba(247, 160, 0, .45) 0); padding: 0 .08em; border-radius: 2px; }
.center { text-align: center; margin-top: 40px; }

/* ---------- Boutons (pilules, comme la maquette) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font: inherit; font-weight: 800; font-size: .97rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s, box-shadow .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-primary, .btn-accent { background: var(--orange); color: var(--navy-900); }
.btn-primary:hover, .btn-accent:hover { background: var(--orange-600); box-shadow: 0 10px 24px rgba(247, 160, 0, .35); }
.btn-ghost, .btn-ghost-light { background: #fff; color: var(--navy-700); border-color: var(--sky); }
.btn-ghost:hover, .btn-ghost-light:hover { border-color: var(--navy-700); }
.btn-white { background: #fff; color: var(--navy-700); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { border-color: #fff; }
.btn.disabled { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0; }
.link-arrow { font-weight: 800; color: var(--navy-700); text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }
.link-arrow.disabled { color: var(--muted); pointer-events: none; }
.link-arrow.disabled::after { content: ""; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(0, 33, 63,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .96rem; color: var(--ink); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy-600); }
.nav .btn { padding: .55em 1.3em; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg-soft); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; }
.lang-switch span { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
html[lang="fr"] .lang-switch [data-lang="fr"], html[lang="en"] .lang-switch [data-lang="en"] { background: var(--navy-700); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--navy-700), var(--orange)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .lang-switch { align-self: flex-start; margin-top: 14px; }
}

/* ---------- Décor : courbes fines (comme la maquette) ---------- */
.curves { position: absolute; pointer-events: none; opacity: .5; }
.curves path { fill: none; stroke: var(--sky); stroke-width: 1.2; }

/* ---------- Héros de l'accueil ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F1F5FA 0%, #F7F9FC 100%); padding: 72px 0 96px; isolation: isolate; }
.hero .curves { left: -120px; top: -40px; width: 520px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--navy-700); }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-weight: 900; font-size: 1.1rem; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -34px; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 33, 63,.14), transparent); z-index: -1; }
.stack { position: relative; aspect-ratio: 16 / 11; }
.stack img { position: absolute; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 33, 63,.08); }
.stack-back { width: 78%; right: 0; top: 0; animation: float 8s ease-in-out infinite; }
.stack-front { width: 80%; left: 0; bottom: 4%; animation: float 9s ease-in-out -3s infinite; }
.stack-phone { width: 21% !important; right: 2%; bottom: -6%; border-radius: 20px !important; border: 5px solid var(--ink) !important; animation: float 7s ease-in-out -2s infinite; }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 800; font-size: .84rem; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.chip b { color: var(--navy-700); }
.chip-free { left: -2%; top: 10%; animation: float 6s ease-in-out -1s infinite; }
.chip-offline { right: 24%; top: 44%; animation: float 7s ease-in-out -4s infinite; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--navy-600); }
.dot.live { background: #E5484D; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55); } 70% { box-shadow: 0 0 0 10px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) { .hero { padding: 40px 0 72px; } .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Titre révélé mot à mot */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes wordUp { to { transform: none; } }

/* ---------- Bande « compatible avec » (logos clients de la maquette) ---------- */
.logo-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.logo-strip .container { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; }
.logo-strip p { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; }
.logo-strip li { font-weight: 900; font-size: 1.15rem; color: #98A7B8; letter-spacing: -.01em; transition: color .2s; }
.logo-strip li:hover { color: var(--navy-700); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-sky { background: var(--sky-50); }
.section-dark { background: radial-gradient(120% 80% at 50% 0%, #0A3A6E 0%, var(--navy-900) 55%, #00142A 100%); color: #B8C6D6; }
.section-dark h2, .section-dark h3, .section-dark b { color: #fff; }
.section-dark .lead, .section-dark .section-sub { color: #B8C6D6; }
.section-dark .eyebrow { color: var(--orange); }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.tag { font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; vertical-align: middle; }
.tag-free { background: var(--sky-50); color: var(--navy-700); border: 1px solid var(--sky); }
.tag-soon { background: #FFF4DB; color: #8A5B00; }
.tag-pro { background: var(--navy-700); color: #fff; }
h1 .tag, h2 .tag { font-size: .68rem; position: relative; top: -6px; }

/* ---------- Logiciels : titre + illustration à gauche, accordéon à droite ---------- */
.software { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.software-intro { position: sticky; top: 110px; }
.orbit { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: 36px 0 0; }
.orbit::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--navy-400), var(--navy-700) 70%); box-shadow: 0 30px 60px rgba(247, 160, 0,.3); }
.orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--sky); animation: spin 40s linear infinite; }
.orbit img { position: absolute; width: 58px; height: 58px; border-radius: 16px; background: #fff; padding: 6px; box-shadow: var(--shadow); z-index: 1; }
.orbit img:nth-child(1) { top: 40%; left: -6%; }
.orbit img:nth-child(2) { top: 40%; right: -6%; }
.orbit span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; font-weight: 900; font-size: 2.4rem; z-index: 1; line-height: 1.05; }
.orbit span small { display: block; font-size: .85rem; font-weight: 700; opacity: .85; letter-spacing: .06em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.accordion { display: grid; gap: 0; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 4px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary img { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; }
.accordion summary .acc-title { flex: 1; min-width: 0; }
.accordion summary b { display: block; color: var(--ink); font-size: 1.25rem; font-weight: 800; }
.accordion summary small { display: block; color: var(--muted); font-size: .92rem; }
.accordion summary::after { content: "+"; flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; color: var(--navy-700); border: 1.5px solid var(--sky); transition: transform .25s, background .25s, color .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.acc-body { padding: 0 4px 24px 62px; display: grid; grid-template-columns: 1fr 200px; gap: 22px; align-items: start; animation: fadeIn .4s ease; }
.acc-body p { margin: 0 0 14px; }
.acc-body img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.acc-actions .btn { padding: .6em 1.2em; font-size: .92rem; }
@media (max-width: 960px) { .software { grid-template-columns: 1fr; gap: 24px; } .software-intro { position: static; } .orbit { display: none; } }
@media (max-width: 620px) { .acc-body { grid-template-columns: 1fr; padding-left: 4px; } }

/* ---------- Schéma de la régie ---------- */
.flow { display: grid; grid-template-columns: 1fr 90px auto 90px 1fr; align-items: center; max-width: 1040px; margin: 0 auto; }
.flow-col { display: grid; gap: 14px; }
.flow-node { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
a.flow-node:hover { transform: translateX(4px); border-color: var(--navy-400); }
.flow-node img { border-radius: 10px; flex: 0 0 40px; }
.flow-node b { display: block; color: var(--ink); }
.flow-node small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.flow-node.out { background: var(--sky-50); box-shadow: none; border-color: var(--sky); }
.out-ic { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-700); color: #fff; }
.out-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-link { position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.flow-link i { position: absolute; inset: 0; width: 200%; background: repeating-linear-gradient(90deg, transparent 0 14px, var(--navy-600) 14px 34px, transparent 34px 48px); animation: flowX 1.2s linear infinite; }
@keyframes flowX { from { transform: translateX(-48px); } to { transform: translateX(0); } }
@keyframes flowY { from { transform: translateY(-48px); } to { transform: translateY(0); } }
.flow-hub { position: relative; width: 190px; height: 190px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 30%, var(--navy-600), var(--navy-900)); color: #fff; box-shadow: 0 20px 50px rgba(247, 160, 0,.35); }
.flow-hub b { color: #fff; font-size: 1.15rem; }
.flow-hub small { color: var(--sky); font-size: .76rem; font-weight: 800; letter-spacing: .04em; padding: 0 18px; }
.hub-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed var(--sky); animation: spin 18s linear infinite; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow-hub { justify-self: center; width: 170px; height: 170px; margin: 6px 0; }
  .flow-link { justify-self: center; width: 4px; height: 56px; }
  .flow-link i { width: 100%; height: 200%; background: repeating-linear-gradient(180deg, transparent 0 14px, var(--navy-600) 14px 34px, transparent 34px 48px); animation-name: flowY; }
}

/* ---------- Pourquoi PARATECH : chiffres et atouts ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .25s; }
.why-card:hover { transform: translateY(-4px); }
.why-card b { display: block; font-size: 2.1rem; font-weight: 900; color: var(--navy-700); line-height: 1.1; letter-spacing: -.02em; }
.why-card span { color: var(--muted); font-size: .95rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li, .feature-list li { position: relative; padding-left: 32px; }
.checks li::before, .feature-list li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; gap: 12px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .why-cards { grid-template-columns: 1fr; } }

/* ---------- Comment ça marche (processus) ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; border-top: 2px dashed var(--sky); z-index: 0; }
.process li { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.process li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-600); color: var(--navy-700); font-weight: 900; font-size: 1.3rem; box-shadow: var(--shadow); }
.process b { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }
.process span { color: var(--muted); font-size: .94rem; }
@media (max-width: 820px) { .process { grid-template-columns: 1fr 1fr; row-gap: 36px; } .process::before { display: none; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ---------- Services et public ---------- */
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.service-grid .service { flex: 1 1 200px; max-width: 290px; }
.service, .audience { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover, .audience:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.service p { font-size: .95rem; }
.svc-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--sky-50); display: grid; place-items: center; margin-bottom: 16px; transition: background .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .svc-icon, .feat:hover .svc-icon { background: var(--navy-700); transform: rotate(-6deg); }
.service:hover .svc-icon svg, .feat:hover .svc-icon svg { stroke: #fff; }
.svc-price { font-weight: 900; color: var(--navy-700); margin: 0; }
.svc-price span, .svc-price small { font-weight: 600; color: var(--muted); }
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience b { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 6px; }
.audience span { color: var(--muted); font-size: .94rem; }
.audience .svc-icon, .usecase .svc-icon { margin-bottom: 14px; }
.audience:hover .svc-icon, .usecase:hover .svc-icon { background: var(--navy-700); transform: rotate(-6deg); }
.audience:hover .svc-icon svg, .usecase:hover .svc-icon svg { stroke: #fff; }
@media (max-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- Bandeau vert d'appel (comme la maquette) ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 56px; background: radial-gradient(90% 140% at 100% 0%, rgba(247, 160, 0, .28), transparent 55%), linear-gradient(120deg, var(--navy-900), var(--navy-700) 60%, var(--navy-600)); color: #E6EEF7; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; text-align: left; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(#fff 1.2px, transparent 1.3px); background-size: 16px 16px; mask-image: radial-gradient(ellipse 60% 90% at 80% 50%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 50%, #000 20%, transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band .hero-actions { margin: 0; }
.cta-band .btn-accent, .cta-band .btn-primary { background: #fff; color: var(--navy-700); }
.cta-band .btn-ghost-light, .cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 40px 26px; } }

/* ---------- Publicité ---------- */
.ad-slot { display: none; max-width: 970px; margin: 0 auto; padding: 24px 16px; text-align: center; }
.ad-slot.on { display: block; }
.ad-slot .ad-label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #A2B0C0; margin-bottom: 6px; }
.ad-slot ins { display: block; min-height: 90px; text-decoration: none; }
.ad-slot.preview ins { display: grid; place-items: center; min-height: 110px; border: 2px dashed var(--sky); border-radius: 14px; color: var(--muted); font-weight: 700; background: var(--sky-50); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.legal-line { font-size: .88rem; color: var(--muted); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; text-decoration: none; transition: background .15s; }
a.contact-row:hover { background: var(--sky-50); }
.contact-row b { color: var(--ink); }
.contact-row small { display: block; color: var(--muted); font-size: .92rem; word-break: break-word; }
.ci { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--navy-700) center / 21px no-repeat; }
.ci-wa { background-color: #25D366; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E"); background-size: 22px; }
.ci-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2' /%3E %3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7' /%3E%3C/svg%3E"); }
.ci-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0' /%3E %3Ccircle cx='12' cy='10' r='3' /%3E%3C/svg%3E"); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Pied de page sombre en colonnes ---------- */
.site-footer { background: var(--navy-900); color: #9DAFC3; font-size: .94rem; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 5px 9px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: #C3D1E0; }
.site-footer a:hover { color: var(--navy-400); }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-weight: 800; font-size: .8rem; color: #fff; }
.socials a:hover { background: var(--navy-600); color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.95); }
.reveal.in { opacity: 1; transform: none; }
.fade-in { animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =========================================================
   PAGES PRODUIT
   ========================================================= */
.p-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #F1F5FA, #F7F9FC); padding: 36px 0 104px; }
.p-hero .curves { right: -140px; top: -60px; width: 560px; transform: scaleX(-1); }
.p-hero h1 { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.p-hero h1 .tag { top: 0; }
.p-hero .lead { max-width: 560px; }
.p-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.p-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--ink); border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s, color .2s; }
.p-switch a:hover { border-color: var(--navy-400); }
.p-switch a[aria-current="page"] { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.p-switch img { width: 26px; height: 26px; border-radius: 8px; }
.p-hero-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 56px; align-items: center; }
.p-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.p-title img { width: 76px; height: 76px; flex: 0 0 auto; border-radius: 20px; box-shadow: var(--shadow); }
.p-tagline { color: var(--navy-700); font-weight: 800; margin: 4px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.badges li { font-size: .8rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); margin: 0; }
.price-tag b { font-size: 2rem; font-weight: 900; color: var(--navy-700); letter-spacing: -.02em; }
.price-tag span { color: var(--muted); font-size: .92rem; }
.p-visual { position: relative; }
.p-frame { position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.p-frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #F3F6FA; border-bottom: 1px solid var(--line); font-size: .76rem; font-weight: 700; color: var(--muted); }
.p-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DEE8; }
.p-frame-bar i:nth-child(1) { background: #FF5F57; } .p-frame-bar i:nth-child(2) { background: #FEBC2E; } .p-frame-bar i:nth-child(3) { background: #28C840; }
.p-frame-bar span { margin-left: 8px; }
.p-frame img { width: 100%; cursor: zoom-in; }
.p-glow { position: absolute; inset: auto 12% -30px 12%; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, rgba(0, 33, 63, .35)), transparent); opacity: .5; z-index: -1; }
.p-phone { position: absolute; right: -3%; bottom: -14%; width: 25%; border-radius: 22px; border: 5px solid var(--ink); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; cursor: zoom-in; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -52px; position: relative; z-index: 2; background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 1.9rem; font-weight: 900; color: var(--navy-700); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.feat h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.feat p { font-size: .95rem; margin: 0; color: var(--muted); }
.feat .svc-icon { margin: 0; }

.split-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.split-row + .split-row { margin-top: 96px; }
.split-row.flip .split-media { order: -1; }
.split-media img { border-radius: 14px; box-shadow: var(--shadow-lg); cursor: zoom-in; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.split-media img:hover { transform: scale(1.015); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery.phones { grid-template-columns: repeat(3, minmax(0, 250px)); justify-content: center; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; transition: transform .35s, box-shadow .35s; }
.shot img:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 33, 63,.16); }
.shot figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.shot figcaption b { color: var(--ink); display: block; font-size: .96rem; }
.section-dark .shot img { border-color: rgba(255,255,255,.08); }
.section-dark .shot figcaption { color: #9DAFC3; }

.tabs { max-width: 1040px; margin: 0 auto; }
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab-list [role=tab] { font: inherit; font-weight: 800; font-size: .92rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.tab-list [role=tab]:hover { border-color: var(--navy-400); }
.tab-list [role=tab][aria-selected="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.section-dark .tab-list [role=tab] { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: #DCE5EF; }
.section-dark .tab-list [role=tab][aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
[role=tabpanel] > img { border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); cursor: zoom-in; margin: 0 auto; }
[role=tabpanel] > p { text-align: center; margin-top: 16px; }

.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.usecase b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1.02rem; }
.usecase span { font-size: .92rem; color: var(--muted); }


.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; max-width: 980px; margin: 0 auto; }
.spec { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { font-weight: 800; color: var(--ink); margin: 0; }
.spec dd { margin: 0; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--sky); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--navy-700); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; }

.roadmap { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.roadmap li { position: relative; padding: 0 0 26px 44px; }
.roadmap li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.roadmap li.done::before { background: var(--navy-600); border-color: var(--navy-600); }
.roadmap li.now::before { border-color: var(--navy-600); }
.roadmap b { color: var(--ink); display: block; }
.roadmap span { color: var(--muted); font-size: .94rem; }

/* Pages de texte (confidentialité) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose a { color: var(--navy-700); font-weight: 700; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose code { font-size: .88em; background: rgba(0, 0, 0, .06); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 33, 63,.88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 12px; animation: fadeIn .3s ease; }
.lightbox p { color: #DCE5EF; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

@media (max-width: 980px) {
  .p-hero-grid, .split-row { grid-template-columns: 1fr; gap: 40px; }
  .split-row.flip .split-media { order: 0; }
  .feat-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .usecases { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feat-grid, .gallery, .gallery.two, .usecases { grid-template-columns: 1fr; }
  .gallery.phones { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .spec { grid-template-columns: 1fr; gap: 4px; }
  .p-title img { width: 60px; height: 60px; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 1.5rem; }
  .p-phone { width: 28%; right: 0; }
}
.split-row > *, .p-hero-grid > *, .hero-grid > *, .why > *, .software > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}
@media print { .site-header, .ad-slot { display: none; } }

/* Logo WhatsApp officiel (Simple Icons, CC0) */
.wa-logo { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; }
.footer-wa .wa-logo { fill: #25D366; }

/* ---------- Vidéo de démonstration ---------- */
.demo-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.demo-frame { max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.demo-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--navy-700), var(--orange)); }
.demo-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-900); }
