/* polish.css — finitions de design par page, par-dessus refresh.css.
   Même palette : encre marine, or, blanc. Pas de nouvelles couleurs. */

:root {
  --pl-pad: clamp(20px, 4vw, 32px);
  --pl-yellow: #facc15;
}

/* ============ 0. Éléments communs ============ */

/* Fil d'Ariane aligné sur la grille du site */
main nav.flex.text-sm.text-ggg-600 { max-width: 80rem; margin-inline: auto !important; }
main nav.flex.text-sm.text-ggg-600 a { color: var(--rf-muted) !important; text-decoration: none; }
main nav.flex.text-sm.text-ggg-600 a:hover { color: var(--rf-ink) !important; text-decoration: underline 1.5px var(--rf-gold); text-underline-offset: 4px; }

/* Boutons du bandeau */
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.pl-btn-gold { background: var(--pl-yellow); color: var(--rf-navy); }
.pl-btn-gold:hover { background: #fde047; }
.pl-btn-line { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }
.pl-btn-line:hover { border-color: #fff; }
.pl-btn:focus-visible { outline: 3px solid var(--pl-yellow); outline-offset: 4px; }

/* Bloc « À lire aussi » + bandeau */
.pl-more { color: var(--rf-ink); }
.pl-read { max-width: 80rem; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pl-pad) clamp(48px, 7vw, 96px); }
.pl-read .rf-lt-head { border-top: 2px solid var(--rf-ink); padding-top: 22px; }
.pl-read-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.pl-read .rf-lt-row { grid-template-columns: 112px minmax(0, 1fr); border-top: 0; padding: 0; color: inherit; text-decoration: none; }
.pl-read .rf-lt-row:first-child { padding-top: 0; }
.pl-band { background: var(--rf-navy); color: #fff; }
.pl-band-in { max-width: 80rem; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--pl-pad); }
.pl-band h2 { margin: 0; max-width: 14ch; font-size: clamp(2.4rem, 5.4vw, 4.75rem); line-height: .95; color: #fff; }
.pl-band p { margin: 22px 0 0; max-width: 34em; font-size: 1.15rem; line-height: 1.6; color: #cbd5e1; }
.pl-band-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
html:not(.rf-latin) .pl-band h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12; max-width: 18ch; }
@media (max-width: 860px) {
  .pl-read-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-read .rf-lt-row { grid-template-columns: 104px minmax(0, 1fr); padding: 18px 0; border-top: 1px solid var(--rf-line); }
  .pl-read .rf-lt-row:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 480px) { .pl-btn { width: 100%; } }

/* ============ 1. Pied de page ============ */
footer { background: #fff !important; border-top: 1px solid var(--rf-line); }
footer .py-12 { padding-top: clamp(48px, 6vw, 72px) !important; padding-bottom: 40px !important; }
footer .py-12 > .grid { gap: 40px 48px !important; align-items: start; }
@media (min-width: 640px) { footer .py-12 > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1024px) { footer .py-12 > .grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .95fr) !important; } }
footer .py-12 > .grid > div { text-align: start !important; }
footer .py-12 > .grid > div > * { margin-inline: 0 !important; }
footer .w-16.h-1 { display: none !important; }
footer .py-12 img.h-12 { height: 112px !important; width: auto !important; margin: -26px 0 -18px -22px !important; }
footer h3 { color: var(--rf-ink) !important; font-size: 1.05rem !important; margin-bottom: 14px !important; }
footer .py-12 p { color: var(--rf-muted) !important; line-height: 1.6; }
footer .py-12 ul a, footer .py-12 nav a { color: var(--rf-muted) !important; }
footer .py-12 ul a:hover, footer .py-12 nav a:hover { color: var(--rf-ink) !important; }
footer .flex.items-center.justify-center.space-x-4 { justify-content: flex-start !important; }
footer .flex.items-center.justify-center.space-x-4 > a.rounded-2xl { width: 44px !important; height: 44px !important; }
footer [class*="from-orange-400"] { background: none !important; padding: 0 !important; border: 1px solid var(--rf-line); border-radius: 16px !important; display: inline-block; }
footer [class*="from-orange-400"] > * { background: #fff !important; border-radius: 15px !important; box-shadow: none !important; }
footer img.w-28.h-28 { width: 112px !important; height: 112px !important; }
footer .border-t.py-6 { padding-top: 22px !important; padding-bottom: 22px !important; border-color: var(--rf-line) !important; }

/* ============ 2. Pages « agent » (4 pages SEO) + guides ============ */
html[data-pl] main .min-h-screen { min-height: 0 !important; background: #fff !important; }
html[data-pl="landing"] main section.container-max { padding-top: clamp(40px, 6vw, 80px) !important; padding-bottom: 0 !important; }
html[data-pl="guide"] main .min-h-screen.bg-white > .container-max { padding-top: clamp(56px, 7vw, 96px) !important; }
html[data-pl] main h1 {
  font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.25rem) !important;
  line-height: .98 !important; letter-spacing: -.01em; color: var(--rf-ink) !important; max-width: 18ch; margin-bottom: 26px !important;
}
html[data-pl]:not(.rf-latin) main h1 { font-size: clamp(2rem, 3.8vw, 3.4rem) !important; line-height: 1.12 !important; }
html[data-pl] main h1 + p { font-size: 1.25rem !important; line-height: 1.6; color: var(--rf-ink) !important; max-width: 40em; }
html[data-pl] main p { color: var(--rf-muted); }
html[data-pl="landing"] main section.container-max > .grid { gap: 32px !important; margin-top: 40px; }
html[data-pl="landing"] main section.container-max > .grid > div {
  border: 0 !important; border-top: 2px solid var(--rf-ink) !important; border-radius: 0 !important; padding: 20px 0 0 !important; background: none !important; box-shadow: none !important;
}
html[data-pl="landing"] main section.container-max > .grid h2,
html[data-pl="landing"] main section.container-max > .grid h3 { font-size: 1.3rem !important; color: var(--rf-ink) !important; }
html[data-pl="landing"] main section.container-max > .rounded-2xl.bg-ggg-50 {
  background: none !important; border: 0 !important; border-top: 1px solid var(--rf-line) !important; border-radius: 0 !important; padding: 22px 0 0 !important;
}
html[data-pl="landing"] main section.container-max > .rounded-2xl.bg-ggg-50 a { color: var(--rf-ink) !important; text-decoration: underline 1.5px var(--rf-gold); text-underline-offset: 5px; }
html[data-pl="landing"] main section.container-max > .rounded-2xl.bg-ggg-50 a:hover { color: var(--rf-gold-deep) !important; }
html[data-pl="guide"] main h2 { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; color: var(--rf-ink) !important; margin-top: 40px; }
html[data-pl="guide"] main .grid > .p-4.border.rounded-xl,
html[data-pl="guide"] main section.grid > * {
  border: 0 !important; border-top: 2px solid var(--rf-ink) !important; border-radius: 0 !important; padding: 18px 0 0 !important; background: none !important; box-shadow: none !important;
}
html[data-pl="guide"] main a.block.group > article { border-radius: 14px !important; box-shadow: none !important; border-color: var(--rf-line) !important; transition: border-color .2s; }
html[data-pl="guide"] main a.block.group:hover > article { border-color: var(--rf-ink) !important; }
html[data-pl="guide"] main ul { max-width: 44em; }

/* ============ 3. À propos ============ */
html[data-rf-route="/about"] #about { padding-top: clamp(48px, 6vw, 88px) !important; }
html[data-rf-route="/about"] #about > div > .grid { align-items: start !important; gap: clamp(40px, 6vw, 88px) !important; }
html[data-rf-route="/about"] #about h1 {
  font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.6rem, 5.2vw, 4.8rem) !important; line-height: .95 !important; color: var(--rf-ink) !important;
}
html[data-rf-route="/about"]:not(.rf-latin) #about h1 { font-size: clamp(2.1rem, 4.2vw, 3.8rem) !important; line-height: 1.1 !important; }
html[data-rf-route="/about"] #about .space-y-4.text-base p { font-size: 1.08rem; line-height: 1.75; color: var(--rf-muted) !important; }
html[data-rf-route="/about"] #about [class*="from-accent-50"] {
  background: none !important; border: 0 !important; border-left: 3px solid var(--rf-gold) !important; border-radius: 0 !important; padding: 4px 0 4px 22px !important;
}
html[data-rf-route="/about"] #about [class*="from-accent-50"] .bg-accent-600 { display: none !important; }
html[data-rf-route="/about"] #about [class*="from-accent-50"] h4 { color: var(--rf-ink) !important; }
html[data-rf-route="/about"] #about .grid.grid-cols-2.gap-6.pt-6 { border-top: 2px solid var(--rf-ink) !important; padding-top: 22px !important; }
html[data-rf-route="/about"] #about .grid.grid-cols-2.gap-6.pt-6 > * { text-align: start !important; }
html[data-rf-route="/about"] #about .grid.grid-cols-2.gap-6.pt-6 .text-2xl,
html[data-rf-route="/about"] #about .grid.grid-cols-2.gap-6.pt-6 .text-pro-600 { font-family: var(--rf-display); font-size: clamp(2.2rem, 3.6vw, 3rem) !important; line-height: 1; color: var(--rf-ink) !important; }
html[data-rf-route="/about"] #about .grid.grid-cols-2.gap-3 .rounded-xl { border-radius: 14px !important; box-shadow: none !important; }
html[data-rf-route="/about"] #about .grid.gap-6 > .flex.items-start {
  background: none !important; border-radius: 0 !important; padding: 22px 0 !important; border-top: 1px solid var(--rf-line);
}
html[data-rf-route="/about"] #about .grid.gap-6 > .flex.items-start:first-child { border-top: 2px solid var(--rf-ink); }
html[data-rf-route="/about"] #about .grid.gap-6 > .flex.items-start > div:first-child {
  width: 46px !important; height: 46px !important; border-radius: 999px !important; background: #fff !important; border: 1.5px solid var(--rf-ink); flex-shrink: 0;
}
html[data-rf-route="/about"] #about .grid.gap-6 > .flex.items-start > div:first-child svg { color: var(--rf-ink) !important; }
html[data-rf-route="/about"] #about .grid.gap-6 h3,
html[data-rf-route="/about"] #about .grid.gap-6 h4 { color: var(--rf-ink) !important; font-size: 1.15rem !important; }
@media (min-width: 1024px) { html[data-rf-route="/about"] #about > div > .grid > div:last-child { position: sticky; top: 112px; } }

/* ============ 4. Konstantine Gugunava ============ */
html[data-rf-route="/konstantine-gugunava"] main .min-h-screen { min-height: 0 !important; }
html[data-rf-route="/konstantine-gugunava"] main h1 {
  font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 5.2rem) !important; line-height: .94 !important; color: var(--rf-ink) !important; margin-bottom: 22px !important;
}
html[data-rf-route="/konstantine-gugunava"]:not(.rf-latin) main h1 { font-size: clamp(2.1rem, 4.4vw, 4rem) !important; line-height: 1.1 !important; }
html[data-rf-route="/konstantine-gugunava"] main h1 + p { font-size: 1.3rem !important; color: var(--rf-ink) !important; max-width: 36em; }
html[data-rf-route="/konstantine-gugunava"] main .grid.lg\:grid-cols-3 { gap: clamp(40px, 6vw, 80px) !important; align-items: start; }
html[data-rf-route="/konstantine-gugunava"] main .prose h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem) !important; color: var(--rf-ink) !important; border-top: 2px solid var(--rf-ink); padding-top: 18px; margin-top: 44px !important;
}
html[data-rf-route="/konstantine-gugunava"] main .prose h2:first-child { margin-top: 0 !important; }
html[data-rf-route="/konstantine-gugunava"] main .prose p,
html[data-rf-route="/konstantine-gugunava"] main .prose li { font-size: 1.06rem; line-height: 1.75; color: var(--rf-muted); }
html[data-rf-route="/konstantine-gugunava"] main .prose strong { color: var(--rf-ink); }
html[data-rf-route="/konstantine-gugunava"] main a.text-orange-600 { color: var(--rf-gold-deep) !important; text-decoration-color: var(--rf-gold) !important; }
@media (min-width: 1024px) { html[data-rf-route="/konstantine-gugunava"] main aside { position: sticky; top: 112px; } }
.pl-portrait { margin: 0 0 24px; }
.pl-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; border-radius: 16px; }
@media (max-width: 1023px) { .pl-portrait img { max-width: 360px; } }
html[data-rf-route="/konstantine-gugunava"] main aside > .rounded-2xl {
  border: 0 !important; border-top: 2px solid var(--rf-ink) !important; border-radius: 0 !important; padding: 18px 0 0 !important; background: none !important;
}
html[data-rf-route="/konstantine-gugunava"] main aside h3 { font-size: 1.15rem !important; color: var(--rf-ink) !important; }
html[data-rf-route="/konstantine-gugunava"] main aside dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rf-line); margin: 0 !important; }
html[data-rf-route="/konstantine-gugunava"] main aside dl > div:first-child { border-top: 0; }
html[data-rf-route="/konstantine-gugunava"] main aside dd { text-align: end; color: var(--rf-ink); }
html[data-rf-route="/konstantine-gugunava"] main section.border-t { border-top: 2px solid var(--rf-ink) !important; }
html[data-rf-route="/konstantine-gugunava"] main section.border-t > h2 { font-family: var(--rf-display); font-size: clamp(2rem, 3.6vw, 3rem) !important; color: var(--rf-ink) !important; }
html[data-rf-route="/konstantine-gugunava"] main section.border-t dl > div { padding: 22px 0; border-top: 1px solid var(--rf-line); margin: 0 !important; }
html[data-rf-route="/konstantine-gugunava"] main section.border-t dt { font-size: 1.12rem; color: var(--rf-ink); }
html[data-rf-route="/konstantine-gugunava"] main section.border-t dd { margin-top: 8px; color: var(--rf-muted) !important; line-height: 1.7; max-width: 46em; }
@media (min-width: 1024px) {
  html[data-rf-route="/konstantine-gugunava"] main section.border-t dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
  html[data-rf-route="/konstantine-gugunava"] main section.border-t dd { margin-top: 0; }
}

/* ============ 5. Licence ============ */
html[data-rf-route="/license"] #license .grid > div:last-child > div.relative { display: none !important; }
html[data-rf-route="/license"] #license .grid { align-items: start !important; }
html[data-rf-route="/license"] #license h1 {
  font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.6rem, 5.2vw, 4.8rem) !important; line-height: .95 !important; color: var(--rf-ink) !important;
}
html[data-rf-route="/license"]:not(.rf-latin) #license h1 { font-size: clamp(2.1rem, 4.2vw, 3.8rem) !important; line-height: 1.1 !important; }
html[data-rf-route="/license"] #license .grid > div:first-child svg.text-green-500 { color: var(--rf-gold-deep) !important; }
html[data-rf-route="/license"] #license .grid > div:first-child .space-y-4 > .flex.items-center { padding: 12px 0; border-top: 1px solid var(--rf-line); margin: 0 !important; }
html[data-rf-route="/license"] #license .grid > div:first-child .space-y-4 > .flex.items-center:first-child { border-top: 2px solid var(--rf-ink); }
html[data-rf-route="/license"] #license .grid > div:first-child .space-y-4 > .flex.items-center span { color: var(--rf-ink); font-weight: 600; }

/* ============ 6. Contact ============ */
html[data-rf-route="/contact"] #contact > div.absolute.inset-0 { display: none !important; }
html[data-rf-route="/contact"] #contact { background: #fff !important; }
html[data-rf-route="/contact"] #contact h1 {
  font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 5.4rem) !important; line-height: .92 !important; color: var(--rf-ink) !important;
}
html[data-rf-route="/contact"]:not(.rf-latin) #contact h1 { font-size: clamp(2.2rem, 4.6vw, 4.2rem) !important; line-height: 1.1 !important; }
html[data-rf-route="/contact"] #contact .text-center.space-y-6 .inline-flex,
html[data-rf-route="/contact"] #contact .text-center.space-y-6 .rounded-full {
  background: #fff !important; color: var(--rf-ink) !important; border: 1px solid var(--rf-line) !important; box-shadow: none !important;
}
html[data-rf-route="/contact"] #contact .text-center.space-y-6 svg { color: var(--rf-gold-deep) !important; }
html[data-rf-route="/contact"] #contact .max-w-4xl > div,
html[data-rf-route="/contact"] #contact form { box-shadow: none !important; }
html[data-rf-route="/contact"] #contact .max-w-4xl > .rounded-3xl,
html[data-rf-route="/contact"] #contact .max-w-4xl > div[class*="rounded"] {
  background: #fff !important; border: 1px solid var(--rf-line) !important; border-radius: 20px !important;
}
html[data-rf-route="/contact"] #contact input,
html[data-rf-route="/contact"] #contact textarea,
html[data-rf-route="/contact"] #contact select { border-radius: 12px !important; border-color: #cbd5e1 !important; background: #fff !important; }
html[data-rf-route="/contact"] #contact input:focus,
html[data-rf-route="/contact"] #contact textarea:focus,
html[data-rf-route="/contact"] #contact select:focus { border-color: var(--rf-ink) !important; box-shadow: 0 0 0 3px rgba(250, 204, 21, .45) !important; outline: none !important; }
html[data-rf-route="/contact"] #contact label { color: var(--rf-ink) !important; }
@media (min-width: 1024px) {
  html[data-rf-route="/contact"] #contact > .container-max {
    display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); align-items: start;
  }
  html[data-rf-route="/contact"] #contact > .container-max > .text-center { text-align: start !important; margin: 0 !important; position: sticky; top: 112px; }
  html[data-rf-route="/contact"] #contact > .container-max > .text-center > * { margin-inline: 0 !important; justify-content: flex-start !important; }
  html[data-rf-route="/contact"] #contact > .container-max > .max-w-4xl { max-width: none !important; margin: 0 !important; padding: 0 !important; }
}

/* ============ 7. Vidéos ============ */
html[data-rf-route="/videos"] main h1 { font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 5.4rem) !important; line-height: .92 !important; color: var(--rf-ink) !important; }
html[data-rf-route="/videos"] main h2.text-blue-600 { color: var(--rf-gold-deep) !important; }
html[data-rf-route="/videos"] main [class*="from-green-50"] { background: #fff !important; border: 1px solid var(--rf-line) !important; border-radius: 20px !important; }
html[data-rf-route="/videos"] main [class*="from-green-50"] .text-blue-600,
html[data-rf-route="/videos"] main [class*="from-green-50"] .text-red-600,
html[data-rf-route="/videos"] main [class*="from-green-50"] .text-green-600 { color: var(--rf-ink) !important; }
html[data-rf-route="/videos"] main [class*="from-green-200"] { background: linear-gradient(#bbe5c6, #9fd8ae) !important; border: 1px solid #86c99a !important; }
html[data-rf-route="/videos"] main button.bg-green-600 { background: var(--rf-navy) !important; border-radius: 999px !important; min-height: 52px; padding-inline: 32px !important; box-shadow: none !important; }
html[data-rf-route="/videos"] main button.bg-green-600:hover { background: #1e293b !important; }
html[data-rf-route="/videos"] main [class*="from-blue-50"] { background: none !important; border-top: 2px solid var(--rf-ink); border-radius: 0 !important; padding-inline: 0 !important; }
html[data-rf-route="/videos"] main .inline-flex.bg-blue-600 { background: #fff !important; color: var(--rf-ink) !important; border: 1.5px solid var(--rf-gold); box-shadow: none !important; font-size: 1rem !important; }

/* ============ 8. Jeunes talents ============ */
html[data-rf-route="/young-talents"] main .min-h-screen { background: #fff !important; min-height: 0 !important; }
html[data-rf-route="/young-talents"] main .container-max.py-8 > nav { padding-inline: 0 !important; }
html[data-rf-route="/young-talents"] main .text-center.space-y-6.mb-12 { text-align: start !important; max-width: 56rem; margin-inline: auto; padding-top: clamp(24px, 4vw, 56px); }
html[data-rf-route="/young-talents"] main .text-center.space-y-6.mb-12 > * { margin-inline: 0 !important; }
html[data-rf-route="/young-talents"] main .text-center.space-y-6.mb-12 .bg-accent-100 { background: #fff !important; border: 1px solid var(--rf-gold); color: var(--rf-gold-deep) !important; }
html[data-rf-route="/young-talents"] main h1 { font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 5.2rem) !important; line-height: .94 !important; color: var(--rf-ink) !important; }
html[data-rf-route="/young-talents"]:not(.rf-latin) main h1 { font-size: clamp(2.1rem, 4.4vw, 4rem) !important; line-height: 1.1 !important; }
html[data-rf-route="/young-talents"] main .max-w-4xl > .bg-white.rounded-3xl {
  border: 0 !important; border-top: 2px solid var(--rf-ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 26px 0 0 !important;
}
html[data-rf-route="/young-talents"] main .max-w-4xl > .bg-white.rounded-3xl .text-center { text-align: start !important; }
html[data-rf-route="/young-talents"] main .max-w-4xl > .bg-white.rounded-3xl .text-center > * { margin-inline: 0 !important; }
html[data-rf-route="/young-talents"] main .max-w-4xl > .bg-white.rounded-3xl .w-20.h-20 { display: none !important; }
html[data-rf-route="/young-talents"] main .max-w-4xl > .grid { gap: 0 40px !important; }
html[data-rf-route="/young-talents"] main .max-w-4xl > .grid > div {
  border: 0 !important; border-top: 1px solid var(--rf-line) !important; border-radius: 0 !important; box-shadow: none !important; padding: 20px 0 !important; background: none !important;
}
html[data-rf-route="/young-talents"] main .max-w-4xl > .grid .w-12.h-12 { width: 46px !important; height: 46px !important; border-radius: 999px !important; background: #fff !important; border: 1.5px solid var(--rf-ink); }
html[data-rf-route="/young-talents"] main .max-w-4xl > .grid .w-12.h-12 svg { color: var(--rf-ink) !important; }
html[data-rf-route="/young-talents"] main [class*="from-accent-600"] { background: var(--rf-navy) !important; border-radius: 24px !important; text-align: start !important; }
html[data-rf-route="/young-talents"] main [class*="from-accent-600"] > svg { margin-inline: 0 !important; color: var(--pl-yellow) !important; width: 44px !important; height: 44px !important; }
html[data-rf-route="/young-talents"] main [class*="from-accent-600"] h3 { font-family: var(--rf-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem) !important; line-height: 1.05; }
html[data-rf-route="/young-talents"] main [class*="from-accent-600"] a.bg-white {
  background: var(--pl-yellow) !important; color: var(--rf-navy) !important; border-radius: 999px !important; min-height: 56px; box-shadow: none !important;
}

/* ============ 9. Mentions légales ============ */
html[data-rf-route="/legal"] main .text-center.mb-12 { text-align: start !important; }
html[data-rf-route="/legal"] main .text-center.mb-12 > * { margin-inline: 0 !important; }
html[data-rf-route="/legal"] main .text-center.mb-12 .bg-accent-50 { background: #fff !important; }
html[data-rf-route="/legal"] main h1 { font-family: var(--rf-display); font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 5.2rem) !important; line-height: .94 !important; color: var(--rf-ink) !important; }
html[data-rf-route="/legal"]:not(.rf-latin) main h1 { font-size: clamp(2.1rem, 4.4vw, 4rem) !important; line-height: 1.1 !important; }
html[data-rf-route="/legal"] main .container-max > section,
html[data-rf-route="/legal"] main .container-max > div.bg-white {
  border: 0 !important; border-top: 2px solid var(--rf-ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 24px 0 0 !important; background: none !important; margin-bottom: 56px !important;
}
html[data-rf-route="/legal"] main .container-max > section h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; color: var(--rf-ink) !important; }
html[data-rf-route="/legal"] main .container-max > section h2 svg { display: none !important; }
html[data-rf-route="/legal"] main .container-max > section p,
html[data-rf-route="/legal"] main .container-max > section li { font-size: 1rem; line-height: 1.7; max-width: 68ch; }
html[data-rf-route="/legal"] main .container-max > section [class*="rounded-xl"],
html[data-rf-route="/legal"] main .container-max > section [class*="rounded-2xl"] { border-radius: 12px !important; box-shadow: none !important; }
html[data-rf-route="/legal"] main .container-max > section[class*="from-accent-50"] { background: none !important; }
html[data-rf-route="/legal"] main .container-max > div.bg-white a { border-radius: 10px !important; padding: 10px 12px !important; }
html[data-rf-route="/legal"] main .container-max > div.bg-white a:hover { background: #f8fafc !important; }
@media (min-width: 1024px) {
  html[data-rf-route="/legal"] main .container-max { display: grid !important; grid-template-columns: 260px minmax(0, 1fr); column-gap: 64px; align-items: start; }
  html[data-rf-route="/legal"] main .container-max > * { grid-column: 2; }
  html[data-rf-route="/legal"] main .container-max > .text-center.mb-12 { grid-column: 1 / -1; }
  html[data-rf-route="/legal"] main .container-max > div.bg-white { grid-column: 1; grid-row: 2 / span 20; position: sticky; top: 112px; }
  html[data-rf-route="/legal"] main .container-max > div.bg-white .grid { grid-template-columns: minmax(0, 1fr) !important; gap: 2px !important; }
}

/* ============ 10. Services ============ */
html[data-rf-route="/services"] main .absolute.-top-4.-left-4,
html[data-rf-route="/services"] main .absolute.-bottom-4.-right-4 { display: none !important; }
html[data-rf-route="/services"] main .rounded-3xl.shadow-2xl { box-shadow: none !important; border-radius: 18px !important; }
html[data-rf-route="/services"] main .bg-fifa-50.rounded-2xl {
  background: none !important; border: 0 !important; border-left: 3px solid var(--rf-gold) !important; border-radius: 0 !important; padding: 4px 0 4px 20px !important;
}
html[data-rf-route="/services"] main .bg-fifa-50.rounded-2xl span,
html[data-rf-route="/services"] main .bg-fifa-50.rounded-2xl svg { color: var(--rf-gold-deep) !important; }
html[data-rf-route="/services"] main .bg-fifa-50.rounded-xl { background: #fff !important; border: 1.5px solid var(--rf-ink); border-radius: 999px !important; }
html[data-rf-route="/services"] main .bg-fifa-50.rounded-xl svg { color: var(--rf-ink) !important; }
html[data-rf-route="/services"] main svg.text-green-500 { color: var(--rf-gold-deep) !important; }
html[data-rf-route="/services"] main p.text-accent-600 { color: var(--rf-gold-deep) !important; }
html[data-rf-route="/services"] main [class*="from-accent-50"].rounded-3xl {
  background: none !important; border: 0 !important; border-left: 3px solid var(--rf-gold) !important; border-radius: 0 !important; text-align: start !important;
}

@media (prefers-reduced-motion: reduce) { .pl-btn, html[data-pl="guide"] main a.block.group > article { transition: none; } }

/* ---------- 11. Derniers réglages (v2) ---------- */
/* Pied de page : logo plus grand (l'image a beaucoup de marge transparente), titre plus serré, carte QR sans ombre. */
footer .py-12 img.h-12 { height: 168px !important; margin: -44px 0 -36px -18px !important; }
footer .py-12 h3 { line-height: 1.3 !important; }
footer .py-12 .shadow-lg, footer .py-12 .shadow-xl, footer .py-12 .shadow-md { box-shadow: none !important; }
footer .py-12 div.bg-white.rounded-2xl.p-6.border { border: 0 !important; padding: 0 !important; background: none !important; text-align: start !important; }
footer .py-12 div.bg-white.rounded-2xl.p-6.border * { text-align: start !important; }
footer .py-12 div.bg-white.rounded-2xl.p-6.border .flex { justify-content: flex-start !important; }
/* À propos : lignes de points forts sans trou entre elles, portrait aligné à gauche. */
html[data-rf-route="/about"] #about .grid.gap-6 { gap: 0 !important; }
html[data-rf-route="/about"] #about figure.flex.flex-col.items-center { align-items: flex-start !important; }
html[data-rf-route="/about"] #about figure.flex.flex-col.items-center .text-center { text-align: start !important; }
