/*
 * Altalks Academy 3.0 — charte « la parole, la rigueur, l'ouverture ».
 * Bleu nuit (autorité), turquoise (savoir), moutarde (action), papier.
 * Titres en Bricolage Grotesque, textes et arabe en Readex Pro.
 * Motif : grands guillemets « » d'Alternative Talks, un seul par écran.
 * Propriétés logiques (inline/block) pour un affichage correct en arabe.
 */
:root {
	--zt-primary: #10243A;
	--zt-ink2: #0A1726;
	--zt-teal: #147D85;
	--zt-accent: #D8A63D;
	--zt-link: #0F6C73;
	--zt-teal-soft: #E3F1F2;
	--zt-accent-soft: #FBF1DC;
	--zt-ink: #10243A;
	--zt-text: #3C4B5F;
	--zt-muted: #55657A;
	--zt-line: #E1E6EC;
	--zt-line-strong: #C9D2DC;
	--zt-ground: #F4F6F8;
	--zt-surface: #FFFFFF;
	--zt-on-dark: #C9D4E0;
	--zt-on-dark-muted: #9FB0C4;
	--zt-teal-light: #7FC3C8;
	--zt-ok: #0B5E57;
	--zt-ok-soft: #DFF2EF;
	--zt-ko: #B3261E;
	--zt-radius: 18px;
	--zt-radius-sm: 12px;
	--zt-wrap: 1200px;
	--zt-font: "Readex Pro", system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", sans-serif;
	--zt-display: "Bricolage Grotesque", "Readex Pro", system-ui, sans-serif;
	--za-ink: var(--zt-ink);
	--za-muted: var(--zt-muted);
	--za-line: var(--zt-line);
	--za-soft: var(--zt-teal-soft);
	--za-paper: var(--zt-ground);
	--za-link: var(--zt-link);
}
:lang(ar) { --zt-display: "Readex Pro", system-ui, sans-serif; }

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--zt-ground); color: var(--zt-ink); font-family: var(--zt-font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:lang(ar) body, body:lang(ar) { line-height: 1.8; }
img { max-width: 100%; height: auto; }
a { color: var(--zt-link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--zt-accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--zt-display); line-height: 1.1; color: inherit; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; line-height: 1.4; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
table { font-variant-numeric: tabular-nums; }
.zt-display { font-family: var(--zt-display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
:lang(ar) .zt-display { font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.zt-wrap { width: min(100% - 32px, var(--zt-wrap)); margin-inline: auto; }
.zt-narrow { max-width: 760px; }
.zt-measure { max-width: 62ch; }
.zt-main { display: block; min-height: 60vh; }
.zt-section { padding-block: clamp(48px, 7vw, 88px); }
.zt-section + .zt-section:not(.zt-partners-band):not(.zt-proposal-band) { padding-top: 0; }
.zt-section-tight { padding-top: 32px; padding-bottom: 72px; }
.zt-section-head { margin-bottom: 28px; }
.zt-section-head h2 { margin-bottom: 0.2em; }
.zt-section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.zt-section-head-row h2, .zt-section-head-row p { margin-bottom: 0; }
.zt-section-intro { color: var(--zt-muted); max-width: 60ch; margin-top: 6px; }
.zt-more { font-weight: 600; text-decoration: none; }
.zt-more:hover { text-decoration: underline; }
.zt-kicker { margin: 0 0 0.7em; font-size: 0.95rem; font-weight: 500; color: var(--zt-muted); }
.zt-lead { font-size: 1.18rem; color: var(--zt-text); max-width: 46ch; line-height: 1.55; }
.zt-small { font-size: 0.88rem; color: var(--zt-muted); }
.zt-center { text-align: center; }
.zt-sr, .za-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.zt-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--zt-ink); color: #fff; border-radius: 8px; }
.zt-skip:focus { top: 12px; }
.zt-stretch { color: inherit; text-decoration: none; }
.zt-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.zt-stretch:focus-visible { outline: none; }
.zt-stretch:focus-visible::after { outline: 3px solid var(--zt-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- Boutons */
.zt-btn, .za-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; min-height: 48px; padding: 0 1.4em; border: 1.5px solid var(--zt-primary); border-radius: var(--zt-radius-sm); background: var(--zt-primary); color: #fff !important; font: inherit; font-weight: 600; text-decoration: none !important; cursor: pointer; line-height: 1.2; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.zt-btn:hover, .za-btn:hover { background: #1B3654; border-color: #1B3654; filter: none; }
.zt-btn-gold, .za-btn-gold, .zt-btn-accent { background: var(--zt-accent); border-color: var(--zt-accent); color: var(--zt-primary) !important; }
.zt-btn-gold:hover, .za-btn-gold:hover, .zt-btn-accent:hover { background: #E6B955; border-color: #E6B955; }
.zt-btn-ghost, .za-btn-light { background: var(--zt-surface); color: var(--zt-primary) !important; border-color: var(--zt-line-strong); }
.zt-btn-ghost:hover, .za-btn-light:hover { background: var(--zt-surface); border-color: var(--zt-primary); }
.zt-btn-line { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.4); }
.zt-btn-line:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.zt-btn-small { min-height: 40px; padding: 0 1em; font-size: 0.93rem; white-space: nowrap; }
.zt-actions, .za-demo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.zt-actions .za-demo-cta { display: contents; }
.zt-actions .za-demo-cta .za-muted { display: none; }
.zt-link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------- Logo et guillemets */
.zt-mark { flex: none; display: block; }
.zt-mark-bubble { fill: var(--zt-primary); }
.zt-mark-o { stroke: #fff; }
.zt-mark-a { fill: #fff; }
.zt-mark-dot { fill: var(--zt-accent); }
[dir="rtl"] .zt-brand .zt-mark { transform: scaleX(-1); }
.zt-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--zt-primary) !important; margin-inline-end: auto; }
.zt-wordmark { font-family: "Bricolage Grotesque", "Readex Pro", sans-serif; font-size: 1.42rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.zt-word2 { font-weight: 400; color: var(--zt-teal); margin-inline-start: 0.28em; }
.zt-wordmark-ar { font-family: "Readex Pro", sans-serif; font-weight: 700; letter-spacing: 0; font-size: 1.3rem; }
.custom-logo-link { margin-inline-end: auto; display: inline-flex; }
.custom-logo { max-height: 52px; width: auto; }
.zt-quote { position: absolute; font-family: "Bricolage Grotesque", Georgia, serif; font-weight: 800; color: var(--zt-accent); line-height: 1; pointer-events: none; user-select: none; z-index: 0; }

/* ----------------------------------------------------------------- En-tête */
.zt-header { background: var(--zt-surface); border-bottom: 1px solid var(--zt-line); position: relative; z-index: 20; }
.zt-header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.zt-nav { display: flex; align-items: center; gap: 24px; }
.zt-menu, .zt-footer-menu { list-style: none; margin: 0; padding: 0; }
.zt-menu { display: flex; gap: 4px; }
.zt-menu a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 8px; color: var(--zt-ink); text-decoration: none; font-weight: 500; }
.zt-menu a:hover { background: var(--zt-ground); }
.zt-menu .current-menu-item > a, .zt-menu a[aria-current] { color: var(--zt-link); box-shadow: inset 0 -2px 0 var(--zt-accent); border-radius: 0; }
.zt-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.zt-header-tools { display: flex; align-items: center; gap: 10px; }
.zt-lang ul { display: flex; list-style: none; margin: 0; padding: 3px; gap: 2px; background: var(--zt-ground); border-radius: 9px; }
.zt-lang a { display: block; padding: 4px 10px; border-radius: 7px; color: var(--zt-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.zt-lang a.is-active { background: var(--zt-surface); color: var(--zt-ink); box-shadow: 0 1px 2px rgba(16, 36, 58, 0.14); }
.zt-quick { display: none; }
.zt-icon-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: var(--zt-ink); }
.zt-icon-link:hover { background: var(--zt-ground); }
.zt-badge[hidden] { display: none; }
.zt-badge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--zt-accent); color: var(--zt-primary); font-size: 0.7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.zt-menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--zt-line-strong); border-radius: 10px; background: var(--zt-surface); color: var(--zt-ink); font: inherit; font-weight: 500; cursor: pointer; }
.zt-menu-bars, .zt-menu-bars::before, .zt-menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.zt-menu-bars::before, .zt-menu-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.zt-menu-bars::before { top: -6px; }
.zt-menu-bars::after { top: 6px; }

/* ------------------------------------------------------- Accueil : bandeau */
.zt-hero { position: relative; overflow: hidden; background: var(--zt-primary); color: #fff; padding-block: clamp(56px, 9vw, 112px) clamp(64px, 9vw, 112px); }
.zt-hero-quote { font-size: clamp(420px, 60vw, 900px); inset-inline-end: -0.12em; top: -0.32em; opacity: 0.95; }
.zt-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.zt-hero-kicker { color: var(--zt-teal-light); font-weight: 500; margin-bottom: 18px; }
.zt-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem); margin-bottom: 0.32em; max-width: 12ch; color: #fff; }
.zt-hero .zt-lead { color: var(--zt-on-dark); margin-bottom: 1.6em; }
.zt-hero .zt-actions { margin-top: 18px; }
.zt-hero-img { border-radius: var(--zt-radius); display: block; }
.zt-search { display: flex; flex-wrap: wrap; gap: 8px; max-width: 580px; }
.zt-search input[type="search"] { flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 0 18px; border: 0; border-radius: var(--zt-radius-sm); background: #fff; color: var(--zt-ink); font: inherit; }
.zt-search .zt-btn { min-height: 52px; }
.zt-journey-card { position: relative; background: rgba(10, 23, 38, 0.72); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--zt-radius); padding: 26px 26px 18px; }
.zt-journey-title { font-weight: 600; font-size: 1.08rem; margin: 0 0 4px; }
.zt-journey-text { font-size: 0.9rem; color: var(--zt-on-dark-muted); margin: 0 0 16px; }
.zt-journey-steps { list-style: none; margin: 0; padding: 0; }
.zt-journey-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.95rem; }
.zt-journey-num { font-weight: 700; color: var(--zt-accent); font-variant-numeric: tabular-nums; }
.zt-journey-desc { color: var(--zt-on-dark-muted); font-size: 0.86rem; }

/* ----------------------------------------------------------------- Domaines */
.zt-domain-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.zt-domain { position: relative; background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius-sm); padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; min-height: 140px; transition: border-color .15s; }
.zt-domain::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--zt-teal); }
.zt-domain:nth-child(3n+2)::before { background: var(--zt-accent); }
.zt-domain:nth-child(3n)::before { background: var(--zt-primary); }
.zt-domain:hover { border-color: var(--zt-teal); }
.zt-domain a { font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.zt-domain-count { margin-top: auto; font-size: 0.88rem; color: var(--zt-muted); }

/* ------------------------------------------------------------------- Cartes */
.zt-card { position: relative; background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.zt-card:hover { border-color: var(--zt-line-strong); }
.zt-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.zt-card-domain { margin: 0; font-size: 0.82rem; font-weight: 600; color: var(--zt-teal); }
.zt-card-title { margin: 0; font-size: 1.32rem; line-height: 1.15; }
:lang(ar) .zt-card-title { line-height: 1.45; }
.zt-card-text { margin: 0; color: var(--zt-muted); font-size: 0.95rem; line-height: 1.55; }
.zt-card-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.86rem; color: var(--zt-muted); }
.zt-card-meta li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--zt-line-strong); vertical-align: middle; margin-inline-end: 14px; margin-inline-start: -4px; }
.zt-card-meta-line { margin: 0; font-size: 0.88rem; color: var(--zt-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.zt-card-meta-line a { position: relative; z-index: 2; }
.zt-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--zt-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.9rem; }
.zt-card-trainer { color: var(--zt-text); }
.zt-card-action { font-weight: 600; color: var(--zt-link); white-space: nowrap; }
.zt-card:hover .zt-card-action { text-decoration: underline; }
.zt-card-progress { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--zt-muted); }
.zt-card-progress .za-progress { flex: 1; margin: 0; }

.zt-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.zt-course-grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.zt-card-media { position: relative; aspect-ratio: 16 / 7; background: var(--zt-card, var(--zt-primary)); overflow: hidden; }
.zt-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zt-card-media::after { content: ""; position: absolute; inset: 0; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M7 5h18a4 4 0 0 1 4 4v11a4 4 0 0 1-4 4H15l-7 5v-5H7a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4z' fill='%23fff'/%3E%3C/svg%3E"); }
.zt-card-media:has(img)::after { display: none; }
.zt-card-code { position: absolute; inset-inline-start: 22px; bottom: 16px; font-family: var(--zt-display); font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.zt-card-flags { position: absolute; inset-inline-start: 16px; top: 16px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.zt-course-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zt-course-card.is-featured { grid-column: span 2; background: var(--zt-primary); color: #fff; border-color: var(--zt-primary); }
.zt-course-card.is-featured .zt-card-media { aspect-ratio: 16 / 6; }
.zt-course-card.is-featured .zt-card-body { padding: 26px 30px 30px; gap: 14px; }
.zt-course-card.is-featured .zt-card-title { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); color: #fff; }
.zt-course-card.is-featured .zt-card-text { color: var(--zt-on-dark); font-size: 1.05rem; }
.zt-course-card.is-featured .zt-card-domain { color: var(--zt-teal-light); }
.zt-course-card.is-featured .zt-card-meta, .zt-course-card.is-featured .zt-card-trainer { color: var(--zt-on-dark); }
.zt-course-card.is-featured .zt-card-foot { border-color: rgba(255, 255, 255, 0.14); }
.zt-course-card.is-featured .zt-card-action { color: var(--zt-accent); }

/* Badges d'accès */
.zt-badge-access { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 600; line-height: 1.3; background: var(--zt-surface); color: var(--zt-primary); }
.zt-badge-gratuit { background: var(--zt-ok-soft); color: var(--zt-ok); }
.zt-badge-payant { background: var(--zt-surface); color: var(--zt-primary); box-shadow: inset 0 0 0 1.5px var(--zt-primary); }
.zt-card-flags .zt-badge-payant { box-shadow: none; }
.zt-badge-invitation { background: var(--zt-accent-soft); color: #7A5410; }
.zt-badge-bientot { background: #EEF0F3; color: var(--zt-text); }
.zt-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zt-tags li, .zt-tags > span:not(.zt-badge-access) { display: inline-flex; padding: 4px 11px; border-radius: 99px; background: var(--zt-teal-soft); color: var(--zt-link); font-size: 0.8rem; font-weight: 600; }
.zt-tags-lg li { font-size: 0.9rem; padding: 6px 14px; }
.zt-tags-dark > span:not(.zt-badge-access) { background: rgba(255, 255, 255, 0.12); color: #fff; }
.zt-tags-dark .zt-badge-payant { box-shadow: none; }

/* Formateurs */
.zt-trainer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.zt-trainer-band { height: 76px; background: var(--zt-primary); position: relative; overflow: hidden; }
.zt-trainer-card:nth-child(3n+2) .zt-trainer-band { background: var(--zt-teal); }
.zt-trainer-card:nth-child(3n) .zt-trainer-band { background: #1B3654; }
.zt-trainer-card .zt-card-body { padding-top: 0; }
.zt-avatar { border-radius: 50%; object-fit: cover; flex: none; }
.zt-avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--zt-accent); color: var(--zt-primary); font-weight: 700; }
.zt-avatar-sm { width: 46px; height: 46px; font-size: 0.95rem; }
.zt-avatar-lg { width: 88px; height: 88px; font-size: 1.6rem; }
.zt-trainer-card .zt-avatar-lg { position: relative; z-index: 1; margin-top: -44px; border: 4px solid var(--zt-surface); background-color: var(--zt-accent); }
.zt-cta-card { background: var(--zt-teal); color: #fff; border-color: var(--zt-teal); padding: 26px; justify-content: space-between; gap: 14px; }
.zt-cta-card p { margin: 0; color: #D6EFF0; }
.zt-cta-card .zt-cta-title { font-family: var(--zt-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: #fff; }
.zt-cta-card .zt-btn { align-self: flex-start; }

/* Partenaires : mur de logos et cartes */
.zt-partners-band { background: var(--zt-surface); border-block: 1px solid var(--zt-line); }
.zt-logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.zt-logo-wall li { display: flex; flex-direction: column; gap: 8px; }
.zt-logo-tile { display: flex; align-items: center; justify-content: center; height: 130px; padding: 16px; border-radius: var(--zt-radius-sm); background: var(--zt-tile, #fff); border: 1px solid var(--zt-line); text-decoration: none; color: var(--zt-ink); font-weight: 700; text-align: center; transition: border-color .15s, transform .15s; }
.zt-logo-tile:hover { border-color: var(--zt-primary); }
.zt-logo-tile img { max-width: 100%; max-height: 98px; width: auto; height: auto; object-fit: contain; }
.zt-logo-caption { font-size: 0.82rem; color: var(--zt-muted); }
.zt-logo-wall-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.zt-partners-cta { margin: 28px 0 0; }
.zt-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.zt-partner-logo { display: flex; align-items: center; justify-content: center; height: 170px; padding: 22px; background: var(--zt-tile, #fff); border-bottom: 1px solid var(--zt-line); }
.zt-partner-logo img { max-width: 100%; max-height: 126px; width: auto; height: auto; object-fit: contain; }
.zt-partner-noimg { font-family: var(--zt-display); font-weight: 800; font-size: 1.6rem; color: var(--zt-primary); text-align: center; }
.zt-partner-card .zt-card-title a { color: var(--zt-ink); text-decoration: none; }
.zt-partner-card .zt-card-title a:hover { text-decoration: underline; }

/* Bandeaux « Enseigner », vérification, chiffres */
.zt-teach { background: var(--zt-teal); color: #fff; padding-block: 48px; }
.zt-teach-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px 48px; align-items: center; }
.zt-teach h2 { color: #fff; margin-bottom: 0.3em; }
.zt-teach p { color: #D6EFF0; margin: 0; max-width: 60ch; }
.zt-teach .zt-teach-cta { margin: 0; }
.zt-verify-band { position: relative; background: var(--zt-ink2); border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #fff; padding-block: 48px; overflow: hidden; }
.zt-verify-band h2 { color: #fff; }
.zt-verify-band p { color: var(--zt-on-dark); margin: 0; }
.zt-verify-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.zt-verify-form { display: flex; gap: 10px; }
.zt-verify-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: var(--zt-radius-sm); border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; letter-spacing: 0.04em; }
.zt-verify-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.zt-stats { background: var(--zt-surface); border-block: 1px solid var(--zt-line); }
.zt-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.zt-stat { margin: 0; padding: 26px 0; display: flex; flex-direction: column; }
.zt-stat strong { font-family: var(--zt-display); font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.zt-stat span { color: var(--zt-muted); }
.zt-band-cta { margin-top: 48px; background: var(--zt-teal); color: #fff; border-radius: var(--zt-radius); padding: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.zt-band-cta h2 { color: #fff; margin-bottom: 0.25em; }
.zt-band-cta p { color: #D6EFF0; margin: 0; max-width: 56ch; }

/* ------------------------------------------------------- En-têtes de pages */
.zt-page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 64px) 32px; border-bottom: 1px solid var(--zt-line); background: var(--zt-surface); }
.zt-page-hero h1 { margin-bottom: 0.25em; }
.zt-page-hero-dark { background: var(--zt-primary); color: #fff; border: 0; padding-block: clamp(44px, 7vw, 80px) clamp(36px, 5vw, 56px); }
.zt-page-hero-dark > .zt-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.zt-page-hero-dark h1 { color: #fff; margin: 0; font-size: clamp(2.4rem, 1.5rem + 3vw, 4.2rem); }
.zt-page-hero-dark .zt-lead { color: var(--zt-on-dark); margin: 0; }
.zt-page-quote { font-size: clamp(360px, 46vw, 680px); inset-inline-end: -0.1em; top: -0.34em; }
.zt-breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 16px; padding: 0; font-size: 0.88rem; color: var(--zt-muted); }
.zt-breadcrumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--zt-line-strong); }
.zt-breadcrumbs a { color: var(--zt-muted); }
.zt-page-hero-dark .zt-breadcrumbs ol, .zt-course-hero .zt-breadcrumbs ol, .zt-profile-hero .zt-breadcrumbs ol { color: var(--zt-on-dark-muted); margin: 0; }
.zt-page-hero-dark .zt-breadcrumbs a, .zt-course-hero .zt-breadcrumbs a, .zt-profile-hero .zt-breadcrumbs a { color: var(--zt-on-dark); }
.zt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--zt-line-strong); background: var(--zt-surface); color: var(--zt-ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.zt-chips a:hover { border-color: var(--zt-primary); }
.zt-chips a[aria-current] { background: var(--zt-primary); border-color: var(--zt-primary); color: #fff; }
.zt-chips-dark a { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.zt-chips-dark a:hover { border-color: #fff; }
.zt-chips-dark a[aria-current] { background: #fff; border-color: #fff; color: var(--zt-primary); }
.zt-filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.zt-count { color: var(--zt-muted); margin: 0 0 16px; }
.zt-empty { background: var(--zt-surface); border: 1px dashed var(--zt-line-strong); border-radius: var(--zt-radius); padding: 32px; text-align: center; }

/* -------------------------------------------------------- Page de formation */
.zt-course-hero { position: relative; overflow: hidden; background: var(--zt-primary); color: #fff; padding-block: 30px clamp(44px, 6vw, 72px); }
.zt-course-hero > .zt-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.zt-course-quote { font-size: clamp(380px, 48vw, 720px); inset-inline-end: -0.08em; top: -0.3em; opacity: 0.9; }
.zt-course-hero h1 { color: #fff; margin: 0; max-width: 18ch; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); }
.zt-course-hero .zt-lead { color: var(--zt-on-dark); margin: 0; max-width: 52ch; }
.zt-byline { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.zt-byline li { display: flex; align-items: center; gap: 12px; }
.zt-byline a { color: #fff; }
.zt-byline-role { display: block; font-size: 0.86rem; color: var(--zt-on-dark-muted); }
.zt-course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding-block: 40px 80px; align-items: start; }
.zt-course-main { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.zt-video, .zt-course-cover { margin: 0; border-radius: var(--zt-radius); overflow: hidden; background: var(--zt-primary); }
.zt-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.zt-course-cover img { display: block; width: 100%; }
.zt-fact-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.zt-fact-grid > div { background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius-sm); padding: 16px 18px; }
.zt-fact-grid dt { font-size: 0.82rem; color: var(--zt-muted); }
.zt-fact-grid dd { margin: 4px 0 0; font-family: var(--zt-display); font-weight: 800; font-size: 1.35rem; overflow-wrap: anywhere; line-height: 1.1; }
:lang(ar) .zt-fact-grid dd { font-weight: 700; }
.zt-panel { background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: clamp(22px, 3vw, 32px); }
.zt-panel > h2 { font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem); }
.zt-panel-note { background: var(--zt-teal-soft); border-color: transparent; font-size: 0.93rem; color: var(--zt-text); }
.zt-panel-note p { margin: 0; }
.zt-goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.zt-goals li { position: relative; background: var(--zt-ground); border-radius: var(--zt-radius-sm); padding: 16px 18px; padding-inline-start: 44px; line-height: 1.5; }
.zt-goals li::before { content: ""; position: absolute; inset-inline-start: 18px; top: 23px; width: 11px; height: 11px; border-radius: 50%; background: var(--zt-accent); }
.zt-method-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.zt-method-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.86rem; }
.zt-method-steps strong { font-weight: 500; }
.zt-method-num { width: 42px; height: 42px; border-radius: 50%; background: var(--zt-teal-soft); color: var(--zt-link); display: inline-flex; align-items: center; justify-content: center; font-family: var(--zt-display); font-weight: 800; }
.zt-method-steps li:last-child .zt-method-num { background: var(--zt-accent); color: var(--zt-primary); }
.zt-locked { position: relative; overflow: hidden; background: var(--zt-primary); color: #fff; border-radius: var(--zt-radius); padding: clamp(24px, 3vw, 34px); }
.zt-locked::before { content: ""; position: absolute; inset: 0; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M8 5h20a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H17l-7 6v-6H8a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4z' fill='%23fff'/%3E%3C/svg%3E"); }
.zt-locked > * { position: relative; }
.zt-locked-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.zt-locked-icon { width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--zt-accent); color: var(--zt-primary); display: inline-flex; align-items: center; justify-content: center; }
.zt-locked-head > div { flex: 1 1 280px; }
.zt-locked h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); margin-bottom: 0.3em; }
.zt-locked p { color: var(--zt-on-dark); }
.zt-locked-facts { margin: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.zt-locked-facts > div { display: flex; flex-direction: column-reverse; background: rgba(255, 255, 255, 0.07); border-radius: var(--zt-radius-sm); padding: 14px 16px; }
.zt-locked-facts dd { margin: 0; font-family: var(--zt-display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.zt-locked-facts dt { font-size: 0.86rem; color: var(--zt-on-dark); }
.zt-locked-titles { margin: 0 0 22px; padding-inline-start: 1.3em; color: var(--zt-on-dark); }
.zt-locked-titles li { margin-bottom: 4px; }
.zt-locked > p:last-child { margin: 0; }
.zt-trainer-box { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.zt-trainer-box > div { flex: 1 1 280px; }
.zt-trainer-box h2 { margin-bottom: 0.2em; }
.zt-trainer-box .zt-small { margin-bottom: 4px; }
.zt-trainer-role { color: var(--zt-teal); font-weight: 600; }
.zt-course-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.zt-course-aside .za-enroll, .zt-course-aside .za-cert-box { margin: 0; background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius); padding: 24px; }
.zt-course-aside .za-enroll { box-shadow: 0 20px 40px -32px rgba(16, 36, 58, 0.5); }
.zt-course-aside .za-cert-box h2 { font-size: 1.15rem; }
.zt-course-aside .za-demo-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 4px; }
.za-price strong { font-family: var(--zt-display); font-weight: 800; letter-spacing: -0.02em; }

/* --------------------------------------------------------- Profil formateur */
.zt-profile-hero { position: relative; overflow: hidden; background: var(--zt-primary); color: #fff; padding-block: 30px clamp(48px, 6vw, 72px); }
.zt-profile-hero > .zt-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 26px; }
.zt-profile-quote { font-size: clamp(380px, 48vw, 720px); inset-inline-end: -0.08em; bottom: -0.55em; }
.zt-profile-grid { display: flex; gap: clamp(24px, 4vw, 44px); align-items: center; flex-wrap: wrap; }
.zt-portrait { width: 220px; height: 264px; border-radius: 24px; overflow: hidden; background: var(--zt-teal); flex: none; }
.zt-portrait-img { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-family: var(--zt-display); font-weight: 800; font-size: 4.4rem; color: var(--zt-primary); background: var(--zt-accent); }
.zt-profile-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.zt-profile-text h1 { color: #fff; margin: 0; font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.4rem); }
.zt-profile-text .zt-lead { color: var(--zt-on-dark); margin: 0; }
.zt-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-block: 40px 80px; align-items: start; }
.zt-profile-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.zt-profile-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.zt-panel > .zt-aside-title, .zt-aside-title { font-family: var(--zt-font); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.zt-link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zt-prose p { color: var(--zt-text); line-height: 1.7; max-width: 66ch; }
.zt-timeline { list-style: none; margin: 0; padding: 0; }
.zt-timeline li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 0 0 20px; }
.zt-timeline li::before { content: ""; position: absolute; inset-inline-start: 102px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--zt-teal); }
.zt-timeline li:first-child::before { background: var(--zt-accent); }
.zt-timeline li > span:last-child { padding-inline-start: 22px; }
.zt-timeline-year { color: var(--zt-muted); font-size: 0.9rem; padding-top: 1px; }

/* ---------------------------------------------------------- Proposition */
.zt-proposal-band { background: var(--zt-surface); border-top: 1px solid var(--zt-line); }
.zt-proposal-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.zt-proposal-grid .zt-panel { background: var(--zt-ground); border-color: transparent; }
.zt-checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.zt-checklist li { position: relative; padding-inline-start: 26px; }
.zt-checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--zt-accent); }

/* ------------------------------------------------------------ Pages de cours */
.zt-learning-wrap { max-width: 1000px; }
.zt-learning-head { background: var(--zt-surface); border-bottom: 1px solid var(--zt-line); padding-block: 28px 26px; }
.zt-learning-head h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); max-width: 30ch; margin: 0; }
.zt-learning-head .zt-kicker { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.zt-kicker-num { color: var(--zt-teal); font-weight: 600; }
.zt-learning-content { padding-block: 28px 32px; }
.zt-learning-nav { padding-bottom: 64px; }
.zt-course-nav { position: relative; background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius); }
.zt-course-nav summary { cursor: pointer; padding: 16px 20px; display: flex; flex-direction: column; list-style: none; }
.zt-course-nav summary::-webkit-details-marker { display: none; }
.zt-course-nav-title { font-weight: 600; }
.zt-course-nav summary::after { content: "+"; position: absolute; inset-inline-end: 20px; font-size: 1.4rem; line-height: 1; color: var(--zt-muted); }
.zt-course-nav[open] summary::after { content: "−"; }
.zt-course-nav ol { list-style: none; margin: 0; padding: 0 20px 8px; }
.zt-course-nav li a { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--zt-line); color: var(--zt-ink); text-decoration: none; }
.zt-course-nav li a:hover { color: var(--zt-link); text-decoration: underline; }
.zt-nav-num { color: var(--zt-muted); font-variant-numeric: tabular-nums; min-width: 1.8em; }
.zt-course-nav li.is-done .zt-nav-num { color: var(--zt-ok); font-weight: 600; }
.zt-course-nav li.is-current a { font-weight: 600; }
.zt-course-nav p { margin: 0; padding: 4px 20px 16px; }

/* -------------------------------------------------- Contenu rédigé (cours) */
.zt-content { min-width: 0; }
.zt-content > * { max-width: 72ch; }
.zt-content .za-lesson, .zt-content .za-front, .zt-content .za-table-wrap, .zt-content table, .zt-content .alignwide, .zt-content .alignfull, .zt-content figure { max-width: none; }
.zt-content .za-article > *, .zt-content .za-front > p, .zt-content .za-front > ul, .zt-content .za-front > ol, .zt-content .za-front > h2, .zt-content .za-front > h3 { max-width: 72ch; }
.zt-content .za-article .za-table-wrap, .zt-content .za-article .za-activities { max-width: none; }
.zt-content h2 { margin-top: 1.6em; }
.zt-content h3 { margin-top: 1.4em; }
.zt-content ul, .zt-content ol { padding-inline-start: 1.3em; }
.zt-content li { margin-bottom: 0.35em; }
.zt-content blockquote { margin: 1.4em 0; padding-inline-start: 1.2em; border-inline-start: 3px solid var(--zt-accent); color: var(--zt-muted); }
.zt-panel.zt-content > h2:first-child { margin-top: 0; }
.zt-featured { margin: 0 0 24px; }
.zt-featured img { border-radius: var(--zt-radius); }

/* Blocs pédagogiques de l'extension, aux couleurs de la charte */
.za-front .za-definition { background: var(--zt-surface); border: 1px solid var(--zt-line); border-inline-start: 4px solid var(--zt-teal); }
.za-front .za-definition-terme { color: var(--zt-teal); }
.za-front .za-exemple { background: var(--zt-accent-soft); }
.za-front .za-retenir { background: var(--zt-surface); border: 1px solid var(--zt-line); border-top: 3px solid var(--zt-primary); border-radius: 4px 4px 10px 10px; }
.za-front .za-table th { background: transparent; border-bottom: 2px solid var(--zt-ink); }
.za-front .za-glossaire { display: grid; grid-template-columns: minmax(8em, max-content) 1fr; gap: 6px 18px; }
.za-front .za-glossaire dt { margin: 0; }
.za-front .za-glossaire dd { margin: 0; color: var(--zt-muted); }
.za-notice { background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: 10px; }
.za-notice-ok { border-color: color-mix(in srgb, var(--zt-ok) 40%, #fff); background: var(--zt-ok-soft); }
.za-qcard, .za-choice { background: var(--zt-surface); }
.za-choice { border-color: var(--zt-line); }
.za-choice:has(input:checked) { border-color: var(--zt-teal); background: var(--zt-teal-soft); }
.za-score { background: var(--zt-surface); font-variant-numeric: tabular-nums; }
.za-progress { background: var(--zt-line); }
.za-progress span { background: var(--zt-teal); }

/* Pages de l'extension (mon espace, inscription, certificats) */
.za-page { padding-block: 32px 64px; }
.za-page .za-container { width: min(100% - 32px, var(--zt-wrap)); max-width: none; }
.za-page .za-narrow { max-width: 640px; }
.za-page-head { margin-bottom: 16px; }
.za-espace .za-card, .za-journey { background: var(--zt-surface); }
.za-journey { border: 1px solid var(--zt-line); border-top: 3px solid var(--zt-teal); border-radius: 4px 4px var(--zt-radius) var(--zt-radius); padding: 22px 24px; box-shadow: none; }
.za-register .za-card { background: var(--zt-surface); border: 1px solid var(--zt-line); border-top: 3px solid var(--zt-accent); }
.za-register .za-demo-cta { margin-bottom: 18px; }
.za-cert-page { background: #e6e9ef; }
.za-tabs .za-tab.is-active { box-shadow: inset 0 -3px 0 var(--zt-accent); }

/* Commentaires et articles */
.zt-comments { margin-top: 48px; }
.zt-comment-list { list-style: none; padding: 0; }
.zt-post-list { display: grid; gap: 20px; }
.zt-post-card { display: grid; grid-template-columns: 240px 1fr; gap: 20px; background: var(--zt-surface); border: 1px solid var(--zt-line); border-radius: var(--zt-radius); overflow: hidden; }
.zt-post-card > div { padding: 18px 20px 4px 0; }
.zt-post-card:not(:has(img)) { grid-template-columns: 1fr; }
.zt-post-card:not(:has(img)) > div { padding-inline-start: 20px; }
.zt-post-card h2 { font-size: 1.3rem; }
.zt-post-card h2 a { color: var(--zt-ink); text-decoration: none; }
.zt-page-links { margin-top: 24px; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--zt-line); background: var(--zt-surface); text-decoration: none; }
.nav-links .current { background: var(--zt-primary); color: #fff; border-color: var(--zt-primary); }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { min-height: 46px; padding: 0 12px; border: 1px solid var(--zt-line-strong); border-radius: 10px; font: inherit; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="search"], select, textarea { font: inherit; color: var(--zt-ink); }

/* -------------------------------------------------------------- Pied de page */
.zt-footer { position: relative; overflow: hidden; background: var(--zt-primary); color: var(--zt-on-dark); padding-block: 64px 28px; font-size: 0.95rem; }
.zt-footer-quote { font-size: 520px; inset-inline-start: -0.08em; bottom: -0.62em; opacity: 0.22; }
.zt-footer a { color: #fff; }
.zt-footer .zt-brand { color: #fff !important; }
.zt-footer .zt-mark-bubble { fill: #fff; }
.zt-footer .zt-mark-o { stroke: var(--zt-primary); }
.zt-footer .zt-mark-a { fill: var(--zt-primary); }
.zt-footer .zt-word2 { color: var(--zt-teal-light); }
.zt-footer .zt-brand-image img { max-height: 52px; width: auto; }
.zt-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.zt-footer-about p { margin-top: 16px; max-width: 44ch; }
.zt-social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.zt-footer-title { color: #fff; font-family: var(--zt-font); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.zt-footer-menu li, .zt-footer-contact li { margin-bottom: 8px; }
.zt-footer-menu a, .zt-footer-contact a { color: var(--zt-on-dark); text-decoration: none; }
.zt-footer-menu a:hover, .zt-footer-contact a:hover { color: #fff; text-decoration: underline; }
.zt-footer-contact ul { list-style: none; margin: 0; padding: 0; }
.zt-footer-widgets .widget-title, .zt-footer-widgets h2 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.zt-footer-widgets ul { list-style: none; margin: 0 0 16px; padding: 0; }
.zt-footer-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; }
.zt-footer-bottom p { margin: 0; }
.zt-footer .za-pwa-msg { display: block; font-size: 0.85rem; color: var(--zt-on-dark-muted); }

/* ------------------------------------------------------------ Écrans moyens */
@media (max-width: 1100px) {
	.zt-menu-toggle { display: inline-flex; }
	.zt-nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; background: var(--zt-surface); border-bottom: 1px solid var(--zt-line); box-shadow: 0 16px 24px -16px rgba(16, 36, 58, 0.25); }
	.zt-nav.is-open { display: flex; }
	.zt-menu { flex-direction: column; }
	.zt-header-tools { flex-wrap: wrap; }
	.zt-quick { display: flex; }
	.zt-header-tools .zt-icon-link { display: none; }
	.zt-hero-grid, .zt-verify-grid, .zt-teach-grid, .zt-proposal-grid { grid-template-columns: 1fr; }
	.zt-course-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zt-course-card.is-featured { grid-row: auto; }
	.zt-course-layout, .zt-profile-layout { grid-template-columns: 1fr; gap: 28px; }
	.zt-course-aside { position: static; order: -1; }
	.zt-profile-aside { position: static; }
	.zt-method-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
	.zt-footer-grid { grid-template-columns: 1fr 1fr; }
	.zt-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.zt-header-inner { min-height: 64px; gap: 12px; }
	.zt-wordmark { font-size: 1.22rem; }
	.zt-hero h1 { font-size: 2.7rem; }
	.zt-hero-quote { font-size: 420px; top: -0.18em; opacity: 0.55; }
	.zt-course-grid-home { grid-template-columns: 1fr; }
	.zt-course-card.is-featured { grid-column: auto; }
	.zt-method-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zt-verify-form, .zt-search { flex-direction: column; }
	.zt-search input[type="search"] { flex: none; }
	.zt-footer-grid { grid-template-columns: 1fr; }
	.zt-post-card { grid-template-columns: 1fr; }
	.zt-post-card > div { padding: 0 18px 4px; }
	.zt-portrait { width: 160px; height: 192px; }
	.zt-timeline li { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
	.zt-timeline li::before { inset-inline-start: 74px; }
	.zt-learning-head .zt-breadcrumbs li:last-child:not(:first-child) { display: none; }
	.zt-filter-bar { flex-direction: column; }
	.zt-page-quote, .zt-course-quote, .zt-profile-quote { opacity: 0.4; }
	.zt-header-tools { gap: 4px; }
	.zt-menu-toggle { padding: 0 12px; }
	.zt-menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
	.zt-header, .zt-footer, .zt-learning-nav, .za-stepper, .za-views, .za-deck-bar, .zt-quote { display: none !important; }
	body { background: #fff; }
}

/* ------------------------------------------------------------------ AiMaster */
.zt-aim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.zt-aim-card { border-color: transparent; box-shadow: inset 0 0 0 1px var(--zt-line); }
.zt-aim-card:hover { box-shadow: inset 0 0 0 2px var(--zt-card, var(--zt-teal)); }
.zt-aim-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 22px; background: var(--zt-card, var(--zt-teal)); color: #fff; position: relative; overflow: hidden; }
.zt-aim-head::after { content: "»"; position: absolute; inset-inline-end: 64px; top: -0.38em; font-family: var(--zt-display); font-size: 6.5rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.12); pointer-events: none; }
[dir="rtl"] .zt-aim-head::after { content: "«"; }
.zt-aim-label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--zt-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; position: relative; z-index: 1; }
.zt-aim-mark .zt-mark-bubble { fill: #fff; }
.zt-aim-mark .zt-mark-o { stroke: var(--zt-card, var(--zt-teal)); }
.zt-aim-mark .zt-mark-a { fill: var(--zt-card, var(--zt-teal)); }
.zt-aim-mark .zt-mark-dot { fill: var(--zt-accent); }
.zt-aim-head .zt-badge-access { position: relative; z-index: 1; }
.zt-aim-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.zt-aim-rail { list-style: none; counter-reset: zt-aim; margin: 2px 0 0; padding: 0; display: grid; gap: 0; }
.zt-aim-rail li { counter-increment: zt-aim; position: relative; padding-block: 6px; padding-inline-start: 36px; font-size: 0.93rem; line-height: 1.35; color: var(--zt-text); }
.zt-aim-rail li::before { content: counter(zt-aim); position: absolute; inset-inline-start: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--zt-ground); box-shadow: inset 0 0 0 1.5px var(--zt-card, var(--zt-teal)); color: var(--zt-ink); font-size: 0.74rem; font-weight: 700; display: grid; place-items: center; }
.zt-aim-rail li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 10.5px; top: 27px; bottom: -5px; width: 1.5px; background: var(--zt-line-strong); }
.zt-aim-rail li.zt-aim-more { color: var(--zt-muted); font-style: italic; }
.zt-aim-rail li.zt-aim-more::before { content: "+"; box-shadow: inset 0 0 0 1.5px var(--zt-line-strong); }
.zt-aim-body .zt-card-meta { margin-top: auto; padding-top: 6px; }
.zt-section.zt-aim-band { background: var(--zt-teal-soft); padding-top: clamp(48px, 7vw, 88px); }
.zt-aim-band + .zt-section { padding-top: clamp(48px, 7vw, 88px); }
.zt-aim-legal { font-size: 0.85rem; color: var(--zt-muted); margin: 10px 0 0; max-width: 70ch; }
.zt-page-hero-dark .zt-aim-legal { color: var(--zt-on-dark-muted); }
.zt-aim .zt-course-hero { background: linear-gradient(180deg, var(--zt-primary) 0%, var(--zt-primary) 70%, color-mix(in srgb, var(--zt-card) 55%, var(--zt-primary)) 100%); }
.zt-aim-steps { list-style: none; counter-reset: zt-step; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.zt-aim-step { counter-increment: zt-step; position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; padding: 18px 20px; padding-inline-start: 74px; border-radius: var(--zt-radius-sm); background: var(--zt-ground); }
.zt-aim-step::before { content: counter(zt-step); position: absolute; inset-inline-start: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--zt-surface); box-shadow: inset 0 0 0 2px var(--zt-card, var(--zt-teal)); font-family: var(--zt-display); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; color: var(--zt-ink); }
.zt-aim-step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 36px; top: 56px; bottom: -14px; width: 2px; background: var(--zt-line-strong); }
.zt-aim-step.is-done::before { content: "✓"; background: var(--zt-ok); box-shadow: none; color: #fff; }
.zt-aim-step.is-started::before { background: var(--zt-accent-soft); }
.zt-aim-step-body { flex: 1 1 280px; min-width: 0; }
.zt-aim-step h3 { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.25; }
.zt-aim-step h3 a { color: var(--zt-ink); text-decoration: none; }
.zt-aim-step h3 a:hover { text-decoration: underline; }
.zt-aim-step p { margin: 0 0 8px; color: var(--zt-text); font-size: 0.95rem; }
.zt-aim-step-state { margin: 0 !important; font-size: 0.85rem !important; font-weight: 600; color: var(--zt-ink) !important; white-space: nowrap; }
.zt-aim-step.is-done .zt-aim-step-state { color: var(--zt-ok) !important; }
.zt-aim-cert { border-inline-start: 4px solid var(--zt-accent); }
.zt-aim-cert h2 { margin-top: 0; }
.zt-aim-note { background: var(--zt-teal-soft); border-radius: var(--zt-radius-sm); padding: 14px 18px; font-size: 0.92rem; }
.zt-aim-note p { margin: 0 0 4px; color: var(--zt-muted); }
.zt-aim-note ul { margin: 0; padding: 0; list-style: none; }
.zt-aim-note a { font-weight: 600; color: var(--zt-link); }
@media (max-width: 640px) {
	.zt-aim-step { padding-inline-start: 62px; }
	.zt-aim-step::before { width: 32px; height: 32px; inset-inline-start: 16px; }
	.zt-aim-step:not(:last-child)::after { inset-inline-start: 31px; top: 50px; }
}
