/* Design pro : accueil, cours, leçons, téléchargements. */
:root{ --ep-text:var(--text, #14213d); --ep-muted:var(--text-muted, #5b6475); --ep-line:var(--border, #e5e8ee); --ep-soft: var(--light, #f1f4f9); --ep-primary:var(--primary, #1d4ed8); --ep-radius:14px; }
.ep-wrap{ box-sizing:border-box; width:100%; max-width:1180px; margin-inline:auto; padding-inline:clamp(16px,4vw,32px); }
.ep-muted{ color:var(--ep-muted); }
.ep-section + .ep-section{ border-top:1px solid var(--ep-line); }
.ep-eyebrow{ font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--ep-primary); margin:0 0 .5rem; }
.ep-h1{ font-size:clamp(1.7rem,4.6vw,2.9rem); line-height:1.12; font-weight:800; letter-spacing:-.02em; margin:0 0 1rem; }
.ep-h2{ font-size:clamp(1.3rem,3vw,1.8rem); line-height:1.2; font-weight:800; letter-spacing:-.01em; margin:0; }
.ep-lead{ color:var(--ep-muted); }
.ep-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1.5rem; }
.ep-link{ font-weight:600; color:var(--ep-primary); text-decoration:none; }
.ep-link:hover{ text-decoration:underline; }
.ep-btn{ display:inline-flex; align-items:center; gap:.5rem; font-weight:700; text-decoration:none; border:1.5px solid transparent; cursor:pointer; transition:transform .15s, box-shadow .15s, background .15s; }
.ep-btn--primary:hover{ transform:translateY(-1px); box-shadow:0 8px 20px color-mix(in srgb,var(--ep-primary) 35%,transparent); color:#fff; }
.ep-btn--ghost{ border-color:var(--ep-line); color:var(--ep-text); }
.ep-btn--ghost:hover{ border-color:var(--ep-primary); color:var(--ep-primary); }
.ep-btn--block{ width:100%; }
.ep-chips{ display:flex; flex-wrap:wrap; gap:.6rem; }
.ep-chip{ display:inline-flex; align-items:center; gap:.5rem; padding:.55rem 1rem; border-radius:999px; background:var(--ep-soft); color:var(--ep-text); text-decoration:none; font-weight:600; font-size:.92rem; border:1px solid transparent; }
.ep-chip:hover, .ep-chip.is-active{ border-color:var(--ep-primary); color:var(--ep-primary); background:transparent; }
.ep-chip small{ color:var(--ep-muted); font-weight:500; }
.ep-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr)); }
.ep-course{ display:flex; flex-direction:column; text-decoration:none; color:inherit; }
.ep-course__img{ position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--ep-soft); }
.ep-course__img img{ width:100%; height:100%; object-fit:cover; }
.ep-course__ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:2.4rem; color:var(--ep-primary); background:linear-gradient(135deg,color-mix(in srgb,var(--ep-primary) 14%,transparent),color-mix(in srgb,var(--ep-primary) 4%,transparent)); }
.ep-course__tag{ position:absolute; left:10px; top:10px; padding:.25rem .65rem; border-radius:999px; font-size:.75rem; font-weight:700; background:#fff; color:#14213d; box-shadow:0 2px 8px rgba(0,0,0,.15); }
.ep-course__tag--free{ background:#16a34a; color:#fff; }
.ep-course__body{ padding:.85rem .15rem 0; display:flex; flex-direction:column; gap:.3rem; flex:1; }
.ep-course__title{ line-height:1.3; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ep-course:hover .ep-course__title{ color:var(--ep-primary); }
.ep-course__meta{ font-size:.85rem; color:var(--ep-muted); display:flex; flex-wrap:wrap; gap:.25rem .9rem; }
.ep-course__price{ font-weight:800; margin-top:auto; padding-top:.35rem; }
.ep-course__price s{ color:var(--ep-muted); font-weight:500; margin-right:.4rem; }
.ep-filters{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr auto; gap:.6rem; margin-bottom:1.25rem; }
.ep-filters input, .ep-filters select{ width:100%; min-height:46px; border-radius:10px; border:1px solid var(--ep-line); padding:0 .9rem; background:var(--bg-body,#fff); color:var(--ep-text); }
.ep-player{ position:relative; aspect-ratio:16/9; background:#000; border-radius:var(--ep-radius); overflow:hidden; margin:.5rem 0 1.25rem; }
.ep-player iframe, .ep-player video{ position:absolute; inset:0; width:100%; height:100%; border:0; background:#000; }
.ep-player--ppi{ aspect-ratio:auto; height:min(80vh,720px); min-height:420px; background:var(--ep-soft); }
.ep-ppi-open{ margin:-.5rem 0 1.25rem; font-size:.9rem; }
.ep-crumbs{ font-size:.85rem; color:rgba(255,255,255,.7); margin-bottom:.75rem; }
.ep-crumbs a{ color:inherit; }
.ep-pills{ display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0 0; }
.ep-pill{ display:inline-flex; gap:.4rem; align-items:center; padding:.3rem .75rem; border-radius:999px; background:rgba(255,255,255,.14); font-size:.82rem; font-weight:600; }
.ep-course-layout{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:clamp(24px,4vw,48px); align-items:start; }
.ep-aside{ position:sticky; top:84px; }
.ep-aside__media{ aspect-ratio:16/9; overflow:hidden; background:var(--ep-soft); margin-bottom:1rem; }
.ep-aside__media img{ width:100%; height:100%; object-fit:cover; }
.ep-aside__price{ font-weight:800; }
.ep-facts{ list-style:none; padding:0; display:grid; color:var(--ep-muted); }
.ep-facts i{ width:1.4rem; color:var(--ep-primary); }
.ep-curriculum{ list-style:none; margin:0; padding:0; }
.ep-curriculum li{ border-bottom:1px solid var(--ep-line); }
.ep-curriculum a, .ep-curriculum .ep-row{ display:flex; gap:.9rem; align-items:center; text-decoration:none; color:inherit; }
.ep-curriculum a:hover .ep-row__t{ color:var(--ep-primary); }
.ep-row__n{ flex:none; width:2rem; height:2rem; border-radius:50%; display:grid; place-items:center; font-size:.85rem; font-weight:700; background:var(--ep-soft); }
.ep-row__t{ font-weight:600; }
.ep-row__s{ color:var(--ep-muted); font-size:.85rem; }
.ep-row__go{ margin-left:auto; color:var(--ep-muted); }
.ep-quiz{ display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; border-bottom:1px solid var(--ep-line); }
.ep-reading{ max-width:900px; margin-inline:auto; padding-block:clamp(20px,4vw,40px); }
.ep-block{ margin-block:1.75rem; }
.ep-block h3{ font-size:1.15rem; margin:0 0 .6rem; }
.ep-block img{ max-width:100%; border-radius:var(--ep-radius); }
.ep-block audio{ width:100%; }
.ep-text{ line-height:1.75; font-size:1.05rem; }
.pro-page{ padding-block:clamp(24px,5vw,56px); }
.pro-pagehead{ margin-bottom:1.5rem; max-width:60ch; }
.pro-eyebrow{ font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--ep-primary); margin:0 0 .4rem; }
.pro-h2{ font-size:1.3rem; font-weight:800; margin:2rem 0 1rem; }
.pro-tabs{ display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.5rem; }
.pro-tab{ padding:.5rem 1rem; border-radius:999px; background:var(--ep-soft); text-decoration:none; color:var(--ep-text); font-weight:600; font-size:.9rem; }
.pro-tab.is-active{ background:var(--ep-primary); color:#fff; }
.pro-empty{ padding:2.5rem 1rem; text-align:center; color:var(--ep-muted); }
.pro-empty i{ font-size:2rem; display:block; margin-bottom:.75rem; }
.pro-note{ padding:1rem 1.25rem; border-left:3px solid var(--ep-primary); background:var(--ep-soft); border-radius:0 10px 10px 0; color:var(--ep-muted); }
.rel-grid{ display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); }
.rel-card{ display:flex; flex-direction:column; gap:.75rem; padding:1.25rem; border:1px solid var(--ep-line); border-radius:var(--ep-radius); }
.rel-card__icon{ width:48px; height:48px; border-radius:12px; display:grid; place-items:center; font-size:1.4rem; background:color-mix(in srgb,var(--ep-primary) 12%,transparent); color:var(--ep-primary); }
.rel-card__app{ font-weight:800; font-size:1.05rem; }
.rel-card__meta{ display:flex; flex-wrap:wrap; gap:.4rem; font-size:.82rem; color:var(--ep-muted); }
.rel-card__body{ display:flex; flex-direction:column; gap:.4rem; flex:1; }
.rel-card__cta{ margin-top:auto; }
.rel-notes{ margin:0; padding-left:1.1rem; color:var(--ep-muted); font-size:.9rem; }
.rel-pill{ display:inline-block; padding:.15rem .6rem; border-radius:999px; background:var(--ep-soft); font-size:.75rem; font-weight:700; }
.rel-pill--warn{ background:#fef3c7; color:#92400e; }
.rel-pill--danger{ background:#fee2e2; color:#991b1b; }
.rel-history{ display:flex; gap:1rem; padding:.9rem 0; border-bottom:1px solid var(--ep-line); align-items:flex-start; }
.rel-history__date{ flex:none; width:110px; color:var(--ep-muted); font-size:.85rem; }
.rel-history__plat{ font-weight:700; }
.rel-history__body{ flex:1; min-width:0; }
.ep-release{ display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:1.1rem 1.4rem; border-radius:var(--ep-radius); background:color-mix(in srgb,var(--ep-primary) 8%,transparent); }
@media (max-width:991.98px){
.ep-course-layout{ grid-template-columns:minmax(0,1fr); }
.ep-aside{ position:static; order:-1; }
.ep-filters{ grid-template-columns:1fr 1fr; }
.ep-filters input[type=search], .ep-filters input[name=search]{ grid-column:1/-1; }
}
@media (max-width:575.98px){
.ep-filters{ grid-template-columns:1fr; }
.rel-history{ flex-direction:column; gap:.25rem; }
.rel-history__date{ width:auto; }
.ep-player--ppi{ min-height:340px; height:70vh; }
}
@media (prefers-reduced-motion: reduce){
.ep-course__img img, .ep-btn{ transition:none; }
}
:root{ --ep-display: var(--font-display); --ep-ink:var(--text, #14213d); --ep-accent:#e5384f; --ep-surface:var(--bg-card, var(--card-bg, #fff)); }
.ep-h1, .ep-h2, .ep-course__title, .ep-aside__price{ font-family:var(--ep-display); }
.ep-hero2{ position:relative; isolation:isolate; text-align:center; padding:clamp(48px,9vw,120px) 0 clamp(40px,7vw,88px); overflow:hidden; }
.ep-hero2 .ep-h1{ font-size:clamp(2.35rem,7.4vw,4.9rem); line-height:1.02; letter-spacing:-.035em; font-weight:800; max-width:16ch; margin-inline:auto; }
.ep-hero2 .ep-lead{ margin:1.25rem auto 0; max-width:46ch; }
.ep-hero2__actions{ display:flex; flex-wrap:wrap; gap:.75rem; justify-content:center; margin-top:2rem; }
.ep-btn{ min-height:50px; padding:.85rem 1.6rem; border-radius:999px; font-size:1rem; }
.ep-btn--primary{ background:var(--ep-primary); color:var(--on-primary,#fff); box-shadow:0 10px 26px -10px color-mix(in srgb,var(--ep-primary) 70%,transparent); }
.ep-btn--ghost{ background:color-mix(in srgb,var(--ep-surface) 70%,transparent); backdrop-filter:blur(6px); }
.ep-head--center{ flex-direction:column; align-items:center; text-align:center; gap:.5rem; margin-bottom:clamp(24px,4vw,44px); }
.ep-head--center .ep-lead{ margin:0; }
.ep-section{ padding-block:clamp(44px,7vw,88px); border-top:0 !important; }
.ep-cover{ position:relative; width:100%; height:100%; display:grid; place-items:center; overflow:hidden; color:#fff; background:linear-gradient(145deg,var(--c1),var(--c2)); }
.ep-cover::before{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(to bottom,transparent 0 calc(11% - 1.5px),rgba(255,255,255,.28) calc(11% - 1.5px) 11%); mask-image:linear-gradient(to bottom,transparent 8%,#000 30%,#000 70%,transparent 92%); }
.ep-cover i{ position:relative; font-size:clamp(2.4rem,9vw,3.4rem); filter:drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.ep-hue-0, .ep-hue-6{ --c1:#1d4ed8; --c2:#4f46e5; }
.ep-hue-1, .ep-hue-7{ --c1:#0e7490; --c2:#2563eb; }
.ep-hue-2, .ep-hue-8{ --c1:#7c3aed; --c2:#db2777; }
.ep-hue-3, .ep-hue-9{ --c1:#be123c; --c2:#ea580c; }
.ep-hue-4{ --c1:#047857; --c2:#0891b2; }
.ep-hue-5{ --c1:#334155; --c2:#1d4ed8; }
.ep-grid{ gap:clamp(28px,4vw,44px) clamp(18px,2.5vw,32px); }
.ep-course__img{ border-radius:18px; box-shadow:0 18px 34px -22px rgba(15,23,42,.55); }
.ep-course__title{ font-size:1.12rem; font-weight:700; letter-spacing:-.01em; }
.ep-course__body{ padding-top:1rem; }
.ep-why{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); align-items:start; }
.ep-why__list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--ep-line); }
.ep-why__list li{ display:grid; grid-template-columns:2.2rem 1fr; gap:.25rem 1rem; border-bottom:1px solid var(--ep-line); }
.ep-why__list i{ color:var(--ep-primary); font-size:1.25rem; grid-row:span 2; padding-top:.2rem; }
.ep-why__list h3{ font-family:var(--ep-display); font-size:1.15rem; font-weight:700; margin:0; }
.ep-why__list p{ margin:0; color:var(--ep-muted); }
@media (max-width:767.98px){
.ep-why{ grid-template-columns:minmax(0,1fr); text-align:center; }
.ep-why__list{ text-align:left; }
}
.ep-band{ position:relative; isolation:isolate; text-align:center; color:#fff; border-radius:28px; padding:clamp(40px,7vw,80px) clamp(20px,5vw,64px); overflow:hidden; background:linear-gradient(135deg,var(--ep-primary),color-mix(in srgb,var(--ep-primary) 55%,#111827)); }
.ep-band::before{ content:""; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(to bottom,transparent 0 22px,rgba(255,255,255,.12) 22px 23.5px); mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent); }
.ep-band .ep-h2{ color:#fff; max-width:22ch; margin-inline:auto; font-size:clamp(1.7rem,4.6vw,2.8rem); }
.ep-band p{ color:rgba(255,255,255,.85); margin:1rem auto 0; }
.ep-band .ep-btn{ background:#fff; color:#111827; margin-top:1.75rem; box-shadow:none; }
.ep-steps__t{ font-weight:600; font-size:1.05rem; }
@media (prefers-reduced-motion:no-preference){
.ep-hero2 .ep-h1, .ep-hero2 .ep-lead, .ep-hero2__actions{ animation:ep-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.ep-hero2 .ep-lead{ animation-delay:.08s; }
.ep-hero2__actions{ animation-delay:.16s; }
@keyframes ep-rise{ from{ opacity:0; transform:translateY(14px) } to{ opacity:1; transform:none } }
}
.ep-sec{ position:relative; }
.ep-sec--alt{ background:var(--ep-soft); border-block:1px solid var(--ep-line); }
.ep-sec--line{ border-top:1px solid var(--ep-line); }
.ep-why__list li{ background:var(--bg-body,#fff); border:1px solid var(--ep-line); border-radius:18px; padding:1.25rem; box-shadow:0 14px 30px -24px rgba(15,23,42,.45); }
.ep-carousel .ep-course__img{ box-shadow:none; border-radius:14px; }
.ep-carousel{ position:relative; }
.ep-carousel__track{ display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:6px 2px 18px; outline-offset:4px; }
.ep-carousel__track::-webkit-scrollbar{ display:none; }
.ep-carousel__item{ flex:0 0 clamp(250px,78%,320px); scroll-snap-align:start; }
.ep-carousel__btn{ position:absolute; top:38%; z-index:2; width:44px; height:44px; border-radius:50%; border:1px solid var(--ep-line); background:var(--bg-body,#fff); color:var(--ep-text); box-shadow:0 8px 22px rgba(15,23,42,.18); cursor:pointer; display:none; place-items:center; }
.ep-carousel__btn--prev{ left:-14px; }
.ep-carousel__btn--next{ right:-14px; }
.ep-carousel__btn:disabled{ opacity:.35; cursor:default; }
@media (hover:hover) and (min-width:768px){
.ep-carousel__btn{ display:grid; }
}
.ep-rating{ display:flex; flex-direction:column; gap:.9rem; background:var(--bg-body,#fff); border:1px solid var(--ep-line); border-radius:20px; padding:1.4rem; box-shadow:0 18px 34px -26px rgba(15,23,42,.5); }
.ep-carousel .ep-rating.ep-carousel__item{ flex-basis:clamp(260px,82%,380px); }
.ep-rating__stars{ color:#f5a623; display:flex; gap:.15rem; }
.ep-rating blockquote{ margin:0; font-size:1.02rem; line-height:1.6; color:var(--ep-text); flex:1; }
.ep-rating__who{ margin:0; display:flex; flex-direction:column; gap:.1rem; font-size:.9rem; }
.ep-rating__who span{ color:var(--ep-muted); }
.ep-carousel .ep-course.ep-carousel__item{ background:none; border:0; border-radius:0; padding:0; box-shadow:none; }
.ep-carousel .ep-course__body{ padding-inline:.15rem; }
html{ -webkit-text-size-adjust:100%; }
body{ overflow-x:hidden; }
img, video, iframe, svg, canvas{ max-width:100%; }
img, video{ height:auto; }
.container-xxl{ padding-inline:var(--ep-gutter); }
.main-with-sidebar.container-xxl{ padding-inline:var(--ep-gutter); }
.main-with-sidebar .ep-wrap{ padding-inline:0; }
.main-content{ min-width:0; overflow-wrap:break-word; word-wrap:break-word; }
.main-content table{ max-width:100%; }
.main-content .table-responsive{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.main-content pre{ max-width:100%; overflow-x:auto; }
.ep-reading{ padding-inline:0; }
.ep-block img, .ep-block video, .ep-block iframe{ border-radius:14px; }
.ep-player{ width:100%; }
@media (max-width:575.98px){
.ep-h1{ font-size:clamp(1.9rem,8vw,2.4rem); line-height:1.12; }
.ep-h2{ font-size:clamp(1.45rem,6vw,1.8rem); }
.ep-btn{ min-height:48px; }
.ep-hero2__actions{ flex-direction:column; align-items:stretch; }
.ep-hero2__actions .ep-btn{ width:100%; justify-content:center; }
.ep-band{ padding:1.6rem 1.25rem; border-radius:20px; }
.ep-carousel__item{ flex-basis:82%; }
}
@media (min-width:576px) and (max-width:991.98px){
.ep-carousel__item{ flex-basis:46%; }
.ep-why__list{ grid-template-columns:1fr 1fr; }
}
.ep-acc__item{ border-bottom:1px solid var(--ep-line); }
.ep-acc__item > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:.9rem; min-height:56px; }
.ep-acc__item > summary::-webkit-details-marker{ display:none; }
.ep-acc__item > summary .ep-steps__t{ flex:1; }
.ep-acc__n{ flex:none; width:2.1rem; height:2.1rem; border-radius:50%; display:grid; place-items:center; font-weight:700; font-size:.9rem; background:color-mix(in srgb,var(--ep-primary) 14%,transparent); color:var(--ep-primary); }
.ep-acc__item[open] > summary .ep-steps__t{ color:var(--ep-primary); }
.ep-acc__item > summary:focus-visible{ outline:2px solid var(--ep-primary); outline-offset:-2px; border-radius:8px; }
.ep-acc__body .ep-block{ margin-top:1rem; }
.ep-course, .ep-carousel .ep-course.ep-carousel__item{ background:var(--bg-body,#fff); border:1px solid var(--ep-line); border-radius:20px; overflow:hidden; padding:0; box-shadow:0 18px 34px -28px rgba(15,23,42,.45); }
.ep-course .ep-course__img, .ep-carousel .ep-course__img{ border-radius:0; box-shadow:none; }
.ep-course .ep-course__body, .ep-carousel .ep-course__body{ padding:1rem 1.15rem 1.2rem; }
.ep-head > .ep-btn{ min-height:44px; padding:.5rem 1.1rem; white-space:nowrap; }
.ep-filters select, .ep-filters input{ font-size:1rem; }
.ep-filters .ep-btn{ min-height:46px; justify-content:center; }
@media (max-width:767.98px){
.ep-head{ flex-wrap:nowrap; align-items:center; margin-bottom:1.1rem; }
.ep-head > div{ min-width:0; }
.ep-head > .ep-btn{ flex:none; padding:.5rem .95rem; font-size:.92rem; }
.ep-filters{ grid-template-columns:1fr 1fr; gap:.55rem; }
.ep-filters input[name=search], .ep-filters select[name=category], .ep-filters .ep-btn{ grid-column:1/-1; }
.ep-filters input, .ep-filters select{ min-height:46px; }
.ep-chips--scroll{ flex-wrap:nowrap; overflow-x:auto; gap:.5rem; margin-inline:calc(var(--ep-gutter) * -1); padding:.15rem var(--ep-gutter) .6rem; scrollbar-width:none; scroll-snap-type:x proximity; scroll-padding-inline:var(--ep-gutter); -webkit-overflow-scrolling:touch; }
.ep-chips--scroll::-webkit-scrollbar{ display:none; }
.ep-chips--scroll .ep-chip{ flex:none; white-space:nowrap; padding:.5rem .95rem; font-size:.92rem; scroll-snap-align:start; }
}
@media (max-width:359.98px){
.ep-head{ flex-wrap:wrap; }
}
:root{ --ep-gutter:clamp(16px, 4.5vw, 32px); --ep-pad-l:max(var(--ep-gutter), env(safe-area-inset-left)); --ep-pad-r:max(var(--ep-gutter), env(safe-area-inset-right)); }
.container-xxl, .main-with-sidebar.container-xxl{ padding-left:var(--ep-pad-l); padding-right:var(--ep-pad-r); }
.main-with-sidebar{ width:100%; max-width:1320px; margin-inline:auto; }
.banner-container{ width:100%; max-width:1320px; margin-inline:auto; padding-left:var(--ep-pad-l); padding-right:var(--ep-pad-r); }
.site-breadcrumb, .site-breadcrumb .container-xxl{ padding-left:var(--ep-pad-l); padding-right:var(--ep-pad-r); }
.ep-wrap{ padding-left:var(--ep-pad-l); padding-right:var(--ep-pad-r); }
.main-with-sidebar .ep-wrap, .main-with-sidebar .banner-container{ padding-left:0; padding-right:0; }
.ep-head:not(:has(.ep-btn)){ justify-content:center; text-align:center; }
.ep-head:not(:has(.ep-btn)) > div{ margin-inline:auto; }
.ep-muted.text-center{ text-align:center; margin-inline:auto; }
.ep-band, .ep-hero2 .ep-wrap{ text-align:center; margin-inline:auto; }
.ep-band p{ max-width:60ch; margin-inline:auto; }
.ep-lead{ max-width:62ch; }
.ep-head--center .ep-lead, .ep-hero2 .ep-lead{ margin-inline:auto; }
.ep-reading, .ep-aside, .ep-wrap{ margin-inline:auto; }
.ep-btn{ text-align:center; justify-content:center; }
@media (orientation:landscape) and (max-height:520px){
:root{ --ep-gutter:clamp(24px, 5vw, 44px); }
.ep-hero2{ padding-block:28px; }
.ep-section{ padding-block:28px; }
.ep-h1{ font-size:clamp(1.7rem,5vw,2.2rem); }
.ep-carousel__item{ flex-basis:clamp(240px,34%,300px); }
.ep-player--ppi{ min-height:240px; height:80vh; }
}
@media (min-width:768px) and (max-width:1199.98px){
.ep-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.site-header{ border-bottom:1px solid var(--ep-line); box-shadow:0 8px 24px -22px rgba(15,23,42,.5); }
.site-header .navbar > .container-xxl{ gap:.5rem; }
.site-header .navbar-brand{ min-width:0; font-family:var(--ep-display); font-weight:800; letter-spacing:-.01em; }
.site-header .navbar-toggler, .site-header .theme-toggle{ width:44px; height:44px; display:inline-grid; place-items:center; padding:0; border-radius:12px; }
.site-header .offcanvas{ padding-bottom:env(safe-area-inset-bottom); padding-right:env(safe-area-inset-right); }
.site-header .offcanvas-header{ border-bottom:1px solid var(--ep-line); padding:1rem 1.25rem; }
.site-header .offcanvas-body{ padding:1.1rem 1.25rem 1.5rem; gap:.25rem; }
@media (max-width:991.98px){
.site-header .navbar-nav{ gap:.15rem; width:100%; }
.site-header .navbar-nav .nav-link{ min-height:48px; padding:.7rem .85rem; border-radius:12px; font-size:1.05rem; }
.site-header .navbar-nav .nav-link:hover, .site-header .navbar-nav .nav-link:active{ background:var(--ep-soft); }
.site-header .nav-link.btn-nav-primary{ justify-content:center; min-height:50px; }
.site-header .header-search{ width:100%; }
.site-header .header-search .form-control, .site-header .header-search .btn{ min-height:46px; }
.site-header .lang-switcher{ margin-top:1rem; }
.site-header .lang-switcher .form-select{ min-height:44px; }
.site-header .navbar-nav .dropdown-menu .dropdown-item{ min-height:44px; }
}
@media (min-width:992px) and (max-width:1399.98px){
.site-header .nav-label{ display:none; }
.site-header .navbar-nav .nav-link{ padding-inline:.6rem; }
.site-header .nav-link .badge{ position:absolute; top:2px; right:0; transform:scale(.85); }
.site-header .nav-link{ position:relative; }
.site-header .nav-link.dropdown-toggle::after{ margin-left:.15rem; }
}
@media (min-width:1400px){
.site-header .header-search{ width:18rem; }
}
@media (max-width:359.98px){
.site-header .navbar-site-name{ max-width:6.5rem; }
}
.ep-foot{ margin-top:clamp(40px,7vw,88px); background:var(--ep-soft); border-top:1px solid var(--ep-line); padding-bottom:env(safe-area-inset-bottom); }
.ep-foot__inner{ box-sizing:border-box; max-width:1320px; margin-inline:auto; padding:clamp(36px,6vw,64px) var(--ep-pad-r) clamp(24px,4vw,40px) var(--ep-pad-l); display:grid; gap:clamp(24px,4vw,48px) 32px; grid-template-columns:1fr; }
.ep-foot__logo{ display:inline-flex; align-items:center; gap:.65rem; color:var(--ep-text); text-decoration:none; font-family:var(--ep-display); font-weight:800; font-size:1.4rem; letter-spacing:-.01em; }
.ep-foot__logo img{ border-radius:12px; object-fit:contain; }
.ep-foot__brand p{ margin:.9rem 0 0; color:var(--ep-muted); line-height:1.7; font-size:.95rem; max-width:46ch; }
.ep-foot__social{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.1rem; }
.ep-foot__social a{ width:44px; height:44px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--ep-line); color:var(--ep-text); text-decoration:none; background:var(--bg-body,#fff); transition:border-color .15s,color .15s; }
.ep-foot__social a:hover{ border-color:var(--ep-primary); color:var(--ep-primary); }
.ep-foot__col h2{ font-family:var(--ep-display); font-size:1rem; font-weight:700; margin:0 0 .8rem; color:var(--ep-text); }
.ep-foot__col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.1rem; }
.ep-foot__col a{ display:inline-block; padding:.45rem 0; min-height:40px; color:var(--ep-muted); text-decoration:none; font-size:.95rem; }
.ep-foot__col a:hover{ color:var(--ep-primary); }
.ep-foot__bottom{ border-top:1px solid var(--ep-line); }
.ep-foot__bottom p{ box-sizing:border-box; max-width:1320px; margin:0 auto; padding:1rem var(--ep-pad-r) 1.1rem var(--ep-pad-l); text-align:center; color:var(--ep-muted); font-size:.85rem; }
@media (max-width:575.98px){
.ep-foot__inner{ grid-template-columns:1fr 1fr; }
.ep-foot__brand{ grid-column:1/-1; text-align:center; }
.ep-foot__brand p{ margin-inline:auto; }
.ep-foot__social{ justify-content:center; }
.ep-foot__col:last-of-type{ grid-column:1/-1; }
}
@media (min-width:576px) and (max-width:991.98px){
.ep-foot__inner{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.ep-foot__brand{ grid-column:1/-1; }
}
@media (min-width:992px){
.ep-foot__inner{ grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)); }
}
@media (orientation:landscape) and (max-height:520px){
.ep-foot__inner{ padding-block:28px 18px; }
}
.ep-acc{ padding:0; }
.ep-acc__item{ border:1px solid var(--ep-line); border-radius:16px; background:var(--bg-body,#fff); margin-bottom:.75rem; overflow:hidden; }
.ep-acc__item:last-child{ border-bottom:1px solid var(--ep-line); margin-bottom:0; }
.ep-acc__item > summary{ padding:.9rem 1rem; }
.ep-acc__item[open] > summary{ border-bottom:1px solid var(--ep-line); }
.ep-acc__chev{ color:var(--ep-muted); transition:transform .2s; }
.ep-acc__item[open] > summary .ep-acc__chev{ transform:rotate(180deg); }
.ep-acc__body{ padding:1rem 1rem 1.25rem; }
.ep-acc__body .ep-block:first-child{ margin-top:0; }
.ep-acc__body .ep-reading{ padding:0; }
body.page-courses-lesson-detail .lesson-detail-container{ padding-inline:0; }
.ep-carousel .ep-rating.ep-carousel__item{ flex:0 0 clamp(250px,80%,320px); max-width:320px; align-items:center; text-align:center; padding:1.25rem 1.2rem; gap:.7rem; }
.ep-rating__stars{ justify-content:center; font-size:.9rem; }
.ep-rating blockquote.ep-rating__text{ flex:none; font-size:.95rem; line-height:1.55; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; line-clamp:4; overflow:hidden; }
.ep-rating blockquote.ep-rating__text.is-open{ -webkit-line-clamp:unset; line-clamp:unset; display:block; }
.ep-rating__more{ background:none; border:0; padding:.25rem .5rem; min-height:32px; color:var(--ep-primary); font-weight:600; font-size:.9rem; cursor:pointer; }
.ep-rating__more[hidden]{ display:none; }
.ep-rating__who{ align-items:center; margin-top:auto; }
@media (min-width:576px){
.ep-carousel .ep-rating.ep-carousel__item{ flex-basis:300px; }
}
.ep-prof{ border:1px solid var(--ep-line); border-radius:20px; background:var(--bg-body,#fff); padding:1.1rem; display:grid; gap:1rem; margin-bottom:1rem; }
.ep-prof__id{ display:flex; gap:1rem; align-items:center; }
.ep-prof__photo{ flex:none; width:72px; height:72px; border-radius:50%; object-fit:cover; background:var(--ep-soft); display:grid; place-items:center; color:var(--ep-muted); font-size:1.6rem; }
.ep-prof__name{ font-family:var(--ep-display); font-size:1.15rem; margin:0; }
.ep-prof__bio{ margin:.25rem 0 0; color:var(--ep-muted); font-size:.95rem; line-height:1.55; }
@media (min-width:992px){
.ep-prof{ grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); align-items:center; }
}
.navbar-toggler-icon{ background-image:none !important; background-color:currentColor; color:var(--text,#14213d); -webkit-mask:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center/100% no-repeat; mask:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center/100% no-repeat; }
.site-header .navbar-toggler{ color:var(--text,#14213d); }
html[data-theme="dark"] .navbar-toggler-icon, html[data-bs-theme="dark"] .navbar-toggler-icon{ color:#e8edf5; }
html[data-theme="dark"] .btn-close, html[data-bs-theme="dark"] .btn-close{ filter:invert(1) grayscale(100%) brightness(200%); }
html[data-theme="dark"] .site-header .theme-toggle, html[data-theme="dark"] .site-header .navbar-toggler{ color:#e8edf5; }
.ep-carousel .ep-member.ep-carousel__item{ flex:0 0 clamp(220px,64%,260px); text-align:center; display:flex; flex-direction:column; align-items:center; gap:.2rem; padding:.5rem .5rem 1rem; }
.ep-member__photo{ width:112px; height:112px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 4px var(--bg-body,#fff), 0 0 0 5px var(--ep-line); }
.ep-member__photo--ph{ display:grid; place-items:center; background:var(--ep-primary); color:#fff; font-size:2.2rem; font-weight:700; font-family:var(--ep-display); }
.ep-member__name{ font-family:var(--ep-display); font-size:1.05rem; margin:.9rem 0 0; }
.ep-member__role{ margin:0; color:var(--ep-primary); font-weight:600; font-size:.9rem; }
.ep-member__bio{ margin:.4rem 0 0; color:var(--ep-muted); font-size:.9rem; line-height:1.5; }
@media (min-width:576px){
.ep-carousel .ep-member.ep-carousel__item{ flex-basis:240px; }
}
.site-header{ -webkit-backdrop-filter:none; backdrop-filter:none; }
html[data-theme="dark"] .site-header .navbar-toggler-icon, html[data-bs-theme="dark"] .site-header .navbar-toggler-icon{ filter:none; color:#e8edf5; }
html[data-theme="light"] .site-header .navbar-toggler-icon{ filter:none; color:#14213d; }
.site-header .offcanvas{ z-index:1045; }
.main-with-sidebar:not(:has(.sidebar)) .ep-sec--alt, .main-with-sidebar:not(:has(.sidebar)) .ep-sec--line{ padding-inline:calc(50vw - 50%); }
.ep-sec--alt > .ep-wrap, .ep-sec--line > .ep-wrap{ max-width:1320px; }
body.page-courses-lesson-detail .ep-lesson{ padding:0; background:none; border:0; box-shadow:none; }
body.page-courses-lesson-detail .ep-lesson .lesson-header{ display:block; padding:0; margin:0 0 .75rem; background:none; border:0; text-align:left; }
body.page-courses-lesson-detail .ep-lesson .lesson-header h1{ font-family:var(--ep-display); font-size:clamp(1.5rem,5vw,2.1rem); line-height:1.15; margin:0; text-align:left; }
body.page-courses-lesson-detail .ep-lesson .lesson-order{ font-size:.55em; color:var(--ep-muted); font-weight:500; }
body.page-courses-lesson-detail .ep-lesson .lesson-description, body.page-courses-lesson-detail .ep-lesson .lesson-content{ background:none; border:0; border-radius:0; box-shadow:none; padding:0; margin:0 0 1.25rem; color:var(--ep-muted); font-size:1.02rem; line-height:1.7; }
body.page-courses-lesson-detail .ep-lesson .lesson-content{ color:var(--ep-text); }
body.page-courses-lesson-detail .ep-lesson .sections-section{ margin-top:1.25rem; }
body.page-courses-lesson-detail .ep-lesson .lesson-actions{ margin-top:1.75rem; padding-top:1.25rem; border-top:1px solid var(--ep-line); }
.ep-course-hero{ border-radius:24px; margin-top:.5rem; overflow:hidden; color:#fff; background:linear-gradient(135deg, color-mix(in srgb,var(--ep-primary) 86%,#0b1020), color-mix(in srgb,var(--ep-primary) 48%,#0b1020)); padding-block:clamp(26px,5vw,52px); }
.ep-course-hero > .ep-wrap{ padding-inline:clamp(18px,4vw,44px) !important; }
.ep-course-hero .ep-h1{ color:#fff; font-size:clamp(1.8rem,5.5vw,2.8rem); line-height:1.1; }
.ep-course-hero .ep-lead{ color:rgba(255,255,255,.88); }
.ep-course-hero .ep-crumbs, .ep-course-hero .ep-crumbs a{ color:rgba(255,255,255,.8); }
.ep-course-hero .ep-pill{ background:rgba(255,255,255,.18); color:#fff; }
.ep-course-layout{ padding-inline:0 !important; padding-block:clamp(20px,4vw,40px); }
.ep-aside{ background:var(--bg-body,#fff); border:1px solid var(--ep-line); border-radius:24px; padding:1rem; box-shadow:0 22px 40px -30px rgba(15,23,42,.5); }
.ep-aside__media{ border-radius:16px; }
.ep-aside__price{ font-size:1.6rem; margin:.25rem .25rem .85rem; }
.ep-aside .ep-btn--block{ min-height:50px; }
.ep-facts{ grid-template-columns:1fr 1fr; gap:.55rem .75rem; margin:1rem .25rem 0; font-size:.88rem; }
.ep-aside__admin{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1rem; padding-top:1rem; border-top:1px solid var(--ep-line); }
.ep-aside__admin .ep-btn{ flex:1 1 auto; min-height:40px; padding:.4rem .8rem; font-size:.85rem; }
.ep-curriculum{ border-top:0; display:grid; gap:.6rem; }
.ep-curriculum li{ border:1px solid var(--ep-line); border-radius:16px; background:var(--bg-body,#fff); overflow:hidden; }
.ep-curriculum a, .ep-curriculum .ep-row{ padding:.9rem 1rem; }
.ep-curriculum a:hover{ background:var(--ep-soft); }
.ep-quiz{ border:1px solid var(--ep-line); border-radius:16px; padding:.9rem 1rem; margin-bottom:.6rem; background:var(--bg-body,#fff); }
.ep-course-layout main > section > .ep-h2{ margin-bottom:1rem; }
@media (min-width:992px){
.ep-aside{ top:92px; }
}
.ep-sec--alt, .ep-sec--line{ padding-left:var(--ep-pad-l); padding-right:var(--ep-pad-r); box-sizing:border-box; }
.ep-sec--alt > .ep-wrap, .ep-sec--line > .ep-wrap{ padding-left:0; padding-right:0; }
.main-with-sidebar:not(:has(.sidebar)) .ep-sec--alt, .main-with-sidebar:not(:has(.sidebar)) .ep-sec--line{ margin-inline:calc(50% - 50vw); padding-left:max(calc(50vw - 50%), env(safe-area-inset-left)); padding-right:max(calc(50vw - 50%), env(safe-area-inset-right)); }
.ep-why{ gap:clamp(20px,4vw,48px); }
.ep-why__list li, .ep-rating, .ep-prof, .ep-aside, .ep-band{ box-sizing:border-box; }
.ep-hero2__badge{ display:inline-flex; align-items:center; gap:.5rem; margin:0 0 1.1rem; padding:.45rem 1rem; border-radius:999px; font-size:clamp(.88rem,2.2vw,1rem); font-weight:700; color:var(--ep-primary); background:color-mix(in srgb,var(--ep-primary) 10%,transparent); border:1px solid color-mix(in srgb,var(--ep-primary) 28%,transparent); }
.ep-hero2 .ep-lead{ font-size:clamp(1.12rem,2.8vw,1.4rem); line-height:1.6; }
.ep-hero2__actions .ep-btn{ font-size:1.05rem; padding:.95rem 1.7rem; }
.ep-lead{ font-size:clamp(1.05rem,2.4vw,1.2rem); line-height:1.65; }
.ep-pillars{ list-style:none; margin:clamp(28px,5vw,48px) auto 0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; max-width:1080px; text-align:left; }
.ep-pillars li{ display:grid; grid-template-columns:auto 1fr; gap:.15rem .9rem; align-items:center; padding:1.1rem 1.15rem; border:1px solid var(--ep-line); border-radius:18px; background:var(--bg-body,#fff); box-shadow:0 16px 30px -26px rgba(15,23,42,.55); transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.ep-pillars li i{ grid-row:span 2; width:2.8rem; height:2.8rem; display:grid; place-items:center; border-radius:14px; font-size:1.2rem; color:#fff; background:linear-gradient(135deg,var(--ep-primary),var(--secondary,#d12529)); transition:transform .3s cubic-bezier(.3,1.6,.5,1); }
.ep-pillars b{ font-size:1.08rem; line-height:1.2; }
.ep-pillars span{ color:var(--ep-muted); font-size:.98rem; line-height:1.4; }
.ep-pillars li:hover{ transform:translateY(-4px); border-color:var(--ep-primary); box-shadow:0 24px 36px -24px color-mix(in srgb,var(--ep-primary) 55%,transparent); }
.ep-pillars li:hover i{ transform:rotate(-8deg) scale(1.12); }
@media (max-width:991.98px){
.ep-pillars{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:575.98px){
.ep-pillars{ grid-template-columns:minmax(0,1fr); }
}
.ep-stats{ display:flex; flex-wrap:wrap; justify-content:center; gap:1.25rem clamp(1.5rem,6vw,4rem); margin:clamp(26px,4vw,42px) 0 0; }
.ep-stats > div{ text-align:center; }
.ep-stats dt{ order:2; font-size:.98rem; font-weight:600; color:var(--ep-muted); margin:0; }
.ep-stats dd{ margin:0; font-family:var(--ep-display); font-size:clamp(2rem,6vw,3rem); font-weight:800; line-height:1; color:var(--ep-primary); font-variant-numeric:tabular-nums; }
.ep-stats > div{ display:flex; flex-direction:column; gap:.3rem; }
.ep-how{ list-style:none; counter-reset:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,2.5vw,28px); position:relative; }
.ep-how li{ position:relative; padding:1.4rem 1.2rem 1.3rem; border:1px solid var(--ep-line); border-radius:20px; background:var(--bg-body,#fff); text-align:center; box-shadow:0 18px 34px -28px rgba(15,23,42,.5); transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.ep-how li:hover{ transform:translateY(-5px); border-color:var(--ep-primary); box-shadow:0 26px 40px -26px color-mix(in srgb,var(--ep-primary) 50%,transparent); }
.ep-how__n{ display:grid; place-items:center; width:3rem; height:3rem; margin:0 auto .9rem; border-radius:50%; font-weight:800; font-size:1.25rem; color:#fff; background:linear-gradient(135deg,var(--ep-primary),var(--secondary,#d12529)); box-shadow:0 10px 20px -10px color-mix(in srgb,var(--ep-primary) 70%,transparent); }
.ep-how h3{ font-family:var(--ep-display); font-size:1.12rem; font-weight:700; margin:0 0 .4rem; }
.ep-how p{ margin:0; color:var(--ep-muted); font-size:1rem; line-height:1.55; }
@media (min-width:992px){
.ep-how li:not(:last-child)::after{ content:""; position:absolute; top:2.5rem; right:calc(-1 * clamp(14px,2.5vw,28px)); width:clamp(14px,2.5vw,28px); height:2px; background:repeating-linear-gradient(90deg,var(--ep-primary) 0 6px,transparent 6px 12px); opacity:.55; }
}
@media (max-width:991.98px){
.ep-how{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:575.98px){
.ep-how{ grid-template-columns:minmax(0,1fr); }
}
.ep-cert2{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(24px,5vw,64px); align-items:center; }
.ep-cert2__text .ep-lead{ margin-top:.8rem; }
.ep-cert2__list{ list-style:none; margin:1.2rem 0 0; padding:0; display:grid; gap:.7rem; }
.ep-cert2__list li{ display:flex; align-items:center; gap:.75rem; font-size:1.05rem; font-weight:600; }
.ep-cert2__list i{ flex:none; width:2.3rem; height:2.3rem; display:grid; place-items:center; border-radius:12px; color:var(--ep-primary); background:color-mix(in srgb,var(--ep-primary) 12%,transparent); }
@media (max-width:767.98px){
.ep-cert2{ grid-template-columns:minmax(0,1fr); text-align:center; }
.ep-cert2__list{ justify-items:center; }
}
.ep-certprev{ margin:0; perspective:1200px; }
.ep-certprev__img, .ep-certprev__paper{ transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); will-change:transform; }
.ep-certprev:hover .ep-certprev__img, .ep-certprev:hover .ep-certprev__paper{ box-shadow:0 40px 60px -30px rgba(15,23,42,.7), 0 0 0 1px rgba(15,23,42,.1); }
.ep-certprev figcaption{ margin-top:.9rem; text-align:center; font-size:.95rem; color:var(--ep-muted); }
.ep-certprev__img{ display:block; width:100%; height:auto; border-radius:10px; box-shadow:0 30px 56px -28px rgba(15,23,42,.65), 0 0 0 1px rgba(15,23,42,.08); background:#fff; }
.ep-certprev__paper--fallback{ display:none; }
.ep-certprev.is-fallback .ep-certprev__img{ display:none; }
.ep-certprev.is-fallback .ep-certprev__paper--fallback{ display:flex; }
.ep-certprev__paper{ position:relative; flex-direction:column; align-items:center; justify-content:center; gap:.35rem; aspect-ratio:1.414/1; padding:6% 7%; border-radius:10px; overflow:hidden; text-align:center; color:var(--ct,#0f172a); background:#fff; border:6px double var(--cg,#c8982f); box-shadow:0 30px 56px -28px rgba(15,23,42,.65); }
.ep-certprev__wave{ position:absolute; left:-10%; right:-10%; height:22%; border-radius:50%; opacity:.9; }
.ep-certprev__wave--a{ top:-14%; background:var(--cp,#0b2a6b); }
.ep-certprev__wave--b{ bottom:-14%; background:var(--ca,#d6202f); }
.ep-certprev__head{ position:relative; display:flex; align-items:center; gap:.6rem; }
.ep-certprev__head b{ display:block; font-size:clamp(.8rem,2vw,1.05rem); }
.ep-certprev__head small{ display:block; font-size:.62rem; opacity:.7; }
.ep-certprev__logo{ height:2rem; width:auto; }
.ep-certprev__medal{ position:relative; font-size:1.5rem; color:var(--cg,#c8982f); animation:ep-float 3.4s ease-in-out infinite; }
.ep-certprev__title{ position:relative; margin:0; font-size:clamp(1.1rem,4vw,1.9rem); letter-spacing:.14em; color:var(--cp,#0b2a6b); }
.ep-certprev__sub{ position:relative; margin:0; font-size:.7rem; letter-spacing:.3em; color:var(--ca,#d6202f); font-weight:700; }
.ep-certprev__intro{ position:relative; margin:.4rem 0 0; font-size:.62rem; letter-spacing:.12em; opacity:.7; }
.ep-certprev__name{ position:relative; margin:0; font-size:clamp(1.05rem,3.6vw,1.7rem); font-style:italic; font-weight:700; border-bottom:2px solid var(--cg,#c8982f); padding-inline:1.2rem; }
.ep-certprev__body{ position:relative; margin:.3rem 0 0; font-size:.62rem; opacity:.75; max-width:34ch; }
.ep-certprev__course{ position:relative; margin:0; font-weight:700; font-size:clamp(.8rem,2.4vw,1.05rem); color:var(--cp,#0b2a6b); }
.ep-certprev__foot{ position:relative; display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:auto; }
.ep-certprev__seal{ color:var(--cg,#c8982f); font-size:1.6rem; }
.ep-certprev__qr{ font-size:1.7rem; }
.ep-carousel--plans .ep-carousel__track{ padding-block:10px 22px; }
.ep-plan{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:.5rem; padding:1.6rem 1.4rem; border:1px solid var(--ep-line); border-radius:22px; background:var(--bg-body,#fff); box-shadow:0 18px 34px -26px rgba(15,23,42,.5); transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.ep-carousel .ep-plan.ep-carousel__item{ flex-basis:clamp(250px,80%,330px); }
.ep-plan:hover{ transform:translateY(-6px); border-color:var(--ep-primary); box-shadow:0 30px 46px -26px color-mix(in srgb,var(--ep-primary) 55%,transparent); }
.ep-plan h3{ margin:0; font-family:var(--ep-display); font-size:1.3rem; font-weight:800; }
.ep-plan__price{ margin:.2rem 0 0; font-family:var(--ep-display); font-size:clamp(2rem,6vw,2.6rem); font-weight:800; line-height:1; color:var(--ep-primary); }
.ep-plan__price small{ font-size:1rem; font-weight:700; color:var(--ep-muted); }
.ep-plan__dur{ margin:0; font-weight:700; }
.ep-plan__desc{ margin:0; color:var(--ep-muted); font-size:.98rem; line-height:1.55; }
.ep-plan ul{ list-style:none; margin:.6rem 0 .8rem; padding:0; display:grid; gap:.5rem; justify-items:center; text-align:center; }
.ep-plan li{ display:flex; align-items:center; justify-content:center; gap:.5rem; font-size:.98rem; }
.ep-plan li i{ color:var(--success,#1f9d57); }
.ep-plan .ep-btn{ align-self:stretch; margin-top:auto; }
.ep-carousel.is-drifting .ep-carousel__track{ scroll-snap-type:none; scroll-behavior:auto; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.ep-carousel.is-drifting .ep-carousel__item{ scroll-snap-align:none; }
.ep-carousel--center .ep-carousel__track{ justify-content:safe center; }
.nav-avatar{ flex:none; width:2rem; height:2rem; display:inline-grid; place-items:center; vertical-align:middle; margin-right:.4rem; border-radius:50%; font-size:.95rem; font-weight:800; color:#fff; background:linear-gradient(135deg,var(--ep-primary),var(--secondary,#d12529)); }
.ep-profs{ margin-bottom:2rem; }
.ep-prof__photo--ph{ display:grid; place-items:center; color:var(--ep-muted); font-size:1.6rem; background:var(--ep-soft); }
.ep-prof__video{ border-radius:16px; overflow:hidden; background:#000; }
.ep-prof__video > p{ padding:.6rem .9rem 0; background:var(--ep-soft); margin:0 !important; }
.ep-back{ display:inline-flex; align-items:center; gap:.5rem; margin-bottom:1rem; font-weight:700; color:var(--ep-primary); text-decoration:none; transition:gap .2s; }
.ep-back:hover{ gap:.8rem; }
.ep-tag{ display:inline-block; padding:.3rem .8rem; border-radius:999px; font-size:.85rem; font-weight:700; color:var(--ep-primary); background:color-mix(in srgb,var(--ep-primary) 12%,transparent); }
.ep-struct__head{ margin-bottom:1.4rem; }
.ep-struct__head h1{ margin:.6rem 0 .4rem; }
.ep-struct__meta{ display:flex; flex-wrap:wrap; gap:.4rem 1.2rem; margin:.5rem 0 0; color:var(--ep-muted); }
.ep-struct__cta{ display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.6rem; }
.ep-btn{ position:relative; overflow:hidden; }
.ep-btn:active{ transform:scale(.97); }
.ep-btn--primary::after{ content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%); transform:translateX(-120%); transition:transform .6s; pointer-events:none; }
.ep-btn--primary:hover::after{ transform:translateX(120%); }
.ep-btn:focus-visible, .ep-chip:focus-visible, .ep-course:focus-visible, .ep-carousel__btn:focus-visible{ outline:3px solid color-mix(in srgb,var(--ep-primary) 55%,#fff); outline-offset:3px; }
.ep-chip{ transition:transform .2s, background .2s, border-color .2s; }
.ep-chip:hover{ transform:translateY(-2px); }
.ep-course{ transition:transform .25s cubic-bezier(.2,.7,.2,1); }
.ep-course:hover{ transform:translateY(-5px); }
.ep-course__img img{ transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.ep-course:hover .ep-course__img img{ transform:scale(1.06); }
.ep-carousel__btn{ transition:transform .2s, background .2s; }
.ep-carousel__btn:hover:not(:disabled){ transform:scale(1.1); }
.ep-carousel__btn:active:not(:disabled){ transform:scale(.94); }
@keyframes ep-float{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-5px) } }
@keyframes ep-in{ from{ opacity:0; transform:translateY(22px) } to{ opacity:1; transform:none } }
.ep-reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay:var(--d,0s); }
.ep-reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
.ep-reveal{ opacity:1; transform:none; transition:none; }
.ep-certprev__medal{ animation:none; }
.ep-pillars li, .ep-how li, .ep-plan, .ep-course, .ep-chip, .ep-btn, .ep-carousel__btn, .ep-certprev__img, .ep-certprev__paper{ transition:none; }
.ep-btn--primary::after{ display:none; }
}
.ep-course-hero .ep-msgbtn{ display:inline-flex; align-items:center; gap:.5rem; background:var(--success,#28a745); color:#fff; border:2px solid rgba(255,255,255,.92); border-radius:10px; padding:.55rem 1.1rem; font-weight:700; font-size:.95rem; text-decoration:none; box-shadow:0 6px 18px rgba(0,0,0,.28); transition:transform .2s, background .2s; }
.ep-course-hero .ep-msgbtn i{ color:#fff; }
.ep-course-hero .ep-msgbtn:hover{ background:var(--success-hover,#218838); color:#fff; transform:translateY(-2px); }
.ep-course-hero .ep-msgbtn:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
/* ===== v18 : sélecteur de langue (liens Français / Kreyòl), boutons segmentés ===== */
.lang-switcher--links{ display:inline-flex; align-items:center; gap:.25rem; padding:.25rem; border:1px solid var(--border); border-radius:999px; background:var(--bg-card, #fff); width:fit-content; }
.lang-switcher--links a{ display:inline-flex; align-items:center; min-height:38px; padding:.3rem 1rem; border-radius:999px; font-weight:700; font-size:.95rem; line-height:1; color:var(--text); text-decoration:none; transition:background .2s, color .2s, transform .15s; }
.lang-switcher--links a:hover{ background:color-mix(in srgb,var(--primary) 12%,transparent); color:var(--primary); }
.lang-switcher--links a:active{ transform:scale(.96); }
.lang-switcher--links a:focus-visible{ outline:3px solid color-mix(in srgb,var(--primary) 55%,#fff); outline-offset:2px; }
.lang-switcher--links a.is-active, .lang-switcher--links a[aria-current]{ background:var(--primary); color:#fff; box-shadow:0 6px 14px -8px var(--primary); }

/* ===== v19 : marges (gutter) + classes manquantes ===== */
:root{ --ep-edge:16px; }
@media (min-width:576px){ :root{ --ep-edge:24px; } }
@media (min-width:992px){ :root{ --ep-edge:32px; } }
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl,
.site-header > .container, .site-header > .container-fluid, footer > .container, footer > .container-fluid{
  padding-left:max(var(--ep-edge), env(safe-area-inset-left));
  padding-right:max(var(--ep-edge), env(safe-area-inset-right));
}
body > main, body > .messages, .site-footer, footer.site-footer{
  padding-left:max(0px, env(safe-area-inset-left));
  padding-right:max(0px, env(safe-area-inset-right));
}
.ep-reading, .ep-course-layout, .lesson-detail-container{
  padding-left:max(var(--ep-edge), env(safe-area-inset-left)) !important;
  padding-right:max(var(--ep-edge), env(safe-area-inset-right)) !important;
}
.main-with-sidebar .ep-reading, .main-with-sidebar .ep-course-layout{ padding-left:0 !important; padding-right:0 !important; }
.alert, .card, .list-group, .table-responsive, .ep-card, .ep-plan, .ep-pillars{ max-width:100%; }
img, video, iframe, table{ max-width:100%; }
.toast-container, .ep-toast{ right:max(var(--ep-edge), env(safe-area-inset-right)); bottom:max(var(--ep-edge), env(safe-area-inset-bottom)); }
.fixed-bottom, .sticky-bottom{ padding-bottom:env(safe-area-inset-bottom); }
.pg-hero__text{ display:flex; flex-direction:column; gap:.35rem; min-width:0; }
.home-page{ min-width:0; }
.todo-card{ border:1px solid var(--border); border-radius:var(--radius,12px); background:var(--white,#fff); padding:1rem; }
.todo-priority, .todo-status-label, .todo-course{ display:inline-flex; align-items:center; gap:.35rem; padding:.2rem .65rem; border-radius:999px; font-size:.8rem; font-weight:700; background:var(--light); color:var(--text-color,inherit); text-decoration:none; }
.todo-priority-high, .todo-priority-urgent{ background:color-mix(in srgb,var(--danger) 14%,transparent); color:var(--danger); }
.todo-priority-medium{ background:color-mix(in srgb,var(--warning) 22%,transparent); }
.todo-priority-low{ background:color-mix(in srgb,var(--success) 14%,transparent); color:var(--success); }
.todo-status-done{ opacity:.75; }
.todo-course:hover{ background:color-mix(in srgb,var(--primary) 12%,transparent); }

/* ===== v20 : plus de dégradés (sauf le nom du site), couleurs du thème, marges ===== */
:root{ --ep-edge:20px; }
@media (min-width:576px){ :root{ --ep-edge:28px; } }
@media (min-width:992px){ :root{ --ep-edge:36px; } }
.main-with-sidebar.container-xxl, .container-xxl, .banner-container, .site-breadcrumb .container-xxl{
  box-sizing:border-box;
  padding-left:max(var(--ep-edge), env(safe-area-inset-left)) !important;
  padding-right:max(var(--ep-edge), env(safe-area-inset-right)) !important;
}
.main-with-sidebar{ width:100% !important; }
.ep-sec--alt > .ep-wrap, .ep-sec--line > .ep-wrap{ padding-left:0; padding-right:0; }
.ep-course-hero > .ep-wrap, .ep-band{ padding-left:clamp(18px,4vw,44px); padding-right:clamp(18px,4vw,44px); }

/* Dégradés supprimés : couleurs pleines venant du thème */
.btn-success, .btn-danger, .btn-warning, .btn-info{ background-image:none !important; }
.btn-success{ background:var(--success) !important; }
.btn-danger{ background:var(--danger) !important; }
.btn-warning{ background:var(--warning) !important; color:#171717; }
.btn-info{ background:var(--info) !important; }
.evenement-banner{ background:var(--primary) !important; }
.ep-course__ph{ background:color-mix(in srgb,var(--primary) 10%,var(--white,#fff)) !important; }
.ep-cover{ background:var(--c1) !important; }
.ep-cover::before{ display:none; }
.ep-hue-0, .ep-hue-6{ --c1:var(--primary); }
.ep-hue-1, .ep-hue-7{ --c1:var(--info); }
.ep-hue-2, .ep-hue-8{ --c1:var(--secondary); }
.ep-hue-3, .ep-hue-9{ --c1:var(--danger); }
.ep-hue-4{ --c1:var(--success); }
.ep-hue-5{ --c1:var(--warning); }
.ep-band, .ep-course-hero{ background:var(--primary) !important; }
.ep-band::before{ display:none; }
.ep-how__n, .nav-avatar{ background:var(--primary) !important; }
.ep-how li:nth-child(1) .ep-how__n{ background:var(--primary) !important; }
.ep-how li:nth-child(2) .ep-how__n{ background:var(--success) !important; }
.ep-how li:nth-child(3) .ep-how__n{ background:var(--warning) !important; color:#171717; }
.ep-how li:nth-child(4) .ep-how__n{ background:var(--secondary) !important; }
.ep-pillars li i{ background:var(--primary) !important; }
.ep-pillars li:nth-child(1) i{ background:var(--primary) !important; }
.ep-pillars li:nth-child(2) i{ background:var(--success) !important; }
.ep-pillars li:nth-child(3) i{ background:var(--secondary) !important; }
.ep-pillars li:nth-child(4) i{ background:var(--info) !important; }
.ep-btn--primary::after{ display:none; }
.ep-carousel.is-drifting .ep-carousel__track{ -webkit-mask-image:none; mask-image:none; }
.pg-bar i, .pw__btn--go{ background:var(--primary) !important; }
/* seul dégradé conservé : le nom du site dans l'en-tête (theme-effects.css) */

/* ===== v21 : couche UI/UX moderne (tout vient des variables du thème) ===== */
:root{
  --ui-r:var(--radius,12px); --ui-r-lg:calc(var(--radius,12px) + 6px); --ui-r-sm:calc(var(--radius,12px) - 4px);
  --ui-line:var(--border,#d9e0ea); --ui-card:var(--white,#fff);
  --ui-shadow:0 1px 2px rgba(10,15,58,.06), 0 6px 20px rgba(10,15,58,.06);
  --ui-shadow-hover:0 2px 4px rgba(10,15,58,.08), 0 14px 32px rgba(10,15,58,.12);
  --ui-ease:cubic-bezier(.2,.7,.2,1);
}
body{ font-size:1rem; line-height:1.65; color:var(--text-color,#14213d); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
h1,h2,h3,h4{ line-height:1.2; letter-spacing:-.015em; text-wrap:balance; }
h1{ font-size:clamp(1.9rem,5.5vw,3rem); font-weight:800; }
h2{ font-size:clamp(1.5rem,3.8vw,2.1rem); font-weight:800; }
h3{ font-size:clamp(1.15rem,2.6vw,1.4rem); font-weight:700; }
p{ text-wrap:pretty; }
a{ text-underline-offset:.2em; }

/* En-tête propre */
.site-header{ background:var(--ui-card); border-bottom:1px solid var(--ui-line); box-shadow:none; }
.site-header .nav-link{ font-weight:600; border-radius:var(--ui-r-sm); padding:.5rem .8rem; transition:background .18s var(--ui-ease), color .18s; }
.site-header .nav-link:hover, .site-header .nav-link.active{ background:color-mix(in srgb,var(--primary) 10%,transparent); color:var(--primary); }

/* Cartes */
.card, .ep-course, .ep-plan, .ep-pillars li, .ep-how li, .list-group-item, .todo-card{
  background:var(--ui-card); border:1px solid var(--ui-line); border-radius:var(--ui-r-lg); box-shadow:var(--ui-shadow);
}
.card, .ep-course, .ep-plan, .todo-card{ transition:transform .22s var(--ui-ease), box-shadow .22s var(--ui-ease), border-color .22s; }
.card:hover, .ep-course:hover, .ep-plan:hover, .todo-card:hover{ transform:translateY(-3px); box-shadow:var(--ui-shadow-hover); border-color:color-mix(in srgb,var(--primary) 35%,var(--ui-line)); }
.ep-pillars li:hover{ border-color:color-mix(in srgb,var(--primary) 35%,var(--ui-line)); }

/* Boutons */
.btn, .ep-btn{ border-radius:var(--ui-r); font-weight:700; min-height:46px; padding:.65rem 1.25rem; transition:transform .15s var(--ui-ease), box-shadow .2s, background .2s; }
.btn:active, .ep-btn:active{ transform:scale(.97); }
.btn-primary, .ep-btn--primary{ background:var(--primary); border-color:var(--primary); color:#fff; box-shadow:0 6px 16px color-mix(in srgb,var(--primary) 28%,transparent); }
.btn-primary:hover, .ep-btn--primary:hover{ background:var(--primary-hover,var(--primary)); border-color:var(--primary-hover,var(--primary)); }
.btn-outline-primary, .ep-btn--ghost{ border:2px solid var(--primary); color:var(--primary); background:transparent; }
.btn-outline-primary:hover, .ep-btn--ghost:hover{ background:var(--primary); color:#fff; }

/* Formulaires */
.form-control, .form-select, textarea, input[type=text], input[type=email], input[type=password], input[type=number], input[type=search]{
  border:1.5px solid var(--ui-line); border-radius:var(--ui-r); min-height:46px; background:var(--ui-card); color:inherit;
  transition:border-color .15s, box-shadow .15s; }
.form-control:focus, .form-select:focus, textarea:focus, input:focus{ border-color:var(--primary); box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 18%,transparent); outline:0; }
label{ font-weight:600; }

/* Alertes et badges aux couleurs du thème */
.alert{ border-radius:var(--ui-r); border:1px solid transparent; }
.alert-success{ background:color-mix(in srgb,var(--success) 12%,var(--ui-card)); border-color:color-mix(in srgb,var(--success) 40%,transparent); color:var(--text-color); }
.alert-danger{ background:color-mix(in srgb,var(--danger) 10%,var(--ui-card)); border-color:color-mix(in srgb,var(--danger) 40%,transparent); color:var(--text-color); }
.alert-warning{ background:color-mix(in srgb,var(--warning) 20%,var(--ui-card)); border-color:color-mix(in srgb,var(--warning) 55%,transparent); color:var(--text-color); }
.alert-info{ background:color-mix(in srgb,var(--info) 12%,var(--ui-card)); border-color:color-mix(in srgb,var(--info) 40%,transparent); color:var(--text-color); }
.badge{ border-radius:999px; font-weight:700; padding:.35em .75em; }

/* Rythme des sections */
.ep-sec{ padding-block:clamp(40px,7vw,84px); }
.ep-sec--alt{ background:var(--light,#eef0fb); }
.ep-head h2{ margin-bottom:.5rem; }
.ep-muted{ color:var(--text-muted,#56627a); }

/* Pied de page */
footer, .site-footer{ background:var(--dark,#0a0f3a); color:rgba(255,255,255,.82); }
footer a, .site-footer a{ color:#fff; }
footer a:hover, .site-footer a:hover{ color:var(--warning); }

/* Accessibilité et mouvement */
:focus-visible{ outline:3px solid color-mix(in srgb,var(--primary) 55%,#fff); outline-offset:2px; border-radius:6px; }
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
@media (max-width:575.98px){ .btn, .ep-btn{ width:auto; } .ep-pillars li, .card{ box-shadow:0 1px 2px rgba(10,15,58,.06); } }

/* ===== v22 : mode sombre = bleu nuit neutre + couleurs du thème (plus de vert) ===== */
html[data-theme="dark"], html[data-bs-theme="dark"], html.dark{
  color-scheme:dark;
  --bg:#0a0f22; --body-bg:#0a0f22; --bg-card:#121933; --card-bg:#121933; --white:#121933; --ui-card:#121933;
  --light:#18204a; --dark:#060a1a; --border:rgba(255,255,255,.12); --ui-line:rgba(255,255,255,.12);
  --text:#e8ecfa; --text-color:#e8ecfa; --text-muted:#a3adcc;
  --ui-link:color-mix(in srgb,var(--primary) 45%,#fff);
}
html[data-theme="dark"] a:not(.btn):not(.ep-btn):not(.nav-link), html[data-bs-theme="dark"] a:not(.btn):not(.ep-btn):not(.nav-link){ color:var(--ui-link); }
html[data-theme="dark"] .site-header .nav-link:hover, html[data-theme="dark"] .site-header .nav-link.active{ color:var(--ui-link); background:color-mix(in srgb,var(--primary) 22%,transparent); }
html[data-theme="dark"] .btn-outline-primary, html[data-theme="dark"] .ep-btn--ghost{ color:var(--ui-link); border-color:var(--ui-link); }
html[data-theme="dark"] .btn-outline-primary:hover, html[data-theme="dark"] .ep-btn--ghost:hover{ background:var(--primary); color:#fff; border-color:var(--primary); }
html[data-theme="dark"] .ep-sec--alt{ background:var(--light); }
html[data-theme="dark"] body{ background:var(--bg); color:var(--text); }
html[data-theme="dark"] .card:hover, html[data-theme="dark"] .ep-course:hover{ box-shadow:0 14px 32px rgba(0,0,0,.45); }
html[data-theme="dark"] .lang-switcher--links a.is-active, html[data-theme="dark"] .lang-switcher--links a[aria-current]{ background:var(--primary); color:#fff; }

/* ===== v23 : sections plus compactes + couvertures colorées par cours ===== */
.home-page .ep-sec{ padding-block:0; }
.home-page .ep-section{ padding-block:clamp(26px,4vw,48px) !important; }
.home-page .ep-hero2{ padding-block:clamp(24px,5vw,56px); }
.home-page .ep-head{ margin-bottom:clamp(14px,2.5vw,24px); }
.home-page .ep-carousel__track{ padding-block:4px 10px; }
.ep-cover{ color:#fff; }
.ep-cover i{ display:grid; place-items:center; width:3.6rem; height:3.6rem; border-radius:50%; background:rgba(255,255,255,.2); font-size:1.7rem; }
.ep-hue-5 .ep-cover, .ep-cover.ep-hue-5{ color:#171717; }
.ep-cover.ep-hue-5 i{ background:rgba(0,0,0,.12); }
.ep-cover.ep-hue-0{ --c1:var(--primary); }
.ep-cover.ep-hue-1{ --c1:var(--success); }
.ep-cover.ep-hue-2{ --c1:var(--secondary); }
.ep-cover.ep-hue-3{ --c1:var(--info); }
.ep-cover.ep-hue-4{ --c1:var(--danger); }
.ep-cover.ep-hue-5{ --c1:var(--warning); }

/* ===== v24 : bouton « S'inscrire » sans dégradé ===== */
.site-header .nav-link.btn-nav-primary{ background:var(--primary) !important; background-image:none !important; color:#fff !important; border-radius:var(--ui-r,12px); }
.site-header .nav-link.btn-nav-primary:hover{ background:var(--primary-hover,var(--primary)) !important; filter:none; }
:root{ --grad-brand:var(--primary); }

/* ===== v25 : pas de bouton hamburger sur ordinateur portable ===== */
@media (min-width:992px){
  .site-header .navbar-toggler{ display:none !important; }
}

/* ===== v26 : espace entre icônes et textes, marges des éléments ===== */
.btn, .ep-btn, .ep-chip, .badge, .ep-tag, .ep-link, .ep-back, .btn-nav-primary{ display:inline-flex; align-items:center; justify-content:center; gap:.55rem; }
.nav-link, .dropdown-item, .list-group-item-action, .ep-foot a, .ep-msgbtn{ display:flex; align-items:center; gap:.6rem; }
.site-header .navbar-nav .nav-link{ display:flex; align-items:center; gap:.5rem; }
.dropdown-item i, .nav-link i, .btn i, .ep-btn i, .badge i, .ep-chip i, .ep-tag i{ flex:none; margin:0; }
li > i.fas:first-child, li > i.far:first-child, p > i.fas:first-child, p > i.far:first-child, h3 > i.fas:first-child, h2 > i.fas:first-child, label > i.fas:first-child{ margin-inline-end:.6rem; }
.ep-plan li{ display:flex; align-items:flex-start; gap:.6rem; margin-bottom:.4rem; }
.ep-plan li i{ margin-top:.3em; margin-inline-end:0; }
.ep-pillars li, .ep-how li, .ep-plan, .ep-member, .ep-rating{ padding:clamp(16px,3vw,24px); }
.ep-plan, .ep-pillars li, .ep-how li, .card, .alert{ margin-bottom:.25rem; }
.ep-plan .ep-btn{ margin-top:1rem; }
.card-body{ padding:clamp(16px,3vw,24px); }
.ep-hero2__actions{ display:flex; flex-wrap:wrap; gap:.75rem; }

/* ===== v27 : barre de navigation ordinateur (une seule ligne, compacte) ===== */
@media (min-width:992px){
  .site-header .navbar > .container-xxl{ display:flex; flex-wrap:nowrap; align-items:center; gap:.75rem; }
  .site-header .navbar-brand{ flex:none; margin:0 .25rem 0 0; }
  .site-header .offcanvas{ flex:1 1 auto; min-width:0; }
  .site-header .offcanvas-body{ display:flex; flex:1 1 auto; align-items:center; flex-wrap:nowrap; gap:.75rem; padding:0; min-width:0; overflow:visible; }
  .site-header .header-search{ flex:1 1 180px; width:auto; min-width:140px; max-width:300px; margin:0 auto 0 0 !important; flex-wrap:nowrap; }
  .site-header .header-search .form-control{ min-height:40px; height:40px; padding:.3rem .9rem; font-size:.95rem; border-radius:999px 0 0 999px; }
  .site-header .header-search .btn{ min-height:40px; height:40px; width:44px; padding:0; border-radius:0 999px 999px 0; }
  .site-header .navbar-nav{ flex-direction:row; flex-wrap:nowrap; align-items:center; gap:.1rem; margin:0; }
  .site-header .navbar-nav .nav-item{ flex:none; margin:0 !important; }
  .site-header .navbar-nav .nav-link{ min-height:40px; padding:.4rem .7rem; font-size:.95rem; white-space:nowrap; }
  .site-header .navbar-nav .btn-nav-primary{ min-height:40px; padding:.4rem 1rem; }
  .site-header .nav-label{ max-width:9rem; }
  .site-header .theme-toggle{ width:40px; height:40px; }
}
@media (min-width:992px) and (max-width:1279.98px){
  .site-header .navbar-nav .nav-link[title] > span:not(.nav-avatar):not(.badge),
  .site-header .nav-user .nav-label{ display:none; }
  .site-header .nav-user::after{ margin-left:.1rem; }
}
@media (min-width:992px){
  .site-header .notification-link{ position:relative; }
  .site-header .notification-link .badge{ position:static; margin-left:.15rem; }
}

/* ===== v28 : logo seul à gauche ; recherche collée aux boutons à droite ===== */
@media (min-width:992px){
  .site-header .header-search{ margin:0 0 0 auto !important; flex:0 1 260px; }
}

/* ===== v29 : en-tête pleine largeur — nom + logo tout à gauche, le reste à droite ===== */
@media (min-width:992px){
  .site-header .navbar > .container-xxl{ max-width:none; }
  .site-header .navbar-brand{ margin-right:auto; }
  .site-header .offcanvas{ flex:0 1 auto; margin-left:auto; }
  .site-header .offcanvas-body{ flex:0 1 auto; }
  .site-header .header-search{ margin:0 !important; }
  .site-header .navbar > .container-xxl > .d-flex.order-lg-last{ margin-left:.25rem !important; }
}

/* ===== v30 : plus de champ de recherche dans l'en-tête (recherche = page Explorer / liste des cours) ===== */
.site-header .header-search{ display:none !important; }
@media (min-width:992px){
  .site-header .navbar-nav{ margin-left:auto; }
}

/* ===== v31 : boutons ronds (réseaux sociaux, avatars) : icône toujours centrée ===== */
.ep-foot__social a, .ep-foot .ep-foot__social a{ display:grid !important; place-items:center; gap:0; padding:0; line-height:1; }
.ep-foot__social a i{ margin:0 !important; line-height:1; }
.nav-avatar, .theme-toggle, .navbar-toggler, .ep-carousel__btn{ display:inline-grid; place-items:center; gap:0; padding:0; }
.ep-carousel__btn i, .theme-toggle i{ margin:0 !important; line-height:1; }

/* ===== v32 : boutons de l'accueil : pleine largeur, jamais de débordement ===== */
.ep-btn{ box-sizing:border-box; max-width:100%; }
.ep-hero2__actions{ display:flex; flex-wrap:wrap; gap:.75rem; width:100%; }
.ep-hero2__actions .ep-btn, .ep-hero2__actions .ep-btn + .ep-btn{ margin:0 !important; }
@media (max-width:575.98px){ .ep-hero2__actions{ flex-direction:column; align-items:stretch; } .ep-hero2__actions .ep-btn{ width:100%; } }

/* ===== v33 : lisibilité et confort (plus « humain ») ===== */
body{ line-height:1.6; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
h1,h2,h3{ text-wrap:balance; letter-spacing:-.015em; }
p,li{ text-wrap:pretty; }
::selection{ background:color-mix(in srgb,var(--primary) 28%,transparent); }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:3px solid color-mix(in srgb,var(--primary) 55%,transparent); outline-offset:2px; border-radius:8px; }
/* cibles tactiles confortables sur téléphone */
@media (pointer:coarse){ .btn, .nav-link, .dropdown-item, .close-alert, input[type=checkbox], input[type=radio]{ min-height:44px; } input[type=checkbox], input[type=radio]{ min-width:22px; min-height:22px; } }
/* messages : erreurs lisibles aussi en mode sombre, bouton fermer bien visible */
.alert-error{ background:color-mix(in srgb,var(--danger) 10%,var(--ui-card,transparent)); border-color:color-mix(in srgb,var(--danger) 40%,transparent); color:var(--text-color,inherit); }
.messages-container .alert{ display:flex; align-items:flex-start; gap:.7rem; padding:.9rem 1rem; }
.messages-container .alert > i:first-child{ margin-top:.2rem; }
.close-alert{ min-width:36px; min-height:36px; border-radius:50%; display:grid; place-items:center; }
.close-alert:hover{ background:color-mix(in srgb,currentColor 12%,transparent); }
/* tableaux : jamais de débordement de page sur téléphone */
@media (max-width:767.98px){ main table{ display:block; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; } main table thead th{ white-space:nowrap; } }
/* champs : texte d'aide et erreurs plus doux */
.helptext, .form-text{ color:var(--text-muted,#667); font-size:.86rem; }
.errorlist{ list-style:none; margin:.35rem 0 0; padding:0; color:var(--danger); font-size:.88rem; font-weight:600; }
/* mouvement réduit : on respecte le réglage du téléphone */
@media (prefers-reduced-motion:reduce){ *, *::before, *::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }

/* ===== v34 : pagination ===== */
.pgn{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.4rem; margin:1.5rem 0 .5rem; }
.pgn__a{ display:inline-flex; align-items:center; gap:.45rem; min-width:44px; min-height:44px; padding:.4rem .9rem; justify-content:center; border-radius:999px; border:1.5px solid var(--border,rgba(127,127,127,.3)); color:var(--text-color,inherit); text-decoration:none; font-weight:700; }
.pgn__a:hover{ border-color:var(--primary); color:var(--primary); }
.pgn__a--on{ background:var(--primary); border-color:var(--primary); color:#fff; }
.pgn__info{ flex-basis:100%; text-align:center; color:var(--text-muted,#667); }

/* ===== v35 : un peu plus d'air entre le contenu et les bords du téléphone ===== */
:root{ --ep-edge:22px; --ep-gutter:clamp(22px, 6vw, 44px); }
@media (min-width:576px){ :root{ --ep-edge:28px; } }
@media (min-width:992px){ :root{ --ep-edge:36px; } }
@media (max-width:359.98px){ :root{ --ep-edge:16px; --ep-gutter:16px; } } /* très petits écrans : on garde de la place pour le texte */


/* v36 : espacement cohérent, cartes sûres en mobile et mouvements légers */
.main-content, .main-content > *, .main-content .row > *, .main-content [class*="col-"]{ min-width:0; }
.main-content .card{ box-sizing:border-box; width:100%; max-width:1100px; min-width:0; margin-inline:auto; overflow-wrap:anywhere; }
.main-content .card-body{ min-width:0; overflow-wrap:anywhere; }
.main-content :is(.ep-course,.ep-plan,.ep-pillars li,.ep-how li,.ep-why__list li,.ep-rating,.ep-member,.list-group-item,.todo-card,.notification-item){ box-sizing:border-box; min-width:0; max-width:100%; overflow-wrap:anywhere; }
.main-content :is(.ep-course,.ep-plan,.ep-pillars li,.ep-how li,.ep-why__list li,.ep-rating,.ep-member,.list-group-item,.todo-card,.notification-item) :is(h1,h2,h3,h4,p,span,strong,small,a){ min-width:0; overflow-wrap:anywhere; }
.main-content .ep-wrap{ box-sizing:border-box; width:100%; max-width:1180px; min-width:0; }
.main-content .ep-why{ gap:clamp(16px,3vw,40px); }
.main-content .ep-why__list{ display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(12px,2vw,18px); border:0; }
.main-content .ep-why__list li{ grid-template-columns:2.25rem minmax(0,1fr); align-items:start; gap:.35rem clamp(.65rem,2vw,1rem); margin:0; padding:clamp(1rem,2.6vw,1.35rem); border:1px solid var(--ep-line); }
.main-content .ep-why__list li > *{ min-width:0; }
.main-content .ep-how{ gap:clamp(.8rem,2vw,1.25rem); }
.main-content .ep-how li{ min-width:0; }
.main-content .ep-how li h3, .main-content .ep-how li p{ overflow-wrap:anywhere; }
.main-content .ep-pillars li{ min-width:0; }
.main-content .ep-pillars li > *{ min-width:0; }
.main-content .ep-carousel__item{ min-width:0; }
.main-content :is(.btn,.ep-btn){ box-sizing:border-box; max-width:100%; white-space:normal; }
@media (min-width:576px) and (max-width:991.98px){
  .main-content .ep-why__list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:575.98px){
  .main-content .ep-why__list{ grid-template-columns:minmax(0,1fr); }
  .main-content .ep-why__list li{ padding:1rem; }
  .main-content .ep-head:not(.ep-head--center){ flex-wrap:wrap; align-items:flex-start; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .main-content .ep-why__list li:hover{ transform:translateY(-3px); border-color:color-mix(in srgb,var(--ep-primary) 40%,var(--ep-line)); box-shadow:0 18px 32px -24px color-mix(in srgb,var(--ep-primary) 50%,transparent); }
  .main-content .card:focus-within{ border-color:color-mix(in srgb,var(--primary) 38%,var(--border)); }
}
