/* Police Poppins (licence SIL OFL, voir assets/fonts) : fournie par le thème, aucun chargement depuis Google. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ==========================================================================
   Nkaramoo, le Panthéon du savoir : feuille de style du thème
   Bleu azur exact du logo : #00AFF4. Texte blanc sur l'azur interdit (contraste
   2,5:1) : on y pose du bleu marine. Les petits textes bleus utilisent #00729F.
   ========================================================================== */

:root {
	--azur: #00AFF4;
	--azur-txt: #00729F;
	--azur-hover: #25BDFA;
	--marine: #0A2540;
	--marine-2: #14395E;
	--ink: #0A2540;
	--muted: #46607A;
	--line: #D5E5F0;
	--brume: #EAF7FE;
	--bg: #FFFFFF;
	--or: #F5B83D;
	--surface: #FFFFFF;
	--band: #0A2540;
	--field: #B9CFDD;
	color-scheme: light;
	--f-display: 'Poppins', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
	--f-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
	--wrap: 1200px;
	--gut: 32px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
/* Thème sombre : le marine reste #0A2540 (texte posé sur l'azur) ; seuls les fonds et les textes changent. */
:root[data-theme="dark"] {
	--bg: #08192C; --surface: #0E2540; --ink: #EAF4FB; --muted: #9DB4C8; --line: #1F3C5A;
	--brume: #0C2239; --azur-txt: #00AFF4; --band: #0E2A47; --field: #3A5A78;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--f-body); font-size: 16px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
}
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: inherit; }
/* Boutons et champs : par défaut le navigateur leur impose sa propre police ; ici ils prennent celle du site (sans écraser une police choisie par une extension). */
button, input, select, textarea, optgroup { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--azur); outline-offset: 3px; }

.nk-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.nk-ico { flex: none; }

/* Utilitaires WordPress */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus, .skip-link:focus { background: #fff; clip: auto !important; clip-path: none; color: #0A2540; display: block; height: auto; left: 12px; top: 12px; padding: 14px 22px; width: auto; z-index: 100000; font-weight: 700; border-radius: 10px; text-decoration: none; box-shadow: 0 0 0 3px var(--azur); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
	border-radius: 12px; font: 700 16px/1.2 var(--f-body); text-decoration: none; text-align: center;
	border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn--azur { background: var(--azur); color: var(--marine); }
.btn--azur:hover { background: var(--azur-hover); }
.btn--contour { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--contour:hover { background: var(--brume); }
.btn--marine { background: var(--marine); color: #fff; }
.btn--marine:hover { background: var(--marine-2); }
.lien { color: var(--azur-txt); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lien:hover { color: var(--marine); }
.notice-admin { padding: 14px 18px; border-radius: 12px; background: var(--brume); color: var(--ink); }

/* ---------- Barre de contact ---------- */
.nk-top { background: var(--band); color: #fff; font-size: 14.5px; }
.nk-top__in { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 28px; }
.nk-top__group { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; }
.nk-top__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; }
.nk-top__link .nk-ico { color: var(--azur); }
a.nk-top__link:hover span { text-decoration: underline; }
.nk-top__strong { font-weight: 600; }

/* ---------- En-tête ---------- */
.nk-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.admin-bar .nk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nk-header { top: 46px; } }
.nk-header.is-stuck { box-shadow: 0 10px 28px rgba(10, 37, 64, .10); }
.nk-header__in { display: flex; align-items: center; gap: 12px 32px; min-height: 76px; }
.nk-logo { display: inline-flex; flex: none; }
.nk-logo img, .custom-logo { height: 46px; width: auto; display: block; }
.nk-nav { flex: 1 1 auto; }
.nk-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 0 30px; list-style: none; margin: 0; padding: 0; }
.nk-menu li { position: relative; }
.nk-menu a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); }
.nk-menu a:hover, .nk-menu .current-menu-item > a { color: var(--azur-txt); }
.nk-menu .menu-item-has-children > a::after { content: ''; width: 7px; height: 7px; margin: -3px 0 0 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.nk-menu .sub-menu { position: absolute; top: 100%; left: -14px; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(10, 37, 64, .14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.nk-menu li:hover > .sub-menu, .nk-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nk-menu .sub-menu .sub-menu { top: -9px; left: 100%; }
.nk-menu .sub-menu a { display: flex; width: 100%; padding: 0 14px; border-radius: 8px; font-weight: 600; }
.nk-menu .sub-menu a:hover { background: var(--brume); }

.nk-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nk-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .2s, background-color .2s; }
.nk-iconbtn:hover { border-color: var(--azur); background: var(--brume); }
.nk-burger { display: none; }
.nk-cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--azur); color: var(--marine); font: 700 12px/20px var(--f-body); text-align: center; }
.nk-cart-count.is-empty { display: none; }

.nk-searchbar { display: none; border-top: 1px solid var(--line); background: var(--brume); padding: 14px 0; }
.nk-searchbar.is-open { display: block; }
.nk-search { display: flex; flex-wrap: wrap; gap: 10px; }
.nk-search input[type="search"] { flex: 1 1 240px; }

@media (max-width: 960px) {
	.nk-header__in { flex-wrap: wrap; }
	.nk-burger { display: inline-flex; order: 3; }
	.nk-tools { order: 2; }
	.nk-nav { order: 4; flex: 1 0 100%; display: none; padding: 4px 0 18px; border-top: 1px solid var(--line); }
	.nk-nav.is-open { display: block; }
	.nk-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nk-menu a { width: 100%; }
	.nk-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.nk-menu .menu-item-has-children > a { flex: 1 1 auto; width: auto; }
	.nk-subtoggle { display: inline-flex; }
	.nk-menu .sub-menu { position: static; display: none; flex: 1 0 100%; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 16px; min-width: 0; background: transparent; }
	.nk-menu .is-open > .sub-menu { display: block; }
	.nk-menu .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 560px) {
	:root { --gut: 20px; }
	.nk-cta { display: none; }
	.nk-top__note { display: none; }
}

/* ---------- Hero : slider ---------- */
.hero { background: var(--bg); overflow: hidden; }
.hero .nk-wrap { padding-top: 56px; padding-bottom: 40px; }
.hero__stage { display: grid; }
.slide {
	grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px;
	opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s;
}
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide__copy { flex: 1 1 540px; min-width: 0; }
.slide__visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.slide__title { font-size: clamp(30px, 4vw, 50px); line-height: 1.15; font-weight: 700; }
.slide__text { margin-top: 22px; font-size: 19.5px; color: var(--muted); max-width: 50ch; }
.slide__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust .nk-ico { color: var(--azur-txt); }

/* L'arche : forme signature, reprise de la carte agent et du nom « Panthéon » */
.arch-wrap { position: relative; width: 100%; max-width: 440px; height: 540px; }
.arch { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--azur); border-radius: 220px 220px 28px 28px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 36px; }
.arch__lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.arch__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.arch__photo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.arch--text { justify-content: flex-start; padding: 0 36px 44px; }
.arch__words { position: relative; display: flex; flex-direction: column; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3.1vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: var(--marine); max-width: 100%; overflow-wrap: break-word; hyphens: none; }

.access-card { position: relative; width: 276px; max-width: calc(100% - 40px); background: #fff; border-radius: 22px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; color: var(--marine); box-shadow: 0 18px 40px rgba(6, 28, 52, .28); }
.card-rise { position: relative; display: flex; justify-content: center; width: 100%; }
.access-card img { height: 34px; width: auto; align-self: flex-start; display: block; }
.access-card__title { font-family: var(--f-display); font-size: 25px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.access-card__sub { font-size: 14.5px; color: #46607A; margin-top: 4px; }
.access-card__rule { height: 1px; background: #D5E5F0; }
.access-card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.access-card__label { font-size: 13px; color: #46607A; }
.access-card__label--site { margin-top: 8px; }
.access-card__id { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: .04em; color: #00729F; }

.chip-float { position: absolute; right: -18px; top: 84px; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: 0 14px 32px rgba(10, 37, 64, .18); }
.chip-float strong { display: block; line-height: 1.2; }
.chip-float span span { display: block; font-size: 14px; color: var(--muted); }
.chip-float__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--azur); color: var(--marine); display: inline-flex; align-items: center; justify-content: center; }

/* Mouvement du slider : une seule chorégraphie, à chaque diapositive qui s'affiche */
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes archrise { from { opacity: 0; transform: translateY(36px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cardrise { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slide.is-active .slide__title { animation: fadeup .75s .05s var(--ease) both; }
.slide.is-active .slide__text { animation: fadeup .75s .18s var(--ease) both; }
.slide.is-active .slide__actions { animation: fadeup .75s .30s var(--ease) both; }
.slide.is-active .trust { animation: fadeup .75s .42s var(--ease) both; }
.slide.is-active .arch { animation: archrise .95s var(--ease) both; }
.slide.is-active .card-rise { animation: cardrise 1s .35s var(--ease) both; }
.slide.is-active .access-card { animation: float 6s 1.6s ease-in-out infinite; }
.slide.is-active .chip-float { animation: fadeup .8s .85s var(--ease) both; }
.slide.is-active .arch__lines path { animation: draw 1.7s .15s ease forwards; }
.slide.is-active .arch__lines path:nth-child(2) { animation-delay: .35s; }
.slide.is-active .arch__lines path:nth-child(3) { animation-delay: .55s; }
.slide.is-active .arch__words span { animation: fadeup .8s var(--ease) both; }
.slide.is-active .arch__words span:nth-child(1) { animation-delay: .35s; }
.slide.is-active .arch__words span:nth-child(2) { animation-delay: .5s; }
.slide.is-active .arch__words span:nth-child(3) { animation-delay: .65s; }

.hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.hero__dots { display: flex; gap: 2px; }
.hero__dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero__dot span { position: relative; display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; transition: width .35s var(--ease), background-color .25s; }
.hero__dot:hover span { background: #a9cbe0; }
.hero__dot.is-active span { width: 38px; background: var(--azur); }
.hero[data-running="1"] .hero__dot.is-active span { background: var(--line); }
.hero[data-running="1"] .hero__dot.is-active span::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--azur); transform-origin: left; animation: progress var(--interval, 7s) linear forwards; }
.hero__ctrl { display: flex; gap: 10px; }
.hero [data-toggle] .ico-play { display: none; }
.hero [data-toggle].is-paused .ico-play { display: inline-flex; }
.hero [data-toggle].is-paused .ico-pause { display: none; }

@media (max-width: 600px) {
	.hero .nk-wrap { padding-top: 36px; }
	.arch-wrap { height: 440px; }
	.chip-float { right: -6px; top: 56px; }
	.arch--text { padding: 0 24px 32px; }
}

/* ---------- Sections ---------- */
.sec { padding: 88px 0; }
.sec--brume { background: var(--brume); padding: 64px 0; }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.sec__title { font-size: 36px; line-height: 1.2; font-weight: 700; }
.sec__title--m { font-size: 30px; }
.sec__title--light { color: #fff; max-width: 18ch; }

.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.chip:hover { border-color: var(--azur); transform: translateY(-2px); }

.sec--courses { padding: 88px 0 96px; }
.grid-courses, .posts { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.posts { margin-top: 0; }

.course { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.course:hover { transform: translateY(-4px); border-color: var(--azur); }
.course__tile { display: flex; align-items: center; justify-content: center; margin: 14px 14px 0; height: 190px; border-radius: 150px 150px 12px 12px; overflow: hidden; text-decoration: none; }
.course__tile--marine { background: var(--marine); color: var(--azur); }
.course__tile--azur { background: var(--azur); color: var(--marine); }
.course__tile--brume { background: var(--brume); color: var(--ink); }
.course__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course:hover .course__img { transform: scale(1.05); }
.course__mark { font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: 1; }
.course__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course__cat { font-size: 14px; font-weight: 600; color: var(--azur-txt); }
.course__title { font-size: 22px; line-height: 1.2; font-weight: 700; }
.course__title a { color: inherit; text-decoration: none; }
.course__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.course__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.course__stat, .course__rating { display: inline-flex; align-items: center; gap: 6px; }
.course__rating strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; }
.stars .on { fill: var(--or); }
.stars .off { fill: var(--line); }
.course__by { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin-top: auto; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brume); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.course__foot { border-top: 1px solid var(--line); padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.course__price strong { display: block; font-family: var(--f-display); font-size: 22px; line-height: 1.1; }
.course__price s { font-size: 13.5px; color: var(--muted); }
.course__foot .btn:only-child { flex: 1; }

/* Étapes : une vraie séquence, donc numérotée */
.sec--band { background: var(--band); color: #fff; padding: 88px 0 96px; }
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 56px 40px; }
.step { position: relative; flex: 1 1 280px; min-width: 0; padding-top: 34px; }
.step::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: rgba(255, 255, 255, .22); transform-origin: left; }
.step__n { position: absolute; top: -25px; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--azur); color: var(--marine); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.step h3 { font-size: 24px; line-height: 1.2; font-weight: 700; color: #fff; }
.step p { margin-top: 10px; color: rgba(255, 255, 255, .80); max-width: 34ch; }
.js .step::before { transform: scaleX(0); transition: transform 1.1s var(--ease) var(--d, 0ms); }
.js .step.is-in::before { transform: none; }
.js .step__n { transform: scale(.5); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d, 0ms) + 250ms), opacity .4s ease calc(var(--d, 0ms) + 250ms); }
.js .step.is-in .step__n { transform: none; opacity: 1; }

/* Services : des lignes, pas des cartes */
.sec--services { padding: 96px 0; }
.services { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.services__intro { flex: 1 1 320px; max-width: 420px; min-width: 0; }
.services__intro p { margin-top: 18px; color: var(--muted); font-size: 18.5px; }
.services__list { flex: 2 1 520px; min-width: 0; border-bottom: 1px solid var(--line); }
.service { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.service__text { flex: 1 1 320px; min-width: 0; }
.service__name { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; transition: color .2s; }
.service__desc { display: block; color: var(--muted); margin-top: 6px; }
.service:hover .service__name { color: var(--azur-txt); }

/* Rejoindre : l'arche devient la silhouette de la bande */
.join { background: var(--azur); color: var(--marine); border-radius: 120px 120px 0 0; padding: 96px 0 88px; }
.join h2 { font-size: 36px; line-height: 1.18; color: var(--marine); max-width: 20ch; }
.join p { margin-top: 18px; font-size: 19.5px; max-width: 52ch; color: var(--marine); }
.join__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 700px) {
	.join { border-radius: 64px 64px 0 0; padding: 72px 0 64px; }
	.join h2, .sec__title { font-size: 28px; }
	.sec, .sec--courses, .sec--services, .sec--band { padding-top: 64px; padding-bottom: 64px; }
}

/* ---------- Pied de page ---------- */
.nk-footer { background: var(--band); color: #fff; padding: 64px 0 24px; }
.nk-footer__cols { display: flex; flex-wrap: wrap; gap: 48px 56px; }
.nk-footer__brand { flex: 2 1 300px; min-width: 0; }
.nk-footer .nk-logo img { width: 230px; height: auto; }
.nk-footer__brand p { margin-top: 20px; color: rgba(255, 255, 255, .80); max-width: 34ch; }
.nk-footer__contact { display: flex; flex-direction: column; margin-top: 14px; }
.nk-footer__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; }
.nk-footer__contact .nk-ico { color: var(--azur); }
.nk-footer__col { flex: 1 1 170px; min-width: 0; }
.nk-footer__title { font-family: var(--f-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; color: #fff; }
.nk-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nk-footer__list a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .86); text-decoration: none; }
.nk-footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nk-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: rgba(255, 255, 255, .72); padding-bottom: env(safe-area-inset-bottom, 0px); }
.nk-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .86); text-decoration: none; }
.nk-footer__bottom a:hover { text-decoration: underline; }

/* ---------- Pages internes ---------- */
.nk-main { padding-top: 56px; padding-bottom: 96px; }
.nk-main-full { display: block; }
.page-head { margin-bottom: 40px; }
.page-title, .entry__title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; font-weight: 700; }
.page-desc { margin-top: 16px; color: var(--muted); max-width: 70ch; }
.entry__head { margin-bottom: 32px; }
.entry__meta { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.entry__thumb { margin-bottom: 32px; border-radius: 18px; overflow: hidden; }
.entry__content { font-size: 18px; }
.entry__content > :where(p, ul, ol, h2, h3, h4, blockquote) { max-width: 75ch; }
.entry__content h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.entry__content h3 { font-size: 24px; margin: 1.4em 0 .4em; }
.entry__content p, .entry__content ul, .entry__content ol { margin: 0 0 1.1em; }
.entry__content a { color: var(--azur-txt); text-underline-offset: 3px; }
.entry__content img { border-radius: 12px; }
.entry__content blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--azur); color: var(--muted); font-size: 1.08em; }
.entry__content table:not(.shop_table):not(.woocommerce-table):not(.variations):not(.cart) { border-collapse: collapse; width: 100%; }
.entry__content table:not(.shop_table):not(.woocommerce-table):not(.variations):not(.cart) th,
.entry__content table:not(.shop_table):not(.woocommerce-table):not(.variations):not(.cart) td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry__content table:not(.shop_table):not(.woocommerce-table):not(.variations):not(.cart) th { background: var(--brume); }
.entry__content .wp-block-table { overflow-x: auto; }
.page-links, .post-navigation, .navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--azur); border-color: var(--azur); color: var(--marine); }
.navigation.pagination .nav-links { justify-content: center; }

.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.post-card__img img { width: 100%; height: 210px; object-fit: cover; display: block; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__date { font-size: 14px; color: var(--muted); }
.post-card__title { font-size: 22px; line-height: 1.2; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card__excerpt { color: var(--muted); }
.post-card__excerpt p { margin: 0; }
.post-card .lien { margin-top: auto; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field); border-radius: 10px;
	background: var(--surface); color: var(--ink); font: inherit;
}
textarea { min-height: 140px; }
input:focus, textarea:focus, select:focus { border-color: var(--azur); outline: 3px solid rgba(0, 175, 244, .35); outline-offset: 0; }
.nk-main button[type="submit"], .nk-main input[type="submit"], .comment-form .submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--azur); color: var(--marine); font: 700 16px var(--f-body); cursor: pointer; }
.nk-main button[type="submit"]:hover, .nk-main input[type="submit"]:hover, .comment-form .submit:hover { background: var(--azur-hover); }
.nk-search input[type="search"] { width: auto; }

.comments { margin-top: 64px; max-width: 75ch; }
.comments__title { font-size: 28px; margin-bottom: 20px; }
.comments__list { list-style: none; padding: 0; margin: 0 0 32px; }
.comments__list .comment-body { padding: 18px 0; border-top: 1px solid var(--line); }
.comments__list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.nk-404 { text-align: left; }
.nk-404 .nk-search { margin: 24px 0; max-width: 560px; }
.nk-widget { margin-bottom: 32px; }
.nk-widget__title { font-size: 20px; margin-bottom: 12px; }

/* WooCommerce : boutons et notices aux couleurs du thème */
body .woocommerce a.button, body .woocommerce button.button, body .woocommerce input.button, body .woocommerce #respond input#submit,
body.woocommerce a.button, body .woocommerce a.button.alt, body .woocommerce button.button.alt, body .woocommerce input.button.alt {
	background: var(--azur); color: var(--marine); border-radius: 12px; font-weight: 700; min-height: 48px; padding: 14px 22px; line-height: 1.2; text-decoration: none;
}
body .woocommerce a.button:hover, body .woocommerce button.button:hover, body .woocommerce a.button.alt:hover, body .woocommerce button.button.alt:hover { background: var(--azur-hover); color: var(--marine); }
body .woocommerce .woocommerce-message, body .woocommerce .woocommerce-info { border-top-color: var(--azur); }
body .woocommerce .woocommerce-message::before, body .woocommerce .woocommerce-info::before { color: var(--azur-txt); }
body .woocommerce .price, body .woocommerce ul.products li.product .price { color: var(--ink); font-weight: 700; }

/* ---------- Apparition au défilement (uniquement formations, étapes, services) ---------- */
@keyframes revealup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: revealup .75s var(--ease) var(--d, 0ms) backwards; }
.js .course.reveal.is-in:hover { transform: translateY(-4px); }
.reveal-fallback .reveal { opacity: 1 !important; animation: none !important; }
.reveal-fallback .step::before { transform: none !important; }
.reveal-fallback .step__n { transform: none !important; opacity: 1 !important; }

/* Mouvement réduit : tout s'affiche immédiatement, sans animation ni défilement doux */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.arch__lines path { stroke-dashoffset: 0; }
	.js .reveal { opacity: 1; }
	.js .step::before { transform: none; }
	.js .step__n { transform: none; opacity: 1; }
	.course:hover, .chip:hover { transform: none; }
}


/* ==========================================================================
   Version 1.1 : publics, espaces, règles claires, assistant
   ========================================================================== */

/* ---------- Pour chacun : onglets ---------- */
.sec--publics { padding: 88px 0; }
.tabs { margin-top: 40px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; border-bottom: 1px solid var(--line); }
.tab { position: relative; min-height: 48px; padding: 0 20px; border: 0; background: none; font: 700 17px var(--f-body); color: var(--muted); cursor: pointer; border-radius: 10px 10px 0 0; transition: color .2s, background-color .2s; }
.tab:hover { color: var(--ink); background: var(--brume); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--azur); }
.tabpanel { display: none; padding-top: 48px; }
.tabpanel.is-active { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.tabpanel[hidden] { display: none; }
.tabpanel__copy { flex: 1 1 440px; min-width: 0; }
.tabpanel__visual { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.tabpanel h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; font-weight: 700; max-width: 18ch; }
.tabpanel .lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 50ch; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .nk-ico { color: var(--azur-txt); margin-top: 3px; }
.tabpanel__cta { margin-top: 30px; }

.arch-wrap--sm { max-width: 380px; height: 460px; }
.arch-wrap--sm .arch { border-radius: 190px 190px 24px 24px; padding-bottom: 32px; }
.arch-wrap--sm .arch--text { padding: 0 28px 40px; }
.arch-wrap--sm .arch__words { font-size: clamp(24px, 2.7vw, 32px); }
.arch-wrap--sm .chip-float { right: -14px; top: 64px; max-width: 280px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tabpanel.is-active .arch { animation: archrise .8s var(--ease) both; }
.tabpanel.is-active .arch__lines path { animation: draw 1.4s .1s ease forwards; }
.tabpanel.is-active .arch__lines path:nth-child(2) { animation-delay: .3s; }
.tabpanel.is-active .arch__lines path:nth-child(3) { animation-delay: .5s; }
.tabpanel.is-active .arch__words span { animation: fadeup .7s var(--ease) both; }
.tabpanel.is-active .arch__words span:nth-child(1) { animation-delay: .3s; }
.tabpanel.is-active .arch__words span:nth-child(2) { animation-delay: .42s; }
.tabpanel.is-active .arch__words span:nth-child(3) { animation-delay: .54s; }
.tabpanel.is-active .chip-float { animation: fadeup .7s .6s var(--ease) both; }
.tabpanel.is-active .tabpanel__copy > * { animation: fadeup .6s var(--ease) both; }
.tabpanel.is-active .tabpanel__copy > :nth-child(2) { animation-delay: .08s; }
.tabpanel.is-active .tabpanel__copy > :nth-child(3) { animation-delay: .16s; }
.tabpanel.is-active .tabpanel__copy > :nth-child(4) { animation-delay: .24s; }

/* ---------- Espaces Nkaramoo : grille à filets, sans cartes arrondies ---------- */
.sec--modules { padding: 96px 0; background: var(--bg); }
.modules-intro { max-width: 640px; }
.modules-intro p { margin-top: 18px; color: var(--muted); font-size: 18.5px; }
.modules { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.module { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; background: var(--bg); transition: background-color .25s; }
a.module:hover { background: var(--brume); }
.module.is-soon { color: var(--muted); }
.module__ico { width: 56px; height: 64px; border-radius: 28px 28px 8px 8px; background: var(--azur); color: var(--marine); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease); }
a.module:hover .module__ico { transform: translateY(-3px); }
.module.is-soon .module__ico { background: var(--brume); color: var(--muted); }
.module__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.module__name { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.module.is-soon .module__name { color: var(--muted); }
.module__desc { color: var(--muted); }
.module__link { margin-top: auto; padding-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.tag--dispo { background: var(--brume); color: var(--ink); }
.tag--dispo::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--azur); }
.tag--bientot { border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 900px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: minmax(0, 1fr); } .module { padding: 26px 22px; } }

/* ---------- Des règles claires ---------- */
.sec--regles { padding: 96px 0; background: var(--brume); }
.regles { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 28px; min-width: 0; }
.panel h3 { font-size: 23px; line-height: 1.25; font-weight: 700; }
.panel--card { flex: 1 1 320px; max-width: 420px; }
.panel--levels { flex: 2 1 560px; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; }
.facts .nk-ico { color: var(--azur-txt); margin-top: 3px; }
.prices { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.prices > div { flex: 1 1 140px; padding: 14px 16px; border-radius: 12px; background: var(--brume); }
.prices dt { font-size: 14px; color: var(--muted); }
.prices dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.fine { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 72ch; }
.fine--top { margin: 12px 0 0; font-size: 16px; }
.table-scroll { margin-top: 20px; overflow-x: auto; border-radius: 12px; }
.table-scroll:focus-visible { outline-offset: 2px; }
.levels { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 16px; }
.levels th, .levels td { text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.levels thead th { font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--ink); }
.levels tbody th { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.levels .num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.levels tbody tr:last-child th, .levels tbody tr:last-child td { border-bottom: 0; }

/* ---------- Agent Nkaramoo ---------- */
.sec--assistant { padding: 88px 0; background: var(--bg); }
.assist { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.assist__copy { flex: 1 1 420px; min-width: 0; }
.assist__text { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 48ch; }
.ask-chips { margin-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.chip--btn { font: 600 16px/1.3 var(--f-body); cursor: pointer; text-align: left; padding-top: 10px; padding-bottom: 10px; }
.assist__open { margin-top: 28px; }
.assist__panel { flex: 1 1 360px; max-width: 520px; background: var(--band); color: #fff; border-radius: 22px; overflow: hidden; }
.assist__head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-family: var(--f-display); font-weight: 700; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.assist__head .nk-ico { color: var(--azur); }
.assist__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 90%; padding: 12px 16px; border-radius: 16px; font-size: 16px; line-height: 1.5; }
.bubble--q { align-self: flex-end; background: var(--azur); color: var(--marine); font-weight: 600; border-bottom-right-radius: 4px; }
.bubble--a { align-self: flex-start; background: rgba(255, 255, 255, .10); color: #fff; border-bottom-left-radius: 4px; }
.js .assist__panel .bubble--a { opacity: 0; transform: translateY(10px); transition: opacity .6s ease .5s, transform .6s var(--ease) .5s; }
.js .assist__panel.is-in .bubble--a { opacity: 1; transform: none; }
.reveal-fallback .assist__panel .bubble--a { opacity: 1 !important; transform: none !important; }

@media (max-width: 700px) {
	.sec--publics, .sec--modules, .sec--regles, .sec--assistant { padding-top: 64px; padding-bottom: 64px; }
	.panel { padding: 24px 20px; }
	.arch-wrap--sm { height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
	.js .assist__panel .bubble--a { opacity: 1; transform: none; }
	a.module:hover .module__ico { transform: none; }
}

/* ==========================================================================
   Version 1.2 : illustrations des services dans l'arche
   ========================================================================== */
@keyframes popin { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.illus { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.illus .p1, .illus .p2, .illus .p3 { transform-box: fill-box; transform-origin: 50% 100%; }

.slide.is-active .illus .p1, .tabpanel.is-active .illus .p1 { animation: popin .85s .25s var(--ease) both; }
.slide.is-active .illus .p2, .tabpanel.is-active .illus .p2 { animation: popin .85s .45s var(--ease) both; }
.slide.is-active .illus .p3, .tabpanel.is-active .illus .p3 { animation: popin .85s .65s var(--ease) both, bob 5s 1.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
	.illus .p1, .illus .p2, .illus .p3 { animation: none !important; }
}

.nb { white-space: nowrap; }
.slide__title, .tabpanel h3, .sec__title { text-wrap: balance; }
.chip-float .clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arch-wrap--sm .chip-float { top: 30px; }
.hero__bar { flex-wrap: wrap; }
.hero__ctrl { margin-left: auto; }

/* ==========================================================================
   Version 1.3 : mode clair / sombre, sous-menus repliables, protections de mise en page
   ========================================================================== */

/* Aucune page ne doit pouvoir devenir plus large que l'écran (le navigateur mobile la réduirait pour tout faire tenir). */
html, body { max-width: 100%; overflow-x: clip; }
.nk-main, .nk-wrap, .entry, .entry__content { min-width: 0; max-width: 100%; }
.entry__content :where(img, video, iframe, embed, object, canvas) { max-width: 100%; }
.entry__content :where(pre) { overflow-x: auto; max-width: 100%; }

/* Bouton des sous-menus (visible seulement sur mobile) */
.nk-subtoggle { display: none; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.nk-subtoggle:hover { background: var(--brume); }
.nk-subtoggle .nk-ico { transition: transform .25s var(--ease); }
.is-open > .nk-subtoggle .nk-ico { transform: rotate(180deg); }

/* Bouton clair / sombre */
.nk-theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .nk-theme-toggle .ico-sun { display: inline-flex; }
:root[data-theme="dark"] .nk-theme-toggle .ico-moon { display: none; }

/* Pages qui contiennent des extensions (paiement, cours, tableaux de bord, pages construites avec un éditeur) :
   leur contenu n'a pas de mode sombre. En mode sombre, la zone de contenu reste claire ; l'en-tête et le pied de page suivent le thème. */
#nk-page { display: block; }
body.nk-light-content #nk-page {
	--bg: #FFFFFF; --surface: #FFFFFF; --ink: #0A2540; --muted: #46607A; --line: #D5E5F0;
	--brume: #EAF7FE; --azur-txt: #00729F; --field: #B9CFDD;
	color-scheme: light; background: #fff; color: #0A2540; min-height: 50vh;
}

/* Ajustements du thème sombre */
:root[data-theme="dark"] .nk-header.is-stuck { box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .hero__dot:hover span { background: #2D4F6E; }
:root[data-theme="dark"] .stars .off { fill: #2A4663; }
:root[data-theme="dark"] .nk-menu .sub-menu { box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }

/* Les boutons des sous-menus s'affichent sur mobile (après leur règle de base, pour qu'elle ne les cache pas) */
@media (max-width: 960px) {
	.nk-subtoggle { display: inline-flex; }
}

/* En-tête compact sur petit écran : barre de contact sur une ligne, boutons sur la même rangée que le logo */
@media (max-width: 560px) {
	.nk-top__group a[href^="mailto"] { display: none; }
	.nk-top__more { display: none; }
	.nk-top__in { justify-content: space-between; gap: 0 6px; }
	.nk-top { font-size: 14px; }
	.nk-top__link { gap: 6px; }
	.nk-header__in { gap: 8px 12px; }
	.nk-logo img, .custom-logo { height: 36px; }
	.nk-iconbtn { width: 42px; height: 42px; }
	.nk-tools { gap: 6px; }
}
:root[data-theme="dark"] .course__tile--marine { background: #14395E; }
:root[data-theme="dark"] .course__tile--brume { background: #16334F; }

/* Repère de version (lu par l'outil de diagnostic ?nkdebug=1) */
:root { --nk-css: "1.8.4"; }
/* Garde-fou : si un éditeur de pages impose un fond au corps de la page, le mode sombre l'emporte quand même. */
:root[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
:root[data-theme="dark"] body.nk-light-content #nk-page { color: #0A2540; }

/* ==========================================================================
   Version 1.4 : tiroir mobile, filigranes, signaux, carte d'accès, cartes de services, connexion
   ========================================================================== */

@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(0, 175, 244, .55); } 70% { box-shadow: 0 0 0 16px rgba(0, 175, 244, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 175, 244, 0); } }
@keyframes blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
@keyframes ping { 0% { transform: scale(.7); opacity: .8; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes sheen { 0%, 55% { left: -45%; } 85%, 100% { left: 125%; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-44px, -30px, 0); } }

/* Bouton qui « respire » : attire l'œil sans bouger */
.btn--pulse { animation: ring 2.4s ease-out infinite; }
.btn--pulse:hover, .btn--pulse:focus-visible { animation-play-state: paused; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; border-radius: 14px; }

/* Voyant « Disponible » (clignote) */
.signal { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--muted); }
.signal i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.signal--on { background: var(--brume); border-color: transparent; color: var(--ink); }
.signal--on i { background: var(--azur); animation: blink 1.6s ease-in-out infinite, ring 1.6s ease-out infinite; }

/* ---------- Mobile : tiroir blanc, barre de contact masquée quand le menu est ouvert ---------- */
.nk-nav__extra { display: none; }
.nk-nav__line { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nk-nav__line .nk-ico { color: var(--azur-txt); }
@media (max-width: 960px) {
	.nk-nav.is-open { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 20px; }
	.nk-nav__extra { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
	.nk-nav__cta { margin-top: 10px; }
	.nk-menu > li > a { font-size: 18px; }
	.nk-menu .sub-menu { background: var(--brume); border-radius: 12px; padding: 4px 6px 4px 14px; margin: 0 0 8px; }
	.nk-menu .sub-menu .sub-menu { background: transparent; margin: 0; padding: 0 0 4px 10px; }
	.nk-menu .sub-menu a { font-size: 16px; }
	.nk-subtoggle { background: transparent; }
	.nk-subtoggle:hover, .is-open > .nk-subtoggle { background: var(--surface); }
	html.nk-menu-open { overflow: hidden; }
	html.nk-menu-open .nk-top { display: none; }
	body.nk-no-topbar-mobile .nk-top { display: none; }
}
@media (max-width: 960px) {
	body:has(.nk-nav.is-open) .nk-top { display: none; }
}
/* Deux flèches par erreur (ancien script + serveur) : on n'en garde qu'une */
.nk-menu li > .nk-subtoggle ~ .nk-subtoggle { display: none !important; }

/* ---------- Filigrane derrière chaque diapositive ---------- */
.hero { position: relative; }
.slide__copy, .slide__visual { position: relative; z-index: 1; }
.hero__bar { position: relative; z-index: 1; }
.slide__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; overflow: hidden; pointer-events: none; color: var(--azur); opacity: .13;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.slide__wm { position: absolute; top: -60px; left: -60px; width: calc(100% + 120px); height: calc(100% + 120px); }
.slide.is-active .slide__wm { animation: drift 40s ease-in-out infinite alternate; }
.slide__bg--photo { opacity: .16; }
.slide__bgimg { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.95); }
:root[data-theme="dark"] .slide__bg { opacity: .17; }
:root[data-theme="dark"] .slide__bg--photo { opacity: .22; }

/* ---------- Votre carte d'accès ---------- */
.sec--carte { padding: 96px 0; background: var(--brume); }
.carte { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.carte__copy { flex: 1 1 440px; min-width: 0; }
.carte__lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 50ch; }
.carte__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.carte__feat { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border: 1px solid transparent; border-radius: 14px; transition: background-color .25s, border-color .25s; }
.carte__feat.is-hl { background: var(--surface); border-color: var(--azur); }
.carte__ico { flex: none; width: 42px; height: 46px; border-radius: 21px 21px 8px 8px; background: var(--azur); color: var(--marine); display: inline-flex; align-items: center; justify-content: center; }
.carte__feat strong { display: block; font-size: 17px; line-height: 1.25; }
.carte__feat span span { display: block; margin-top: 2px; color: var(--muted); font-size: 15.5px; }
.carte__prices { margin-top: 22px; }
.carte__actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.carte__visual { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.carte__hint { font-size: 14.5px; color: var(--muted); text-align: center; }

.carte3d { position: relative; width: 100%; max-width: 520px; animation: float 7s ease-in-out infinite; }
.carte3d__tilt { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.bcard { position: relative; aspect-ratio: 1.586 / 1; border-radius: 26px; background: #0A2540; border: 1px solid rgba(0, 175, 244, .5); box-shadow: 0 34px 70px rgba(10, 37, 64, .35), 0 0 70px rgba(0, 175, 244, .2); overflow: hidden; color: #fff; }
.bcard__arches { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.bcard__logo { position: absolute; left: 7%; top: 9%; height: 11%; width: auto; }
.bcard__title { position: absolute; left: 7%; top: 31%; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 3.2vw, 32px); letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.bcard__tag { position: absolute; left: 7%; top: 47%; color: #00AFF4; font-weight: 600; font-size: clamp(13px, 1.7vw, 16px); }
.bcard__chip { position: absolute; left: 7%; top: 62%; width: 14%; height: 16%; border-radius: 7px; background: linear-gradient(135deg, #F7DB8E, #D9A441); box-shadow: inset 0 0 0 1px rgba(10, 37, 64, .3); }
.bcard__id { position: absolute; left: 7%; bottom: 8%; font-family: var(--f-display); font-weight: 700; font-size: clamp(14px, 2.1vw, 21px); letter-spacing: .14em; color: #EAF4FB; }
.bcard__sheen { position: absolute; top: -20%; bottom: -20%; left: -45%; width: 35%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); animation: sheen 5.5s ease-in-out infinite; pointer-events: none; }

/* Signaux clignotants posés sur la carte */
.beacon-wrap { position: absolute; width: 0; height: 0; z-index: 3; }
.beacon-wrap.is-open { z-index: 6; }
.beacon { position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.beacon__dot { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 3px solid #fff; border-radius: 50%; background: #00AFF4; box-shadow: 0 2px 12px rgba(0, 175, 244, .9); transition: background-color .2s, border-color .2s; }
.beacon__ring { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid #00AFF4; border-radius: 50%; animation: ping 2s ease-out infinite; }
.beacon__ring--2 { animation-delay: 1s; }
.beacon:hover .beacon__dot, .beacon-wrap.is-open .beacon__dot { background: #fff; border-color: #00AFF4; }
.beacon__tip { position: absolute; width: min(230px, 62vw); padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font-size: 14.5px; line-height: 1.4; box-shadow: 0 18px 40px rgba(10, 37, 64, .3); opacity: 0; visibility: hidden; transform: translateY(6px) scale(.96); transition: opacity .2s, transform .2s, visibility 0s linear .2s; pointer-events: none; }
.beacon__tip strong { display: block; margin-bottom: 2px; font-family: var(--f-display); font-size: 16px; }
.beacon__tip span { color: var(--muted); }
.beacon-wrap.is-open .beacon__tip, .beacon-wrap:hover .beacon__tip, .beacon-wrap:focus-within .beacon__tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tip--right .beacon__tip { left: 28px; } .tip--left .beacon__tip { right: 28px; }
.tip--down .beacon__tip { top: -12px; } .tip--up .beacon__tip { bottom: -12px; }

/* ---------- Services : de vraies cartes, avec illustration et signal ---------- */
.mod-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mod-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.mod-card:hover { transform: translateY(-6px); border-color: var(--azur); box-shadow: 0 22px 44px rgba(0, 175, 244, .18); }
.js .mod-card.reveal.is-in:hover { transform: translateY(-6px); }
.mod-card__art { position: relative; height: 250px; margin: 14px 14px 0; border-radius: 160px 160px 14px 14px; background: var(--azur); overflow: hidden; }
.mod-card__art .illus { transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.mod-card:hover .mod-card__art .illus { transform: scale(1.05); }
.mod-card.is-in .arch__lines path { animation: draw 1.6s .2s ease forwards; }
.mod-card.is-in .arch__lines path:nth-child(2) { animation-delay: .4s; }
.mod-card.is-in .arch__lines path:nth-child(3) { animation-delay: .6s; }
.mod-card.is-in .illus .p1 { animation: popin .85s .25s var(--ease) both; }
.mod-card.is-in .illus .p2 { animation: popin .85s .45s var(--ease) both; }
.mod-card.is-in .illus .p3 { animation: popin .85s .65s var(--ease) both, bob 5s 1.8s ease-in-out infinite; }
.mod-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; }
.mod-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.mod-card__name { font-size: 22px; line-height: 1.2; font-weight: 700; }
.mod-card__desc { color: var(--muted); }
.mod-card__btn { margin-top: auto; align-self: stretch; }
.mod-card.is-soon .mod-card__art { background: var(--brume); }
.mod-card.is-soon .illus { opacity: .55; filter: grayscale(.5); }
.mod-card.is-soon:hover { transform: none; border-color: var(--line); box-shadow: none; }
@media (max-width: 960px) { .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mod-grid { grid-template-columns: minmax(0, 1fr); } .mod-card__art { height: 230px; } }

/* ---------- Page de connexion ---------- */
.nk-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 170px); background: var(--bg); }
.nk-login__brand { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 64px 40px; background: var(--azur); color: var(--marine); }
.nk-login__brand .arch__lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.nk-login__brand .arch__lines path { animation: draw 1.8s .2s ease forwards; }
.nk-login__brandin { position: relative; z-index: 1; width: 100%; max-width: 440px; }
.nk-login__brand h2 { color: var(--marine); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 700; }
.nk-login__brand p { margin-top: 14px; font-size: 18.5px; color: var(--marine); }
.nk-login__brand .ticks { margin-top: 22px; }
.nk-login__brand .ticks .nk-ico { color: var(--marine); }
.nk-login__card3 { margin-top: 34px; max-width: 390px; flex-direction: row; align-items: center; gap: 16px; transform: rotate(-4deg); animation: none; }
.nk-login__panel { display: flex; align-items: center; justify-content: center; padding: 56px 28px; }
.nk-login__card { width: 100%; max-width: 440px; }
.nk-login__form { margin-top: 26px; }
.nk-login__form p { margin: 0; }
.nk-login__form form { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.nk-login__form label { display: block; margin-bottom: 6px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.nk-login__form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]) { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--field); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.nk-login__form input:focus { border-color: var(--azur); outline: 3px solid rgba(0, 175, 244, .3); outline-offset: 0; }
.nk-login__form input[type="checkbox"] { width: 20px; height: 20px; margin: 0 8px 0 0; accent-color: var(--azur); }
.nk-login__form .forgetmenot label, .nk-login__form .woocommerce-form__label-for-checkbox { display: flex; align-items: center; margin: 0; font-weight: 500; }
.nk-login__form input[type="submit"], .nk-login__form button[type="submit"], .nk-login__form .button, .nk-login__form .tutor-btn { width: 100%; min-height: 54px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--azur); color: var(--marine); font: 700 17px var(--f-body); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s; }
.nk-login__form input[type="submit"]:hover, .nk-login__form button[type="submit"]:hover, .nk-login__form .button:hover, .nk-login__form .tutor-btn:hover { background: var(--azur-hover); }
.nk-login__form a { color: var(--azur-txt); font-weight: 600; }
.nk-login__note { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: var(--brume); }
.nk-login__lost, .nk-login__alt { margin-top: 16px; font-size: 16px; color: var(--muted); }
.nk-login__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
	/* Sur téléphone, le formulaire passe en premier ; la présentation et la carte viennent en dessous. */
	.nk-login { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.nk-login__panel { order: 1; padding: 28px 20px 40px; }
	.nk-login__brand { order: 2; padding: 40px 20px 52px; }
	.nk-login__brand h2 { font-size: 26px; }
}

/* Sur petit écran : titre, carte, bouton, puis les avantages (la carte est ce qui donne envie : elle passe en premier) */
.carte__cta2 { display: none; }
@media (max-width: 980px) {
	.carte { flex-direction: column; align-items: stretch; gap: 18px; }
	.carte__copy { display: contents; }
	.carte .sec__title { order: 1; }
	.carte__lead { order: 2; max-width: none; }
	.carte__visual { order: 3; flex: none; width: 100%; margin: 14px 0 6px; }
	.carte__list { order: 4; margin-top: 10px; }
	.carte__prices { order: 5; }
	.carte__actions { order: 6; margin-top: 8px; }
	.carte__actions .btn { display: none; }
	.carte__cta2 { display: inline-flex; align-self: stretch; margin-top: 4px; }
}
@media (max-width: 700px) {
	.sec--carte { padding: 64px 0; }
	.carte__hint { max-width: 32ch; }
}

/* Mouvement réduit : pas de clignotement, de dérive ni de reflet */
@media (prefers-reduced-motion: reduce) {
	.btn--pulse, .signal--on i, .beacon__ring, .bcard__sheen, .carte3d, .slide.is-active .slide__wm { animation: none !important; }
	.carte3d__tilt { transform: none !important; }
}

/* Formulaires WooCommerce / Tutor LMS : un peu d'air entre les champs, la case et le bouton */
.nk-login__form .form-row button[type="submit"], .nk-login__form .form-row .button { margin-top: 16px; }
.nk-login__form .tutor-form-group { margin-bottom: 16px; }
.nk-login__form .form-row { margin-bottom: 4px; }

/* Petits écrans : les infobulles de la carte (même cachées) ne doivent jamais élargir la page */
.sec--carte { overflow-x: clip; }
@media (max-width: 480px) { .beacon__tip { width: min(190px, 54vw); } }


/* ==========================================================================
   Version 1.6 : titre de formulaire, page de connexion (filigrane, carte qui tourne)
   ========================================================================== */

/* Carte de formulaire : liseré de couleur en haut, titre en gras, phrase d'explication, puis le formulaire */
.nk-formcard { position: relative; max-width: 760px; margin: 0 auto; padding: 38px 40px 40px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 24px 60px rgba(8, 25, 44, .16); overflow: hidden; }
.nk-formcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--azur); }
.nk-formhead { margin: 0 0 24px; }
.nk-formhead__title { margin: 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 700; }
.nk-formhead__sub { margin: 8px 0 0; font-size: 16.5px; color: var(--muted); }
.nk-login__card.nk-formcard { max-width: 480px; }
@media (max-width: 560px) { .nk-formcard { padding: 30px 22px 30px; border-radius: 16px; } }

/* Largeur des infobulles : variable commune (les signaux de la page d'accueil et de la page de connexion) */
.beacon__tip { --tw: min(230px, 62vw); width: var(--tw); }
@media (max-width: 480px) { .beacon__tip { --tw: min(190px, 54vw); } }
.tip--center .beacon__tip { left: calc(var(--tw) / -2); }

/* Page de connexion : filigrane derrière la présentation (motif d'icônes, ou photo choisie) */
.nk-login__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; overflow: hidden; pointer-events: none; color: var(--marine); opacity: .10; }
.nk-login__bg .slide__wm { animation: drift 40s ease-in-out infinite alternate; }
/* Photo éclaircie et très pâle : le texte reste lisible même sur une photo très sombre (contraste mesuré 4,8 sur 4,5 requis) */
.nk-login__bg--photo { opacity: .16; mix-blend-mode: multiply; }
.nk-login__bg--photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(1.3) contrast(.6); }
.nk-login__bg + .arch__lines { z-index: 0; }

/* Carte d'accès fixe, avec ses signaux visibles en permanence. Quand on la touche, elle fait un tour complet (360°). */
.spincard { margin-top: 30px; max-width: 420px; }
.spincard__stage { perspective: 1100px; cursor: pointer; }
.spincard__inner { position: relative; aspect-ratio: 1050 / 600; transform-style: preserve-3d; will-change: transform; }
.spincard__face { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 16px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.spincard__face--front img { display: block; width: 100%; height: 100%; border-radius: 16px; box-shadow: 0 24px 50px rgba(8, 25, 44, .38); }
.spincard__face--back { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #5170FF; color: #fff; box-shadow: 0 24px 50px rgba(8, 25, 44, .38); }
.spincard__disc { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #FDFDFE; display: flex; align-items: center; justify-content: center; }
.spincard__disc img { width: 76%; height: auto; }
.spincard__url { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: .03em; }
.spincard__btn { display: none; margin-top: 18px; padding: 11px 18px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--marine); font: 600 15px/1.2 var(--f-body); cursor: pointer; }
.nk-ready .spincard__btn { display: inline-block; }
.spincard__btn:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .spincard__inner { transform: none !important; } .nk-login__bg .slide__wm { animation: none !important; } }

.spincard__hint { margin: 12px 0 0; font-size: 14.5px; color: var(--marine); }

/* ==========================================================================
   Version 1.6.3 : titre seul au-dessus des formulaires d'extension ; fenêtre « carte d'accès requise »
   ========================================================================== */
.nk-formhead--plugin { max-width: 640px; margin: 0 auto 20px; }

.nk-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nk-modal[hidden] { display: none; }
.nk-modal__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(8, 25, 44, .74); }
.nk-modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 38px 34px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.nk-modal__dialog::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--azur); }
.nk-modal__dialog:focus { outline: none; }
.nk-modal__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.nk-modal__x:hover { background: var(--brume); color: var(--ink); }
.nk-modal__title { margin: 0 34px 10px 0; font-size: clamp(22px, 3vw, 26px); line-height: 1.2; font-weight: 700; }
.nk-modal__course { margin: 0 0 10px; padding: 9px 14px; border-radius: 10px; background: var(--brume); font-weight: 600; font-size: 15.5px; }
.nk-modal__text { margin: 0; font-size: 16.5px; color: var(--muted); }
.nk-modal__actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.nk-modal__actions .btn { width: 100%; text-align: center; justify-content: center; }
.nk-modal__count { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }
.nk-modal__count .lien { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
html.nk-modal-open { overflow: hidden; }
@media (max-width: 480px) { .nk-modal__dialog { padding: 34px 22px 24px; } }

/* ==========================================================================
   Version 1.7 : bloc « Devenez agent Nkaramoo » (section « Des règles claires »)
   ========================================================================== */
.panel--agent { flex: 2 1 560px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; padding: 34px 34px 32px; }
.agentpromo__copy { flex: 1 1 320px; min-width: 0; }
.agentpromo__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.panel .agentpromo__title { font-size: clamp(24px, 2.6vw, 32px); }
.agentpromo__emo { font-style: normal; }
.agentpromo__lead { margin: 14px 0 0; font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--ink); max-width: 36ch; }
.agentpromo__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.agentpromo__list li { display: flex; align-items: center; gap: 14px; font-size: 17.5px; font-weight: 600; }
.agentpromo__emo--tile { flex: none; width: 42px; height: 46px; border-radius: 21px 21px 8px 8px; background: var(--brume); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; line-height: 1; }
.agentpromo__list .nk-ico { color: var(--azur-txt); flex: none; }
.agentpromo__btn { margin-top: 26px; }
.agentpromo__note { margin: 14px 0 0; max-width: 44ch; }
.agentpromo__art { position: relative; flex: 0 1 290px; width: 290px; max-width: 100%; aspect-ratio: 440 / 540; margin: 0 auto; border-radius: 145px 145px 18px 18px; background: var(--azur); overflow: hidden; }
.agentpromo__art .arch__lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.agentpromo__art .illus { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.agentpromo__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.panel--agent.is-in .arch__lines path { animation: draw 1.6s .2s ease forwards; }
.panel--agent.is-in .arch__lines path:nth-child(2) { animation-delay: .4s; }
.panel--agent.is-in .arch__lines path:nth-child(3) { animation-delay: .6s; }
.panel--agent.is-in .illus .p1 { animation: popin .85s .25s var(--ease) both; }
.panel--agent.is-in .illus .p2 { animation: popin .85s .45s var(--ease) both; }
.panel--agent.is-in .illus .p3 { animation: popin .85s .65s var(--ease) both, bob 5s 1.8s ease-in-out infinite; }
.illus .wave { transform-origin: 350px 322px; }
.panel--agent.is-in .illus .wave { animation: wave 3.6s 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0deg); } 62% { transform: rotate(-14deg); } 70% { transform: rotate(9deg); } 78% { transform: rotate(-9deg); } 86% { transform: rotate(5deg); } }
@media (max-width: 700px) {
	.panel--agent { padding: 26px 20px 26px; }
	.agentpromo__art { order: -1; width: 210px; }
	.agentpromo__lead { font-size: 17.5px; }
}
@media (prefers-reduced-motion: reduce) { .illus .wave { animation: none !important; } }

/* ------------------------------------------------------------------ */
/* Pages Contact et À propos (inc/pages.php)                            */
/* ------------------------------------------------------------------ */
.nkp { max-width: 1040px; margin: 0 auto; padding: 48px 0 72px; }
.nkp__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.nkp__title { font-family: var(--f-display); font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin: 0 0 14px; color: var(--ink); }
.nkp__lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }
.nkp__h2 { font-size: 22px; margin: 0 0 14px; color: var(--ink); }
.nkp__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.nkp__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.nkp__card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.nkp__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brume); color: var(--azur-txt); }
.nkp__card-txt { display: flex; flex-direction: column; min-width: 0; font-size: 15px; color: var(--ink); }
.nkp__card-txt strong { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.nkp__card-txt a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.nkp__card-txt a:hover { color: var(--azur-txt); text-decoration: underline; }
.nkp__formwrap { padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 18px 44px rgba(8, 25, 44, .12); position: relative; overflow: hidden; }
.nkp__formwrap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--azur); }
.nkp__form p { margin: 0 0 14px; }
.nkp__form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.nkp__form input[type="text"], .nkp__form input[type="email"], .nkp__form input[type="tel"], .nkp__form select, .nkp__form textarea {
	width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1.5px solid var(--field); border-radius: 10px; background: var(--bg); color: var(--ink); }
.nkp__form textarea { resize: vertical; min-height: 120px; }
.nkp__form input:focus, .nkp__form select:focus, .nkp__form textarea:focus { outline: 3px solid var(--or); outline-offset: 1px; border-color: var(--azur); }
.nkp__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nkp__notice { padding: 12px 14px; border-radius: 10px; font-size: 14.5px; margin: 0 0 16px; font-weight: 600; }
.nkp__notice--ok { background: #E3F7EA; color: #14532D; border: 1px solid #9AD8B0; }
.nkp__notice--err { background: #FDE8E8; color: #7F1D1D; border: 1px solid #F0A8A8; }
.nkp__story { max-width: 760px; margin: 0 auto 28px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.nkp__story p { margin: 0 0 16px; }
.nkp__mission { max-width: 760px; margin: 0 auto 36px; padding: 22px 26px; border-left: 5px solid var(--azur); background: var(--brume); border-radius: 0 14px 14px 0; font-size: 17px; line-height: 1.65; color: var(--ink); }
.nkp__mission strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--azur-txt); margin-bottom: 6px; }
.nkp__values { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nkp__value { padding: 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.nkp__value .nkp__ico { margin-bottom: 14px; }
.nkp__value h2 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.nkp__value p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.nkp__cta { text-align: center; margin: 0; }
@media (max-width: 860px) { .nkp__grid { grid-template-columns: 1fr; } .nkp__values { grid-template-columns: 1fr; } .nkp { padding: 32px 0 56px; } .nkp__formwrap { padding: 24px 18px 20px; } }
