/* ==========================================================================
   AXOLOTL — seo.css : gabarit des pages de contenu (une page = un mot-clé)
   Papier + disque rose (signature de l'accueil), fiche empilée, sommaire collant, texte lisible, CTA discrets, verre sur le CTA final.
   ========================================================================== */

/* ---------- héros ---------- */
.sp-hero { position: relative; overflow: hidden; padding: 130px 0 72px; background: var(--bg); }
.sp-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sp-disc { position: absolute; width: clamp(300px, 38vw, 600px); aspect-ratio: 1; border-radius: 50%; background: var(--rose); right: -8vw; top: -10vw; }
.sp-ring { position: absolute; width: clamp(300px, 38vw, 600px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink); right: -4vw; top: -5vw; }
.sp-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .07 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.sp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.sp-h1 { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 76; font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: .95; letter-spacing: -.025em; color: var(--ink); margin-bottom: 22px; }
.sp-h1 em { font-style: normal; color: var(--framboise); }
.sp-intro { display: grid; gap: 14px; max-width: 58ch; font-size: 1.14rem; line-height: 1.55; color: var(--ink); margin-bottom: 26px; }
.sp-intro strong { background: linear-gradient(transparent 62%, rgba(255, 111, 168, .38) 62%); font-weight: 700; }
.sp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.sp-pills { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 18px; border-top: 1.5px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--ink); width: 100%; }
.sp-pills li { display: inline-flex; align-items: center; gap: 8px; }
.sp-pills li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--framboise); color: #fff; font-size: .75rem; font-weight: 900; }

/* fiche « En bref » : feuilles empilées, immobile */
.sp-card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 28px; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 1px rgba(27,18,51,.08), 0 6px 12px rgba(27,18,51,.08), 0 22px 40px -8px rgba(27,18,51,.22); transition: box-shadow .5s var(--ease); }
.sp-card::before, .sp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 28px; border: 2px solid var(--ink); transition: transform .6s var(--ease); }
.sp-card::before { background: #F4C542; transform: rotate(-3deg); }
.sp-card::after { background: #B9A6D9; transform: rotate(2.6deg); }
.sp-card:hover::before { transform: rotate(-5deg) translate(-6px, 2px); }
.sp-card:hover::after { transform: rotate(4.4deg) translate(6px, 2px); }
.sp-card-img { border-radius: 18px; overflow: hidden; border: 2px solid var(--ink); aspect-ratio: 16/10; background: var(--rose-pale); }
.sp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-card-t { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.sp-brief { display: grid; gap: 10px; font-size: .98rem; line-height: 1.4; }
.sp-brief li { padding-left: 26px; position: relative; }
.sp-brief li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: var(--rose); border: 2px solid var(--ink); }
.sp-card-link { font-weight: 800; color: var(--framboise); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- barre de progression de lecture ---------- */
.sp-progress { position: sticky; top: 0; z-index: 60; height: 3px; background: transparent; }
.sp-progress i { display: block; height: 100%; width: 100%; background: var(--rose); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- corps ---------- */
.sp-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); padding-top: 70px; padding-bottom: 40px; align-items: start; }
.sp-toc { position: sticky; top: 110px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(27, 18, 51, .12);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 34px rgba(27,18,51,.08); }
.sp-toc-t { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.sp-toc ol { display: grid; gap: 2px; counter-reset: t; margin-bottom: 18px; }
.sp-toc li { counter-increment: t; }
.sp-toc a { display: block; padding: 8px 10px 8px 12px; border-left: 3px solid transparent; border-radius: 0 10px 10px 0; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--muted); transition: color .25s, background .25s, border-color .25s; }
.sp-toc a:hover { color: var(--ink); }
.sp-toc a.on { color: var(--ink); border-left-color: var(--rose); background: rgba(255, 111, 168, .14); }
.sp-toc-btn { width: 100%; justify-content: center; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: .92rem; }

.sp-prose { max-width: 74ch; }
.sp-sec { padding-bottom: 54px; scroll-margin-top: 90px; }
.sp-sec h2 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 22px; }
.sp-n { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--rose); font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.sp-sec h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; margin: 30px 0 10px; }
.sp-prose p { font-size: 1.08rem; line-height: 1.7; margin-bottom: 18px; color: var(--ink); }
.sp-prose strong { font-weight: 700; background: linear-gradient(transparent 64%, rgba(255, 111, 168, .34) 64%); }
.sp-prose a.inl, .sp-intro a.inl, .sp-brief a.inl, .sp-faq a.inl { color: var(--framboise); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.sp-prose a.inl:hover, .sp-intro a.inl:hover { color: var(--ink); }
.sp-list { display: grid; gap: 12px; margin: 6px 0 24px; }
.sp-list li { position: relative; padding: 14px 16px 14px 48px; border-radius: 16px; background: #fff; border: 1px solid var(--line); line-height: 1.5; box-shadow: 0 6px 16px rgba(27, 18, 51, .05); }
.sp-list li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--rose); border: 2px solid var(--ink); }
.sp-note { margin: 8px 0 26px; padding: 22px 24px; border-radius: 22px; background: var(--ink); color: #F6F0F2; }
.sp-note p { margin: 0; color: inherit; font-size: 1.04rem; }
.sp-note strong { background: none; color: var(--rose); }
.sp-note a.inl { color: var(--rose); }
.sp-fig { margin: 8px 0 30px; }
.sp-fig-i { border-radius: 26px; overflow: hidden; border: 2px solid var(--ink); aspect-ratio: 16/9; background: var(--rose-pale); }
.sp-fig-i img { width: 100%; height: 100%; object-fit: cover; }
.sp-fig figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }

/* CTA discret tous les 2 paragraphes */
.sp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 4px 0 30px; padding: 14px 16px 14px 22px; border-radius: 999px; background: rgba(255, 111, 168, .14); border: 1.5px dashed var(--rose); }
.sp-cta-t { font-weight: 700; font-size: .98rem; }
.sp-cta-b { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sp-cta-l { font-weight: 700; font-size: .92rem; color: var(--framboise); text-decoration: underline; text-underline-offset: 3px; }

.sp-faq { margin-top: 6px; }

/* ---------- maillage ---------- */
.sp-links { padding: 70px 0 50px; }
.sp-links h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 28px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.sp-tile { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 26px; background: var(--tb); color: var(--tf); border: 2px solid transparent; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; min-height: 210px; }
.sp-tile:hover { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(27, 18, 51, .18); border-color: currentColor; }
.sp-tile small { font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.sp-tile b { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 78; font-size: 1.6rem; line-height: 1.05; }
.sp-tile span { font-size: .94rem; line-height: 1.4; }
.sp-tile em { margin-top: auto; font-style: normal; font-weight: 800; }

/* ---------- CTA final en verre ---------- */
.sp-final { padding: 30px 0 90px; }
.sp-final-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: clamp(34px, 6vw, 64px); border-radius: 36px; background: var(--ink); color: #F6F0F2; box-shadow: 0 36px 80px rgba(27, 18, 51, .35); }
.sp-orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .7; pointer-events: none; }
.sp-orb.o1 { width: 320px; height: 320px; background: var(--rose); left: -90px; top: -100px; }
.sp-orb.o2 { width: 260px; height: 260px; background: #B9A6D9; right: 6%; bottom: -110px; }
.sp-final-copy, .sp-final-act { position: relative; z-index: 1; }
.sp-final-copy h2 { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 76; font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: .98; margin-bottom: 14px; }
.sp-final-copy p { color: rgba(246, 240, 242, .84); font-size: 1.08rem; max-width: 46ch; }
.sp-final-copy a.inl { color: var(--rose); text-decoration: underline; }
.sp-final-act { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.sp-final-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .sp-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .sp-body { grid-template-columns: 1fr; padding-top: 40px; }
  .sp-toc { position: relative; top: 0; }
  .sp-toc ol { grid-template-columns: 1fr 1fr; }
  .sp-final-box { grid-template-columns: 1fr; }
  .sp-disc, .sp-ring { width: 70vw; right: -26vw; top: auto; bottom: 18vw; }
}
@media (max-width: 760px) {
  .sp-hero { padding: 108px 0 48px; }
  .sp-toc ol { grid-template-columns: 1fr; }
  .sp-cta { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { .sp-card::before, .sp-card::after, .sp-tile { transition: none; } }

/* bouton du sommaire : ne pas hériter du style des liens du sommaire */
.sp-toc a.btn { display: inline-flex; padding: 10px 18px; border-left: 0; border-radius: 999px; background: var(--ac); color: var(--ac-ink); font-size: .92rem; font-weight: 700; }
.sp-toc a.btn:hover { color: var(--ac-ink); }

/* ---------- COMPOSANTS GABARIT PREMIUM ---------- */
.sp-premium-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 18px 0 34px; }
.sp-stat-card { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 8px 20px rgba(27,18,51,.06); text-align: left; }
.sp-stat-num { font-family: var(--f-display); font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 800; color: var(--framboise); line-height: 1; margin-bottom: 6px; }
.sp-stat-label { font-size: .95rem; font-weight: 700; color: var(--ink); }

.sp-steps { display: grid; gap: 18px; margin: 18px 0 32px; }
.sp-step-card { position: relative; padding: 22px 24px 22px 76px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 18px rgba(27,18,51,.05); }
.sp-step-num { position: absolute; left: 20px; top: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--rose); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.sp-step-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; color: var(--ink); }
.sp-step-card p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }

.sp-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 18px 0 30px; }
.sp-why-card { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 6px 16px rgba(27,18,51,.04); }
.sp-why-card b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.sp-why-card p { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ink); }

.sp-case-feature { background: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 24px; margin: 24px 0 34px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; box-shadow: 0 12px 28px rgba(27,18,51,.08); }
.sp-case-img { border-radius: 16px; overflow: hidden; border: 1.5px solid var(--ink); aspect-ratio: 16/11; background: var(--rose-pale); }
.sp-case-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-case-info h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; margin-bottom: 8px; }
.sp-case-info p { font-size: 1rem; line-height: 1.55; margin-bottom: 14px; }
@media (max-width: 760px) {
  .sp-case-feature { grid-template-columns: 1fr; }
}
