/*
Theme Name: GenRank
Theme URI: https://genrank.fr
Description: Site de genrank.fr : comprendre le SEO et le référencement IA (guides, annuaire des robots IA, lexique) et les outils WordPress GenRank. Design éditorial sombre, deux couleurs qui portent le propos (bleu pour les moteurs, corail pour les IA), sans bibliothèque ni compilation.
Version: 2.0.1
Requires at least: 6.4
Requires PHP: 8.0
Author: genrank
License: GPL-2.0-or-later
Text Domain: genrank
Update URI: false
*/

/* 1. Base ------------------------------------------------------------------------------------- */
:root {
  --bg: #08080b;
  --bg-2: #0d0d12;
  --card: #111117;
  --ink: #f4f2ec;
  --soft: #cfccc4;
  --muted: #9d9a93;
  --faint: #6a6863;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --seo: #7aa2ff;
  --seo-2: #5468ff;
  --ai: #ff8a5b;
  --ai-2: #ffc06e;
  --mix: #b693ff;
  --ok: #62e6a7;
  --warn: #ffc857;
  --bad: #ff7a70;
  --grad: linear-gradient(100deg, var(--seo) 0%, var(--mix) 48%, var(--ai) 100%);
  --radius: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Bricolage Grotesque", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, pre { font-family: var(--mono); }
::selection { background: rgba(122, 162, 255, .4); }
:focus-visible { outline: 2px solid var(--seo); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em, .gr-next b em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; padding-right: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr-i { width: 1.1em; height: 1.1em; flex: none; }
.gr-skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #fff; color: #000; }
.gr-skip:focus { left: 8px; }
.gr-wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }
.gr-narrow { width: min(800px, 100% - 44px); }
.is-center { text-align: center; }

/* Fond fixe : deux lueurs (moteurs, IA), une grille fine, du grain */
.gr-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background:
  radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .05), transparent 70%), var(--bg); }
.gr-backdrop::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; opacity: .5; -webkit-mask-image: radial-gradient(900px 620px at 50% 0, #000, transparent 75%); mask-image: radial-gradient(900px 620px at 50% 0, #000, transparent 75%); }
.gr-backdrop::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.gr-backdrop i { position: absolute; top: -34vmax; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(110px); opacity: .22; animation: gr-drift 34s ease-in-out infinite alternate; }
.gr-backdrop i:nth-child(1) { left: -22vmax; background: var(--seo-2); }
.gr-backdrop i:nth-child(2) { right: -22vmax; background: var(--ai); opacity: .16; animation-duration: 42s; animation-direction: alternate-reverse; }
@keyframes gr-drift { to { transform: translate3d(5vw, 6vh, 0) scale(1.12); } }

/* 2. En-tête ------------------------------------------------------------------------------------ */
.gr-top { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.admin-bar .gr-top { top: 46px; }
.gr-top__in { display: flex; align-items: center; gap: 14px; width: min(1200px, 100% - 28px); margin-inline: auto; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 12, 17, .6); backdrop-filter: saturate(1.5) blur(20px); -webkit-backdrop-filter: saturate(1.5) blur(20px); box-shadow: 0 24px 60px -34px #000, 0 1px 0 rgba(255, 255, 255, .05) inset; pointer-events: auto; transition: background .3s, border-color .3s; }
.gr-top.is-scrolled .gr-top__in { background: rgba(10, 10, 14, .86); border-color: var(--line-2); }
.gr-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.03em; }
.gr-brand__mark { width: 28px; height: 28px; flex: none; }
.gr-brand__name b { font-weight: 600; color: var(--muted); }
.gr-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gr-nav__list { display: flex; align-items: center; gap: 2px; }
.gr-nav__list > li { position: relative; }
.gr-nav__list > li > a, .gr-nav__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.gr-nav__list > li > a:hover, .gr-nav__toggle:hover, .gr-nav__toggle[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.gr-nav__list > li > a[aria-current], .gr-nav__toggle.is-current { color: var(--ink); }
.gr-nav__list > li > a[aria-current]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); }
.gr-nav__toggle .gr-i { width: .95em; height: .95em; transition: transform .25s var(--ease); }
.gr-nav__toggle[aria-expanded="true"] .gr-i { transform: rotate(180deg); }
.gr-panel { position: absolute; top: calc(100% + 16px); right: -80px; width: 520px; padding: 12px; border: 1px solid var(--line-2); border-radius: 24px; background: #101016; box-shadow: 0 40px 80px -30px #000, 0 1px 0 rgba(255, 255, 255, .06) inset; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 80% 0; transition: opacity .22s, transform .22s var(--ease), visibility .22s; }
.gr-nav__toggle[aria-expanded="true"] + .gr-panel { opacity: 1; visibility: visible; transform: none; }
.gr-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gr-panel__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; transition: background .2s; }
.gr-panel__item:hover { background: rgba(255, 255, 255, .06); }
.gr-panel__item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.gr-panel__item small { color: var(--muted); font-size: 13px; }
.gr-panel__all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 13px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; transition: color .2s; }
.gr-panel__all:hover { color: var(--ink); }
.gr-mark { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(140deg, var(--hue), color-mix(in srgb, var(--hue) 45%, #000)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 10px 24px -12px var(--hue), 0 1px 0 rgba(255, 255, 255, .25) inset; }
.gr-burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.gr-burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.gr-burger i:nth-child(1) { top: 18px; }
.gr-burger i:nth-child(2) { top: 25px; }
.gr-burger[aria-expanded="true"] i:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.gr-burger[aria-expanded="true"] i:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* 3. Boutons, étiquettes ------------------------------------------------------------------------- */
.gr-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.gr-btn .gr-i { transition: transform .25s var(--ease); }
.gr-btn:hover { transform: translateY(-2px); }
.gr-btn:hover .gr-i { transform: translateX(4px); }
.gr-btn.is-small { min-height: 42px; padding: 0 18px; font-size: 14.5px; background: var(--ink); color: #0a0a0d; }
.gr-btn.is-light { background: var(--ink); color: #0a0a0d; box-shadow: 0 20px 40px -20px rgba(255, 255, 255, .4); }
.gr-btn.is-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.gr-btn.is-ghost:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .07); }
.gr-btn.is-seo { background: linear-gradient(135deg, var(--seo), var(--seo-2)); color: #fff; box-shadow: 0 22px 44px -20px var(--seo-2), 0 1px 0 rgba(255, 255, 255, .35) inset; }
.gr-btn.is-ai { background: linear-gradient(135deg, var(--ai-2), var(--ai)); color: #1c0d05; box-shadow: 0 22px 44px -20px var(--ai), 0 1px 0 rgba(255, 255, 255, .45) inset; }
.gr-btn.is-hue { background: linear-gradient(135deg, color-mix(in srgb, var(--hue) 80%, #fff), var(--hue)); color: #fff; box-shadow: 0 22px 44px -20px var(--hue), 0 1px 0 rgba(255, 255, 255, .35) inset; }
.gr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gr-actions.is-center { justify-content: center; }
.gr-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s, gap .25s var(--ease); }
.gr-link:hover { border-color: var(--ink); gap: 12px; }
.gr-surtitre { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 16px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--soft); font-size: 13.5px; font-weight: 500; letter-spacing: .01em; }
.gr-surtitre i { color: var(--faint); font-style: normal; }
.gr-surtitre a:hover { color: var(--ink); }
.gr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--mix); }
.gr-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.gr-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gr-pill.is-seo { color: var(--seo); background: rgba(122, 162, 255, .12); }
.gr-pill.is-ai { color: var(--ai); background: rgba(255, 138, 91, .12); }
.gr-alert { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); }
.gr-alert.is-ok { border-color: rgba(98, 230, 167, .4); background: rgba(98, 230, 167, .08); }
.gr-alert.is-error { border-color: rgba(255, 122, 112, .4); background: rgba(255, 122, 112, .08); }

/* 4. Ouverture ------------------------------------------------------------------------------------ */
.gr-ouverture { position: relative; padding: 190px 0 0; }
.gr-ouverture.is-page { padding: 190px 0 30px; }
.gr-ouverture.is-short { padding-bottom: 0; }
.gr-ouverture__in { text-align: center; }
.gr-ouverture h1 { font-size: clamp(46px, 8.6vw, 124px); letter-spacing: -.055em; line-height: .93; }
.gr-ouverture.is-page h1 { font-size: clamp(42px, 6.6vw, 92px); }
.gr-ouverture.is-short h1 { font-size: clamp(38px, 5.4vw, 72px); }
.gr-lead { max-width: 660px; margin-top: 30px; color: var(--soft); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.gr-lead.is-big { color: var(--ink); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.02em; }
.gr-ouverture__in .gr-lead { margin-inline: auto; }
.gr-ouverture__in .gr-actions { justify-content: center; margin-top: 40px; }
.gr-ouverture .gr-actions { margin-top: 38px; }

/* Démonstration : la même question, deux écrans */
.gr-demo { position: relative; max-width: 1080px; margin: 84px auto 0; border: 1px solid var(--line-2); border-radius: 30px; background: linear-gradient(180deg, rgba(24, 24, 32, .86), rgba(12, 12, 17, .92)); box-shadow: 0 80px 140px -60px #000, 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.gr-demo::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(100deg, var(--seo), transparent 38%, transparent 62%, var(--ai)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9; }
.gr-demo::after { content: ""; position: absolute; left: 8%; right: 8%; top: -70px; height: 140px; z-index: -2; background: linear-gradient(90deg, var(--seo-2), var(--ai)); filter: blur(90px); opacity: .35; }
.gr-demo__bar { display: flex; align-items: center; gap: 14px; margin: 14px; padding: 15px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0, 0, 0, .38); color: var(--muted); }
.gr-demo__bar > .gr-i { width: 20px; height: 20px; }
.gr-demo__q { flex: 1; min-width: 0; color: var(--ink); font-size: clamp(16px, 1.7vw, 20px); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -3px; background: var(--ink); animation: gr-blink 1s steps(2) infinite; }
@keyframes gr-blink { 50% { opacity: 0; } }
.gr-demo__tag { flex: none; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.gr-demo__cols { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
.gr-demo__col { padding: 16px 28px 30px; min-width: 0; }
.gr-demo__col.is-ai { border-left: 1px solid var(--line); }
.gr-demo__col header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.gr-demo__col header small { color: var(--faint); font-size: 13px; }
.gr-serp { display: grid; gap: 8px; }
.gr-serp li { padding: 12px 14px; border: 1px solid transparent; border-radius: 16px; transition: opacity .45s, transform .45s var(--ease); }
.gr-serp li.is-you { border-color: rgba(122, 162, 255, .35); background: linear-gradient(120deg, rgba(122, 162, 255, .13), rgba(122, 162, 255, .03)); }
.gr-serp small { display: block; color: var(--faint); font-size: 12.5px; }
.gr-serp li.is-you small { color: var(--seo); }
.gr-serp b { display: block; margin: 2px 0 3px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.gr-serp span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.gr-answer { min-height: 9.6em; color: var(--soft); font-size: 15.5px; line-height: 1.65; }
.gr-answer .w { opacity: 0; animation: gr-word .35s forwards; }
@keyframes gr-word { to { opacity: 1; } }
.gr-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gr-sources span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; transition: opacity .4s, transform .4s var(--ease); }
.gr-sources b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--ink); font-size: 11px; }
.gr-sources .is-you { border-color: rgba(255, 138, 91, .45); background: rgba(255, 138, 91, .1); color: var(--ink); }
.gr-sources .is-you b { background: var(--ai); color: #1c0d05; }
.gr-demo .is-wait { opacity: 0; transform: translateY(8px); }

/* Bandeau des moteurs et assistants */
.gr-marquee { margin-top: 90px; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.gr-marquee__track { display: flex; width: max-content; animation: gr-slide 44s linear infinite; }
.gr-marquee ul { display: flex; align-items: center; }
.gr-marquee li { display: inline-flex; align-items: center; color: var(--faint); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.gr-marquee li::after { content: ""; width: 6px; height: 6px; margin: 0 clamp(22px, 3vw, 44px); border-radius: 50%; background: var(--line-2); }
@keyframes gr-slide { to { transform: translateX(-50%); } }

/* 5. Sections --------------------------------------------------------------------------------------- */
.gr-section { padding: 140px 0 0; }
.gr-section.is-tight { padding-top: 80px; }
.gr-head { max-width: 800px; margin-bottom: 64px; }
.gr-head h2 { font-size: clamp(34px, 5.2vw, 68px); }
.gr-head > p:not(.gr-surtitre), .gr-head > div > p:not(.gr-surtitre) { max-width: 600px; margin-top: 22px; color: var(--muted); font-size: 18.5px; }
.gr-head.is-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; }

/* Carte : halo qui suit la souris */
[data-gr-spot] { position: relative; isolation: isolate; }
[data-gr-spot]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .09), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
[data-gr-spot]:hover::before { opacity: 1; }

/* Deux portes d'entrée */
.gr-versus { border: 1px solid var(--line); border-radius: 30px; background: var(--card); overflow: hidden; }
.gr-versus__head, .gr-versus__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); }
.gr-versus__side { display: block; padding: 30px 30px 28px; border-left: 1px solid var(--line); transition: background .3s; }
.gr-versus__side small { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.gr-versus__side b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.gr-versus__side span { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.gr-versus__side.is-seo { background: linear-gradient(180deg, rgba(122, 162, 255, .16), rgba(122, 162, 255, .04)); }
.gr-versus__side.is-seo small { color: #0b1433; background: var(--seo); }
.gr-versus__side.is-ai { background: linear-gradient(180deg, rgba(255, 138, 91, .16), rgba(255, 138, 91, .04)); }
.gr-versus__side.is-ai small { color: #1c0d05; background: var(--ai); }
.gr-versus__side:hover { filter: brightness(1.25); }
.gr-versus__row { border-top: 1px solid var(--line); }
.gr-versus__row > span { padding: 22px 30px; font-size: 16.5px; line-height: 1.45; }
.gr-versus__row > span + span { border-left: 1px solid var(--line); }
.gr-versus__label { color: var(--muted); font-size: 14.5px !important; }
.gr-versus__row .is-seo { background: rgba(122, 162, 255, .035); }
.gr-versus__row .is-ai { background: rgba(255, 138, 91, .035); }

/* Parcours d'une page */
.gr-path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gr-path__line { position: absolute; top: 27px; left: 27px; right: calc(20% - 40px); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.gr-path__line i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--flow, 0)); transition: transform .25s linear; }
.gr-path__step { position: relative; padding-right: 8px; }
.gr-path__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 18px; font-weight: 600; transition: color .4s, border-color .4s, box-shadow .4s, background .4s; }
.gr-path__step.is-done .gr-path__n { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--seo), var(--mix)); box-shadow: 0 0 0 6px rgba(122, 162, 255, .12), 0 14px 30px -12px var(--seo-2); }
.gr-path__step.is-seo.is-done .gr-path__n { background: linear-gradient(135deg, var(--seo), var(--seo-2)); }
.gr-path__step.is-ai.is-done .gr-path__n { color: #1c0d05; background: linear-gradient(135deg, var(--ai-2), var(--ai)); box-shadow: 0 0 0 6px rgba(255, 138, 91, .12), 0 14px 30px -12px var(--ai); }
.gr-path h3 { font-size: 23px; letter-spacing: -.03em; }
.gr-path p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.gr-path small { display: inline-block; margin-top: 14px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--faint); font-size: 12px; }
.gr-path__step.is-seo small { color: var(--seo); border-color: rgba(122, 162, 255, .3); }
.gr-path__step.is-ai small { color: var(--ai); border-color: rgba(255, 138, 91, .3); }

/* Fondamentaux */
.gr-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gr-tile { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.gr-tile:hover { border-color: var(--line-2); }
.gr-tile.is-vitals { grid-column: span 4; }
.gr-tile.is-trust { grid-column: span 2; }
.gr-tile.is-data, .gr-tile.is-files, .gr-tile.is-links, .gr-tile.is-index { grid-column: span 3; }
.gr-tile__kind { color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gr-tile h3 { margin: 10px 0 24px; font-size: clamp(22px, 2.3vw, 28px); letter-spacing: -.03em; }
.gr-tile > p:not(.gr-tile__kind) { margin-top: auto; padding-top: 20px; color: var(--muted); font-size: 15px; }
.gr-tile__foot { color: var(--faint) !important; font-size: 13.5px !important; }
.gr-vitals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gr-vitals.is-inline { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.gr-vital { position: relative; text-align: center; }
.gr-vital svg { display: block; width: 100%; max-width: 190px; margin-inline: auto; fill: none; stroke-width: 9; stroke-linecap: round; }
.gr-vital__bg { stroke: rgba(255, 255, 255, .08); }
.gr-vital__fg { stroke: var(--ok); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fill, .5)); transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.gr-js [data-gr-reveal]:not(.is-in) .gr-vital__fg { stroke-dashoffset: 1; }
.gr-vital b { display: block; margin-top: -34px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.04em; }
.gr-vital span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.gr-vital small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.gr-code { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .35); color: var(--soft); font-size: 13px; line-height: 1.75; overflow-x: auto; }
.gr-code b { color: var(--seo); font-weight: 400; }
.gr-code u { color: var(--ai-2); text-decoration: none; }
.gr-code i { color: var(--faint); font-style: normal; }
.gr-eeat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gr-eeat li { padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--soft); font-size: 15px; }
.gr-eeat b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5em; line-height: 1; margin-right: 1px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr-files li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.gr-files li:first-child { border-top: 0; padding-top: 0; }
.gr-files code { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--ink); font-size: 13.5px; }
.gr-files span { color: var(--muted); font-size: 14.5px; text-align: right; }
.gr-graph { width: 100%; max-height: 150px; }
.gr-graph__lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.gr-graph__lines .is-missing { stroke: var(--ai); stroke-dasharray: 4 5; opacity: .7; }
.gr-graph__nodes circle { fill: var(--seo); }
.gr-graph__nodes circle:first-child { fill: var(--ink); }
.gr-graph__nodes .is-orphan { fill: var(--card); stroke: var(--ai); stroke-width: 1.5; }
.gr-states { display: grid; gap: 8px; }
.gr-states li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; color: var(--soft); }
.gr-states i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.gr-states .is-ok i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.gr-states .is-warn i { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.gr-states .is-bad i { background: var(--bad); box-shadow: 0 0 10px var(--bad); }

/* Annuaire des robots IA */
.gr-bots { border: 1px solid var(--line); border-radius: 30px; background: var(--card); overflow: hidden; }
.gr-bots__filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.gr-bots__filters button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s, border-color .2s; }
.gr-bots__filters button:hover { color: var(--ink); border-color: var(--line-2); }
.gr-bots__filters button.is-on { color: #0a0a0d; background: var(--ink); border-color: var(--ink); }
.gr-bots__filters i, .gr-bot__kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.is-train { --k: var(--ai); } .is-search { --k: var(--seo); } .is-user { --k: var(--ok); } .is-token { --k: var(--mix); }
.gr-bots__filters i[class], .gr-bot__kind i { background: var(--k); }
.gr-bot { display: grid; grid-template-columns: 210px 130px 180px minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px 24px; border-top: 1px solid var(--line); transition: background .2s; }
.gr-bot:first-child { border-top: 0; }
.gr-bot:hover { background: rgba(255, 255, 255, .03); }
.gr-bot[hidden] { display: none; }
.gr-bot code { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.gr-bot__maker { color: var(--soft); font-size: 15px; }
.gr-bot__kind { display: inline-flex; align-items: center; gap: 9px; color: var(--k); font-size: 14px; font-weight: 600; }
.gr-bot__text { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.gr-bots__note { padding: 16px 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }

/* Méthode */
.gr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gr-step { padding: 30px 28px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .3s, transform .4s var(--ease); }
.gr-step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.gr-step__n { display: block; margin-bottom: 44px; font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gr-step h3 { font-size: 26px; letter-spacing: -.03em; }
.gr-step p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* Lexique */
.gr-lexique { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 4px; }
.gr-term { padding: 30px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.gr-term:hover { background: rgba(255, 255, 255, .025); }
.gr-term dt { font-size: 25px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.gr-term dt small { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; letter-spacing: 0; color: var(--muted); }
.gr-term dd { margin-top: 16px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Articles */
.gr-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gr-card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.gr-card a:hover { border-color: var(--line-2); transform: translateY(-4px); }
.gr-card__img { display: block; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.gr-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gr-card a:hover img { transform: scale(1.04); }
.gr-card__ph { display: grid; place-items: center; height: 100%; font-family: var(--serif); font-style: italic; font-size: 80px; color: var(--line-2); background: radial-gradient(circle at 30% 20%, rgba(122, 162, 255, .16), transparent 60%), radial-gradient(circle at 80% 90%, rgba(255, 138, 91, .14), transparent 60%); }
.gr-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 28px; }
.gr-card__body small { color: var(--faint); font-size: 13px; }
.gr-card__body b { font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.gr-card__body span { color: var(--muted); font-size: 15px; }
.gr-pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.gr-pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.gr-pager .current, .gr-pager a:hover { color: #0a0a0d; background: var(--ink); border-color: var(--ink); }
.gr-empty { color: var(--muted); font-size: 18px; }
.gr-cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gr-cover img { width: 100%; }

/* Questions */
.gr-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.gr-faq .gr-head { position: sticky; top: 130px; margin: 0; }
.gr-faq__list { border-top: 1px solid var(--line); }
.gr-faq__item { border-bottom: 1px solid var(--line); }
.gr-faq__item summary { position: relative; padding: 26px 50px 26px 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; cursor: pointer; list-style: none; }
.gr-faq__item summary::-webkit-details-marker { display: none; }
.gr-faq__item summary::before, .gr-faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.gr-faq__item summary::after { transform: rotate(90deg); }
.gr-faq__item[open] summary::after { transform: rotate(0); }
.gr-faq__item p { padding: 0 50px 28px 0; color: var(--muted); font-size: 16.5px; }

/* Ligne des outils, appel final */
.gr-toolsline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .02); }
.gr-toolsline p { color: var(--muted); font-size: 15.5px; }
.gr-toolsline p b { color: var(--ink); font-weight: 600; }
.gr-toolsline ul { display: flex; flex-wrap: wrap; gap: 6px; margin-right: auto; }
.gr-toolsline li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: 14px; transition: border-color .2s, color .2s; }
.gr-toolsline li a:hover { color: var(--ink); border-color: var(--hue); }
.gr-toolsline li i { width: 7px; height: 7px; border-radius: 50%; background: var(--hue); }
.gr-toolsline .gr-link { font-size: 15px; }
.gr-cta { padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 90px); border: 1px solid var(--line-2); border-radius: 40px; text-align: center; overflow: hidden; background:
  radial-gradient(600px 320px at 12% 0%, rgba(84, 104, 255, .32), transparent 70%),
  radial-gradient(600px 320px at 88% 100%, rgba(255, 138, 91, .26), transparent 70%), var(--card); }
.gr-cta h2 { font-size: clamp(36px, 6vw, 84px); }
.gr-cta > p:not(.gr-surtitre) { max-width: 560px; margin: 24px auto 38px; color: var(--soft); font-size: 18.5px; }

/* 6. Guides -------------------------------------------------------------------------------------- */
.gr-guide.is-seo { --tone: var(--seo); --tone-2: var(--seo-2); }
.gr-guide.is-ai { --tone: var(--ai); --tone-2: var(--ai-2); }
.gr-guide.is-seo h1 em { background: linear-gradient(100deg, var(--seo), var(--mix)); -webkit-background-clip: text; background-clip: text; }
.gr-guide.is-ai h1 em { background: linear-gradient(100deg, var(--ai), var(--ai-2)); -webkit-background-clip: text; background-clip: text; }
.gr-guide .gr-dot { background: var(--tone); box-shadow: 0 0 12px var(--tone); }
.gr-guide__top { max-width: 900px; margin-left: max(22px, calc((100% - 1200px) / 2)); }
.gr-guide__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.gr-guide__meta span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13.5px; }
.gr-guide__grid { display: grid; grid-template-columns: 270px minmax(0, 720px); gap: 70px; align-items: start; }
.gr-toc { position: sticky; top: 120px; padding-left: 20px; }
.gr-toc > p { margin-bottom: 14px; color: var(--faint); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gr-toc ol { counter-reset: toc; display: grid; gap: 2px; }
.gr-toc li { counter-increment: toc; }
.gr-toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--muted); font-size: 14.5px; line-height: 1.35; transition: color .2s; }
.gr-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.gr-toc a:hover, .gr-toc a.is-active { color: var(--ink); }
.gr-toc a.is-active::before { color: var(--tone); }
.gr-toc__bar { position: absolute; left: 0; top: 34px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.gr-toc__bar i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--tone), var(--tone-2)); transform-origin: 50% 0; transform: scaleY(var(--read, 0)); }
.gr-chapter { position: relative; padding: 0 0 70px; margin-bottom: 70px; border-bottom: 1px solid var(--line); }
.gr-chapter:last-of-type { border-bottom: 0; margin-bottom: 0; }
.gr-chapter__n { display: block; margin-bottom: 14px; font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: var(--tone); opacity: .9; }
.gr-chapter h2 { margin-bottom: 26px; font-size: clamp(30px, 3.8vw, 46px); }
.gr-chapter p { margin-top: 18px; color: var(--soft); font-size: 18px; line-height: 1.72; }
.gr-chapter__lead { color: var(--ink) !important; font-size: 20.5px !important; line-height: 1.6 !important; letter-spacing: -.01em; }
.gr-points { display: grid; gap: 10px; margin-top: 30px; }
.gr-points li { display: flex; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--soft); font-size: 16px; line-height: 1.5; }
.gr-points .gr-i { margin-top: 3px; color: var(--tone); }
.gr-note { margin-top: 26px !important; padding: 20px 24px; border-left: 2px solid var(--tone); border-radius: 0 16px 16px 0; background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 12%, transparent), transparent); font-size: 16.5px !important; }
.gr-note b { display: block; margin-bottom: 4px; color: var(--tone); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gr-next { position: relative; display: grid; gap: 10px; padding: clamp(30px, 5vw, 56px); padding-right: clamp(80px, 12vw, 160px); border: 1px solid var(--line-2); border-radius: 34px; background: var(--card); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.gr-next.is-seo { background: radial-gradient(500px 260px at 100% 0, rgba(84, 104, 255, .3), transparent 70%), var(--card); }
.gr-next.is-ai { background: radial-gradient(500px 260px at 100% 0, rgba(255, 138, 91, .28), transparent 70%), var(--card); }
.gr-next:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); }
.gr-next small { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gr-next b { font-size: clamp(30px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.gr-next span { max-width: 620px; color: var(--muted); font-size: 16.5px; }
.gr-next > i { position: absolute; right: clamp(24px, 4vw, 50px); top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%; background: var(--ink); color: #0a0a0d; font-size: 22px; transition: transform .4s var(--ease); }
.gr-next:hover > i { transform: translateX(6px); }

/* Texte libre (articles, pages) */
.gr-prose { color: var(--soft); font-size: 18px; line-height: 1.75; }
.gr-prose > * + * { margin-top: 1.2em; }
.gr-prose h2 { margin-top: 2em; font-size: clamp(27px, 3.2vw, 38px); color: var(--ink); }
.gr-prose h3 { margin-top: 1.7em; font-size: 24px; color: var(--ink); }
.gr-prose a { color: var(--ink); border-bottom: 1px solid var(--seo); }
.gr-prose ul, .gr-prose ol { padding-left: 1.3em; }
.gr-prose ul { list-style: disc; }
.gr-prose ol { list-style: decimal; }
.gr-prose li + li { margin-top: .4em; }
.gr-prose blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--mix); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--ink); }
.gr-prose img { border-radius: 18px; }
.gr-prose code { padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); font-size: .88em; }
.gr-prose pre { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .4); overflow-x: auto; font-size: 14px; }
.gr-prose pre code { padding: 0; background: none; }
.gr-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.gr-prose th, .gr-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }

/* Formulaire de contact */
.gr-form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 30px; background: var(--card); }
.gr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gr-form label { display: grid; gap: 8px; }
.gr-form label > span { color: var(--soft); font-size: 14.5px; font-weight: 500; }
.gr-form label small { color: var(--faint); font-weight: 400; }
.gr-form input, .gr-form textarea { width: 100%; padding: 15px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(0, 0, 0, .3); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.gr-form input:focus, .gr-form textarea:focus { outline: 0; border-color: var(--seo); box-shadow: 0 0 0 4px rgba(122, 162, 255, .16); }
.gr-form textarea { resize: vertical; min-height: 150px; }
.gr-form .gr-btn { justify-self: start; }
.gr-form__note { color: var(--faint); font-size: 13.5px; }
.gr-hp { position: absolute !important; left: -9999px; }

/* 7. Outils ---------------------------------------------------------------------------------------- */
.gr-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gr-tool { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: radial-gradient(360px 200px at 100% 0, color-mix(in srgb, var(--hue) 22%, transparent), transparent 70%), var(--card); transition: border-color .3s, transform .4s var(--ease); }
.gr-tool:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--hue) 55%, transparent); }
.gr-tool__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.gr-tool__top .gr-mark { width: 52px; height: 52px; border-radius: 17px; font-size: 14px; }
.gr-tool__top small { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12.5px; }
.gr-tool > b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.gr-tool__tag { margin-top: 10px; color: var(--soft); font-size: 16.5px; line-height: 1.45; }
.gr-tool ul { display: grid; gap: 8px; margin: 24px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.gr-tool li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.gr-tool li .gr-i { color: var(--hue); }
.gr-tool__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; font-size: 15px; }
.gr-tool__more .gr-i { transition: transform .3s var(--ease); }
.gr-tool:hover .gr-tool__more .gr-i { transform: translateX(5px); }
.gr-toolhead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 50px; align-items: center; }
.gr-emblem { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 400px; margin-inline: auto; width: 100%; }
.gr-emblem__halo { position: absolute; inset: 8%; border-radius: 50%; background: var(--hue); filter: blur(80px); opacity: .4; }
.gr-emblem__ring { position: absolute; inset: 6%; border: 1px solid color-mix(in srgb, var(--hue) 40%, transparent); border-radius: 50%; animation: gr-spin 40s linear infinite; }
.gr-emblem__ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 16px var(--hue); }
.gr-emblem__ring.is-2 { inset: 20%; border-style: dashed; opacity: .6; animation-duration: 26s; animation-direction: reverse; }
@keyframes gr-spin { to { transform: rotate(360deg); } }
.gr-emblem__tile { position: relative; display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 28%; background: linear-gradient(145deg, color-mix(in srgb, var(--hue) 78%, #fff), var(--hue) 45%, color-mix(in srgb, var(--hue) 50%, #000)); box-shadow: 0 50px 80px -30px var(--hue), 0 2px 0 rgba(255, 255, 255, .45) inset, 0 -10px 30px rgba(0, 0, 0, .25) inset; transform: perspective(700px) rotateX(calc(var(--ty, 0) * 1.4deg)) rotateY(calc(var(--tx, 0) * 1.4deg)); transition: transform .3s var(--ease); }
.gr-emblem__tile b { color: #fff; font-size: clamp(26px, 4vw, 46px); font-weight: 700; letter-spacing: -.03em; text-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.gr-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gr-feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .3s, transform .4s var(--ease); }
.gr-feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--hue) 50%, transparent); }
.gr-feature__n { display: block; margin-bottom: 30px; font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--hue); }
.gr-feature b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.gr-feature p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.gr-features + .gr-prose { max-width: 760px; margin-top: 60px; }
.gr-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gr-other { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); transition: border-color .3s, transform .3s var(--ease); }
.gr-other:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--hue) 50%, transparent); }
.gr-other > span:nth-child(2) { flex: 1; min-width: 0; }
.gr-other b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.gr-other small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.gr-other > .gr-i { color: var(--muted); }

/* Aperçu de GenRankHub (données d'exemple) */
.gr-mock { position: relative; margin: 0 auto 30px; max-width: 1060px; border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(180deg, #14141b, #0b0b10); box-shadow: 0 60px 120px -50px rgba(139, 123, 255, .5); transform: perspective(1400px) rotateX(calc(var(--lift, 0) * 14deg)) scale(calc(1 - var(--lift, 0) * .05)); transform-origin: 50% 0; transition: transform .2s linear; }
.gr-mock__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.gr-mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.gr-mock__bar span { margin-left: 12px; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 13px; }
.gr-mock__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 380px; }
.gr-mock__side { display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; border-right: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.gr-mock__side .gr-brand__mark { margin: 0 0 14px 10px; }
.gr-mock__side span { padding: 8px 12px; border-radius: 10px; }
.gr-mock__side .is-on { background: rgba(255, 255, 255, .08); color: #fff; }
.gr-mock__main { padding: 20px 22px; overflow-x: auto; }
.gr-mock__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.gr-mock__kpis div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.gr-mock__kpis small { display: block; color: var(--muted); font-size: 12.5px; }
.gr-mock__kpis b { font-size: 26px; letter-spacing: -.03em; }
.gr-mock__kpis b.is-warn { color: var(--warn); }
.gr-mock table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.gr-mock th { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 500; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
.gr-mock td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .04); color: var(--muted); }
.gr-mock td b { color: var(--ink); font-weight: 600; }
.gr-mock__feed { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.gr-mock__note { position: absolute; right: 16px; bottom: -28px; color: var(--faint); font-size: 12.5px; }
.gr-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13.5px; }
.gr-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.gr-state.is-ok i { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.gr-state.is-warn i { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.gr-state.is-error i { background: var(--bad); box-shadow: 0 0 10px var(--bad); }

/* 8. Pied de page ------------------------------------------------------------------------------------ */
.gr-foot { position: relative; margin-top: 150px; padding-top: 80px; border-top: 1px solid var(--line); overflow: hidden; }
.gr-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.gr-foot__brand p { max-width: 330px; margin-top: 18px; color: var(--muted); font-size: 15.5px; }
.gr-foot h2 { margin-bottom: 18px; color: var(--faint); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gr-foot ul { display: grid; gap: 10px; }
.gr-foot li a { color: var(--soft); font-size: 15.5px; transition: color .2s; }
.gr-foot li a:hover { color: var(--ink); }
.gr-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 70px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.gr-foot__giant { margin: 10px 0 -5.5vw; font-size: 23.5vw; font-weight: 700; letter-spacing: -.07em; line-height: .8; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 78%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }

/* 9. Apparitions (posées par le script : sans JS, tout est visible) ----------------------------------- */
.gr-js [data-gr-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.gr-js [data-gr-reveal].is-in { opacity: 1; transform: none; }
.gr-js .gr-mock[data-gr-reveal].is-in { transform: perspective(1400px) rotateX(calc(var(--lift, 0) * 14deg)) scale(calc(1 - var(--lift, 0) * .05)); }
.gr-js .gr-ouverture h1 { animation: gr-rise 1.1s var(--ease) both; }
@keyframes gr-rise { from { opacity: 0; transform: translateY(30px); filter: blur(10px); } }

/* 10. Écrans étroits ----------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .gr-path { grid-template-columns: 1fr; gap: 0; }
  .gr-path__line { top: 28px; bottom: 60px; left: 27px; right: auto; width: 2px; height: auto; }
  .gr-path__line i { transform-origin: 50% 0; transform: scaleY(var(--flow, 0)); }
  .gr-path__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; padding: 0 0 34px; }
  .gr-path__n { grid-row: span 3; margin: 0; }
  .gr-path h3 { align-self: center; }
  .gr-path small { justify-self: start; }
  .gr-steps { grid-template-columns: 1fr 1fr; }
  .gr-step__n { margin-bottom: 26px; }
  .gr-bot { grid-template-columns: 190px 110px minmax(0, 1fr); }
  .gr-bot__text { grid-column: 1 / -1; }
  .gr-guide__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gr-toc { position: static; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
  .gr-toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .gr-toc__bar { display: none; }
  .gr-tools, .gr-features, .gr-posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .gr-burger { display: block; margin-left: auto; }
  .gr-top__in { padding-left: 16px; }
  .gr-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 104px 22px 30px; background: rgba(8, 8, 11, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; pointer-events: auto; }
  .admin-bar .gr-nav { padding-top: 140px; }
  .gr-nav.is-open { opacity: 1; visibility: visible; }
  .gr-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gr-nav__list > li { border-bottom: 1px solid var(--line); }
  .gr-nav__list > li > a, .gr-nav__toggle { width: 100%; justify-content: space-between; padding: 20px 4px; border-radius: 0; color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
  .gr-nav__list > li > a:hover, .gr-nav__toggle:hover, .gr-nav__toggle[aria-expanded="true"] { background: none; }
  .gr-panel { position: static; width: auto; max-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; overflow: hidden; backdrop-filter: none; -webkit-backdrop-filter: none; transition: max-height .4s var(--ease); }
  .gr-nav__toggle[aria-expanded="true"] + .gr-panel { max-height: 700px; padding-bottom: 14px; }
  .gr-panel__grid { grid-template-columns: 1fr; }
  .gr-nav__cta { margin-top: 26px; min-height: 54px; font-size: 16px; }
  .gr-ouverture, .gr-ouverture.is-page { padding-top: 150px; }
  .gr-section { padding-top: 100px; }
  .gr-head { margin-bottom: 44px; }
  .gr-head.is-row { flex-direction: column; align-items: flex-start; }
  .gr-demo { margin-top: 60px; border-radius: 24px; }
  .gr-demo__cols { grid-template-columns: 1fr; }
  .gr-demo__col { padding: 12px 18px 22px; }
  .gr-demo__col.is-ai { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .gr-demo__tag { display: none; }
  .gr-answer { min-height: 11.5em; }
  .gr-marquee { margin-top: 60px; }
  .gr-versus__head { grid-template-columns: 1fr 1fr; }
  .gr-versus__head > span:first-child { display: none; }
  .gr-versus__side { padding: 22px 18px; }
  .gr-versus__side:nth-child(2) { border-left: 0; }
  .gr-versus__row { grid-template-columns: 1fr 1fr; }
  .gr-versus__label { grid-column: 1 / -1; padding: 16px 18px 0 !important; color: var(--faint); font-size: 12.5px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: none; }
  .gr-versus__row > span:not(.gr-versus__label) { padding: 10px 18px 20px; font-size: 15.5px; }
  .gr-versus__row > .is-seo { border-left: 0 !important; }
  .gr-bento { grid-template-columns: 1fr; }
  .gr-tile.is-vitals, .gr-tile.is-trust, .gr-tile.is-data, .gr-tile.is-files, .gr-tile.is-links, .gr-tile.is-index { grid-column: auto; }
  .gr-tile { padding: 24px; }
  .gr-lexique { grid-template-columns: 1fr 1fr; }
  .gr-faq { grid-template-columns: 1fr; gap: 0; }
  .gr-faq .gr-head { position: static; margin-bottom: 36px; }
  .gr-toolhead { grid-template-columns: 1fr; }
  .gr-emblem { order: -1; max-width: 240px; margin: 0 0 10px; }
  .gr-foot__grid { grid-template-columns: 1fr 1fr; }
  .gr-foot__brand { grid-column: 1 / -1; }
  .gr-mock__body { grid-template-columns: 1fr; }
  .gr-mock__side { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .gr-wrap, .gr-narrow { width: calc(100% - 36px); }
  .gr-ouverture__in { text-align: left; }
  .gr-ouverture__in .gr-actions { justify-content: flex-start; }
  .gr-ouverture__in .gr-lead { margin-inline: 0; }
  .gr-actions .gr-btn { width: 100%; }
  .gr-btn { white-space: normal; text-align: center; padding-block: 12px; }
  .gr-vitals { grid-template-columns: 1fr; gap: 26px; }
  .gr-vitals.is-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 10px; gap: 6px; }
  .gr-vital svg { max-width: 170px; }
  .gr-vitals.is-inline .gr-vital b { margin-top: -22px; font-size: 18px; }
  .gr-vitals.is-inline .gr-vital span { font-size: 11.5px; }
  .gr-steps, .gr-lexique, .gr-tools, .gr-features, .gr-posts, .gr-others, .gr-form__row { grid-template-columns: 1fr; }
  .gr-bot { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px 18px; }
  .gr-bot__maker { text-align: right; }
  .gr-bot__kind, .gr-bot__text { grid-column: 1 / -1; }
  .gr-bots__filters { padding: 16px 18px; }
  .gr-bots__filters button { padding: 7px 13px; font-size: 13.5px; }
  .gr-toc ol { grid-template-columns: 1fr; }
  .gr-chapter { padding-bottom: 50px; margin-bottom: 50px; }
  .gr-chapter p { font-size: 17px; }
  .gr-chapter__lead { font-size: 18.5px !important; }
  .gr-next > i { position: static; margin-top: 10px; width: 52px; height: 52px; }
  .gr-next { padding-right: clamp(30px, 5vw, 56px); }
  .gr-toolsline { padding: 20px; }
  .gr-cta { border-radius: 30px; }
  .gr-foot { margin-top: 100px; padding-top: 56px; }
  .gr-files span { font-size: 13.5px; }
  .gr-mock__kpis b { font-size: 21px; }
}

/* 11. Moins d'animations si demandé ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gr-js [data-gr-reveal] { opacity: 1; transform: none; }
  .gr-marquee__track { animation: none; }
  .gr-mock { transform: none; }
}
