/* Robots du Jardin Core : charte « bandes de tonte » (maquette validée par Rob le 12/10/2026). */

:root {
	--rdj-sol: #f4f7f2;
	--rdj-papier: #ffffff;
	--rdj-encre: #15291f;
	--rdj-texte: #22352a;
	--rdj-gris: #55665b;
	--rdj-trait: #d6e0d6;
	--rdj-gazon: #2f6b34;
	--rdj-gazon-fonce: #234f27;
	--rdj-gazon-clair: #e3eedf;
	--rdj-bande-a: #3c7a3a;
	--rdj-bande-b: #47873f;
	--rdj-balise: #e8b337;
	--rdj-balise-encre: #3a2a00;
	--rdj-attention: #8a5200;
	--rdj-titres: "Archivo", "Arial Narrow", Arial, sans-serif;
	--rdj-corps: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
	--rdj-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

body.rdj { background: var(--rdj-sol); color: var(--rdj-texte); font-family: var(--rdj-corps); font-size: 18px; line-height: 1.6; }
.rdj a { color: var(--rdj-gazon); }
.rdj a:hover, .rdj a:focus { color: var(--rdj-gazon-fonce); }
.rdj :focus-visible { outline: 3px solid var(--rdj-balise); outline-offset: 2px; }

.rdj h1, .rdj h2, .rdj h3, .rdj .entry-title { font-family: var(--rdj-titres); font-stretch: 118%; color: var(--rdj-encre); text-wrap: balance; }
.rdj .entry-title, .rdj h1 { font-size: 44px; line-height: 1.08; font-weight: 800; margin-bottom: 8px; }
.rdj .entry-content h2 { font-size: 30px; line-height: 1.15; font-weight: 800; margin: 48px 0 14px; }
.rdj .entry-content h3 { font-size: 21px; line-height: 1.25; font-weight: 700; margin: 28px 0 10px; }
.rdj .entry-content ul, .rdj .entry-content ol { margin-left: 1.3em; }
.rdj-etiquette { font-family: var(--rdj-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rdj-gris); margin: 0 0 6px; }

/* ── En-tête ─────────────────────────────────────────────────────── */

.rdj .site-header { background: var(--rdj-papier); border-bottom: 1px solid var(--rdj-trait); }
.rdj .inside-header { padding: 14px 24px; }
.rdj-logo a, a.rdj-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rdj-encre); }
.rdj-logo__marque { flex: none; }
.rdj-logo__nom { font-family: var(--rdj-titres); font-stretch: 125%; font-weight: 800; font-size: 21px; color: var(--rdj-encre); letter-spacing: -0.01em; }
.rdj .main-title { margin: 0; line-height: 1; }
.rdj .main-navigation, .rdj .main-navigation ul ul { background: transparent; }
.rdj .main-navigation .main-nav ul li a { font-family: var(--rdj-corps); font-weight: 600; font-size: 16px; color: var(--rdj-encre); line-height: 48px; padding: 0 13px; }
.rdj .main-navigation .main-nav ul li a:hover,
.rdj .main-navigation .main-nav ul li.current-menu-item > a,
.rdj .main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--rdj-gazon); background: transparent; }
.rdj .main-navigation .main-nav ul li.current-menu-item > a,
.rdj .main-navigation .main-nav ul li.current-menu-ancestor > a { text-decoration: underline; text-decoration-color: var(--rdj-balise); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.rdj .menu-toggle, .rdj .menu-toggle:hover { background: transparent; color: var(--rdj-encre); font-weight: 600; min-height: 44px; }

/* ── Mise en page ────────────────────────────────────────────────── */

.rdj .site-content { padding-top: 0; }
.rdj.one-container .site-content { padding: 0; background: var(--rdj-sol); }
.rdj .inside-article { padding: 32px 24px 56px; background: var(--rdj-sol); }
.rdj .entry-content > p, .rdj .entry-content > ul, .rdj .entry-content > ol, .rdj .entry-content > h2, .rdj .entry-content > h3, .rdj .entry-content > details { max-width: 780px; }
.rdj .entry-content > *:first-child { margin-top: 0; }
.rdj.rdj-accueil .inside-article, .rdj.rdj-accueil.one-container .site-content { padding: 0; }
.rdj-accueil .entry-content { margin: 0; }
.rdj-accueil .site.grid-container, .rdj-accueil .site-content { max-width: none; }
.rdj-accueil .entry-content > .rdj-bloc { max-width: 1200px; }
.rdj-accueil .entry-content > p { max-width: none; }

.rdj-fil__liste { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--rdj-gris); }
.rdj-fil__liste li { margin: 0; }
.rdj-fil__liste li + li::before { content: "/"; margin-right: 6px; color: #8fa196; }
.rdj-fil__liste a { text-decoration: none; }
.rdj-fil__liste a:hover { text-decoration: underline; }
.rdj-date { font-size: 14px; color: var(--rdj-gris); margin: 0 0 24px; }

.rdj-chapeau { font-size: 20px; line-height: 1.55; }
.rdj-reponse { background: var(--rdj-papier); border: 1px solid var(--rdj-trait); border-left: 5px solid var(--rdj-gazon); border-radius: 10px; padding: 18px 22px; margin: 0 0 28px; max-width: 780px; }
.rdj-reponse p { margin: 0; font-size: 18px; color: var(--rdj-encre); }
.rdj-reponse p + p { margin-top: 8px; }
.rdj-note { background: var(--rdj-gazon-clair); border-radius: 10px; padding: 14px 18px; font-size: 16px; margin: 0 0 24px; max-width: 780px; }
.rdj-source { font-family: var(--rdj-mono); font-size: 12.5px; line-height: 1.5; color: var(--rdj-gris); }

.rdj .entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 24px; border: 0; }
.rdj .entry-content th, .rdj .entry-content td { padding: 10px; border: 0; border-bottom: 1px solid var(--rdj-trait); text-align: left; vertical-align: top; }
.rdj .entry-content thead th { font-family: var(--rdj-mono); font-size: 12.5px; color: var(--rdj-gris); font-weight: 600; background: var(--rdj-gazon-clair); }
.rdj-tableau { overflow-x: auto; margin: 0 0 8px; background: var(--rdj-papier); border: 1px solid var(--rdj-trait); border-radius: 12px; }
.rdj-tableau table { min-width: 560px; margin: 0 !important; }
.rdj-tableau td { font-family: var(--rdj-mono); font-size: 14px; font-variant-numeric: tabular-nums; }

.rdj .entry-content details { border-bottom: 1px solid var(--rdj-trait); padding: 14px 0; max-width: 780px; }
.rdj .entry-content summary { font-weight: 700; font-size: 18px; cursor: pointer; color: var(--rdj-encre); }
.rdj .entry-content details p { margin: 10px 0 0; }

/* ── Boutons et liens affiliés ───────────────────────────────────── */

.rdj-bouton, .rdj .entry-content a.rdj-bouton { display: inline-flex; align-items: center; gap: 8px; background: var(--rdj-balise); color: var(--rdj-balise-encre); font-weight: 700; text-decoration: none; border-radius: 8px; padding: 10px 16px; font-size: 16px; line-height: 1.3; }
.rdj-bouton:hover, .rdj .entry-content a.rdj-bouton:hover { filter: brightness(1.05); color: var(--rdj-balise-encre); }
.rdj-bouton--neutre, .rdj .entry-content a.rdj-bouton--neutre { background: var(--rdj-papier); color: var(--rdj-gazon); border: 1px solid var(--rdj-gazon); }
.rdj-mention { display: block; font-size: 12.5px; color: var(--rdj-gris); margin-top: 4px; }
.rdj-affilie { display: grid; justify-items: start; gap: 2px; }

/* ── Fiche robot ─────────────────────────────────────────────────── */

.rdj-fiche { background: var(--rdj-papier); border: 1px solid var(--rdj-trait); border-radius: 14px; overflow: hidden; margin: 0 0 28px; max-width: 980px; }
.rdj-fiche__tete { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid var(--rdj-trait); }
.rdj .entry-content .rdj-fiche__titre { margin: 0; font-size: 23px; }
.rdj-fiche__achat { display: grid; justify-items: end; }
.rdj-fiche__corps { display: grid; grid-template-columns: 1.2fr 1fr; }
.rdj-specs { padding: 16px 20px; border-right: 1px solid var(--rdj-trait); min-width: 0; }
.rdj .entry-content .rdj-specs table { margin: 0 0 8px; font-size: 15.5px; }
.rdj .entry-content .rdj-specs th { font-weight: 400; color: var(--rdj-gris); padding: 7px 0; background: transparent; font-family: var(--rdj-corps); }
.rdj .entry-content .rdj-specs td { text-align: right; font-family: var(--rdj-mono); font-weight: 600; font-size: 14.5px; padding: 7px 0; font-variant-numeric: tabular-nums; }
.rdj-pourqui { padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.rdj-pourqui ul { margin: 0 0 0 1.1em !important; }
.rdj-pourqui li { margin: 0 0 4px; font-size: 16px; }
.rdj-ideal li::marker { content: "✓  "; color: var(--rdj-gazon); }
.rdj-eviter li::marker { content: "✕  "; color: var(--rdj-attention); }

/* ── Outil ───────────────────────────────────────────────────────── */

.rdj-outil { background: var(--rdj-papier); color: var(--rdj-encre); border: 1px solid var(--rdj-trait); border-radius: 14px; padding: 22px; margin: 0 0 28px; max-width: 780px; }
.rdj .entry-content .rdj-outil__titre { font-size: 22px; margin: 4px 0 12px; }
.rdj-outil__form { display: grid; gap: 16px; margin: 0 0 14px; }
.rdj-champ label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 16px; }
.rdj-champ output { font-family: var(--rdj-mono); font-weight: 600; color: var(--rdj-gazon); }
.rdj-champ input[type=range] { width: 100%; accent-color: var(--rdj-gazon); }
.rdj-cases { display: flex; flex-wrap: wrap; gap: 8px; }
.rdj-cases label { display: flex; align-items: center; gap: 6px; border: 1px solid var(--rdj-trait); border-radius: 999px; padding: 5px 12px; font-size: 15px; cursor: pointer; }
.rdj-cases input { accent-color: var(--rdj-gazon); }
.rdj-resultat { border-top: 1px dashed var(--rdj-trait); padding-top: 14px; display: grid; gap: 12px; }
.rdj-technos-res { display: grid; gap: 10px; }
.rdj-techno { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.rdj-techno strong { display: block; font-size: 16px; }
.rdj-techno small { display: block; color: var(--rdj-gris); font-size: 14.5px; line-height: 1.4; }
.rdj-pastille { font-family: var(--rdj-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.rdj-pastille--oui { background: var(--rdj-gazon-clair); color: var(--rdj-gazon); }
.rdj-pastille--bof { background: #fbefd2; color: var(--rdj-attention); }
.rdj-resultat .rdj-note { margin: 0; font-size: 15px; }
.rdj-compatibles { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 8px; }
.rdj-compatibles li { display: grid; gap: 2px; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--rdj-trait); }
.rdj-compatibles a { font-weight: 700; text-decoration: none; }
.rdj-compatibles span { font-family: var(--rdj-mono); font-size: 13px; color: var(--rdj-gris); }

/* ── Accueil ─────────────────────────────────────────────────────── */

.rdj-heros { background: repeating-linear-gradient(115deg, var(--rdj-bande-a) 0 64px, var(--rdj-bande-b) 64px 128px); color: #fff; }
.rdj-heros__dedans { max-width: 1200px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.rdj-heros .rdj-etiquette { color: #ddebd8; }
.rdj .rdj-heros h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); margin: 10px 0 0; }
.rdj-heros h1 em { font-style: normal; color: var(--rdj-balise); }
.rdj .entry-content .rdj-heros__chapo { font-size: 20px; color: #eaf3e6; max-width: 560px; margin: 18px 0 0; }
.rdj-heros__preuves { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-family: var(--rdj-mono); font-size: 13px; font-weight: 600; color: #ddebd8; }
.rdj-heros__preuves span::before { content: "▸ "; color: var(--rdj-balise); }
.rdj-heros .rdj-outil .rdj-etiquette { color: var(--rdj-gris); }
.rdj-heros .rdj-outil { box-shadow: 0 18px 40px rgba(10, 30, 15, 0.28); border: 0; margin: 0; }

.rdj-bloc { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.rdj-bloc + .rdj-bloc { border-top: 1px solid var(--rdj-trait); }
.rdj .entry-content .rdj-bloc h2 { margin-top: 0; }
.rdj-bloc__intro { color: var(--rdj-gris); max-width: 640px; margin: 0 0 24px; }

.rdj-surfaces { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rdj-surfaces li { margin: 0; }
.rdj-surfaces a, .rdj-surfaces span.rdj-surface { display: grid; gap: 4px; height: 100%; box-sizing: border-box; text-decoration: none; color: var(--rdj-encre); background: var(--rdj-papier); border: 1px solid var(--rdj-trait); border-radius: 10px; padding: 14px; }
.rdj-surfaces a:hover { border-color: var(--rdj-gazon); }
.rdj-m2 { font-family: var(--rdj-mono); font-weight: 600; font-size: 21px; line-height: 1; color: var(--rdj-gazon); }
.rdj-surfaces small { color: var(--rdj-gris); font-size: 14px; line-height: 1.35; }

.rdj-technos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rdj-technos > div { display: grid; gap: 8px; align-content: start; }
.rdj-technos__schema { height: 92px; border-radius: 10px; background: var(--rdj-gazon-clair); display: grid; place-items: center; }
.rdj .entry-content .rdj-technos h3 { margin: 4px 0 0; }
.rdj .entry-content .rdj-technos p { margin: 0; color: var(--rdj-gris); font-size: 16px; }
.rdj-technos dl { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 15px; }
.rdj-technos dt { font-family: var(--rdj-mono); font-size: 11.5px; font-weight: 600; line-height: 1.9; text-transform: uppercase; color: var(--rdj-gris); }
.rdj-technos dd { margin: 0; }

.rdj-marques { list-style: none; margin: 0 !important; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rdj-marques li { margin: 0; }
.rdj-marques a, .rdj-marques .rdj-sanslien { display: inline-block; border: 1px solid var(--rdj-trait); background: var(--rdj-papier); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--rdj-encre); font-weight: 600; font-size: 16px; }
.rdj-marques a:hover { border-color: var(--rdj-gazon); color: var(--rdj-gazon); }

.rdj-methode { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: rdj-etape; }
.rdj-methode > div { display: grid; gap: 6px; align-content: start; }
.rdj-methode > div::before { counter-increment: rdj-etape; content: counter(rdj-etape); font-family: var(--rdj-titres); font-weight: 800; font-size: 32px; line-height: 1; color: var(--rdj-balise); -webkit-text-stroke: 1px var(--rdj-encre); }
.rdj .entry-content .rdj-methode h3 { margin: 0; }
.rdj .entry-content .rdj-methode p { margin: 0; color: var(--rdj-gris); }

/* ── Cartes et « À lire aussi » ──────────────────────────────────── */

.rdj-cartes { list-style: none; margin: 0 0 24px !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rdj-cartes li { margin: 0; }
.rdj-carte { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; border: 1px solid var(--rdj-trait); border-radius: 10px; padding: 20px; text-decoration: none; color: var(--rdj-encre) !important; background: var(--rdj-papier); transition: border-color 0.15s; }
.rdj-carte:hover { border-color: var(--rdj-gazon); }
.rdj-carte__type { font-family: var(--rdj-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rdj-gazon); }
.rdj-carte__titre { font-family: var(--rdj-titres); font-stretch: 112%; font-weight: 700; font-size: 20px; line-height: 1.25; }
.rdj-carte__texte { font-size: 15px; line-height: 1.45; color: var(--rdj-texte); }

.rdj-lire { background: var(--rdj-papier); border-top: 1px solid var(--rdj-trait); }
.rdj-lire__dedans { max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px; }
.rdj-lire__titre { font-size: 28px; margin: 0 0 20px; }

/* ── Pied ────────────────────────────────────────────────────────── */

.rdj .site-footer, .rdj .site-info { background: var(--rdj-encre); color: var(--rdj-sol); border-top: 0; }
.rdj .inside-site-info { display: block; padding: 40px 24px 24px; max-width: 1200px; }
.rdj .copyright-bar { width: 100%; text-align: left; }
.rdj-pied__grille { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; text-align: left; }
.rdj-pied .rdj-logo, .rdj-pied .rdj-logo__nom { color: var(--rdj-sol); }
.rdj-pied__phrase { font-size: 15px; margin: 10px 0 0; max-width: 360px; opacity: 0.85; }
.rdj-pied__titre { font-family: var(--rdj-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rdj-sol) !important; opacity: 0.75; margin: 0 0 10px; font-weight: 600; }
.rdj-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rdj-pied ul li { margin: 0; }
.rdj .site-info a, .rdj-pied a { color: var(--rdj-sol); text-decoration: none; opacity: 0.9; font-size: 15px; }
.rdj .site-info a:hover, .rdj-pied a:hover { text-decoration: underline; opacity: 1; color: var(--rdj-sol); }
.rdj-legal { border-top: 1px solid rgba(244, 247, 242, 0.18); padding-top: 18px; font-size: 13.5px; line-height: 1.55; opacity: 0.85; }
.rdj-legal p { margin: 0 0 6px; max-width: 900px; }

/* ── Petits écrans ───────────────────────────────────────────────── */

@media (max-width: 900px) {
	.rdj-heros__dedans { grid-template-columns: 1fr; padding: 36px 16px 40px; }
	.rdj-surfaces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rdj-technos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rdj-fiche__corps { grid-template-columns: 1fr; }
	.rdj-specs { border-right: 0; border-bottom: 1px solid var(--rdj-trait); }
	.rdj-fiche__achat { justify-items: start; }
	.rdj-methode { grid-template-columns: 1fr; }
	.rdj-pied__grille { grid-template-columns: 1fr 1fr; }
	.rdj-bloc { padding: 40px 16px; }
}
@media (max-width: 768px) {
	body.rdj { font-size: 17px; }
	.rdj .entry-title, .rdj h1 { font-size: 34px; }
	.rdj .entry-content h2 { font-size: 26px; }
	.rdj .inside-article { padding: 24px 16px 44px; }
	.rdj .inside-header { padding: 10px 16px; }
}
@media (max-width: 520px) {
	.rdj-surfaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rdj-technos { grid-template-columns: 1fr; }
	.rdj-pied__grille { grid-template-columns: 1fr; }
	.rdj-outil { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.rdj * { transition: none !important; }
}
