/* ==========================================================================
   OK Cookie — feuille de style du site public (refonte du 17/09/2026)
   CSS maison, sans framework. Marque conservée : cookie 🍪 + dégradé indigo → violet,
   utilisé en accent seulement. Fond blanc, beaucoup d'air, mobile-first, contrastes AA.
   ========================================================================== */

:root {
  --indigo: #5b5fc7;
  --indigo-dark: #4348a8;
  --violet: #764ba2;
  --grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad-btn: linear-gradient(135deg, #5b5fc7 0%, #764ba2 100%); /* blanc sur ce dégradé : contraste ≥ 5:1 (AA) */
  --ink: #1f2333;
  --ink-2: #4b5063;
  --muted: #6b7080;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --bg-3: #eef0f9;
  --ok: #15803d;
  --warn: #b45309;
  --err: #b91c1c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 8px 24px rgba(20, 24, 40, .06);
  --shadow-lg: 0 20px 50px rgba(40, 44, 90, .16);
  --container: 1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--indigo-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 700; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
pre {
  background: #14172b; color: #e9ecff; padding: 1rem 1.25rem; border-radius: var(--radius);
  overflow-x: auto; margin: 0 0 1em; line-height: 1.55;
}
pre code { color: inherit; }
:focus-visible { outline: 3px solid #ffb200; outline-offset: 3px; border-radius: 4px; }
.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: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-alt { background: var(--bg-2); }
.section-tight { padding-block: clamp(1.25rem, 2.5vw, 2rem); }
.section-head { max-width: 720px; margin: 0 auto 1.6rem; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo-dark); background: var(--bg-3); padding: .3rem .8rem; border-radius: 999px; margin-bottom: .7rem;
}
.lead { font-size: 1.2rem; color: var(--ink-2); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px rgba(102, 126, 234, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(102, 126, 234, .45); }
.btn-secondary { background: #fff; color: var(--indigo-dark); border-color: #b9bde0; }
.btn-secondary:hover { border-color: var(--indigo); background: var(--bg-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn-light { background: #fff; color: var(--indigo-dark); }
.btn-light:hover { background: var(--bg-3); }
.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- En-tête --- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none !important; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: inline-grid; place-items: center;
  font-size: 1.35rem; box-shadow: 0 6px 16px rgba(102,126,234,.35);
}
.brand-name { font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-light .brand-name { color: #fff; }
.nav-main { display: flex; align-items: center; gap: 1.5rem; }
.nav-main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav-main a { color: var(--ink-2); font-weight: 600; font-size: .98rem; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--indigo-dark); text-decoration: none; }
.nav-main a.btn-primary, .nav-main a.btn-primary:hover { color: #fff; } /* le bouton garde son texte blanc malgré la règle des liens du menu */
.nav-main a[aria-current="page"] { position: relative; }
.nav-main a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--grad); }
.nav-actions { display: flex; align-items: center; gap: 1rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.nav-login { color: var(--ink-2); font-weight: 600; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-main {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem 1rem 1.4rem; flex-direction: column; align-items: stretch; gap: 1rem; box-shadow: var(--shadow-lg);
  }
  .nav-main.is-open { display: flex; }
  .nav-main ul { flex-direction: column; gap: 0; }
  .nav-main ul a { display: block; padding: .8rem .4rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-main a[aria-current="page"]::after { display: none; }
  .nav-actions { border-left: 0; padding-left: 0; flex-direction: column; align-items: stretch; gap: .8rem; }
  .nav-actions .btn { width: 100%; }
  .nav-login { text-align: center; padding: .5rem; }
}

/* --- Hero --- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 15% 10%, #eef0ff 0%, transparent 60%), radial-gradient(50% 50% at 90% 20%, #f4ecfb 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { max-width: 640px; }
.hero-wide .lead { max-width: 900px; }
.hero-proof { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--ink-2); font-size: .95rem; font-weight: 600; }
.hero-proof li::before { content: "✔"; color: var(--ok); margin-right: .4rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* --- Démo du bandeau --- */
.demo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.demo-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8dbe6; display: inline-block; }
.demo-bar i:nth-child(1) { background: #ff5f57; } .demo-bar i:nth-child(2) { background: #febc2e; } .demo-bar i:nth-child(3) { background: #28c840; }
.demo-bar span { margin-left: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .2rem .6rem; flex: 1; }
.demo-page { position: relative; min-height: 300px; padding: 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.demo-page .ph { height: 12px; border-radius: 6px; background: var(--bg-3); }
.demo-page .ph.w1 { width: 55%; height: 20px; } .demo-page .ph.w2 { width: 85%; } .demo-page .ph.w3 { width: 70%; } .demo-page .ph.w4 { width: 60%; }
.demo-banner {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: #fff; border-radius: 14px; padding: 1rem 1.1rem;
  box-shadow: 0 12px 34px rgba(20,24,40,.18); border-top: 4px solid var(--demo-color, #667eea); transition: top .3s, bottom .3s;
}
.demo-banner.is-top { top: 1rem; bottom: auto; }
.demo-banner strong { display: block; font-size: .98rem; margin-bottom: .2rem; }
.demo-banner p { font-size: .84rem; color: var(--ink-2); margin: 0 0 .7rem; }
.demo-banner .btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.demo-banner .b { padding: .45rem .9rem; border-radius: 8px; font-size: .85rem; font-weight: 700; border: 2px solid var(--demo-color, #667eea); color: var(--demo-color, #667eea); background: #fff; }
.demo-banner .b.fill { background: var(--demo-color, #667eea); color: #fff; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-top: 1px solid var(--line); background: var(--bg-2); font-size: .9rem; }
.demo-controls label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink-2); }
.demo-controls input[type="color"] { width: 34px; height: 28px; border: 1px solid var(--line); border-radius: 6px; padding: 0; background: #fff; cursor: pointer; }
.demo-controls select { padding: .35rem .6rem; border-radius: 8px; border: 1px solid var(--line); font: inherit; font-size: .9rem; }

/* --- Grilles et cartes --- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: .9rem; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 13px; background: var(--bg-3); color: var(--indigo-dark); display: grid; place-items: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: none; }

/* --- Étapes --- */
.steps { counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem 1.6rem 1.6rem 4.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: etape; content: counter(etape); position: absolute; left: 1.4rem; top: 1.5rem; width: 42px; height: 42px;
  border-radius: 50%; background: var(--grad-btn); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem;
}
.step h3 { margin: 0 0 .3rem; }
.step p { margin: 0; color: var(--ink-2); }

/* --- Bloc à deux colonnes texte + visuel --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .visual { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }

/* --- Liste à coches --- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat;
}
.checks strong { color: var(--ink); }

/* --- Tarifs --- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan.is-featured { border: 2px solid var(--indigo); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 0 0 .2rem; }
.plan .plan-for { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.plan .price { font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: .2rem; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .price-note { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.plan .checks { margin-bottom: 1.4rem; font-size: .95rem; }
.plan .btn { margin-top: auto; }

/* --- FAQ --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: .8rem; }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.3rem; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .8rem; font-size: 1.4rem; color: var(--indigo); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.3rem 1.1rem; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* --- Bandeau CTA --- */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 640px; margin-inline: auto; font-size: 1.1rem; }
.cta-band .btn-group { justify-content: center; margin-top: 1.4rem; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.12); }

/* --- Encadré réponse courte (GEO) --- */
.answer-box { border-left: 4px solid var(--indigo); background: var(--bg-3); padding: 1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.5rem; }
.answer-box p { margin: 0; color: var(--ink); }

/* --- Tableaux --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* --- Logos / badges de confiance --- */
.trust { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.trust span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink-2); }

/* --- Auteur / EEAT --- */
.author { display: flex; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author p { margin: 0; color: var(--ink-2); }
.author strong { display: block; color: var(--ink); }
.updated { color: var(--muted); font-size: .9rem; }

/* --- Pied de page --- */
.site-footer { background: #14172b; color: #c9cddc; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.site-footer a { color: #e6e8f5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: 3.5rem 2rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .95rem; }
.footer-legal-id { font-size: .85rem; color: #9aa0b8; }
.footer-col h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col p { font-size: .95rem; }
.news-form { display: grid; gap: .7rem; }
.news-form input { padding: .8rem 1rem; border-radius: 10px; border: 1px solid #343a58; background: #1d2139; color: #fff; font: inherit; }
.news-form input::placeholder { color: #7c829f; }
.news-message { font-size: .9rem; margin: 0; }
.news-message.is-ok { color: #86efac; }
.news-message.is-error { color: #fca5a5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; padding-block: 1.2rem 1.6rem; border-top: 1px solid #262b45; font-size: .88rem; color: #9aa0b8; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* --- Divers --- */
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.notice { background: #fff8e6; border: 1px solid #fde68a; color: #7c5a00; padding: .9rem 1.1rem; border-radius: var(--radius); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: #b0b4c6; }
.prose { max-width: 920px; }
.prose table { font-size: 1rem; }
.prose td:last-child, .prose th:last-child, td.nowrap, th.nowrap { white-space: nowrap; }
.prose .table-wrap { margin-bottom: 1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Dynamique (ajout 17/09 après retour de Frédéric : « pas assez vivant »)
   ========================================================================== */

/* Correctif débordement : un enfant de grille ne peut plus élargir sa colonne */
.hero-grid > *, .split > *, .grid > *, .steps > *, .plans > *, .footer-grid > * { min-width: 0; }
pre { white-space: pre-wrap; word-break: break-all; }

/* Formes flottantes du hero */
.hero { isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; z-index: -1; animation: floaty 7s ease-in-out infinite; }
.blob-1 { width: 110px; height: 110px; background: #fde68a; top: 12%; left: 4%; }
.blob-2 { width: 80px; height: 80px; background: #c7d2fe; top: 22%; right: 8%; animation-delay: 2s; }
.blob-3 { width: 60px; height: 60px; background: #e9d5ff; bottom: 12%; left: 30%; animation-delay: 4s; }
.blob-4 { width: 140px; height: 140px; background: #bbf7d0; bottom: -30px; right: 30%; opacity: .35; animation-delay: 1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-18px) } }

/* Mot en dégradé dans le titre */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Démo : la carte flotte, le bandeau glisse à l’arrivée */
.demo { animation: floaty 8s ease-in-out infinite; }
.demo-banner { animation: slide-up .8s cubic-bezier(.2,.8,.2,1) .4s both; }
@keyframes slide-up { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
.demo-banner .b.fill { animation: pulse-btn 2.4s ease-in-out 1.5s infinite; }
@keyframes pulse-btn { 0%, 100% { box-shadow: 0 0 0 0 rgba(102,126,234,.45) } 50% { box-shadow: 0 0 0 8px rgba(102,126,234,0) } }

/* Apparition au défilement */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* Icônes colorées */
.card .icon.c-indigo { background: #e0e7ff; color: #4338ca; }
.card .icon.c-violet { background: #f3e8ff; color: #7e22ce; }
.card .icon.c-green  { background: #dcfce7; color: #15803d; }
.card .icon.c-amber  { background: #fef3c7; color: #b45309; }
.card .icon.c-pink   { background: #fce7f3; color: #be185d; }
.card .icon.c-blue   { background: #dbeafe; color: #1d4ed8; }
.card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.card .icon { transition: transform .2s ease; }

/* Bandeau défilant des services reconnus */
.marquee { overflow: hidden; padding-block: 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.4rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); white-space: nowrap; box-shadow: var(--shadow); }
.marquee-track span i { font-style: normal; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(calc(-50% - .75rem)) } }

/* Étapes reliées */
@media (min-width: 801px) {
  .steps { position: relative; }
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 2.8rem; border-top: 2px dashed #c7cbe6; z-index: 0; }
  .step { z-index: 1; }
}
.step { transition: transform .15s ease, box-shadow .15s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Section sombre « comment ça marche » */
.section-dark { background: radial-gradient(80% 80% at 20% 0%, #2b2f6b 0%, #14172b 60%); color: #d5d8ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p, .section-dark .checks li { color: #c2c6dd; }
.section-dark .eyebrow { background: rgba(255,255,255,.1); color: #c7d2fe; }
.section-dark .step { background: #1c2040; border-color: rgba(255,255,255,.12); }
.section-dark .step p { color: #c2c6dd; }
.section-dark .visual { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-dark pre { background: #0b0d1a; border: 1px solid rgba(255,255,255,.12); }
.section-dark a { color: #c7d2fe; }

/* Dégradé animé sur les CTA */
.cta-band { background: linear-gradient(120deg, #667eea, #764ba2, #5b5fc7, #8b5cf6); background-size: 300% 300%; animation: grad-move 12s ease infinite; }
.btn-primary { background-size: 200% 200%; }
.btn-primary:hover { animation: grad-move 2s ease infinite; }
@keyframes grad-move { 0% { background-position: 0% 50% } 50% { background-position: 100% 50% } 100% { background-position: 0% 50% } }

/* Points de confiance : léger relief au survol */
.trust span { transition: transform .15s ease, box-shadow .15s ease; }
.trust span:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Plans : le plus choisi respire */
.plan.is-featured { animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: var(--shadow-lg) } 50% { box-shadow: 0 24px 60px rgba(102,126,234,.35) } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Cartes « Pour qui » : filet dégradé qui se déploie au survol, icône qui salue */
.card-who { position: relative; overflow: hidden; }
.card-who::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--grad); transition: width .35s ease; }
.card-who:hover::before, .card-who:focus-within::before { width: 100%; }
.card-who .icon { font-size: 1.5rem; }
.card-who:hover .icon { animation: wave .6s ease; }
@keyframes wave { 0%, 100% { transform: rotate(0) } 30% { transform: rotate(-12deg) scale(1.1) } 60% { transform: rotate(10deg) scale(1.1) } }
.card-who .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; margin-top: .9rem; }
.card-who .more::after { content: "→"; transition: transform .2s ease; }
.card-who:hover .more::after { transform: translateX(4px); }

/* --- Page Tarifs : bascule mensuel / annuel --- */
.billing { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem; gap: .3rem; margin-top: .4rem; box-shadow: var(--shadow); }
.billing-btn { border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; font: inherit; font-weight: 700; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.billing-btn.is-on { background: var(--grad-btn); color: #fff; }
.billing-save { font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: #dcfce7; color: #15803d; }
.billing-btn.is-on .billing-save { background: rgba(255,255,255,.22); color: #fff; }
.breadcrumb ol { justify-content: inherit; }
.plan .btn-subscribe { width: 100%; }
.section-dark .btn-light, .section-dark .btn-light:hover { color: var(--indigo-dark); background: #fff; }

.checks + p { margin-top: 1rem; }

/* --- Formulaires (contact) --- */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid #c9cde0; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); outline: 3px solid rgba(91,95,199,.2); outline-offset: 0; }
.field textarea { resize: vertical; min-height: 140px; }
.form-message { margin: 1rem 0 0; font-weight: 600; }
.form-message.is-ok { color: var(--ok); }
.form-message.is-error { color: var(--err); }

/* --- Pages légales --- */
.legal h2 { font-size: 1.35rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); }

/* --- Blog --- */
.cat-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.cat-filter a { padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid #c9cde0; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.cat-filter a span { color: var(--muted); font-weight: 500; margin-left: .2rem; }
.cat-filter a:hover { text-decoration: none; border-color: var(--indigo); color: var(--indigo-dark); }
.cat-filter a.is-on { background: var(--grad-btn); color: #fff; border-color: transparent; }
.cat-filter a.is-on span { color: rgba(255,255,255,.8); }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card .post-meta, .post-card h2, .post-card h3, .post-card p, .post-card .more { margin-left: 1.4rem; margin-right: 1.4rem; }
.post-card .post-meta { margin-top: 1.1rem; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin-top: .6rem; margin-bottom: .5rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; margin-bottom: 1.3rem; margin-top: .5rem; }
.post-card .more::after { content: "→"; transition: transform .2s ease; }
.post-card:hover .more::after { transform: translateX(4px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .85rem; color: var(--muted); }
.post-cat { background: var(--bg-3); color: var(--indigo-dark); font-weight: 700; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pagination a { padding: .5rem .9rem; border-radius: 10px; border: 1px solid #c9cde0; background: #fff; font-weight: 600; color: var(--ink-2); }
.pagination a.is-on { background: var(--grad-btn); color: #fff; border-color: transparent; }
.author-inline { padding: .6rem 0 0; border: 0; background: transparent; gap: .7rem; }
.author-inline p { font-size: .95rem; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 1.8rem; }
.toc strong { display: block; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.toc a { color: var(--ink-2); }
.article-content h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.article-content h3 { margin-top: 1.6rem; font-size: 1.2rem; }
.article-content p, .article-content li { color: var(--ink-2); }
.article-content a { text-decoration: underline; }
.article-content img { border-radius: var(--radius); }
.article-content blockquote { border-left: 4px solid var(--indigo); margin: 1.2rem 0; padding: .6rem 1.2rem; background: var(--bg-3); border-radius: 0 var(--radius) var(--radius) 0; }
.article-content table { margin-bottom: 1.2rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.share a { padding: .4rem .9rem; border-radius: 999px; border: 1px solid #c9cde0; background: #fff; font-size: .9rem; }
