/* GGG Pro Agency - retouches page par page sur le site d'origine (blanc).
   Ne change ni les couleurs ni le contenu : typo des titres, valeurs, carte licence 3D, blog. */

:root {
  --rf-ink: #1e293b;      /* ggg-800 */
  --rf-muted: #475569;    /* ggg-600 */
  --rf-line: #e2e8f0;     /* ggg-200 */
  --rf-gold: #ca8a04;     /* accent-600 */
  --rf-gold-deep: #a16207;/* accent-700 */
  --rf-gold-soft: #fde68a;
  --rf-navy: #0f172a;
  --rf-ease: cubic-bezier(.2, .7, .2, 1);
  --rf-display: "Archivo", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 1. titres : Archivo large et gras (alphabet latin seulement) ---------- */
html.rf-latin h1,
html.rf-latin h2 {
  font-family: var(--rf-display);
  font-stretch: 112%;
  letter-spacing: -0.025em;
}
html.rf-latin h2 { font-weight: 800; }
html.rf-latin h3 {
  font-family: var(--rf-display);
  font-stretch: 106%;
  letter-spacing: -0.01em;
}

/* ---------- 2. accueil, "Nos Valeurs" : les mots font le travail ---------- */
.grid:has(> .group > div > .text-6xl) {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--rf-line);
  text-align: start;
}
.grid:has(> .group > div > .text-6xl) > .group > div {
  background: transparent;
  box-shadow: none !important;
  border: 0;
  border-bottom: 1px solid var(--rf-line);
  border-radius: 0;
  padding: clamp(26px, 4vw, 44px) 0;
  overflow: visible;
  transform: none !important;
}
/* voile au survol, chiffre fantome 1/2/3, cadre au survol */
.grid:has(> .group > div > .text-6xl) > .group > div > .absolute { display: none; }
.grid:has(> .group > div > .text-6xl) > .group > div > .relative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34ch);
  gap: 12px 40px;
  align-items: end;
}
.grid:has(> .group > div > .text-6xl) h3 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.9rem, 7.4vw, 4.6rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--rf-ink);
  overflow-wrap: normal; word-break: normal; hyphens: none;
  transition: color .4s var(--rf-ease);
}
html.rf-latin .grid:has(> .group > div > .text-6xl) h3 { font-stretch: 106%; }
.grid:has(> .group > div > .text-6xl) > .group:hover h3 { color: var(--rf-gold-deep); }
.grid:has(> .group > div > .text-6xl) p {
  color: var(--rf-muted);
  padding-bottom: .4em;
}
@media (max-width: 760px) {
  .grid:has(> .group > div > .text-6xl) > .group > div > .relative { grid-template-columns: minmax(0, 1fr); }
  .grid:has(> .group > div > .text-6xl) p { padding-bottom: 0; }
  /* ka : « მიზანდასახულობა » est très long, on réduit pour qu'il tienne sur une ligne */
  html.rf-ka .grid:has(> .group > div > .text-6xl) h3 { font-size: clamp(1.7rem, 8vw, 2.6rem); letter-spacing: -0.03em; }
}

/* ---------- 3. licence : la carte FIFA en 3D ---------- */
figure:has(> a > img[src*="licence-fifa-2026"]) { perspective: 1400px; }
a:has(> img[src*="licence-fifa-2026"]) {
  position: relative;
  display: block;
  border-radius: 1rem;
  transform-style: preserve-3d;
  transform: rotateX(var(--rf-rx, 5deg)) rotateY(var(--rf-ry, -9deg));
  transition: transform .6s var(--rf-ease);
}
a.rf-live:has(> img[src*="licence-fifa-2026"]) { transition: transform .12s linear; }
a:has(> img[src*="licence-fifa-2026"]) > img {
  position: relative;
  transform: translateZ(10px);
  box-shadow: 0 50px 80px -40px rgba(15, 23, 42, .45), 0 18px 30px -18px rgba(15, 23, 42, .35);
}
/* tranche doree : donne de l'epaisseur quand la carte penche */
a:has(> img[src*="licence-fifa-2026"])::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f3c969, var(--rf-gold-deep));
}
/* reflet qui suit la souris */
a:has(> img[src*="licence-fifa-2026"])::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  pointer-events: none;
  transform: translateZ(11px);
  mix-blend-mode: soft-light;
  background: radial-gradient(60% 60% at var(--rf-gx, 30%) var(--rf-gy, 20%), rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 60%);
  opacity: var(--rf-go, .5);
  transition: opacity .4s var(--rf-ease);
}
@media (prefers-reduced-motion: reduce) {
  a:has(> img[src*="licence-fifa-2026"]) { transition: none; }
}

/* ---------- 4. blog ---------- */
/* le contenu React du blog est cache, le notre le remplace */
section#blog:has(> .rf-blog) > :not(.rf-blog) { display: none !important; }
section#blog:has(> .rf-blog) { padding-top: clamp(24px, 4vw, 48px); }
/* les "Pages piliers" passent sous les articles */
div.min-h-screen:has(> section > section#blog > .rf-blog) { display: flex; flex-direction: column; }
div.min-h-screen:has(> section > section#blog > .rf-blog) > section:has(> section#blog) { order: 1; }
div.min-h-screen:has(> section > section#blog > .rf-blog) > section:not(:has(> section#blog)) { order: 2; }

.rf-blog {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--rf-ink);
}
@media (min-width: 1024px) { .rf-blog { padding: 0 32px; } }

.rf-bhead h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--rf-ink);
}
.rf-lead {
  margin-top: 18px;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--rf-muted);
}

.rf-tools {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rf-line);
  border-bottom: 1px solid var(--rf-line);
}
.rf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-line);
  background: #fff;
  color: var(--rf-ink);
  font: 600 .93rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.rf-chip:hover { border-color: var(--rf-ink); }
.rf-chip[aria-pressed="true"] { background: var(--rf-ink); border-color: var(--rf-ink); color: #fff; }
.rf-chip small { font-weight: 500; opacity: .65; margin-inline-start: 4px; font-size: .85em; }
.rf-chip:focus-visible,
.rf-search input:focus-visible,
.rf-more button:focus-visible,
.rf-post:focus-visible,
.rf-feat:focus-visible { outline: 3px solid var(--rf-gold); outline-offset: 3px; }

.rf-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.rf-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  padding-inline-start: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--rf-line);
  background: #fff;
  color: var(--rf-ink);
  font: 400 .97rem Inter, system-ui, sans-serif;
}
.rf-search input:focus { outline: none; border-color: var(--rf-ink); box-shadow: 0 0 0 3px rgba(234, 179, 8, .35); }
.rf-search svg {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: #64748b;
  pointer-events: none;
}
.rf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rf-count { margin-top: 16px; font-size: .92rem; color: #64748b; }

.rf-img { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: #f1f5f9; }
.rf-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rf-ease); }
.rf-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: #64748b; }
.rf-meta .rf-cat { color: var(--rf-gold-deep); font-weight: 700; }

.rf-feat {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--rf-line);
  color: inherit;
  text-decoration: none;
}
.rf-feat .rf-img { aspect-ratio: 16 / 10; }
.rf-feat-tag { color: var(--rf-gold-deep); font-weight: 700; font-size: .92rem; }
.rf-feat h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.02;
  font-weight: 800;
  color: var(--rf-ink);
  text-wrap: balance;
}
.rf-feat p { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--rf-muted); }
.rf-feat .rf-meta { margin-top: 18px; }
.rf-feat:hover h2 { text-decoration: underline; text-decoration-color: var(--rf-gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.rf-feat:hover .rf-img img, .rf-post:hover .rf-img img { transform: scale(1.04); }

.rf-posts {
  padding-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px clamp(20px, 3vw, 36px);
}
.rf-post { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.rf-post .rf-meta { margin-top: 16px; }
.rf-post h3 {
  margin: 8px 0 0;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--rf-ink);
  text-wrap: balance;
}
.rf-post p {
  margin-top: 8px;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--rf-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rf-post:hover h3 { text-decoration: underline; text-decoration-color: var(--rf-gold); text-underline-offset: 4px; }

.rf-empty { padding: 56px 0 8px; color: var(--rf-muted); font-size: 1.05rem; }
.rf-empty .rf-chip { margin-inline-start: 6px; }

.rf-more { display: flex; justify-content: center; margin-top: 56px; }
.rf-more button {
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--rf-ink);
  color: #fff;
  font: 700 1rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: background-color .2s;
}
.rf-more button:hover { background: var(--rf-navy); }
.rf-more[hidden] { display: none; }

@media (max-width: 900px) {
  .rf-feat { grid-template-columns: minmax(0, 1fr); }
  .rf-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rf-posts { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .rf-search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rf-img img { transition: none; }
  .rf-feat:hover .rf-img img, .rf-post:hover .rf-img img { transform: none; }
}

/* 5. Pied de page : les liens légaux passent à la ligne (mots longs en ka/ru) */
footer .flex.items-center.space-x-6{flex-wrap:wrap;justify-content:center;row-gap:.5rem}

/* 6. Pas de défilement horizontal parasite (bulles décoratives, entrées latérales, RTL) */
html,body{overflow-x:clip !important}

/* ---------- 7. accueil : le haut de page, plus net ---------- */
#hero { background: #fff !important; }
#hero > .absolute.inset-0, #hero .blur-3xl { display: none !important; }
#hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.6rem) !important; line-height: .95 !important; }
html:not(.rf-latin) #hero h1 { font-size: clamp(2.1rem, 4.2vw, 4rem) !important; line-height: 1.1 !important; }
#hero p.italic { font-style: normal; font-weight: 600; color: var(--rf-ink); font-size: clamp(1rem, 1.5vw, 1.3rem); }
#hero p.text-ggg-700 { max-width: 36em; }
/* bouton principal : pilule bleu nuit, fleche dans un rond or */
#hero a[href$="/contact"] {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 58px; padding: 0 9px 0 28px !important; padding-inline: 28px 9px !important;
  background: var(--rf-navy) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; box-shadow: none !important; transform: none !important; font-weight: 700;
}
#hero a[href$="/contact"] svg {
  box-sizing: content-box; width: 18px; height: 18px; padding: 11px; border-radius: 50%;
  background: #facc15; color: var(--rf-navy); transition: transform .3s var(--rf-ease);
}
#hero a[href$="/contact"] * { color: inherit; }
#hero a[href$="/contact"]:hover svg { transform: translateX(3px); }
html[dir="rtl"] #hero a[href$="/contact"] svg { transform: scaleX(-1); }
html[dir="rtl"] #hero a[href$="/contact"]:hover svg { transform: scaleX(-1) translateX(3px); }
/* bouton secondaire : simple lien souligne or */
#hero a[href$="/why-us"] {
  display: inline-flex; align-items: center; min-height: 58px; padding: 0 6px !important;
  background: transparent !important; color: var(--rf-ink) !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important; font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--rf-gold); text-decoration-thickness: 2px; text-underline-offset: 8px;
  transition: text-decoration-color .2s;
}
#hero a[href$="/why-us"]:hover { text-decoration-color: var(--rf-ink); }
/* les 3 chiffres : une ligne fine, separateurs, plus de cartes */
#hero .grid.grid-cols-3 { gap: 0 !important; border-top: 1px solid var(--rf-line); padding-top: 22px; text-align: start; }
#hero .grid.grid-cols-3 > * {
  background: none !important; box-shadow: none !important; border: 0; border-radius: 0 !important;
  padding: 0 18px !important; border-inline-start: 1px solid var(--rf-line); text-align: start !important; transform: none !important;
}
#hero .grid.grid-cols-3 > :first-child { border-inline-start: 0; padding-inline-start: 0 !important; }
#hero .grid.grid-cols-3 > * > :first-child {
  font-family: var(--rf-display); font-stretch: 110%; font-weight: 800; color: var(--rf-ink) !important;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem) !important; line-height: 1.1;
}
#hero .grid.grid-cols-3 > :nth-child(2) > :first-child { color: var(--rf-gold-deep) !important; }
#hero .grid.grid-cols-3 > * > :last-child { color: #64748b !important; font-size: .88rem; }
/* le logo qui tourne reste, pose sur un rond central de terrain */
#hero .relative:has(> .logo-hero-sync), #hero .relative:has(> * > .logo-hero-sync) { isolation: isolate; }
#hero .relative:has(> .logo-hero-sync)::before, #hero .relative:has(> * > .logo-hero-sync)::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(100%, 540px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(30, 41, 59, .12);
  background: radial-gradient(circle, rgba(250, 204, 21, .16), rgba(250, 204, 21, 0) 62%);
}
#hero .relative:has(> .logo-hero-sync)::after, #hero .relative:has(> * > .logo-hero-sync)::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -6%; bottom: -6%; width: 1.5px; margin-left: -.75px;
  background: linear-gradient(rgba(30, 41, 59, 0), rgba(30, 41, 59, .12) 18%, rgba(30, 41, 59, .12) 82%, rgba(30, 41, 59, 0));
}

/* ---------- 8. page "Pourquoi nous" ---------- */
[data-rf-route="/why-us"] main > .min-h-screen { background: #fff !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section > .absolute.inset-0 { display: none !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:not(:last-child) { background: transparent !important; }
[data-rf-route="/why-us"] main > .min-h-screen .text-center:is(.mb-16, .mb-12) > div:empty { display: none !important; }
/* haut de page : grand titre a gauche, texte a droite */
[data-rf-route="/why-us"] main > .min-h-screen > section:first-child { padding-bottom: clamp(40px, 6vw, 80px) !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:first-child .text-center.mb-16 {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
  text-align: start; margin-bottom: 0 !important;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:first-child h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem) !important; line-height: .92 !important; margin: 0 !important; color: var(--rf-ink);
}
html:not(.rf-latin)[data-rf-route="/why-us"] main > .min-h-screen > section:first-child h1 { font-size: clamp(2.1rem, 4.6vw, 4.2rem) !important; line-height: 1.1 !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:first-child .text-center.mb-16 > p {
  margin: 0 !important; max-width: 34em; font-size: 1.15rem !important; color: var(--rf-muted);
}
/* titres de section : trait noir au-dessus, alignes a gauche */
[data-rf-route="/why-us"] main > .min-h-screen > section:is(:nth-child(2), :nth-child(3)) .text-center:is(.mb-16, .mb-12) {
  text-align: start; border-top: 2px solid var(--rf-ink); padding-top: 20px; margin-bottom: 40px !important;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:is(:nth-child(2), :nth-child(3)) h2 {
  font-size: clamp(2rem, 4vw, 3.25rem) !important; line-height: 1 !important; margin: 0 !important; color: var(--rf-ink);
}
/* 6 avantages : plus de cartes, une liste aeree avec un rond or */
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) .grid { gap: 48px 48px !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) .group > div {
  background: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
  padding: 24px 0 0 !important; border-top: 1px solid var(--rf-line) !important; transform: none !important; height: 100%;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) .group > div > .absolute { display: none !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) .w-14.h-14 {
  width: 46px !important; height: 46px !important; background: none !important; border: 1.5px solid var(--rf-ink);
  border-radius: 50% !important; box-shadow: none !important; transform: none !important; color: var(--rf-gold-deep) !important;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) .w-14.h-14 svg { width: 20px !important; height: 20px !important; color: var(--rf-gold-deep) !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) h3 { font-size: 1.45rem !important; color: var(--rf-ink) !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(2) .group p { color: var(--rf-muted) !important; }
/* ce qui nous differencie : titre colle a gauche, 3 lignes a droite */
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) :has(> .text-center.mb-12) {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 72px; align-items: start;
  background: none !important; box-shadow: none !important; border: 0 !important;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .text-center.mb-12 { position: sticky; top: 120px; margin: 0 !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .grid { display: block !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .grid > div { text-align: start !important; border-top: 1px solid var(--rf-line); padding: 26px 0; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .grid > div:first-child { border-top: 2px solid var(--rf-ink); }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .grid > div > div {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; align-items: start;
  background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; transform: none !important;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .w-16.h-16 {
  grid-row: span 2; width: 56px !important; height: 56px !important; margin: 0 !important;
  background: var(--rf-navy) !important; box-shadow: none !important; transform: none !important;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .w-16.h-16 svg { color: #facc15 !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) h3 { margin: 4px 0 6px !important; font-size: 1.5rem !important; color: var(--rf-ink) !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .grid p { margin: 0 !important; color: var(--rf-muted) !important; }
/* appel final : bleu nuit franc, aligne a gauche */
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child { background: var(--rf-navy) !important; background-image: none !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child .relative.max-w-4xl { max-width: 80rem !important; text-align: start !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child .mb-8 > div:first-child:not(:has(h2)) { display: none !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child h2 { font-size: clamp(2.4rem, 5.4vw, 4.75rem) !important; line-height: .95 !important; color: #fff !important; }
html:not(.rf-latin)[data-rf-route="/why-us"] main > .min-h-screen > section:last-child h2 { font-size: clamp(2rem, 4vw, 3.4rem) !important; line-height: 1.15 !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child p { max-width: 38em; margin-inline: 0 !important; color: #cbd5e1 !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child .flex:has(> div > a) { justify-content: flex-start !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child a {
  min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px !important; box-shadow: none !important; transform: none !important; font-weight: 700;
}
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child a[href$="/contact"] { background: #facc15 !important; color: var(--rf-navy) !important; border: 0 !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child a[href$="/services"] { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .5) !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child a[href$="/services"]:hover { border-color: #fff !important; }
[data-rf-route="/why-us"] main > .min-h-screen > section:last-child a * { color: inherit !important; }
@media (max-width: 900px) {
  [data-rf-route="/why-us"] main > .min-h-screen > section:first-child .text-center.mb-16,
  [data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) :has(> .text-center.mb-12) { grid-template-columns: minmax(0, 1fr); }
  [data-rf-route="/why-us"] main > .min-h-screen > section:nth-child(3) .text-center.mb-12 { position: static; }
}

/* ---------- 9. accueil : derniers articles ---------- */
section:has(> .rf-latest) { background: #fff !important; padding: 0 !important; }
section:has(> .rf-latest) > :not(.rf-latest) { display: none !important; }
.rf-latest { max-width: 80rem; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 24px; color: var(--rf-ink); }
.rf-lt-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
  border-top: 2px solid var(--rf-ink); padding-top: 20px; margin-bottom: 36px;
}
.rf-lt-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; color: var(--rf-ink); }
.rf-lt-all { font-weight: 700; color: var(--rf-ink); text-decoration: underline 2px var(--rf-gold); text-underline-offset: 7px; }
.rf-lt-all:hover { text-decoration-color: var(--rf-ink); }
.rf-lt-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.rf-lt-big, .rf-lt-row { color: inherit; text-decoration: none; }
.rf-lt-big { display: block; }
.rf-lt-big .rf-img { aspect-ratio: 16 / 10; }
.rf-lt-big .rf-meta { margin-top: 18px; }
.rf-lt-big h3 { font-size: clamp(1.45rem, 2.3vw, 2.05rem); line-height: 1.12; margin: 10px 0; color: var(--rf-ink); transition: color .2s; }
.rf-lt-big p { margin: 0; color: var(--rf-muted); max-width: 40em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rf-lt-side { display: flex; flex-direction: column; }
.rf-lt-row { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--rf-line); }
.rf-lt-row:first-child { border-top: 0; padding-top: 0; }
.rf-lt-row .rf-img { aspect-ratio: 4 / 3; border-radius: 10px; }
.rf-lt-row .rf-meta { font-size: .8rem; }
.rf-lt-row .rf-meta > span:not(.rf-cat) { display: none; }
.rf-lt-row h3 { margin: 6px 0 0; font-size: 1.12rem; line-height: 1.3; color: var(--rf-ink); transition: color .2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rf-lt-big:hover h3, .rf-lt-row:hover h3 { color: var(--rf-gold-deep); }
.rf-lt-big:hover .rf-img img, .rf-lt-row:hover .rf-img img { transform: scale(1.04); }
.rf-lt-big:focus-visible, .rf-lt-row:focus-visible, .rf-lt-all:focus-visible { outline: 3px solid #facc15; outline-offset: 4px; border-radius: 6px; }
@media (max-width: 860px) {
  .rf-lt-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rf-lt-row { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .rf-lt-row:first-child { border-top: 1px solid var(--rf-line); padding-top: 22px; }
}

/* ---------- 10. Apprendre : le parcours du joueur ---------- */
a.rf-here { color: var(--rf-gold-deep) !important; }
main:has(> .rf-learn) > :not(.rf-learn):not(button) { display: none !important; }
.rf-learn { max-width: 76rem; margin: 0 auto; padding: clamp(120px, 13vw, 168px) 24px 96px; color: var(--rf-ink); }
.rf-lhead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(56px, 8vw, 96px); }
.rf-lintro h1 { margin: 0 0 20px; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; color: var(--rf-ink); }
html:not(.rf-latin) .rf-lintro h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.05; }
.rf-lintro .rf-lead { margin: 0; max-width: 34em; font-size: 1.15rem; line-height: 1.6; color: var(--rf-muted); }
.rf-card { display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: 22px; background: var(--rf-navy); color: #cbd5e1; }
.rf-card-k { font-size: .88rem; color: #94a3b8; }
.rf-rank { font-family: var(--rf-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; color: #facc15; }
.rf-xp { margin-top: 8px; font-size: 1rem; }
.rf-xp b { font-family: var(--rf-display); font-weight: 800; font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.rf-pop { display: inline-block; margin-inline-start: 10px; font-weight: 800; color: #facc15; animation: rf-pop 1.8s var(--rf-ease) both; }
@keyframes rf-pop { 0% { opacity: 0; transform: translateY(10px) scale(.7); } 18% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }
.rf-bar { display: block; height: 8px; margin-top: 14px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.rf-bar i { display: block; height: 100%; border-radius: inherit; background: #facc15; transition: width .9s var(--rf-ease); }
.rf-prog { margin-top: 8px; font-size: .88rem; color: #94a3b8; }
/* le chemin : etapes en zigzag de part et d'autre d'une ligne */
.rf-path { list-style: none; margin: 0; padding: 0; }
.rf-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); column-gap: 44px; padding-bottom: 64px; }
.rf-stage:last-child { padding-bottom: 0; }
.rf-stage:not(:last-child)::before {
  content: ""; position: absolute; top: 70px; bottom: 10px; inset-inline-start: calc(50% - 1.5px); width: 3px;
  border-radius: 2px; background: var(--rf-line);
}
.rf-stage[data-state="done"]:not(:last-child)::before { background: var(--rf-gold); }
.rf-node {
  grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--rf-line);
  font-family: var(--rf-display); font-weight: 800; font-size: 1.3rem; color: #64748b;
}
.rf-node svg { width: 26px; height: 26px; }
.rf-stage[data-state="done"] .rf-node { background: var(--rf-gold); border-color: var(--rf-gold); color: #fff; }
.rf-stage[data-state="now"] .rf-node { background: var(--rf-navy); border-color: var(--rf-navy); color: #facc15; box-shadow: 0 0 0 7px rgba(250, 204, 21, .35); }
.rf-sbody { grid-column: 1; grid-row: 1; text-align: end; padding-top: 6px; }
.rf-stage:nth-child(even) .rf-sbody { grid-column: 3; text-align: start; }
.rf-kick { font-size: .9rem; font-weight: 700; color: var(--rf-gold-deep); }
.rf-sbody h2 { margin: 4px 0 6px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--rf-ink); }
.rf-sbody > p { margin: 0 0 18px; color: var(--rf-muted); line-height: 1.55; }
.rf-lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: start; }
.rf-lesson {
  width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1.5px solid var(--rf-line); border-radius: 14px; background: #fff; color: var(--rf-ink);
  font: inherit; font-weight: 600; text-align: start; cursor: pointer;
  transition: border-color .2s, transform .25s var(--rf-ease), box-shadow .25s;
}
.rf-lesson:hover { border-color: var(--rf-ink); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .5); }
.rf-tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #cbd5e1; color: #fff; }
.rf-tick svg { width: 15px; height: 15px; }
.rf-ok .rf-tick { background: var(--rf-gold); border-color: var(--rf-gold); }
.rf-lm { font-size: .85rem; font-weight: 500; color: #64748b; white-space: nowrap; }
.rf-ok .rf-lm { font-weight: 700; color: var(--rf-gold-deep); }
.rf-stage[data-state="now"] .rf-lesson:not(.rf-ok) { border-color: #facc15; }
/* fin du parcours + bas de page */
.rf-fin { margin-top: 80px; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--rf-navy); color: #cbd5e1; }
.rf-fin h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.05; color: #fff; }
.rf-fin p { margin: 0 0 26px; max-width: 36em; }
.rf-cta { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: #facc15; color: var(--rf-navy); font-weight: 800; text-decoration: none; }
.rf-lfoot { display: grid; gap: 6px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--rf-line); font-size: .88rem; color: #64748b; }
.rf-lfoot p { margin: 0; max-width: 62em; }
.rf-reset-learn { margin-inline-start: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--rf-ink); text-decoration: underline; cursor: pointer; }
/* la fenetre du cours */
.rf-dlg {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: clamp(24px, 4vw, 40px);
  border: 0; border-radius: 22px; background: #fff; color: var(--rf-ink); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .5);
}
.rf-dlg::backdrop { background: rgba(15, 23, 42, .62); backdrop-filter: blur(3px); }
.rf-dlg[open] { animation: rf-in .35s var(--rf-ease); }
@keyframes rf-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.rf-x { position: absolute; top: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f1f5f9; color: var(--rf-ink); cursor: pointer; }
.rf-x:hover { background: #e2e8f0; }
.rf-x svg { width: 18px; height: 18px; }
.rf-dlg .rf-kick { display: block; padding-inline-end: 48px; }
.rf-kname { margin-inline-start: 8px; font-weight: 500; color: #64748b; }
.rf-dlg h2 { margin: 6px 0 20px; padding-inline-end: 40px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.05; color: var(--rf-ink); }
.rf-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.rf-points li { position: relative; padding-inline-start: 22px; line-height: 1.55; }
.rf-points li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--rf-gold); }
.rf-keep { margin-bottom: 26px; padding: 14px 18px; background: #fffbeb; border-inline-start: 4px solid var(--rf-gold); border-radius: 12px; border-start-start-radius: 4px; border-end-start-radius: 4px; }
.rf-keep strong { display: block; margin-bottom: 4px; font-size: .85rem; color: var(--rf-gold-deep); }
.rf-keep p { margin: 0; font-weight: 600; }
.rf-quiz { padding-top: 22px; border-top: 1px solid var(--rf-line); }
.rf-quiz h3 { margin: 0 0 6px; font-size: 1rem; color: var(--rf-gold-deep); }
.rf-q { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; }
.rf-answers { display: grid; gap: 8px; }
.rf-ans { padding: 14px 16px; border: 1.5px solid var(--rf-line); border-radius: 12px; background: #fff; color: var(--rf-ink); font: inherit; text-align: start; cursor: pointer; transition: border-color .2s, background-color .2s; }
.rf-ans:hover:not(:disabled) { border-color: var(--rf-ink); }
.rf-ans:disabled { cursor: default; }
.rf-ans:disabled:not(.rf-right):not(.rf-wrong) { opacity: .5; }
.rf-ans.rf-right { border-color: #16a34a; background: #f0fdf4; color: #14532d; font-weight: 700; }
.rf-ans.rf-wrong { border-color: #dc2626; background: #fef2f2; color: #7f1d1d; animation: rf-shake .4s; }
@keyframes rf-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.rf-fb { min-height: 1.5em; margin: 14px 0 0; line-height: 1.55; }
.rf-fb.rf-good strong { color: #15803d; }
.rf-fb.rf-bad { color: #b91c1c; font-weight: 600; }
.rf-next { margin-top: 16px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--rf-navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rf-next:hover { background: var(--rf-ink); }
.rf-learn button:focus-visible, .rf-dlg button:focus-visible, .rf-cta:focus-visible { outline: 3px solid #facc15; outline-offset: 2px; }
@media (max-width: 760px) {
  .rf-lhead { grid-template-columns: minmax(0, 1fr); }
  .rf-stage { grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding-bottom: 44px; }
  .rf-node, .rf-stage:nth-child(even) .rf-node { grid-column: 1; width: 46px; height: 46px; font-size: 1.05rem; }
  .rf-node svg { width: 20px; height: 20px; }
  .rf-sbody, .rf-stage:nth-child(even) .rf-sbody { grid-column: 2; text-align: start; padding-top: 2px; }
  .rf-stage:not(:last-child)::before { inset-inline-start: 21.5px; top: 56px; }
  .rf-lesson { gap: 12px; padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rf-pop, .rf-dlg[open], .rf-ans.rf-wrong { animation: none; }
  .rf-pop { display: none; }
  .rf-lesson, .rf-bar i, .rf-lt-big .rf-img img, .rf-lt-row .rf-img img { transition: none; }
  .rf-lesson:hover, .rf-lt-big:hover .rf-img img, .rf-lt-row:hover .rf-img img { transform: none; }
  #hero a[href$="/contact"]:hover svg { transform: none; }
}

/* ---------- Apprendre : liens vers les articles du blog ---------- */
.rf-reads { margin-top: 14px; text-align: start; }
.rf-reads-k { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 700; color: var(--rf-gold-deep); }
.rf-reads ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rf-reads a {
  position: relative; display: block; padding-inline-start: 18px;
  color: var(--rf-ink); font-weight: 600; line-height: 1.35; text-decoration: underline;
  text-decoration-color: var(--rf-gold-soft); text-decoration-thickness: 2px; text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.rf-reads a::before { content: ""; position: absolute; inset-inline-start: 2px; top: .5em; width: 7px; height: 7px; border-top: 2px solid var(--rf-gold); border-inline-end: 2px solid var(--rf-gold); transform: rotate(45deg); }
html[dir="rtl"] .rf-reads a::before { transform: rotate(-135deg); }
.rf-reads a:hover { text-decoration-color: var(--rf-gold); }
.rf-reads-dlg { margin: -8px 0 26px; }

/* ---------- Accueil : titre du haut, mots tres longs (russe, georgien) sur telephone ---------- */
@media (max-width: 480px) {
  html.rf-ru #hero h1, html.rf-ru #hero h1 span, html.rf-ka #hero h1, html.rf-ka #hero h1 span { font-size: 1.6rem; line-height: 1.15; }
  #hero h1 span { overflow-wrap: break-word; }
}
