/* En-tête commun (identique à l'accueil) pour toutes les autres pages */
:root { --ink: #f4f0fa; --violet: #9b7bff; --vs: #6d42f5; --head: #ffb23f; --ease: cubic-bezier(.16, 1, .3, 1); }
.acc-header .wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.acc-header { position: fixed; inset: 0 0 auto; z-index: 50; mix-blend-mode: difference; color: #fff; }
.acc-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 76px; }
.acc-header .logo { font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.acc-header nav { display: flex; gap: 28px; } .acc-header nav a, .acc-header .go { font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .acc-header nav { display: none; } }
.acc-header { mix-blend-mode: normal; color: var(--ink); transition: transform .5s var(--ease); }
.acc-header .wrap { position: relative; transition: width .6s var(--ease), height .5s var(--ease), margin .5s var(--ease), padding .5s var(--ease), background-color .4s ease, border-color .4s ease, border-radius .5s var(--ease), box-shadow .4s ease; border: 1px solid transparent; border-radius: 0; }
.acc-header.is-pill .wrap { width: min(980px, calc(100% - 24px)); height: 58px; margin-top: 12px; padding: 0 8px 0 22px; border-radius: 999px; background: rgba(18, 13, 28, .72); border-color: rgba(155, 123, 255, .22); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); overflow: hidden; }
.acc-header.is-hidden { transform: translateY(-120%); }
.acc-header .logo { transition: font-size .4s var(--ease); } .acc-header.is-pill .logo { font-size: 18px; }
.acc-header .go { padding: 10px 18px; border-radius: 999px; background: var(--vs); color: #fff; font-size: 15px; transition: background-color .25s, transform .3s var(--ease); }
.acc-header .go:hover { background: #7d56ff; transform: translateY(-1px); }
.acc-header__prog { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--head); transform-origin: left; transform: scaleX(var(--ap, 0)); opacity: 0; transition: opacity .3s; }
.acc-header.is-pill .acc-header__prog { opacity: 1; }
.acc-header nav { gap: 6px; }
.acc-header nav a { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; font-size: 15px; transition: background-color .25s, color .25s; }
.acc-header nav a:hover { background: rgba(155, 123, 255, .16); color: #fff; }
.ni { width: 18px; height: 18px; color: var(--violet); overflow: visible; }
/* animations au survol, une par icône */
.ni .clap { transform-box: fill-box; transform-origin: 0% 100%; }
nav a:hover .ni--clap .clap { animation: clap .5s ease-in-out; }
@keyframes clap { 30% { transform: rotate(-22deg); } 60% { transform: rotate(3deg); } 100% { transform: none; } }
.ni .tag { transform-box: view-box; transform-origin: 7.5px 7.5px; }
nav a:hover .ni--tag .tag { animation: swing .8s ease-in-out; }
@keyframes swing { 20% { transform: rotate(14deg); } 45% { transform: rotate(-10deg); } 70% { transform: rotate(5deg); } 100% { transform: none; } }
.ni .head { transform-box: fill-box; transform-origin: center; }
nav a:hover .ni--me .head { animation: nod .7s ease-in-out; }
@keyframes nod { 30% { transform: translateY(1.6px); } 60% { transform: translateY(-1px); } 100% { transform: none; } }
.ni .star { transform-box: fill-box; transform-origin: center; transition: fill .3s, color .3s; }
nav a:hover .ni--star .star { animation: spin .7s var(--ease); fill: var(--head); color: var(--head); }
@keyframes spin { from { transform: rotate(-72deg) scale(.7); } to { transform: none; } }
.ni .pen { transform-box: fill-box; transform-origin: 0% 100%; } .ni .line { stroke-dasharray: 8; stroke-dashoffset: 8; }
nav a:hover .ni--pen .pen { animation: scribble .6s ease-in-out; } nav a:hover .ni--pen .line { animation: draw-line .6s ease forwards; }
@keyframes scribble { 25% { transform: translate(1px, -1px) rotate(-6deg); } 50% { transform: translate(2px, 0) rotate(4deg); } 75% { transform: translate(3px, -1px) rotate(-4deg); } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ni * { animation: none !important; } }
@media (max-width: 900px) { .acc-header.is-pill .wrap { padding: 0 8px 0 18px; } }
@media (max-width: 820px) {
	.acc-header .logo { white-space: nowrap; font-size: 19px; }
	.acc-header .go { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
	.acc-header .wrap { gap: 12px; }
	.acc-header.is-pill .wrap { padding-left: 16px; }
}
body:not(.home) .wp-site-blocks { padding-top: 76px; }
.acc-header a { color: inherit; }
/* WhatsApp hors accueil : l'ancienne bulle disparaît, un bouton rond dans le style du site la remplace */
#ce-wa-wrapper { display: none !important; }
.ce-wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: flex; align-items: center; height: 56px; padding: 0 16px; border-radius: 99px; color: #4fd18b; text-decoration: none;
	background: rgba(27, 20, 41, .82); border: 1px solid rgba(79, 209, 139, .4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), 0 0 0 0 rgba(79, 209, 139, .4); animation: ce-wa-aura 3s ease-out infinite; transition: background-color .3s, color .3s; }
.ce-wa-fab svg { width: 24px; height: 24px; flex: none; }
.ce-wa-fab span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 15px; font-weight: 600; color: #f4f0fa; opacity: 0; transition: max-width .5s cubic-bezier(.16, 1, .3, 1), margin .5s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.ce-wa-fab:hover, .ce-wa-fab:focus-visible { background: #4fd18b; color: #0d2a1b; }
.ce-wa-fab:hover span, .ce-wa-fab:focus-visible span { max-width: 260px; margin-left: 10px; opacity: 1; color: #0d2a1b; }
@keyframes ce-wa-aura { 0% { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), 0 0 0 0 rgba(79, 209, 139, .35); } 70%, 100% { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), 0 0 0 12px rgba(79, 209, 139, 0); } }
@media (max-width: 600px) { .ce-wa-fab { right: 14px; bottom: 14px; height: 50px; padding: 0 13px; } }
@media (prefers-reduced-motion: reduce) { .ce-wa-fab { animation: none; } }
.ni .pop { transform-box: fill-box; transform-origin: center; }
nav a:hover .ni .pop { animation: ni-pop .5s var(--ease, ease); }
@keyframes ni-pop { 40% { transform: scale(1.18) rotate(-6deg); } 70% { transform: scale(.95); } }
/* menus adaptés à chaque page : libellés sur une ligne, icônes retirées quand la place manque */
.acc-header nav a, .acc-header .go, .acc-header .logo { white-space: nowrap; }
@media (max-width: 1180px) { .acc-header nav a { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 1060px) { .acc-header nav .ni { display: none; } .acc-header nav a { padding: 8px 8px; } }
/* pilule : le bouton ne doit jamais être rogné */
.acc-header .go { flex-shrink: 0; }
.acc-header .logo { flex-shrink: 0; }
.acc-header nav { min-width: 0; overflow: hidden; }
.acc-header.is-pill .wrap { width: min(1120px, calc(100% - 24px)); gap: 16px; }
.acc-header.is-pill nav .ni { display: none; }
.acc-header.is-pill nav a { padding: 8px 10px; font-size: 14.5px; }
@media (max-width: 1180px) { .acc-header.is-pill nav a { padding: 8px 7px; font-size: 14px; } }

/* ---------- Menu mobile (audit du 26/09/2026) : sous 900 px la navigation n'était plus accessible ---------- */
.nav-toggle { display: none; width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: inherit; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; border-radius: 12px; }
.nav-toggle span { display: block; height: 2px; width: 22px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease, ease), opacity .2s; }
.acc-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.acc-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.acc-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
	.nav-toggle { display: flex; }
	.acc-header nav { display: none; }
	.acc-header.is-open nav { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 12px; border-radius: 18px; background: rgba(18, 13, 28, .96); border: 1px solid rgba(155, 123, 255, .22); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); overflow: visible; min-width: 0; }
	.acc-header.is-open nav a { padding: 12px 14px; font-size: 16px; color: #f4f0fa; }
	.acc-header.is-open nav .ni { display: inline-block; }
	.acc-header.is-open .wrap { overflow: visible; }
	.acc-header.is-open.is-hidden { transform: none; }
	.acc-header .wrap { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
