/* Styles communs aux pages de net-labs.fr (accueil, librairie digitale). */
:root {
  /* Palette sombre par défaut ; les palettes sont explicites pour que le bouton
     de thème fonctionne indépendamment des préférences du navigateur. */
  --bg: #0f141b;
  --surface: #151b24;
  --surface-2: #1c2430;
  --text: #e5e9f0;
  --muted: #94a3b8;
  --faint: #334155;
  --border: #243041;
  --grid: #243041;
  --ink: #e2e8f0;
  --on-ink: #0f172a;
  --accent: #34d399;
  --on-accent: #052e16;
  --intent-informational: #60a5fa;
  --intent-commercial: #fb923c;
  --mauve: #8b9be8;
  /* Couleurs des outils, les mêmes que dans leurs propres pages. */
  --seeker: #a78bfa;
  --spider: #34d399;
  --library: #f0b35a;
  --radius: 10px;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --page-width: 1040px;
  --page-gutter: 16px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --faint: #cbd5e1;
  --border: #e2e8f0;
  --grid: #e2e8f0;
  --ink: #0f172a;
  --on-ink: #ffffff;
  --accent: #047857;
  --on-accent: #ffffff;
  --intent-informational: #2563eb;
  --intent-commercial: #c2410c;
  --mauve: #4f46a5;
  --seeker: #7c3aed;
  --spider: #047857;
  --library: #b45309;
}
:root[data-theme="dark"] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.container { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 var(--page-gutter); flex: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Entête commune */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); max-width: var(--page-width); width: 100%; margin: 0 auto; padding: var(--space-3) var(--page-gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 780; font-size: 1.38rem; letter-spacing: -.06em; color: var(--ink); }
.brand-accent { color: var(--mauve); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid color-mix(in srgb, var(--mauve) 34%, var(--border)); border-radius: 11px; color: var(--mauve); background: linear-gradient(145deg, color-mix(in srgb, var(--mauve) 9%, var(--surface)), var(--surface)); box-shadow: inset 0 1px 0 color-mix(in srgb, white 5%, transparent); }
.brand-mark svg { width: 25px; height: 25px; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 6px 11px; border-radius: 999px; color: var(--muted); font-size: .86rem; font-weight: 560; text-decoration: none; transition: color .16s ease, background .16s ease; }
.site-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--mauve) 9%, transparent); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.site-nav a:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--mauve); background: color-mix(in srgb, var(--mauve) 9%, transparent); }
.theme-toggle:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.theme-toggle svg { width: 21px; height: 21px; }

/* Bandeau de page */
.hero { position: relative; isolation: isolate; padding: 52px 0 30px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background-image: radial-gradient(var(--grid) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.home-kicker { margin: 0 0 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); }
.hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* Cartes (outils, guides) */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: var(--space-4); padding: var(--space-3) 0 0; }
.tool { --tool-accent: var(--accent); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: var(--space-4); border: 1px solid color-mix(in srgb, var(--tool-accent) 25%, var(--border)); border-radius: 16px; background: linear-gradient(155deg, color-mix(in srgb, var(--tool-accent) 5%, var(--surface)), var(--surface) 42%); box-shadow: 0 5px 18px color-mix(in srgb, var(--ink) 3%, transparent); transition: border-color .16s ease; }
/* Chaque carte prend la couleur de son outil : logo, bandeau, pastille, comparaison et bouton (via --mauve). */
.tool { --mauve: var(--tool-accent); }
.tool::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--tool-accent), color-mix(in srgb, var(--tool-accent) 12%, transparent)); }
.tool:hover { border-color: color-mix(in srgb, var(--tool-accent) 40%, var(--border)); }
.tool-seeker { --tool-accent: var(--seeker); }
.tool-spider { --tool-accent: var(--spider); }
.tool-library { --tool-accent: var(--library); }
.tool-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2); min-height: 48px; margin-bottom: var(--space-4); }
.tool-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--tool-accent); background: color-mix(in srgb, var(--tool-accent) 11%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tool-accent) 23%, var(--border)); }
.tool-symbol svg { width: 25px; height: 25px; }
.tool-symbol.is-logo { border: 0; background: none; }
.tool-symbol.is-logo svg { width: 48px; height: 48px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tool-accent, var(--accent)); }
.status.soon::before { background: var(--intent-informational); }
.tool h2 { margin: 0 0 var(--space-2); font-size: 1.75rem; line-height: 1.18; letter-spacing: -.045em; }
.tool-description { min-height: 4.5em; margin: 0 0 var(--space-3); color: var(--muted); font-size: .94rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.tool-label { display: inline-flex; align-self: flex-start; min-height: 31px; align-items: center; margin: 0 0 var(--space-3); padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--tool-accent) 24%, var(--border)); border-radius: 7px; background: color-mix(in srgb, var(--tool-accent) 7%, var(--surface)); font-family: var(--mono); font-size: .66rem; letter-spacing: .035em; text-transform: uppercase; color: var(--tool-accent); }
.features { display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.features li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .86rem; color: var(--text); }
.features li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 50%; color: var(--tool-accent); background: color-mix(in srgb, var(--tool-accent) 12%, var(--surface)); font-size: .72rem; font-weight: 800; }

/* Comparaison avant / après des cartes outils */
.mini-compare { margin: 2px 0 var(--space-4); padding: 12px 0 0; border-top: 1px solid var(--border); }
.mini-compare-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 0 0 7px; font-family: var(--mono); font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; }
.mini-compare-head span:first-child { color: var(--muted); }
.mini-compare-head span:last-child { color: var(--tool-accent); }
.mini-compare-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent); font-size: .79rem; line-height: 1.35; }
.mini-compare-row .from, .mini-compare-row .to { display: flex; align-items: flex-start; gap: 7px; min-width: 0; }
.mini-compare-row .from { --icon-color: #b66a6a; color: var(--muted); }
.mini-compare-row .to { --icon-color: var(--tool-accent); color: var(--text); font-weight: 620; }
.row-icon { display: inline-grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--icon-color); }
.row-icon svg { display: block; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

/* Bouton d'appel à l'action */
.cta-button { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 12px; margin-top: auto; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--mauve) 34%, var(--border)); border-radius: 8px; background: linear-gradient(105deg, var(--surface) 0%, color-mix(in srgb, var(--mauve) 4%, var(--surface)) 100%); color: var(--text); font-size: .9rem; font-weight: 620; text-decoration: none; box-shadow: inset 0 1px 0 color-mix(in srgb, white 4%, transparent); transition: background .16s ease, border-color .16s ease; }
.cta-button > * { position: relative; z-index: 1; }
.cta-button:not(.disabled)::after { content: ""; position: absolute; z-index: -1; top: -35%; bottom: -35%; left: -55%; width: 34%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, color-mix(in srgb, white 25%, transparent), transparent); opacity: 0; pointer-events: none; }
.cta-button:not(.disabled):hover::after { opacity: 1; animation: cta-sheen .8s ease-out 1; }
@keyframes cta-sheen { from { left: -55%; } to { left: 130%; } }
.cta-button:hover { background: linear-gradient(105deg, color-mix(in srgb, var(--mauve) 3%, var(--surface)) 0%, color-mix(in srgb, var(--mauve) 10%, var(--surface)) 100%); border-color: color-mix(in srgb, var(--mauve) 58%, var(--border)); color: var(--text); }
.cta-button:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.cta-button .arrow { color: var(--mauve); font-size: 1.05rem; transition: color .16s ease; }
.cta-button:not(.disabled):hover .arrow { color: var(--text); }
.cta-button.disabled, .cta-button.disabled:hover { background: var(--surface-2); color: var(--muted); border-color: var(--border); box-shadow: none; cursor: default; }
.cta-button.disabled .arrow { color: var(--muted); }

/* Librairie digitale : trois rayons, chacun avec sa couleur. */
.shelf-tools { --shelf: var(--seeker); }
.shelf-basics { --shelf: var(--intent-informational); }
.shelf-advanced { --shelf: var(--library); }
.shelf-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.shelf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border: 1px solid color-mix(in srgb, var(--chip) 35%, var(--border)); border-radius: 999px; background: color-mix(in srgb, var(--chip) 7%, var(--surface)); color: var(--text); font-size: .86rem; font-weight: 600; text-decoration: none; transition: border-color .16s ease, background .16s ease; }
.shelf-chip:hover { border-color: var(--chip); background: color-mix(in srgb, var(--chip) 14%, var(--surface)); }
.shelf-chip em { font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; color: var(--chip); background: color-mix(in srgb, var(--chip) 14%, transparent); }
.chip-tools { --chip: var(--seeker); }
.chip-basics { --chip: var(--intent-informational); }
.chip-advanced { --chip: var(--library); }
.shelf { margin-top: var(--space-5); scroll-margin-top: var(--space-4); }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-2) var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--border); }
.shelf-head h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.shelf-head > p { margin: 0; max-width: 46ch; color: var(--muted); font-size: .9rem; }
.shelf-kicker { margin: 0 0 4px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--shelf); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.guide { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--shelf) 6%, var(--surface)), var(--surface) 55%); transition: border-color .16s ease, transform .16s ease; }
.guide:hover { border-color: color-mix(in srgb, var(--shelf) 45%, var(--border)); transform: translateY(-2px); }
.guide-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.guide-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--shelf); background: color-mix(in srgb, var(--shelf) 12%, var(--surface)); }
.guide-icon svg, .why-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.guide-badge { font-family: var(--mono); font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: var(--shelf); border: 1px solid color-mix(in srgb, var(--shelf) 35%, var(--border)); }
.shelf-advanced .guide-badge { color: var(--on-accent); background: var(--library); border-color: var(--library); }
:root:not([data-theme="light"]) .shelf-advanced .guide-badge { color: #2a1803; }
.guide h3 { margin: 0 0 6px; font-size: 1.05rem; line-height: 1.3; letter-spacing: -.015em; }
.guide > p { margin: 0 0 var(--space-3); color: var(--muted); font-size: .86rem; }
.guide-meta { display: flex; gap: 6px; margin: auto 0 var(--space-2); padding: 0; list-style: none; }
.guide-meta li { padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: .72rem; }
.guide-status { padding-top: var(--space-2); border-top: 1px solid var(--border); color: var(--muted); font-size: .78rem; }
.guide-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--shelf); vertical-align: 1px; }

.why, .path, .faq { margin-top: 56px; }
.why h2, .path h2, .faq h2 { margin: 0 0 var(--space-3); font-size: 1.3rem; letter-spacing: -.02em; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.why-item { padding: var(--space-4) 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.why-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-2); border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.why-item h3 { margin: 0 0 6px; font-size: 1rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .88rem; }
.path-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.path-steps li + li { border-left: 1px solid var(--border); }
.path-steps a { display: grid; gap: 2px; padding: 20px; color: var(--text); text-decoration: none; transition: background .16s ease; }
.path-steps a:hover { background: var(--surface-2); }
.path-steps a:focus-visible { outline: 2px solid var(--mauve); outline-offset: -2px; }
.path-steps a > span:last-child { color: var(--muted); font-size: .86rem; }
.path-num { font-family: var(--mono); font-size: .72rem; color: var(--mauve); }
.path-steps strong { font-size: 1.1rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); align-items: start; }
.faq details { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; color: var(--text); font-weight: 600; font-size: .92rem; }
.faq summary:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.faq details p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }

.site-footer { text-align: center; color: var(--muted); font-size: .8rem; padding: var(--space-4) var(--page-gutter); border-top: 1px solid var(--border); margin-top: 56px; }
.site-footer nav { display: inline; }
.site-footer a { color: var(--muted); }
.site-footer span { display: inline-block; margin: 0 6px; }

@media (max-width: 900px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .site-header { padding-bottom: 0; }
  .header-actions { gap: 4px; }
  .site-nav a { padding: 6px 9px; font-size: .82rem; }
  .hero { padding: 40px 0 24px; text-align: left; }
  .lead { margin-left: 0; }
  .tools, .guides, .why-grid, .path-steps, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding-top: var(--space-2); }
  .tool { padding: 22px; }
  .tool-description { min-height: 0; }
  .hero .shelf-jump { justify-content: flex-start; }
  .path-steps li + li { border-left: 0; border-top: 1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Mentions légales */
.legal { max-width: 70ch; margin: 0 auto; padding: 40px 0 0; }
.legal h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: -.025em; margin: 0 0 var(--space-3); }
.legal h2 { font-size: 1.15rem; margin: var(--space-5) 0 var(--space-1); }
.legal p { color: var(--muted); }

/* Accueil agence */
.agency-hero { padding: 64px 0 40px; }
.agency-hero h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-4); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 640; font-size: .94rem; text-decoration: none; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.btn:hover { border-color: color-mix(in srgb, var(--mauve) 50%, var(--border)); }
.btn:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.btn-primary { border-color: transparent; background: linear-gradient(105deg, #6658c7, #8b7be2); color: #fff; box-shadow: 0 6px 20px color-mix(in srgb, #6658c7 35%, transparent); }
.btn-primary:hover { transform: translateY(-1px); border-color: transparent; }
.btn-primary[disabled] { opacity: .6; cursor: wait; transform: none; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: var(--space-4) 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.trust li::before { content: "✓"; margin-right: 6px; color: var(--accent); font-weight: 800; }
.block { margin-top: 64px; scroll-margin-top: var(--space-4); }
.block-head { margin-bottom: var(--space-4); text-align: center; }
.block-head .shelf-kicker { color: var(--mauve); }
.block-head h2 { margin: 0; font-size: clamp(1.35rem, 3.5vw, 1.8rem); letter-spacing: -.03em; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.service { padding: 22px 20px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--mauve) 6%, var(--surface)), var(--surface) 60%); transition: border-color .16s ease, transform .16s ease; }
.service:hover { border-color: color-mix(in srgb, var(--mauve) 45%, var(--border)); transform: translateY(-2px); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: var(--space-3); border-radius: 11px; color: var(--mauve); background: color-mix(in srgb, var(--mauve) 13%, var(--surface)); }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 0 0 6px; font-size: 1.02rem; }
.service p { margin: 0; color: var(--muted); font-size: .87rem; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.flow li { display: grid; align-content: start; gap: 4px; padding: 20px; border-top: 3px solid color-mix(in srgb, var(--mauve) 60%, var(--border)); border-radius: 0 0 12px 12px; background: var(--surface); }
.flow-num { font-family: var(--mono); font-size: .74rem; color: var(--mauve); }
.flow strong { font-size: 1.05rem; }
.flow li > span:last-child { color: var(--muted); font-size: .87rem; }
.discover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.discover-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid color-mix(in srgb, var(--tool-accent) 28%, var(--border)); border-radius: 14px; background: linear-gradient(155deg, color-mix(in srgb, var(--tool-accent) 8%, var(--surface)), var(--surface) 55%); color: var(--muted); font-size: .88rem; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.discover-card:hover { border-color: var(--tool-accent); transform: translateY(-2px); }
.discover-card:focus-visible { outline: 2px solid var(--tool-accent); outline-offset: 3px; }
.discover-card strong { color: var(--text); font-size: 1.25rem; letter-spacing: -.03em; }
.discover-tag { align-self: flex-start; font-family: var(--mono); font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; color: var(--tool-accent); }
.discover-link { margin-top: auto; padding-top: 6px; color: var(--tool-accent); font-weight: 640; }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-5); padding: var(--space-5); border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(150deg, color-mix(in srgb, var(--mauve) 7%, var(--surface)), var(--surface) 50%); }
.contact-intro .shelf-kicker { color: var(--mauve); }
.contact-intro h2 { margin: 0 0 var(--space-2); font-size: 1.6rem; letter-spacing: -.03em; }
.contact-intro > p { color: var(--muted); }
.contact-next { display: grid; gap: var(--space-2); margin: var(--space-4) 0 0; padding: 0; list-style: none; counter-reset: next; }
.contact-next li { counter-increment: next; display: flex; gap: 10px; align-items: baseline; font-size: .9rem; }
.contact-next li::before { content: counter(next); display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--mauve) 15%, var(--surface)); color: var(--mauve); font-size: .75rem; font-weight: 700; }
.contact-form { display: grid; gap: var(--space-3); }
.contact-form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: .92rem; font-weight: 400; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mauve) 22%, transparent); }
.optional { color: var(--muted); font-weight: 400; }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .8rem; }
.contact-form .consent input { width: auto; margin-top: 3px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: .88rem; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: var(--intent-commercial); }
.agency-hero h1 { max-width: 22ch; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-3); border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.pillar { display: grid; gap: 2px; padding: 18px 22px; }
.pillar + .pillar { border-left: 1px solid var(--border); }
.pillar-num { font-family: var(--mono); font-size: .7rem; color: var(--mauve); }
.pillar strong { font-size: 1.05rem; }
.pillar > span:last-child { color: var(--muted); font-size: .85rem; }
.service { display: flex; flex-direction: column; }
.service-points { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.service-points li { padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--mauve) 10%, var(--surface)); color: var(--text); font-size: .74rem; }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.format { --tool-accent: var(--mauve); padding: var(--space-4); border: 1px solid color-mix(in srgb, var(--mauve) 25%, var(--border)); border-radius: 16px; background: linear-gradient(150deg, color-mix(in srgb, var(--mauve) 9%, var(--surface)), var(--surface) 55%); }
.format + .format { --mauve: var(--accent); }
.format-tag { margin: 0 0 6px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mauve); }
.format h3 { margin: 0 0 6px; font-size: 1.3rem; letter-spacing: -.03em; }
.format > p:not(.format-tag) { margin: 0 0 var(--space-3); color: var(--muted); }
.format .features { margin: 0; }
.why-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-panel { min-width: 0; }
.contact-form[hidden], .form-success[hidden] { display: none; }
.form-success { display: grid; justify-items: start; align-content: center; gap: 6px; height: 100%; min-height: 280px; padding: var(--space-4); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 14px; background: color-mix(in srgb, var(--accent) 6%, var(--surface)); animation: success-in .35s ease-out; }
.form-success:focus { outline: none; }
.form-success h3 { margin: var(--space-2) 0 0; font-size: 1.35rem; letter-spacing: -.02em; }
.form-success p { margin: 0; color: var(--muted); }
.form-success .success-hint { margin-top: var(--space-3); font-size: .86rem; }
.success-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.success-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes success-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) {
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .services, .flow, .why-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .agency-hero h1 { margin-left: 0; }
  .hero-actions, .trust { justify-content: flex-start; }
  .services, .flow, .discover-grid, .field-row, .formats, .pillars, .why-4 { grid-template-columns: minmax(0, 1fr); }
  .block-head { text-align: left; }
  .contact { padding: 22px; }
}
/* Encart Discord et liens de la confirmation */
.community { --discord: #5865f2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: 26px 30px; border: 1px solid color-mix(in srgb, var(--discord) 40%, var(--border)); border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--discord) 16%, var(--surface)), var(--surface) 70%); }
.community-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--discord); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--discord) 40%, transparent); }
.community-logo svg { width: 36px; height: 36px; fill: currentColor; }
.community-text .shelf-kicker { color: var(--discord); }
:root[data-theme="dark"] .community-text .shelf-kicker { color: #8f99ff; }
.community-text h2 { margin: 0 0 4px; font-size: 1.35rem; letter-spacing: -.02em; }
.community-text p:last-child { margin: 0; color: var(--muted); font-size: .92rem; }
.btn-discord { border-color: transparent; background: #5865f2; color: #fff; white-space: nowrap; }
.btn-discord:hover { border-color: transparent; background: #4752c4; transform: translateY(-1px); }
.next-links { display: grid; gap: 8px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none; }
.next-links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.next-links a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateX(2px); }
.next-links a:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.next-links a > span:last-child { display: grid; line-height: 1.3; }
.next-links strong { font-size: .9rem; }
.next-links small { color: var(--muted); font-size: .78rem; }
.next-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; color: #fff; }
.next-icon svg { width: 20px; height: 20px; }
.next-icon.is-discord { background: #5865f2; }
.next-icon.is-discord svg { fill: currentColor; }
.next-icon.is-spider { background: #047857; }
.next-icon.is-library { background: #b45309; }
@media (max-width: 680px) {
  .community { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .community .btn-discord { justify-self: start; }
}
