/* Yootube Core : charte « Studio Specs » (maquette validée par Rob le 11/10/2026). */

:root {
	--yt-encre: #111318;
	--yt-texte: #2a2e37;
	--yt-gris: #4a5060;
	--yt-fond: #ffffff;
	--yt-gris-clair: #f4f5f7;
	--yt-bordure: #d9dce3;
	--yt-trait: #e3e5ea;
	--yt-bleu: #2448d8;
	--yt-bleu-fonce: #1a35a3;
	--yt-bleu-pale: #eef2ff;
	--yt-bleu-bord: #c9d4ff;
	--yt-vert-fond: #d7f2e1;
	--yt-vert: #0f5a2e;
	--yt-ambre-fond: #fde7c8;
	--yt-ambre: #7a4300;
	--yt-rouge-fond: #fbdcdc;
	--yt-rouge: #8a1c1c;
	--yt-titres: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--yt-corps: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
	--yt-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

body.yt {
	background: var(--yt-fond);
	color: var(--yt-texte);
	font-family: var(--yt-corps);
	font-size: 18px;
	line-height: 1.6;
}

.yt a { color: var(--yt-bleu); }
.yt a:hover, .yt a:focus { color: var(--yt-bleu-fonce); }
.yt :focus-visible { outline: 3px solid var(--yt-bleu); outline-offset: 2px; }

.yt h1, .yt h2, .yt h3, .yt .entry-title {
	font-family: var(--yt-titres);
	color: var(--yt-encre);
	letter-spacing: -0.01em;
}
.yt .entry-title, .yt h1 { font-size: 46px; line-height: 1.08; font-weight: 700; margin-bottom: 8px; }
.yt .entry-content h2 { font-size: 30px; line-height: 1.2; font-weight: 700; margin: 48px 0 14px; }
.yt .entry-content h3 { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 28px 0 10px; }
.yt .entry-content p, .yt .entry-content li { color: var(--yt-texte); }
.yt .entry-content ul, .yt .entry-content ol { margin-left: 1.3em; }

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

.yt .site-header { background: var(--yt-fond); border-bottom: 1px solid var(--yt-trait); }
.yt .inside-header { padding: 16px 24px; }
.yt-logo a, a.yt-logo { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; color: var(--yt-encre); }
.yt-logo__nom { font-family: var(--yt-titres); font-weight: 700; font-size: 26px; color: var(--yt-encre); letter-spacing: -0.02em; }
.yt-logo__tld { font-family: var(--yt-mono); font-size: 15px; color: var(--yt-bleu); }
.yt .main-title { margin: 0; line-height: 1; }
.yt .main-navigation, .yt .main-navigation ul ul { background: transparent; }
.yt .main-navigation .main-nav ul li a {
	font-family: var(--yt-corps);
	font-weight: 500;
	font-size: 16px;
	color: var(--yt-encre);
	line-height: 48px;
	padding: 0 14px;
	text-transform: none;
	letter-spacing: 0;
}
.yt .main-navigation .main-nav ul li a:hover,
.yt .main-navigation .main-nav ul li.current-menu-item > a,
.yt .main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--yt-bleu); background: transparent; }
.yt .main-navigation .main-nav ul li.current-menu-item > a,
.yt .main-navigation .main-nav ul li.current-menu-ancestor > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.yt .menu-toggle, .yt .menu-toggle:hover { background: transparent; color: var(--yt-encre); font-weight: 600; min-height: 44px; }

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

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

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

.yt-chapeau { font-size: 20px; line-height: 1.55; color: var(--yt-texte); }
.yt-reponse {
	background: var(--yt-bleu-pale);
	border: 1px solid var(--yt-bleu-bord);
	border-radius: 10px;
	padding: 18px 22px;
	margin: 0 0 28px;
}
.yt-reponse__lib { display: block; font-family: var(--yt-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yt-bleu-fonce); margin-bottom: 4px; }
.yt-reponse p { margin: 0; font-size: 18px; color: var(--yt-encre); }
.yt-reponse p + p { margin-top: 8px; }

.yt .entry-content table, .yt-tableau { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 24px; border: 0; }
.yt-tableau-cadre { overflow-x: auto; margin: 0 0 24px; }
.yt-tableau-cadre table { min-width: 520px; margin: 0; }
.yt .entry-content th, .yt .entry-content td { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--yt-trait); text-align: left; vertical-align: top; }
.yt .entry-content thead th { font-family: var(--yt-mono); font-size: 13px; color: var(--yt-gris); font-weight: 600; background: var(--yt-gris-clair); }
.yt .entry-content td.yt-num, .yt .yt-mono { font-family: var(--yt-mono); }

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

.yt-note { background: var(--yt-gris-clair); border-radius: 10px; padding: 16px 20px; font-size: 16px; margin: 0 0 24px; }
.yt-source { font-size: 14px; color: var(--yt-gris); }

/* ── Cartes ──────────────────────────────────────────────────────── */

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

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

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

.yt .site-footer, .yt .site-info { background: var(--yt-gris-clair); color: var(--yt-texte); border-top: 1px solid var(--yt-trait); }
.yt .inside-site-info { display: block; padding: 40px 24px 24px; max-width: 1200px; }
.yt .copyright-bar { width: 100%; text-align: left; }
.yt-pied__grille { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; text-align: left; }
.yt-pied__phrase { font-size: 15px; color: var(--yt-texte); margin: 10px 0 0; max-width: 360px; }
.yt-pied__titre { font-family: var(--yt-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yt-gris); margin: 0 0 10px; font-weight: 600; }
.yt-pied__colonne ul { list-style: none; margin: 0; padding: 0; }
.yt-pied__colonne li { margin: 0 0 6px; font-size: 15px; }
.yt-legal { border-top: 1px solid var(--yt-trait); padding-top: 18px; font-size: 14px; color: var(--yt-gris); }
.yt-legal p { margin: 0 0 6px; max-width: 860px; }

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

.yt-btn, .yt .entry-content a.yt-btn, a.yt-bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: 8px; border: 1px solid var(--yt-bleu);
	background: var(--yt-bleu); color: #fff !important; font-family: var(--yt-corps); font-weight: 600; font-size: 16px;
	text-decoration: none; cursor: pointer; line-height: 1.2;
}
.yt-btn:hover, a.yt-bouton:hover { background: var(--yt-bleu-fonce); border-color: var(--yt-bleu-fonce); color: #fff !important; }
.yt-btn--second, .yt .entry-content a.yt-btn--second { background: var(--yt-fond); color: var(--yt-encre) !important; border-color: #c9cdd6; }
.yt-btn--second:hover { background: var(--yt-gris-clair); color: var(--yt-encre) !important; border-color: #9aa1b0; }
.yt-btn--petit { min-height: 36px; padding: 6px 12px; font-size: 14px; background: var(--yt-fond); color: var(--yt-bleu) !important; border-color: var(--yt-bordure); }
.yt-btn--petit:hover { background: var(--yt-bleu-pale); color: var(--yt-bleu-fonce) !important; border-color: var(--yt-bleu-bord); }
.yt-affilie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.yt-affilie__mention { font-family: var(--yt-mono); font-size: 12px; color: var(--yt-gris); }

/* ── Outils ──────────────────────────────────────────────────────── */

.yt-outil { border: 1px solid var(--yt-bordure); border-radius: 12px; overflow: hidden; margin: 0 0 32px; background: var(--yt-fond); font-size: 16px; }
.yt-outil__tete { background: var(--yt-encre); color: #fff; padding: 16px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.yt .yt-outil__titre { margin: 0 !important; font-size: 22px; color: #fff; }
.yt-outil__note { margin: 0; font-size: 14px; color: #c3c8d4; }
.yt-outil__corps { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.yt-outil__pied { margin: 0; font-size: 13px; color: var(--yt-gris); }
.yt-outil__sansjs { padding: 22px; margin: 0; }

.yt-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.yt-grille--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.yt-champ { display: flex; flex-direction: column; gap: 6px; }
.yt-champ__libelle { font-weight: 600; font-size: 15px; color: var(--yt-encre); }
.yt-champ__aide { margin: 0; font-size: 14px; color: var(--yt-gris); line-height: 1.45; }
.yt .yt-input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid #b8becb; border-radius: 8px; background: #fff; color: var(--yt-encre); font-family: var(--yt-corps); font-size: 16px; }
.yt .yt-input:focus { border-color: var(--yt-bleu); }
.yt .yt-input[type="color"] { padding: 4px; }
.yt .yt-input[type="range"] { padding: 0; border: 0; }
.yt .yt-input--zone { min-height: 96px; resize: vertical; line-height: 1.5; }
.yt-case { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; min-height: 44px; }

.yt-choix { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--yt-bordure); border-radius: 8px; overflow: hidden; align-self: flex-start; }
.yt .yt-choix__btn { min-height: 44px; padding: 8px 16px; background: #fff; color: var(--yt-encre); border: 0; border-right: 1px solid var(--yt-bordure); font-weight: 600; font-size: 15px; cursor: pointer; }
.yt .yt-choix__btn:last-child { border-right: 0; }
.yt .yt-choix__btn[aria-checked="true"] { background: var(--yt-encre); color: #fff; }

.yt-depot__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.yt-depot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 160px; padding: 20px; border: 2px dashed #b8becb; border-radius: 10px; background: #f9fafb; cursor: pointer; text-align: center; }
.yt-depot__input:focus-visible + .yt-depot { outline: 3px solid var(--yt-bleu); outline-offset: 2px; }
.yt-depot--survol { border-color: var(--yt-bleu); background: var(--yt-bleu-pale); }
.yt-depot__titre { font-weight: 600; color: var(--yt-encre); }
.yt-depot__aide { font-size: 14px; color: var(--yt-gris); }

.yt-resultat { display: flex; flex-direction: column; gap: 16px; }
.yt-resultat:empty { display: none; }
.yt .yt-resultat__titre { font-size: 18px; margin: 4px 0 0 !important; }
.yt-erreur { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--yt-rouge-fond); color: var(--yt-rouge); font-weight: 600; }
.yt .yt-checks { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 8px; }
.yt-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 8px; background: var(--yt-gris-clair); margin: 0 !important; }
.yt-check__statut { font-family: var(--yt-mono); font-weight: 600; font-size: 12px; padding: 3px 8px; border-radius: 4px; flex: none; }
.yt-check--ok .yt-check__statut { background: var(--yt-vert-fond); color: var(--yt-vert); }
.yt-check--warn .yt-check__statut { background: var(--yt-ambre-fond); color: var(--yt-ambre); }
.yt-check--fix .yt-check__statut { background: var(--yt-rouge-fond); color: var(--yt-rouge); }
.yt-check__texte { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; }
.yt-check__texte strong { color: var(--yt-encre); }

.yt-apercus { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.yt-apercu { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--yt-gris); max-width: 100%; }
.yt-apercu__cadre { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; overflow: hidden; background: #2b3140; }
.yt-apercu__cadre--vertical { aspect-ratio: 9 / 16; }
.yt-apercu__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-apercu__duree { position: absolute; right: 4px; bottom: 4px; background: rgba(0, 0, 0, 0.8); color: #fff; font-family: var(--yt-mono); font-size: 11px; padding: 1px 4px; border-radius: 3px; }

.yt-banniere { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #2b3140; }
.yt-banniere__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-banniere__zone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 2px dashed #fff; box-shadow: 0 0 0 9999px rgba(17, 19, 24, 0.55); display: flex; align-items: flex-start; justify-content: center; }
.yt-banniere__label { margin-top: 6px; background: rgba(17, 19, 24, 0.85); color: #fff; font-family: var(--yt-mono); font-size: 12px; padding: 2px 6px; border-radius: 4px; }

.yt-ronds { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; }
.yt-rond { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--yt-gris); }
.yt-rond img { border-radius: 50%; object-fit: cover; display: block; }
.yt-redim__apercu { max-width: 100%; max-height: 360px; width: auto; border-radius: 8px; border: 1px solid var(--yt-trait); align-self: flex-start; }

.yt-compteur { margin: 0; font-family: var(--yt-mono); font-size: 14px; color: var(--yt-vert); font-weight: 600; }
.yt-compteur--trop { color: var(--yt-rouge); }
.yt .yt-puces { list-style: none; margin: 0 !important; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.yt-puces li { margin: 0 !important; }
.yt-puce { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--yt-bordure); border-radius: 999px; font-size: 15px; cursor: pointer; background: #fff; }
.yt-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.yt .yt-noms, .yt .yt-titres, .yt .yt-idees { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: 8px; }
.yt-nom, .yt-titre, .yt-idee { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--yt-trait); border-radius: 8px; margin: 0 !important; }
.yt-nom__nom, .yt-titre__texte, .yt-idee__texte { font-weight: 600; color: var(--yt-encre); }
.yt-nom__handle { font-family: var(--yt-mono); font-size: 13px; color: var(--yt-gris); grid-column: 1; }
.yt-nom__handle--trop, .yt-titre__compte--trop { color: var(--yt-rouge); }
.yt-nom .yt-btn, .yt-idee .yt-btn { grid-column: 2; grid-row: 1 / span 2; }
.yt-titre { grid-template-columns: minmax(0, 1fr) auto auto; }
.yt-titre__compte { font-family: var(--yt-mono); font-size: 13px; color: var(--yt-gris); }
.yt-idee__format { font-family: var(--yt-mono); font-size: 12px; color: var(--yt-bleu); grid-column: 1; }

.yt-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.yt-chiffre { background: var(--yt-gris-clair); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.yt-chiffre__lib { font-family: var(--yt-mono); font-size: 13px; color: var(--yt-gris); }
.yt-chiffre__val { font-family: var(--yt-titres); font-size: 30px; font-weight: 700; color: var(--yt-encre); }
.yt-gros { margin: 0; font-family: var(--yt-mono); font-size: 18px; font-weight: 600; color: var(--yt-encre); }

.yt-paliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.yt-palier { border: 1px solid var(--yt-bordure); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.yt-palier--ok { border-color: #7cc79a; background: #f3fbf6; }
.yt .yt-palier__titre { margin: 0 !important; font-size: 19px; }
.yt-palier__etat { margin: 0; font-weight: 600; color: var(--yt-encre); }
.yt-barre { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.yt-barre__haut { display: flex; justify-content: space-between; gap: 8px; }
.yt-barre__val { font-family: var(--yt-mono); }
.yt-barre__fond { height: 10px; border-radius: 999px; background: #e3e5ea; overflow: hidden; }
.yt-barre__plein { height: 100%; background: var(--yt-bleu); border-radius: 999px; }
.yt-barre--ok .yt-barre__plein { background: #1f8a4c; }
.yt-barre__reste { font-size: 13px; color: var(--yt-gris); }

.yt-sortie { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.yt-sortie__titre { font-weight: 600; font-size: 15px; color: var(--yt-encre); }
.yt-sortie .yt-input { font-family: var(--yt-mono); font-size: 14px; }

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

.yt-bloc { padding: 64px 24px; }
.yt-bloc__dedans { max-width: 1200px; margin: 0 auto; }
.yt-bloc--gris { background: var(--yt-gris-clair); border-bottom: 1px solid var(--yt-trait); }
.yt-bloc--sombre { background: var(--yt-encre); color: #fff; }
.yt-bloc--sombre h2 { color: #fff !important; }
.yt-bloc--sombre a { color: #9db2ff; }
.yt-bloc--sombre table th, .yt-bloc--sombre table td { border-bottom-color: #2c323d !important; color: #fff; }
.yt-bloc--sombre table thead th { background: transparent !important; color: #b9bfcc !important; }
.yt-bloc--sombre .yt-source { color: #b9bfcc; }
.yt-une { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.yt-une__texte { flex: 1 1 480px; min-width: 0; }
.yt-une__outil { flex: 1 1 420px; min-width: 0; }
.yt-une__outil .yt-outil { margin: 0; }
.yt-surtitre { font-family: var(--yt-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yt-gris); margin: 0 0 14px; }
.yt-accueil h1 { font-size: 56px; line-height: 1.05; margin: 0 0 18px; }
.yt-une__intro { font-size: 19px; color: var(--yt-texte); max-width: 560px; margin: 0 0 24px; }
.yt-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.yt-accueil .entry-content h2 { margin-top: 0; }
.yt-entete-bloc { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.yt-entete-bloc h2 { margin: 0 !important; }
.yt-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.yt-liens { list-style: none; margin: 0 !important; padding: 0; }
.yt-liens li { margin: 0 0 12px; font-size: 18px; font-weight: 500; }

/* ── Téléphone ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
	body.yt { font-size: 17px; }
	.yt .entry-title, .yt h1 { font-size: 34px; }
	.yt-accueil h1 { font-size: 38px; }
	.yt .entry-content h2 { font-size: 26px; margin-top: 36px; }
	.yt .inside-article { padding: 24px 16px 40px; }
	.yt .inside-header { padding: 12px 16px; }
	.yt-bloc { padding: 44px 16px; }
	.yt-lire__dedans { padding: 36px 16px 24px; }
	.yt-pied__grille { grid-template-columns: 1fr; gap: 20px; }
	.yt .inside-site-info { padding: 32px 16px 20px; }
	.yt-outil__corps { padding: 16px; }
	.yt-sortie { grid-template-columns: 1fr; }
	.yt-titre { grid-template-columns: minmax(0, 1fr) auto; }
	.yt-titre .yt-btn { grid-column: 1 / -1; justify-self: start; }
}
