/*
 * seo-shell.css — en-tête et pied des pages SEO qui montent le widget partagé.
 *
 * Même logique que transcribe-widget.css : chaque page SEO a son CSS inline, souvent
 * avec les mêmes noms de classes (.header, .footer, .btn-primary…) et des valeurs qui
 * ont divergé d'une langue à l'autre. Tout est préfixé .dks et porte ses propres jetons
 * (valeurs de DESIGN.md §2) : l'enveloppe ne dépend d'aucune règle de page.
 * Le pied garde le HTML localisé de chaque page (liens vérifiés, badges des stores) :
 * seule sa mise en forme vient d'ici, via la classe .dks-foot posée sur <footer>.
 */
.dks-top, .dks-foot {
  --dks-primary: #7c3aed; --dks-primary-hover: #6d28d9; --dks-primary-light: #ede9fe; --dks-primary-50: #f5f3ff;
  --dks-text: #0f172a; --dks-muted: #475569; --dks-light: #5e6a7d;
  --dks-surface: #f8fafc; --dks-border: #e2e8f0; --dks-border-2: #cbd5e1;
  --dks-radius-sm: 8px; --dks-radius: 12px; --dks-radius-lg: 16px;
  --dks-shadow-lg: 0 30px 45px -30px rgba(50, 50, 93, .25), 0 18px 36px -18px rgba(0, 0, 0, .10);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dks-top *, .dks-foot * { box-sizing: border-box; }
.dks-top [hidden], .dks-foot [hidden] { display: none !important; }

/* ═══ En-tête ═══ */
.dks-top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--dks-border); }
.dks-top .dks-top-in { max-width: 1200px; height: 64px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
.dks-top .dks-logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--dks-text); text-decoration: none; flex-shrink: 0; }
.dks-top .dks-logo img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.dks-top svg { display: block; flex-shrink: 0; }
.dks-top button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; margin: 0; }
.dks-top .dks-nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; }
.dks-top .dks-nav > a, .dks-top .dks-dd > button { height: 40px; padding: 0 12px; border-radius: var(--dks-radius-sm); display: inline-flex; align-items: center; gap: 4px; color: var(--dks-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.dks-top .dks-nav > a:hover, .dks-top .dks-dd > button:hover, .dks-top .dks-dd.is-open > button { color: var(--dks-text); background: var(--dks-surface); }
.dks-top .dks-dd { position: relative; }
.dks-top .dks-mega { position: absolute; top: calc(100% + 8px); inset-inline-start: -120px; width: 640px; display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px;
  background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius-lg); box-shadow: var(--dks-shadow-lg); }
.dks-top .dks-dd.is-open .dks-mega, .dks-top .dks-dd.is-open .dks-menu { display: grid; }
.dks-top .dks-h { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--dks-light); }
.dks-top .dks-mega a, .dks-top .dks-menu a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px; border-radius: var(--dks-radius-sm); font-size: 14px; color: var(--dks-text); text-decoration: none; }
.dks-top .dks-mega a:hover, .dks-top .dks-menu a:hover { background: var(--dks-surface); }
.dks-top .dks-plat { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.dks-top .dks-plat svg { width: 12px; height: 12px; }
.dks-top .dks-plat.is-file { background: var(--dks-primary-light); color: var(--dks-primary); }
.dks-top .dks-plat.is-file svg { width: 14px; height: 14px; }
.dks-top .dks-plat.is-meet { background: none; } .dks-top .dks-plat.is-meet svg { width: 22px; height: 22px; }
.dks-top .dks-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.dks-top .dks-lang { height: 40px; padding: 0 10px; border-radius: var(--dks-radius-sm); font-size: 13px; font-weight: 600; color: var(--dks-muted); display: inline-flex; align-items: center; gap: 4px; }
.dks-top .dks-lang:hover { background: var(--dks-surface); }
.dks-top .dks-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 200px; display: none; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius); box-shadow: var(--dks-shadow-lg); }
.dks-top .dks-menu a[aria-current] { color: var(--dks-primary); font-weight: 600; }
.dks-top .dks-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 8px 16px; border-radius: var(--dks-radius-sm); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background .2s, color .2s; }
.dks-top .dks-primary { background: var(--dks-primary); color: #fff; }
.dks-top .dks-primary:hover { background: var(--dks-primary-hover); color: #fff; }
.dks-top .dks-quiet { color: var(--dks-muted); }
.dks-top .dks-quiet:hover { color: var(--dks-text); background: var(--dks-surface); }
.dks-top .dks-short { display: none; }
.dks-top .dks-me { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--dks-border); background: #fff; font-size: 14px; font-weight: 600; color: var(--dks-text); text-decoration: none; }
.dks-top .dks-me:hover { background: var(--dks-surface); }
.dks-top .dks-av { width: 32px; height: 32px; border-radius: 50%; background: var(--dks-primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.dks-top .dks-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--dks-border); font-size: 12px; font-weight: 600; color: var(--dks-muted); white-space: nowrap; }
.dks-top .dks-burger { display: none; width: 44px; height: 44px; border-radius: var(--dks-radius-sm); place-items: center; color: var(--dks-text); }
.dks-top .dks-burger:hover { background: var(--dks-surface); }

/* Feuille mobile */
.dks-top .dks-sheet { position: fixed; inset: 64px 0 0; z-index: 39; background: #fff; overflow: auto; padding: 16px 16px 32px; }
.dks-top .dks-sheet .dks-h { margin: 16px 4px 8px; }
.dks-top .dks-sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dks-top .dks-sgrid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1px solid var(--dks-border); border-radius: var(--dks-radius); font-size: 12px; font-weight: 600; color: var(--dks-text); text-align: center; text-decoration: none; }
.dks-top .dks-sgrid .dks-plat { width: 32px; height: 32px; border-radius: 8px; }
.dks-top .dks-sgrid .dks-plat svg { width: 16px; height: 16px; }
.dks-top .dks-sgrid .dks-plat.is-meet svg { width: 28px; height: 28px; }
.dks-top .dks-slinks a, .dks-top .dks-slinks button { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--dks-border); font-size: 16px; font-weight: 500; color: var(--dks-text); text-decoration: none; text-align: start; }
.dks-top .dks-slinks a[aria-current] { color: var(--dks-primary); font-weight: 600; }
.dks-top .dks-sfoot { display: grid; gap: 8px; margin-top: 24px; }
.dks-top .dks-sfoot .dks-btn { min-height: 48px; font-size: 16px; }
.dks-top .dks-sfoot .dks-ghost { color: var(--dks-primary); border: 1px solid var(--dks-border-2); background: #fff; }

@media (max-width: 1279px) { .dks-top .dks-nav > a.dks-opt { display: none; } }
@media (max-width: 1023px) {
  .dks-top .dks-top-in { padding: 0 24px; }
  .dks-top .dks-nav { display: none; }
  .dks-top .dks-burger { display: grid; }
  .dks-top .dks-long { display: none; } .dks-top .dks-short { display: inline; }
}
@media (max-width: 767px) {
  .dks-top .dks-top-in { padding: 0 16px; gap: 12px; }
  .dks-top .dks-langdd, .dks-top .dks-login, .dks-top .dks-me .dks-pill { display: none; }
  /* Libellé du plan masqué : l'avatar seul, sans le cadre de la pastille (sinon un ovale vide l'entoure), zone tactile de 44 px. */
  .dks-top .dks-me { width: 44px; height: 44px; padding: 0; border: 0; background: none; justify-content: center; }
  .dks-top .dks-me:hover { background: none; }
  .dks-top .dks-me .dks-av { width: 34px; height: 34px; font-size: 14px; }
}
/* Très petits écrans (320-359 px) : un libellé plus long dans une langue ne doit jamais pousser le burger hors de l'écran */
@media (max-width: 359px) {
  .dks-top .dks-top-in { padding: 0 12px; gap: 8px; }
  .dks-top .dks-end { gap: 4px; min-width: 0; }
  .dks-top .dks-btn { padding: 8px 12px; }
  .dks-top .dks-logo { font-size: 16px; }
}
@media (min-width: 1024px) { .dks-top .dks-sheet { display: none !important; } }

/* ═══ Pied : HTML localisé de la page, mise en forme de la maquette ═══ */
.dks-foot.footer { background: #fff; border-top: 1px solid var(--dks-border); padding: 64px 0 32px; color: var(--dks-muted); }
.dks-foot.footer .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.dks-foot.footer .footer-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--dks-text); text-decoration: none; }
.dks-foot.footer .footer-tagline { margin: 12px 0 0; max-width: 280px; font-size: 14px; line-height: 1.6; color: var(--dks-muted); }
.dks-foot.footer .footer-col-title { margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--dks-text); text-transform: none; letter-spacing: 0; background: none; border: 0; text-align: start; width: 100%; display: flex; align-items: center; justify-content: space-between; font-family: inherit; cursor: default; }
.dks-foot.footer .footer-col-title .dks-pm { display: none; }
.dks-foot.footer .footer-links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.dks-foot.footer .footer-links li { margin: 0; }
.dks-foot.footer .footer-links a { color: var(--dks-muted); text-decoration: none; font-size: 14px; }
.dks-foot.footer .footer-links a:hover { color: var(--dks-primary); }
.dks-foot.footer .footer-bottom { max-width: 1200px; margin: 48px auto 0; padding: 24px 32px 0; border-top: 1px solid var(--dks-border); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dks-light); }
.dks-foot.footer .footer-bottom p { margin: 0; font-size: 13px; color: var(--dks-light); }
.dks-foot.footer .footer-store-badges { margin-inline-start: auto; }
.dks-foot.footer .footer-social-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--dks-border); display: inline-grid; place-items: center; color: var(--dks-muted); }
.dks-foot.footer .footer-social-link:hover { color: var(--dks-primary); border-color: #c4b5fd; }

@media (max-width: 1023px) {
  .dks-foot.footer .footer-inner { padding: 0 24px; grid-template-columns: repeat(3, 1fr); }
  .dks-foot.footer .footer-inner > :first-child { grid-column: 1 / -1; }
  .dks-foot.footer .footer-bottom { padding-inline: 24px; }
}
@media (max-width: 767px) {
  .dks-foot.footer { padding: 48px 0 24px; }
  .dks-foot.footer .footer-inner { padding: 0 16px; grid-template-columns: 1fr; gap: 0; }
  .dks-foot.footer .footer-inner > :first-child { margin-bottom: 24px; }
  .dks-foot.footer .footer-inner > :not(:first-child) { border-bottom: 1px solid var(--dks-border); }
  .dks-foot.footer .footer-col-title { min-height: 52px; font-size: 15px; cursor: pointer; }
  .dks-foot.footer .footer-col-title .dks-pm { display: inline; font-size: 18px; font-weight: 400; color: var(--dks-light); }
  .dks-foot.footer .is-closed .footer-links { display: none; }
  .dks-foot.footer .footer-links { margin: 0 0 16px; }
  .dks-foot.footer .footer-bottom { padding-inline: 16px; }
  .dks-foot.footer .footer-store-badges { margin-inline-start: 0; }
}

/* ═══ Sections de contenu (maquette seo-tiktok, validée le 22/09/2026) ═══
   Le texte de chaque page reste celui écrit dans sa langue (SEO natif) : seul son habit
   change. Portée body:has(.dks-top) = uniquement les pages passées au gabarit ; un
   navigateur sans :has garde l'ancien rendu au lieu d'un rendu cassé. */
body:has(.dks-top) {
  --dks-primary: #7c3aed; --dks-primary-light: #ede9fe; --dks-text: #0f172a; --dks-muted: #475569; --dks-light: #5e6a7d;
  --dks-surface: #f8fafc; --dks-border: #e2e8f0; --dks-radius-sm: 8px; --dks-radius-lg: 16px;
  --dks-shadow: 0 4px 12px -2px rgba(50, 50, 93, .10), 0 2px 4px -2px rgba(0, 0, 0, .05);
  background: #fff;
}
body:has(.dks-top) .hero { padding: 48px 32px 64px; background: radial-gradient(80% 55% at 50% -10%, #f0ebfd 0%, rgba(240, 235, 253, 0) 62%), #fff; }
body:has(.dks-top) .hero .platform-badge { background: #fff; border: 1px solid var(--dks-border); box-shadow: var(--dks-shadow); color: var(--dks-muted); margin-bottom: 20px; }
body:has(.dks-top) .hero h1 { text-wrap: balance; font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; max-width: 860px; margin: 0 auto 16px; color: var(--dks-text); }
body:has(.dks-top) .hero h1 span { color: var(--dks-primary); display: block; }
body:has(.dks-top) .hero h1 br { display: none; }
body:has(.dks-top) .hero > p, body:has(.dks-top) .hero .hero-sub { max-width: 640px; margin: 0 auto 32px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; color: var(--dks-muted); }

body:has(.dks-top) .section { padding: 96px 32px; }
body:has(.dks-top) .section[style*="surface"] { border-block: 1px solid var(--dks-border); }
body:has(.dks-top) .section-inner { max-width: 1136px; }
body:has(.dks-top) .section-inner > .section-label,
body:has(.dks-top) .section-inner > h2,
body:has(.dks-top) .section-inner > h2 + p { text-align: center; }
body:has(.dks-top) .section-label { max-width: none; margin-inline: auto; margin-bottom: 0; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dks-primary); }
body:has(.dks-top) .section-inner > h2 { margin-top: 8px; font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--dks-text); }
body:has(.dks-top) .section-inner > h2 + p { max-width: 620px; margin: 12px auto 0; font-size: 17px; line-height: 1.65; color: var(--dks-muted); }

/* Étapes : pastilles reliées par un filet */
body:has(.dks-top) .steps { margin-top: 48px; gap: 32px; position: relative; }
body:has(.dks-top) .steps::before { content: ''; position: absolute; top: 20px; left: 16%; right: 16%; height: 2px; background: var(--dks-border); }
body:has(.dks-top) .step { position: relative; text-align: center; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
body:has(.dks-top) .step-num { width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: var(--dks-primary); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 0 0 8px var(--dks-surface); }
body:has(.dks-top) .section:not([style*="surface"]) .step-num { box-shadow: 0 0 0 8px #fff; }
body:has(.dks-top) .step h3 { margin-top: 16px; font-size: 18px; font-weight: 600; color: var(--dks-text); }
body:has(.dks-top) .step p { margin: 6px auto 0; max-width: 320px; font-size: 15px; line-height: 1.6; color: var(--dks-muted); }

/* Cartes : atouts, cas d'usage, formats, outils IA, pages liées */
body:has(.dks-top) .features-grid, body:has(.dks-top) .usecases { margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body:has(.dks-top) :is(.feature, .usecase, .format-card, .ai-card, .related-card) { background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius-lg); box-shadow: var(--dks-shadow); padding: 24px; }
body:has(.dks-top) .feature { flex-direction: column; gap: 16px; }
body:has(.dks-top) :is(.feature-icon, .usecase-icon, .ai-card-icon, .related-icon) { width: 40px; height: 40px; border-radius: var(--dks-radius-sm); background: var(--dks-primary-light); color: var(--dks-primary); display: grid; place-items: center; }
body:has(.dks-top) :is(.feature, .usecase, .ai-card) h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--dks-text); }
body:has(.dks-top) :is(.feature, .usecase, .ai-card) p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--dks-muted); }

/* FAQ : titre à gauche, questions à droite */
body:has(.dks-top) .section-inner:has(> .faq-list) { display: grid; grid-template-columns: 340px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 64px; align-items: start; }
body:has(.dks-top) .section-inner:has(> .faq-list) > :not(.faq-list) { grid-column: 1; text-align: start; margin-inline: 0; }
body:has(.dks-top) .section-inner:has(> .faq-list) > .faq-list { grid-column: 2; grid-row: 1 / 5; margin-top: 0; max-width: none; }
body:has(.dks-top) .faq-list { display: block; }
body:has(.dks-top) .faq-item { background: none; border: 0; border-bottom: 1px solid var(--dks-border); border-radius: 0; margin: 0; box-shadow: none; }
body:has(.dks-top) .faq-btn { min-height: 64px; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--dks-text); background: none; gap: 16px; text-align: start; }
body:has(.dks-top) .faq-chevron { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--dks-border); display: grid; place-items: center; flex-shrink: 0; color: var(--dks-muted); line-height: 1; padding-bottom: 4px; }
body:has(.dks-top) .faq-item.open .faq-chevron { color: var(--dks-primary); border-color: #c4b5fd; }
/* Maquette : un + qui pivote en × à l'ouverture (le glyphe ⌄ de la page est masqué, pas supprimé) */
body:has(.dks-top) .faq-chevron { font-size: 0; transition: transform 200ms ease; }
body:has(.dks-top) .faq-chevron::before { content: '+'; font-size: 18px; line-height: 1; }
body:has(.dks-top) .faq-item.open .faq-chevron { transform: rotate(45deg); }
body:has(.dks-top) .faq-answer { padding: 0 44px 20px 0; font-size: 15px; line-height: 1.7; color: var(--dks-muted); }
[dir="rtl"] body:has(.dks-top) .faq-answer { padding: 0 0 20px 44px; }

/* Bandeau final */
body:has(.dks-top) .cta-section { max-width: 1136px; margin: 0 auto 96px; padding: 72px 32px; border-radius: 24px; background: var(--dks-text); }
body:has(.dks-top) .cta-section h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
body:has(.dks-top) .cta-section p { color: #cbd5e1; margin-bottom: 24px; }
body:has(.dks-top) .cta-section .btn-white { min-height: 44px; padding: 12px 24px; border-radius: 12px; background: var(--dks-primary); color: #fff; }
body:has(.dks-top) .cta-section .btn-white:hover { background: #6d28d9; }

@media (max-width: 1023px) {
  body:has(.dks-top) .section { padding: 72px 24px; }
  body:has(.dks-top) .features-grid, body:has(.dks-top) .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:has(.dks-top) .section-inner:has(> .faq-list) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  body:has(.dks-top) .section-inner:has(> .faq-list) > .faq-list { grid-column: 1; grid-row: auto; margin-top: 24px; }
  body:has(.dks-top) .cta-section { margin: 0 24px 72px; }
}
@media (max-width: 767px) {
  body:has(.dks-top) .hero { padding: 24px 16px 40px; }
  body:has(.dks-top) .hero > p, body:has(.dks-top) .hero .hero-sub { margin-bottom: 24px; }
  body:has(.dks-top) .section { padding: 56px 16px; }
  body:has(.dks-top) .features-grid, body:has(.dks-top) .usecases { grid-template-columns: minmax(0, 1fr); }
  body:has(.dks-top) .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body:has(.dks-top) .steps::before { top: 20px; bottom: 20px; inset-inline-start: 19px; left: auto; right: auto; width: 2px; height: auto; }
  body:has(.dks-top) .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; text-align: start; }
  body:has(.dks-top) .step-num { grid-row: 1 / span 3; margin: 0; }
  body:has(.dks-top) .step h3 { margin-top: 8px; }
  body:has(.dks-top) .step p { margin-inline: 0; max-width: none; }
  body:has(.dks-top) .faq-btn { font-size: 16px; }
  body:has(.dks-top) .cta-section { margin: 0 16px 56px; padding: 48px 20px; border-radius: 20px; }
}

/* ═══ Fil d'Ariane, FAQ complète, autres plateformes (maquette seo-tiktok, lot extras-gen.js) ═══
   Le fil remplace la pastille du hero. Liens et bouton : 44 px de haut minimum (cible tactile).
   Séparateur › (U+203A, Bidi_Mirrored) : en dir="rtl" le navigateur l'affiche ‹ de lui-même. */
body:has(.dks-top) { --dks-border-2: #cbd5e1; --dks-primary-50: #f5f3ff; --dks-radius: 12px; }
body:has(.dks-top) .dks-crumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 8px; margin: -12px 0 4px; font-size: 13px; line-height: 1.4; color: var(--dks-light); }
body:has(.dks-top) .dks-crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dks-muted); text-decoration: none; }
body:has(.dks-top) .dks-crumb a:hover { color: var(--dks-primary); }
body:has(.dks-top) .dks-crumb > span { display: inline-flex; align-items: center; min-height: 44px; }
body:has(.dks-top) .dks-crumb [aria-current="page"] { color: var(--dks-text); font-weight: 600; }
body:has(.dks-top) .dks-crumb .dks-sep { color: var(--dks-light); }

/* Bouton « Voir la FAQ complète » : bouton ghost de la maquette, dans la colonne du titre */
body:has(.dks-top) .dks-faq-all { display: inline-flex; align-items: center; justify-content: center; justify-self: start; gap: 8px; min-height: 44px; margin-top: 24px; padding: 12px 24px; border-radius: var(--dks-radius-sm); border: 1px solid var(--dks-border-2); background: #fff; color: var(--dks-primary); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .2s, border-color .2s; }
body:has(.dks-top) .dks-faq-all:hover { background: var(--dks-primary-50); border-color: #c4b5fd; }
body:has(.dks-top) .faq-inner > .dks-faq-all { margin: 16px 0 24px; }

/* Autres plateformes */
body:has(.dks-top) .dks-autres { background: var(--dks-surface); border-block: 1px solid var(--dks-border); }
body:has(.dks-top) .dks-autres .section-inner { max-width: 1136px; margin: 0 auto; }
body:has(.dks-top) .dks-autres .section-label,
body:has(.dks-top) .dks-autres h2 { text-align: center; }
body:has(.dks-top) .dks-links { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body:has(.dks-top) .dks-lk { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 16px; background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius-lg); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--dks-text); text-decoration: none; transition: border-color .2s; }
body:has(.dks-top) .dks-lk:hover { border-color: #c4b5fd; color: var(--dks-text); }
body:has(.dks-top) .dks-lk .dks-plat { width: 32px; height: 32px; border-radius: var(--dks-radius-sm); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
body:has(.dks-top) .dks-lk .dks-plat svg { display: block; width: 16px; height: 16px; }
body:has(.dks-top) .dks-lk .dks-plat.is-meet { background: none; }
body:has(.dks-top) .dks-lk .dks-plat.is-meet svg { width: 28px; height: 28px; }
body:has(.dks-top) .dks-lk .dks-go { margin-inline-start: auto; font-size: 18px; color: var(--dks-light); }

@media (max-width: 1023px) {
  body:has(.dks-top) .dks-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body:has(.dks-top) .dks-crumb { justify-content: flex-start; margin: -8px 0 4px; }
  body:has(.dks-top) .dks-links { grid-template-columns: minmax(0, 1fr); }
}

/* ═══ Blocs vivants (public/js/seo-live.js) : preuve, récents, avis ═══
   Valeurs de la maquette seo-tiktok (22/09/2026) : widget.css .proof/.avs/.stars/.rate,
   seo-tiktok.html .recent/.rc/.rrow et .agg/.revs/.rv. Jetons --dks-* de body:has(.dks-top) ;
   ceux qui n'y sont pas encore (warn, success, radius 12, border-2) sont posés ici. */
.dks-proof, .dks-recent, .dks-reviews {
  --dks-warn: #f59e0b; --dks-success-bg: rgba(16, 185, 129, .12); --dks-success-text: #047857;
  --dks-radius: 12px; --dks-border-2: #cbd5e1; --dks-primary-50: #f5f3ff; --dks-primary-hover: #6d28d9;
}
.dks-recent[hidden], .dks-reviews[hidden] { display: none !important; }
/* Pastille d'avis : place réservée (44 px + 24 px) pendant le chargement, sinon titre et module sautaient de 68 px
   à son arrivée (audit 23/09). Repliée seulement si elle ne s'affichera pas (.dks-proof-off, posée par seo-live.js). */
.dks-proof[hidden] { visibility: hidden; }
.dks-proof.dks-proof-off { display: none !important; }

/* Étoiles : fond gris, remplissage proportionnel à la note (largeur posée par le script) */
.dks-stars { position: relative; display: inline-block; font-size: 13px; letter-spacing: 1px; color: var(--dks-border); line-height: 1; white-space: nowrap; }
.dks-stars::before { content: '★★★★★'; }
.dks-stars i { position: absolute; inset-block: 0; inset-inline-start: 0; overflow: hidden; color: var(--dks-warn); font-style: normal; white-space: nowrap; }
.dks-stars i::before { content: '★★★★★'; }
.dks-stars.is-big { font-size: 22px; }

/* ── 1. Pastille de preuve (hero, avant le h1) ── */
.dks-proof { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; height: 44px; padding-block: 0; padding-inline: 6px 16px; margin: 0 auto 24px;
  border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(124, 58, 237, .10), 0 1px 3px rgba(15, 23, 42, .06);
  font-size: 14px; line-height: 1.2; color: var(--dks-muted); text-align: start; }
.dks-proof > span { white-space: nowrap; }
.dks-proof b { color: var(--dks-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.dks-proof .dks-avs { display: flex; }
.dks-proof .dks-avs span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-inline-start: -8px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.dks-proof .dks-avs span:first-child { margin-inline-start: 0; }
.dks-proof .dks-tick { position: relative; height: 20px; overflow: hidden; }
.dks-proof .dks-tick-in { display: block; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.dks-proof .dks-tr { display: block; height: 20px; line-height: 20px; white-space: nowrap; }
.dks-proof .dks-rate { font-size: 13px; color: var(--dks-light); white-space: nowrap; }
/* Lien des avis : zone tactile 44 px de haut sans agrandir la pastille */
.dks-proof .dks-rate a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--dks-muted); font-weight: 600; text-decoration: none; }
.dks-proof .dks-rate a:hover { color: var(--dks-primary); }

/* ── 2. Transcriptions récentes (connecté, sous le hero) ── */
.dks-recent { padding: 0 32px 56px; }
.dks-recent .dks-wrap { max-width: 1136px; margin: 0 auto; }
.dks-recent .dks-rc { background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius); box-shadow: var(--dks-shadow); padding: 8px 20px 12px; text-align: start; }
.dks-recent .dks-rc-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.dks-recent .dks-rc-h h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--dks-text); }
.dks-recent .dks-rc-all { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--dks-primary); text-decoration: none; white-space: nowrap; }
.dks-recent .dks-rc-all:hover { color: var(--dks-primary-hover); }
.dks-recent .dks-rrow { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 12px 0; border-top: 1px solid var(--dks-border); color: var(--dks-text); text-decoration: none; }
.dks-recent .dks-rrow:hover b { color: var(--dks-primary); }
.dks-recent .dks-plat { width: 32px; height: 32px; border-radius: var(--dks-radius-sm); display: grid; place-items: center; color: #fff; }
.dks-recent .dks-plat svg { width: 16px; height: 16px; display: block; }
.dks-recent .dks-plat.is-file { background: var(--dks-primary-light); color: var(--dks-primary); }
.dks-recent .dks-rrow-t { min-width: 0; }
.dks-recent .dks-rrow b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dks-recent .dks-meta { display: block; font-size: 12px; color: var(--dks-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dks-recent .dks-go { font-size: 18px; color: var(--dks-light); }

/* ── 3. Section avis (avant le bandeau final) ── */
.dks-reviews.section { background: var(--dks-surface); border-block: 1px solid var(--dks-border); }
.dks-reviews .dks-agg { margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.dks-reviews .dks-agg b { font-size: 20px; font-weight: 700; color: var(--dks-text); font-variant-numeric: tabular-nums; }
.dks-reviews .dks-meta { font-size: 13px; color: var(--dks-light); }
.dks-reviews .dks-revs { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dks-reviews .dks-rv { background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius-lg); box-shadow: var(--dks-shadow); padding: 24px; display: flex; flex-direction: column; gap: 10px; text-align: start; }
.dks-reviews .dks-rv-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dks-reviews .dks-rv-h b { font-size: 14px; font-weight: 700; color: var(--dks-text); }
.dks-reviews .dks-ok { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--dks-success-bg); color: var(--dks-success-text); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.dks-reviews .dks-date { margin-inline-start: auto; font-size: 12px; color: var(--dks-light); }
.dks-reviews .dks-rv p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--dks-text); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.dks-reviews .dks-rv p.is-empty { color: var(--dks-light); font-style: italic; }
.dks-reviews .dks-more { margin-top: 24px; text-align: center; }
.dks-reviews .dks-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; border-radius: var(--dks-radius-sm); border: 1px solid var(--dks-border-2); background: #fff;
  color: var(--dks-primary); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s; }
.dks-reviews .dks-ghost:hover { background: var(--dks-primary-50); border-color: #c4b5fd; }

/* ─── ≤1023 : tablette ─── */
@media (max-width: 1023px) {
  .dks-recent { padding: 0 24px 56px; }
  .dks-reviews .dks-revs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dks-reviews .dks-rv:nth-child(3) { display: none; }
}
/* ─── ≤767 : téléphone ─── */
@media (max-width: 767px) {
  .dks-proof { gap: 8px; padding-inline-end: 12px; font-size: 13px; }
  .dks-proof .dks-avs span { width: 26px; height: 26px; font-size: 11px; }
  .dks-proof .dks-avs span:nth-child(4) { display: none; }
  .dks-proof .dks-tick { font-size: 12.5px; }
  /* Pastille étroite : le compteur ou, à défaut, la note ; le lien des avis reste dans la section Avis */
  .dks-proof:has(.dks-tick) .dks-rate { display: none; }
  .dks-proof .dks-rate .dks-sep, .dks-proof .dks-rate a { display: none; }
  .dks-recent { padding: 0 16px 40px; }
  .dks-recent .dks-rc { padding: 4px 16px 8px; }
  .dks-reviews .dks-revs { grid-template-columns: minmax(0, 1fr); }
  .dks-reviews .dks-rv:nth-child(3) { display: flex; }
}
/* ─── ≤399 : petits téléphones — avatars + compteur, les étoiles restent dans la section Avis ;
   le compteur se raccourcit proprement plutôt que d'être rogné par la pastille ─── */
@media (max-width: 399px) {
  .dks-proof:has(.dks-tick) .dks-stars { display: none; }
  .dks-proof .dks-tick { min-width: 0; flex: 0 1 auto; }
  .dks-proof .dks-tr { overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  .dks-proof .dks-tick-in { transition: none; }
}

/* Liens « autres plateformes » écrits à la main dans certaines pages : même habit que .dks-lk */
body:has(.dks-top) .related-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body:has(.dks-top) .related-link { display: flex; align-items: center; min-height: 60px; padding: 8px 16px; background: #fff; border: 1px solid var(--dks-border); border-radius: var(--dks-radius-lg); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--dks-text); text-decoration: none; }
body:has(.dks-top) .related-link:hover { border-color: #c4b5fd; }
@media (max-width: 1023px) { body:has(.dks-top) .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { body:has(.dks-top) .related-grid { grid-template-columns: minmax(0, 1fr); } }
/* Module de transcription (transcribe-widget.js pose data-ready au rendu) : hauteur réservée avant son dessin,
   sinon il s'insérait vers 760 ms et poussait tout le contenu (audit 23/09, décalage 0,139).
   Mesures : 361-371 px à 1440, 415-425 px à 390 (modes lien et fichier). */
#dkWidget:not([data-ready]):not([data-app]) { display: block; min-height: 356px; }
@media (max-width: 767px) { #dkWidget:not([data-ready]):not([data-app]) { min-height: 410px; } }
