/* Compléments à theme.json : ce qui ne s'exprime pas en réglages globaux. */

:root{
	--nodema-radius:20px;
	--nodema-ease:cubic-bezier(.2,.8,.2,1);
}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-numeric:proportional-nums}
::selection{background:var(--wp--preset--color--yellow);color:var(--wp--preset--color--ink)}
h1,h2,h3,.wp-block-heading{text-wrap:balance}
p{text-wrap:pretty}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--wp--preset--color--ink);outline-offset:3px;border-radius:6px}

/* En-tête collant */
.nodema-header{position:sticky;top:0;z-index:50;transition:box-shadow .16s var(--nodema-ease),background-color .16s}
.admin-bar .nodema-header{top:32px}
@media (max-width:782px){.admin-bar .nodema-header{top:46px}}
.nodema-header.is-scrolled{box-shadow:0 1px 0 var(--wp--preset--color--line),0 8px 24px rgba(2,11,66,.05)}
.nodema-header .wp-block-navigation__responsive-container.is-menu-open{padding:24px;background:var(--wp--preset--color--canvas)}
.nodema-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{font-size:1.5rem;font-weight:900;gap:16px}
@media (max-width:700px){.nodema-header .nodema-header__login{display:none}.nodema-header .wp-block-button__link{white-space:nowrap;font-size:.875rem;padding:.6rem .9rem}}
@media (max-width:440px){.nodema-header .nodema-logo__full{display:none}.nodema-header .nodema-logo__icon{display:block}}
.is-style-carte>.wp-block-image img{border-radius:12px;background:var(--wp--preset--color--canvas)}

/* Boutons */
.wp-block-button__link{transition:background-color .16s var(--nodema-ease),transform .16s var(--nodema-ease),box-shadow .16s}
.wp-block-button__link:hover{transform:translateY(-1px)}
.wp-block-button.is-style-outline>.wp-block-button__link,.wp-block-button .wp-block-button__link.is-style-outline{background:transparent;color:currentColor;border:1.5px solid currentColor;padding-top:calc(.85rem - 1.5px);padding-bottom:calc(.85rem - 1.5px)}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--canvas);border-color:var(--wp--preset--color--ink)}
.has-ink-background-color .wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--wp--preset--color--canvas);color:var(--wp--preset--color--ink);border-color:var(--wp--preset--color--canvas)}

/* Paragraphes */
.is-style-surtitre{font-size:.8125rem!important;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--sable)}
.has-ink-background-color .is-style-surtitre{color:var(--wp--preset--color--yellow)}
.is-style-pastille{display:inline-block;width:fit-content;padding:.4rem .85rem;border-radius:999px;background:var(--wp--preset--color--yellow-doux);color:var(--wp--preset--color--sable);font-size:.875rem!important;font-weight:800}
.has-text-align-center.is-style-pastille{margin-left:auto!important;margin-right:auto!important;display:table}
.is-style-chapo{font-size:var(--wp--preset--font-size--medium);color:var(--wp--preset--color--muted);font-weight:600;line-height:1.55}
.has-ink-background-color .is-style-chapo{color:rgba(243,245,250,.72)}

/* Titres */
.is-style-souligne mark,.is-style-souligne strong{background:linear-gradient(transparent 62%,var(--wp--preset--color--yellow) 62%,var(--wp--preset--color--yellow) 92%,transparent 92%);color:inherit;padding:0 .05em;font-weight:inherit}

.is-style-carte-sombre .is-style-souligne :is(mark,strong),.has-ink-background-color .is-style-souligne :is(mark,strong){background:none;color:var(--wp--preset--color--yellow)}

/* Listes */
ul.is-style-coches{list-style:none;padding-left:0;display:flex;flex-direction:column;gap:.7rem}
ul.is-style-coches li{position:relative;padding-left:2rem;font-weight:600}
ul.is-style-coches li::before{content:"";position:absolute;left:0;top:.2em;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--wp--preset--color--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020b42' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3 3 7-7'/%3E%3C/svg%3E") center/.8rem no-repeat}

/* Images */
.wp-block-image.is-style-fenetre img{border-radius:18px;box-shadow:0 30px 80px rgba(2,11,66,.14),0 0 0 1px rgba(2,11,66,.06);background:var(--wp--preset--color--surface)}
.wp-block-image.is-style-flottant{text-align:center}
.wp-block-image.is-style-flottant img{max-width:min(100%,340px);height:auto;border-radius:0;box-shadow:none;filter:drop-shadow(0 30px 50px rgba(2,11,66,.18))}

/* Groupes */
.wp-block-group.is-style-carte{background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);border-radius:var(--nodema-radius);padding:clamp(1.5rem,3vw,2.25rem)}
.wp-block-group.is-style-carte-sombre{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--canvas);border-radius:var(--nodema-radius);padding:clamp(1.5rem,3vw,2.25rem)}
.wp-block-group.is-style-carte-sombre a:where(:not(.wp-element-button)){color:var(--wp--preset--color--yellow)}
.is-layout-grid,.is-layout-flex{counter-reset:nodema-step}
.wp-block-group.is-style-etape{counter-increment:nodema-step;position:relative;padding-top:4.25rem!important}
.wp-block-group.is-style-etape::before{content:counter(nodema-step);position:absolute;top:0;left:0;width:3rem;height:3rem;border-radius:14px;display:grid;place-items:center;background:var(--wp--preset--color--ink);color:var(--wp--preset--color--yellow);font-weight:900;font-size:1.25rem}
.wp-block-group.is-style-carte.is-style-etape::before{top:clamp(1.5rem,3vw,2.25rem);left:clamp(1.5rem,3vw,2.25rem)}
.wp-block-group.is-style-carte.is-style-etape{padding-top:calc(clamp(1.5rem,3vw,2.25rem) + 4.25rem)!important}

/* FAQ (bloc Détails) */
.wp-block-details summary{position:relative;list-style:none;cursor:pointer;font-weight:900;font-size:var(--wp--preset--font-size--medium);padding-right:2.5rem;letter-spacing:-.01em}
.wp-block-details summary::-webkit-details-marker{display:none}
.wp-block-details summary::after{content:"";position:absolute;right:0;top:50%;width:1.75rem;height:1.75rem;margin-top:-.875rem;border-radius:50%;background:var(--wp--preset--color--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020b42' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/.9rem no-repeat;box-shadow:inset 0 0 0 1px var(--wp--preset--color--line);transition:transform .16s var(--nodema-ease)}
.wp-block-details[open] summary::after{transform:rotate(45deg);background-color:var(--wp--preset--color--yellow);box-shadow:none}
.wp-block-details>:not(summary){color:var(--wp--preset--color--muted);margin-top:.75rem}
.wp-block-details>summary+*{margin-top:1rem}

/* Pied de page */
.nodema-footer a{color:inherit;text-decoration:none}
.nodema-footer .wp-block-separator{border:0;border-top:1px solid rgba(243,245,250,.14);opacity:1}
.nodema-footer a:hover{text-decoration:underline}
.nodema-footer .nodema-footer__links p{margin:0}
.nodema-footer .nodema-footer__links{display:flex;flex-direction:column;gap:.55rem}

/* Bloc citation dans les articles */
.wp-block-post-content :where(p,li){max-width:72ch}

/* Tableaux */
.wp-block-table table{border-collapse:collapse;width:100%}
.wp-block-table td,.wp-block-table th{border:0;border-bottom:1px solid var(--wp--preset--color--line);padding:.85rem .5rem;text-align:left}
.wp-block-table thead{border-bottom:2px solid var(--wp--preset--color--ink)}

/* Cartes d'articles */
.nodema-post-card .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}
.nodema-post-card .wp-block-post-title a{text-decoration:none}

/* ---------- Animations ---------- */
@keyframes nd-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes nd-zoom{from{opacity:0;transform:translateY(30px) scale(.97)}to{opacity:1;transform:none}}
.nd-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--nodema-ease),transform .8s var(--nodema-ease);transition-delay:var(--nd-delay,0ms)}
.nd-reveal.nd-in{opacity:1;transform:none}
/* Entrée de la première section (fonctionne sans JavaScript) */
.wp-block-post-content>.alignfull:first-child>*>*{animation:nd-up .8s var(--nodema-ease) both}
.wp-block-post-content>.alignfull:first-child>*>*:nth-child(2){animation-delay:.08s}
.wp-block-post-content>.alignfull:first-child>*>*:nth-child(3){animation-delay:.16s}
.wp-block-post-content>.alignfull:first-child>*>*:nth-child(4){animation-delay:.24s}
.wp-block-post-content>.alignfull:first-child>*>*:nth-child(n+5){animation-delay:.32s}
.wp-block-post-content>.alignfull:first-child>.nodema-video{animation:none}
.wp-block-post-content>.alignfull:first-child>.nd-sim{animation:nd-zoom 1s var(--nodema-ease) .35s both}
/* Titre souligné : le trait jaune se dessine */
.is-style-souligne :is(mark,strong){background-size:0% 100%;background-repeat:no-repeat;animation:nd-underline 1s var(--nodema-ease) .6s forwards}
@keyframes nd-underline{to{background-size:100% 100%}}
.is-style-carte-sombre .is-style-souligne :is(mark,strong),.has-ink-background-color .is-style-souligne :is(mark,strong){animation:none}
/* Cartes de formules et étapes au survol */
.nodema-plan{transition:transform .3s var(--nodema-ease),box-shadow .3s}
.nodema-plan:hover{transform:translateY(-4px)}
.wp-block-group.is-style-carte{transition:transform .3s var(--nodema-ease),box-shadow .3s}
.wp-block-group.is-style-carte:hover{box-shadow:0 18px 40px rgba(2,11,66,.07)}
/* Sous-menu */
.nodema-header .wp-block-navigation__submenu-container{border:0!important;border-radius:16px;padding:8px!important;box-shadow:0 20px 50px rgba(2,11,66,.14);min-width:260px!important;background:var(--wp--preset--color--surface)!important}
.nodema-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:10px 12px!important;border-radius:10px}
.nodema-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:var(--wp--preset--color--yellow-doux);text-decoration:none}
@media (prefers-reduced-motion:reduce){
	.nd-reveal{opacity:1;transform:none;transition:none}
	.wp-block-post-content>.alignfull:first-child>*>*,.wp-block-post-content>.alignfull:first-child>.nodema-video,.wp-block-post-content>.alignfull:first-child>.nd-sim{animation:none}
	.is-style-souligne :is(mark,strong){animation:none;background-size:100% 100%}
	.nodema-plan:hover{transform:none}
}

/* Carte entièrement cliquable */
.nodema-card-link{position:relative}
.nodema-card-link h3 a{text-decoration:none;color:inherit}
.nodema-card-link h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.nodema-card-link:hover{transform:translateY(-4px)}
.nodema-card-link:focus-within{outline:2px solid var(--wp--preset--color--ink);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.nodema-card-link:hover{transform:none}}

/* ---------- Frise « Démarrage » : intro collante + étapes reliées ---------- */
.nodema-timeline{position:relative;padding-left:76px;counter-reset:nodema-step;display:flex;flex-direction:column}
.nodema-timeline>.wp-block-group.is-style-etape{padding-top:4px!important;margin:0!important;min-height:min(42vh,380px)}
.nodema-timeline>.wp-block-group.is-style-etape:last-child{min-height:0;padding-bottom:8px}
.nodema-timeline>.is-style-etape::before{left:-76px;top:0;width:48px;height:48px;border-radius:15px;background:var(--wp--preset--color--surface);color:var(--wp--preset--color--muted);box-shadow:inset 0 0 0 2px var(--wp--preset--color--line);transition:background-color .35s,color .35s,box-shadow .35s,transform .45s cubic-bezier(.2,1.6,.4,1);z-index:1}
.nodema-timeline::before,.nodema-timeline::after{content:"";position:absolute;left:23px;top:24px;width:2px;height:var(--nd-line,calc(100% - 60px));border-radius:2px;background:var(--wp--preset--color--line)}
.nodema-timeline::after{background:var(--wp--preset--color--yellow);transform-origin:50% 0;transform:scaleY(var(--nd-progress,1))}
html:not(.nd-anim) .nodema-timeline>.is-style-etape::before,.nodema-timeline>.is-style-etape.is-reached::before{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--yellow);box-shadow:none}
.nodema-timeline>.is-style-etape.is-reached::before{transform:scale(1.08)}
html.nd-anim .nodema-timeline>.is-style-etape>*{transition:opacity .5s var(--nodema-ease),transform .6s var(--nodema-ease)}
html.nd-anim .nodema-timeline>.is-style-etape:not(.is-reached)>*{opacity:.28;transform:translateX(10px)}
.has-ink-background-color .nodema-timeline>.is-style-etape::before{background:transparent;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
@media (min-width:782px){
	.nodema-steps>.wp-block-column:first-child{align-self:stretch}
	.nodema-sticky{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 130px)}
}
@media (max-width:781px){
	.nodema-timeline{margin-top:var(--wp--preset--spacing--40)}
	.nodema-timeline>.wp-block-group.is-style-etape{min-height:0;padding-bottom:var(--wp--preset--spacing--50)}
}
@media (prefers-reduced-motion:reduce){
	html.nd-anim .nodema-timeline>.is-style-etape:not(.is-reached)>*{opacity:1;transform:none}
	.nodema-timeline::after{transform:none}
}

/* ---------- Bandeau « premier mois offert » ---------- */
.nodema-offer{position:relative;overflow:hidden;gap:var(--wp--preset--spacing--40)!important;padding:clamp(1.75rem,4vw,3rem);border-radius:28px;background:var(--wp--preset--color--yellow);color:var(--wp--preset--color--ink)}
.nodema-offer::after{content:"";position:absolute;right:-30px;bottom:-40px;width:220px;height:220px;opacity:.16;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020b42' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16v4H4z M6 13v8h12v-8 M12 9v12 M12 9c-2-4-6-4-6-1s4 1 6 1c2 0 6 2 6-1s-4-3-6 1'/%3E%3C/svg%3E") center/contain no-repeat;animation:nd-float 6s ease-in-out infinite}
.nodema-offer .is-style-surtitre{color:var(--wp--preset--color--ink)!important;opacity:.7}
.nodema-offer>*{position:relative;z-index:1}
.nodema-offer .wp-block-button__link{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--yellow)}
.nodema-offer .wp-block-button__link:hover{background:#000;color:var(--wp--preset--color--yellow)}
@keyframes nd-float{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-8px) rotate(-2deg)}}
@media (prefers-reduced-motion:reduce){.nodema-offer::after{animation:none}}

/* ---------- Premier écran ---------- */
.nodema-hero{position:relative;overflow:hidden}
.nodema-hero::after{content:"";position:absolute;right:-6vw;bottom:-14vw;width:46vw;max-width:720px;aspect-ratio:108/76;opacity:.09;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 107.76 75.77'%3E%3Cg fill='%2313f5bb'%3E%3Cpath d='M55.51,44.43c-1.82-3.83-5.37-6.22-9.41-5.12-3.77,1.02-5.93,3.99-7.56,7.32l-14.28,26.83-22.69.04c-.72-.06-1.24-.6-1.39-.96-.16-.38-.32-1.34,0-1.95l16.82-33.78c3.26-6.54,7.53-11.98,13.28-16.3,12.92-9.71,30.2-7.49,40.79,4.68,7.17,8.23,8.08,15.55,13.39,23.76l8.39-.09c3.95.54,7.13,4.18,8.17,7.19,1.4,4.08.67,8.29-1.79,11.73-5.31,7.41-14.27,10.07-22.48,6.25-6.12-2.84-11.3-8.72-14.19-14.79l-7.05-14.82Z'/%3E%3Ccircle cx='92.91' cy='14.86' r='14.86'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.nodema-hero>*{position:relative;z-index:1}
.nodema-hero h1{font-size:clamp(2.5rem,4.4vw,4.25rem)!important;line-height:1.03}
ul.nodema-trust{flex-direction:row;flex-wrap:wrap;gap:.6rem 1.4rem;font-size:.9375rem;color:var(--wp--preset--color--ink)}
ul.nodema-trust li{font-weight:700}
.nodema-hero .nd-sim--flux{margin-left:auto;margin-right:0}
.nodema-marquee+.nodema-marquee{margin-top:.75rem!important}
@media (max-width:781px){.nodema-hero .nd-sim--flux{margin:1rem auto 0}.nodema-hero::after{width:80vw;bottom:-30vw}}
/* Boutons pleins sur fond marine : menthe avec texte marine (sinon ils se fondent dans le fond). */
:is(.has-ink-background-color,.is-style-carte-sombre,footer.wp-block-template-part,.nodema-footer) .wp-block-button:not(.is-style-outline)>.wp-block-button__link:not(.has-background){background:var(--wp--preset--color--yellow);color:var(--wp--preset--color--ink)}
:is(.has-ink-background-color,.is-style-carte-sombre,footer.wp-block-template-part,.nodema-footer) .wp-block-button:not(.is-style-outline)>.wp-block-button__link:not(.has-background):hover{background:#fafcff;color:var(--wp--preset--color--ink)}

/* =========================================================================
   Verre : header collant flouté, menus, cartes sur marine, fond « aurora »
   ========================================================================= */
:root{--nd-sym:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 107.76 75.77'%3E%3Cpath d='M55.51,44.43c-1.82-3.83-5.37-6.22-9.41-5.12-3.77,1.02-5.93,3.99-7.56,7.32l-14.28,26.83-22.69.04c-.72-.06-1.24-.6-1.39-.96-.16-.38-.32-1.34,0-1.95l16.82-33.78c3.26-6.54,7.53-11.98,13.28-16.3,12.92-9.71,30.2-7.49,40.79,4.68,7.17,8.23,8.08,15.55,13.39,23.76l8.39-.09c3.95.54,7.13,4.18,8.17,7.19,1.4,4.08.67,8.29-1.79,11.73-5.31,7.41-14.27,10.07-22.48,6.25-6.12-2.84-11.3-8.72-14.19-14.79l-7.05-14.82Z'/%3E%3Ccircle cx='92.91' cy='14.86' r='14.86'/%3E%3C/svg%3E");--nd-glass:rgba(250,252,255,.58);--nd-glass-strong:rgba(250,252,255,.72);--nd-glass-line:rgba(255,255,255,.7);--nd-glass-dark:rgba(255,255,255,.06);--nd-glass-dark-line:rgba(255,255,255,.12);--nd-blur:saturate(170%) blur(18px)}

/* Fond aurora : quelques halos menthe et marine très légers, fixes derrière la page */
body{position:relative}
body::before{content:"";position:fixed;inset:-10vmax;z-index:-1;pointer-events:none;background:
	radial-gradient(38vmax 30vmax at 88% 6%,rgba(19,245,187,.20),transparent 70%),
	radial-gradient(34vmax 28vmax at 6% 38%,rgba(2,11,66,.07),transparent 70%),
	radial-gradient(30vmax 26vmax at 92% 78%,rgba(19,245,187,.10),transparent 70%)}
.nodema-hero{isolation:isolate}
.nodema-hero::before{content:"";position:absolute;z-index:0;pointer-events:none;right:-8vw;top:-6vw;width:62vw;max-width:980px;aspect-ratio:1;background:
	radial-gradient(closest-side at 62% 40%,rgba(19,245,187,.38),transparent 72%),
	radial-gradient(closest-side at 30% 70%,rgba(2,11,66,.10),transparent 70%);filter:blur(20px);animation:nd-aurora 18s ease-in-out infinite alternate}
@keyframes nd-aurora{to{transform:translate(-4vw,3vw) scale(1.08)}}
.wp-block-group.has-ink-background-color{position:relative;isolation:isolate;overflow:hidden}
.wp-block-group.has-ink-background-color::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
	radial-gradient(40% 60% at 85% 0%,rgba(19,245,187,.22),transparent 70%),
	radial-gradient(35% 50% at 5% 100%,rgba(19,245,187,.12),transparent 70%)}

/* Header : vraiment collant (c'est le bloc de modèle qui colle), translucide et flouté */
.wp-site-blocks>.wp-block-template-part:first-child:has(.nodema-header){position:sticky;top:0;z-index:100}
.admin-bar .wp-site-blocks>.wp-block-template-part:first-child:has(.nodema-header){top:32px}
@media (max-width:782px){.admin-bar .wp-site-blocks>.wp-block-template-part:first-child:has(.nodema-header){top:46px}}
.nodema-header,.admin-bar .nodema-header{position:relative!important;top:auto!important}
/* Le flou est porté par un calque : sur le header lui-même, il casserait le menu mobile plein écran. */
.nodema-header.has-background{background-color:transparent!important;isolation:isolate;transition:padding .3s var(--nodema-ease),box-shadow .3s}
.nodema-header.has-background::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--nd-glass);-webkit-backdrop-filter:var(--nd-blur);backdrop-filter:var(--nd-blur);border-bottom:1px solid var(--nd-glass-line);transition:background-color .3s}
.nodema-header.is-scrolled{padding-top:.5rem!important;padding-bottom:.5rem!important;box-shadow:0 1px 0 rgba(2,11,66,.05),0 12px 32px rgba(2,11,66,.08)}
.nodema-header.is-scrolled::before{background:var(--nd-glass-strong)}
.nodema-header .nodema-logo svg{transition:transform .3s var(--nodema-ease);transform-origin:left center}
.nodema-header.is-scrolled .nodema-logo svg{transform:scale(.88)}
/* Le bandeau d'annonce se replie dès qu'on défile */
.wp-block-template-part:first-child .nodema-announcement{max-height:120px;overflow:hidden;transition:max-height .35s var(--nodema-ease),padding .35s var(--nodema-ease),opacity .25s}
html.nd-scrolled .wp-block-template-part:first-child .nodema-announcement{max-height:0;padding-top:0;padding-bottom:0;opacity:0}

/* Menus déroulants et menu mobile en verre */
.nodema-header .wp-block-navigation__submenu-container{background:var(--nd-glass-strong)!important;-webkit-backdrop-filter:var(--nd-blur);backdrop-filter:var(--nd-blur);border:1px solid var(--nd-glass-line)!important}
.nodema-header .wp-block-navigation__responsive-container.is-menu-open{background:rgba(243,245,250,.8)!important;-webkit-backdrop-filter:var(--nd-blur);backdrop-filter:var(--nd-blur)}

/* Cartes posées sur le marine : verre sombre */
.has-ink-background-color .wp-block-group.is-style-carte-sombre,.has-ink-background-color .wp-block-group.is-style-carte{background:var(--nd-glass-dark)!important;border:1px solid var(--nd-glass-dark-line);color:var(--wp--preset--color--canvas);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.has-ink-background-color .wp-block-group.is-style-carte :is(h2,h3,h4){color:#fafcff}

/* Maquettes : la carte de l'accueil et les notifications flottantes en verre */
.nd-flux{background:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:var(--nd-blur);backdrop-filter:var(--nd-blur);box-shadow:0 40px 90px rgba(2,11,66,.14),inset 0 0 0 1px rgba(255,255,255,.8)!important}
.nd-flux__kpis div{background:rgba(243,245,250,.7)!important}
.nd-sim__toast{background:rgba(2,11,66,.78)!important;-webkit-backdrop-filter:blur(12px) saturate(160%);backdrop-filter:blur(12px) saturate(160%);border:1px solid rgba(255,255,255,.12)}

/* Pas de flou pour qui préfère moins d'effets (et repli propre si le navigateur ne le gère pas) */
@media (prefers-reduced-motion:reduce){.nodema-hero::before{animation:none}}
@media (prefers-reduced-transparency:reduce){.nodema-header.has-background::before{background:var(--wp--preset--color--canvas)}.nd-flux{background:#fff!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.nodema-header.has-background::before{background:rgba(243,245,250,.97)}.nd-flux{background:#fff!important}.has-ink-background-color .wp-block-group.is-style-carte-sombre{background:#0b1450!important}}
.nodema-header .wp-block-navigation__submenu-container .wp-block-navigation-item,.nodema-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content{background:transparent!important}
.nodema-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:rgba(19,245,187,.16)!important}

/* Boutons pleins : léger reflet qui traverse au survol */
.wp-block-button:not(.is-style-outline)>.wp-block-button__link{position:relative;overflow:hidden;isolation:isolate}
.wp-block-button:not(.is-style-outline)>.wp-block-button__link::after{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);transform:skewX(-18deg);transition:left .7s var(--nodema-ease);pointer-events:none}
.wp-block-button:not(.is-style-outline)>.wp-block-button__link:hover::after{left:120%}
@media (prefers-reduced-motion:reduce){.wp-block-button:not(.is-style-outline)>.wp-block-button__link::after{display:none}}

/* Listes simples du contenu : puce en forme de symbole Nodema */
.entry-content ul.wp-block-list:not([class*="is-style"]),.wp-block-post-content ul.wp-block-list:not([class*="is-style"]){list-style:none;padding-left:0}
.entry-content ul.wp-block-list:not([class*="is-style"])>li,.wp-block-post-content ul.wp-block-list:not([class*="is-style"])>li{position:relative;padding-left:1.7em}
.entry-content ul.wp-block-list:not([class*="is-style"])>li::before,.wp-block-post-content ul.wp-block-list:not([class*="is-style"])>li::before{content:"";position:absolute;left:0;top:.42em;width:1.05em;height:.74em;background:var(--wp--preset--color--yellow);-webkit-mask:var(--nd-sym) center/contain no-repeat;mask:var(--nd-sym) center/contain no-repeat}

/* =========================================================================
   Accueil : premier écran marine « wow »
   Tout est en CSS (aucune image à charger), le titre reste du vrai texte (h1)
   et les animations ne touchent que transform/opacity (pas de saut de mise en page).
   ========================================================================= */
.nodema-hero{--nd-hero-bg:#020b42;background:
	radial-gradient(120% 90% at 50% -10%,transparent 45%,rgba(2,11,66,.9) 100%),
	radial-gradient(circle at 1px 1px,rgba(255,255,255,.075) 1px,transparent 0) 0 0/28px 28px,
	linear-gradient(180deg,#020b42 0%,#05104f 60%,#071565 100%);color:#e9edf8;min-height:calc(100svh - var(--nd-top,130px));display:flex;flex-direction:column;justify-content:center;padding-bottom:clamp(6rem,10vw,9rem)!important;
	-webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 59px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v18c-160 30-330 42-520 30C720 36 560 6 380 6 230 6 110 24 0 40z'/%3E%3C/svg%3E") bottom/100% 60px no-repeat;
	mask:linear-gradient(#000,#000) top/100% calc(100% - 59px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v18c-160 30-330 42-520 30C720 36 560 6 380 6 230 6 110 24 0 40z'/%3E%3C/svg%3E") bottom/100% 60px no-repeat}
.nodema-hero>*{width:100%}
.nodema-hero::before{right:-14vw;top:-22vw;width:78vw;max-width:1200px;background:
	radial-gradient(closest-side at 60% 45%,rgba(19,245,187,.42),transparent 70%),
	radial-gradient(closest-side at 25% 75%,rgba(64,92,255,.30),transparent 70%);filter:blur(40px);opacity:.85;animation:nd-aurora 16s ease-in-out infinite alternate}
.nodema-hero::after{opacity:.05;width:52vw;right:-8vw;bottom:-6vw;animation:nd-hero-float 14s ease-in-out infinite alternate}
@keyframes nd-hero-float{to{transform:translate3d(-2vw,-2vw,0) rotate(-4deg)}}
/* Halo qui suit la souris (ajouté par le script, purement décoratif) */
.nd-hero-spot{position:absolute!important;inset:0;z-index:0!important;pointer-events:none;background:radial-gradient(520px circle at var(--mx,70%) var(--my,30%),rgba(19,245,187,.13),transparent 62%);transition:opacity .4s;opacity:0}
.nodema-hero:hover .nd-hero-spot{opacity:1}
/* Second halo bleu en bas à gauche */
.nd-hero-glow{position:absolute!important;z-index:0!important;left:-16vw;bottom:-20vw;width:56vw;aspect-ratio:1;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(19,245,187,.16),transparent 70%);filter:blur(30px);animation:nd-aurora 20s ease-in-out infinite alternate-reverse}

/* Textes sur marine */
.nodema-hero h1{color:#fafcff;letter-spacing:-.025em}
.nodema-hero .is-style-souligne :is(mark,strong){background:linear-gradient(100deg,#13f5bb 0%,#13f5bb 30%,#b9fff0 45%,#13f5bb 60%,#13f5bb 100%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding:0;animation:nd-shine 7s linear infinite}
@keyframes nd-shine{from{background-position:100% 0}to{background-position:-150% 0}}
.nodema-hero .is-style-chapo{color:rgba(233,237,248,.76)}
.nodema-hero .is-style-pastille{display:inline-flex;align-items:center;gap:.55rem;background:rgba(19,245,187,.1);color:#13f5bb;border:1px solid rgba(19,245,187,.32);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.nodema-hero .is-style-pastille::before{content:"";width:.5rem;height:.5rem;border-radius:50%;background:#13f5bb;box-shadow:0 0 0 0 rgba(19,245,187,.6);animation:nd-ping 2.2s ease-out infinite}
@keyframes nd-ping{0%{box-shadow:0 0 0 0 rgba(19,245,187,.55)}80%,100%{box-shadow:0 0 0 .55rem rgba(19,245,187,0)}}
.nodema-hero ul.nodema-trust{color:rgba(233,237,248,.86)}
.nodema-hero .wp-block-button:not(.is-style-outline)>.wp-block-button__link{background:#13f5bb;color:#020b42;box-shadow:0 12px 40px rgba(19,245,187,.32),inset 0 1px 0 rgba(255,255,255,.5)}
.nodema-hero .wp-block-button:not(.is-style-outline)>.wp-block-button__link:hover{background:#fafcff;color:#020b42;box-shadow:0 14px 46px rgba(19,245,187,.42)}
.nodema-hero .wp-block-button.is-style-outline>.wp-block-button__link{color:#fafcff;border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.04);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.nodema-hero .wp-block-button.is-style-outline>.wp-block-button__link:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6)}
/* Maquette : verre clair qui flotte, lueur menthe, léger relief 3D au survol */
.nodema-hero .nd-flux{background:rgba(255,255,255,.95)!important;box-shadow:0 50px 120px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.5),0 0 80px rgba(19,245,187,.16)!important;transform:perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s cubic-bezier(.2,.8,.2,1);will-change:transform}

/* Entrée en scène (CSS seul : rien n'est caché si l'animation ne se lance pas) */
.nodema-hero .wp-block-column:first-child .wp-block-group>*{animation:nd-hero-in .9s cubic-bezier(.2,.8,.2,1) both}
.nodema-hero .wp-block-column:first-child .wp-block-group>:nth-child(2){animation-delay:.08s}
.nodema-hero .wp-block-column:first-child .wp-block-group>:nth-child(3){animation-delay:.18s}
.nodema-hero .wp-block-column:first-child .wp-block-group>:nth-child(4){animation-delay:.28s}
.nodema-hero .wp-block-column:first-child .wp-block-group>:nth-child(5){animation-delay:.38s}
.nodema-hero .wp-block-column:last-child{animation:nd-hero-card 1.1s cubic-bezier(.2,.8,.2,1) .25s both}
@keyframes nd-hero-in{from{opacity:.01;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}
/* Titre et chapô : mouvement seul, sans fondu, pour qu'ils comptent tout de suite comme affichés (Core Web Vitals). */
.nodema-hero .wp-block-column:first-child .wp-block-group>:is(h1,.is-style-chapo){animation-name:nd-hero-rise}
@keyframes nd-hero-rise{from{transform:translate3d(0,26px,0)}to{transform:none}}
@keyframes nd-hero-card{from{opacity:.01;transform:translate3d(40px,30px,0) scale(.96)}to{opacity:1;transform:none}}

/* Invitation à défiler */
.nd-hero-cue{position:absolute!important;left:50%;bottom:4.6rem;z-index:2!important;width:auto!important;display:flex;flex-direction:column;align-items:center;gap:.5rem;transform:translateX(-50%);color:rgba(233,237,248,.62);font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;transition:color .2s}
.nd-hero-cue:hover{color:#13f5bb}
.nd-hero-cue i{width:22px;height:34px;border:2px solid currentColor;border-radius:12px;position:relative}
.nd-hero-cue i::after{content:"";position:absolute;left:50%;top:6px;width:4px;height:7px;margin-left:-2px;border-radius:2px;background:#13f5bb;animation:nd-cue 1.8s ease-in-out infinite}
@keyframes nd-cue{0%{opacity:0;transform:translateY(-3px)}40%{opacity:1}100%{opacity:0;transform:translateY(10px)}}
@media (max-height:760px),(max-width:781px){.nd-hero-cue{display:none!important}}

@media (max-width:781px){
	.nodema-hero{min-height:0;padding-top:2.25rem!important;padding-bottom:5.5rem!important;-webkit-mask-size:100% calc(100% - 39px),100% 40px;mask-size:100% calc(100% - 39px),100% 40px}
	.nodema-hero::before{width:140vw;right:-50vw;top:-40vw}
	.nodema-hero::after{width:110vw;bottom:-10vw;right:-30vw}
	.nodema-hero h1{font-size:clamp(2.3rem,10.5vw,3rem)!important}
	.nodema-hero .wp-block-buttons{flex-direction:column;align-items:stretch}
	.nodema-hero .wp-block-buttons>.wp-block-button{width:100%}
	.nodema-hero .wp-block-buttons .wp-block-button__link{width:100%;justify-content:center;text-align:center;padding-top:1rem;padding-bottom:1rem}
	.nodema-hero ul.nodema-trust{gap:.5rem 1rem;font-size:.875rem}
	.nodema-hero .nd-flux{transform:none}
}
@media (prefers-reduced-motion:reduce){
	.nodema-hero *,.nodema-hero::after,.nd-hero-glow{animation:none!important}
	.nodema-hero .is-style-souligne :is(mark,strong){background-position:0 0}
}

/* En-tête posé sur le marine tant qu'on est sur le premier écran */
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header{color:#fafcff}
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header.has-background::before{background:rgba(2,11,66,.94);border-bottom-color:rgba(255,255,255,.07)}
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-navigation>.wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content,
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-navigation>.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content,
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation__submenu-icon,
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-navigation__responsive-container-open{color:#fafcff}
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .nodema-logo__link{color:#fafcff}
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-button.is-style-outline>.wp-block-button__link{color:#fafcff;border-color:rgba(255,255,255,.34)}
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-button:not(.is-style-outline)>.wp-block-button__link{background:#13f5bb;color:#020b42}
.nodema-header,.nodema-header .nodema-logo__link,.nodema-header .wp-block-navigation-item__content,.nodema-header .wp-block-button__link{transition:color .3s,background-color .3s,border-color .3s,padding .3s var(--nodema-ease),box-shadow .3s}
.nodema-header .wp-block-navigation__submenu-container{color:var(--wp--preset--color--ink)}

/* =========================================================================
   Téléphones et tablettes : en-tête compact, menu plein écran marine
   ========================================================================= */
/* Le menu complet ne tient pas sous 1080 px : on passe au bouton menu plus tôt que WordPress (600 px). */
@media (min-width:600px) and (max-width:1079px){
	.nodema-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex!important}
	.nodema-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none!important}
}
@media (max-width:1079px){
	.nodema-header>.wp-block-group{gap:.75rem}
	.nodema-header>.wp-block-group>.wp-block-navigation{order:3;margin-left:0}
	.nodema-header>.wp-block-group>.wp-block-buttons{order:2;margin-left:auto}
	.nodema-header .wp-block-navigation__responsive-container-open{width:44px;height:44px;align-items:center;justify-content:center;border-radius:14px;background:rgba(2,11,66,.06);border:1px solid rgba(2,11,66,.08);color:var(--wp--preset--color--ink)}
	html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-navigation__responsive-container-open{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
	.nodema-header .wp-block-navigation__responsive-container-open svg{width:22px;height:22px}
}
@media (max-width:600px){
	.nodema-announcement{padding:8px 44px!important;font-size:13px!important}
	.nodema-announcement__dot{display:none}
	.nodema-announcement__inner{flex-wrap:nowrap!important;white-space:nowrap}
	.nodema-header{padding-top:.625rem!important;padding-bottom:.625rem!important}
}

/* Menu ouvert */
.nodema-header .wp-block-navigation__responsive-container.is-menu-open{background:#020b42!important;background-image:radial-gradient(70% 45% at 100% 0%,rgba(19,245,187,.22),transparent 70%),radial-gradient(60% 40% at 0% 100%,rgba(64,92,255,.18),transparent 70%)!important;color:#fafcff!important;padding:0!important;-webkit-backdrop-filter:none;backdrop-filter:none;animation:nd-menu-open .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes nd-menu-open{from{opacity:0;clip-path:circle(0 at calc(100% - 42px) 38px)}to{opacity:1;clip-path:circle(150% at calc(100% - 42px) 38px)}}
.nodema-header .is-menu-open .wp-block-navigation__responsive-close{max-width:none;width:100%;min-height:100%}
.nodema-header .is-menu-open .wp-block-navigation__responsive-dialog{display:flex;flex-direction:column;min-height:100svh;padding:16px 20px calc(22px + env(safe-area-inset-bottom));margin-top:0!important}
.admin-bar .nodema-header .is-menu-open .wp-block-navigation__responsive-dialog{margin-top:46px!important}
.nodema-header .is-menu-open .wp-block-navigation__responsive-container-close{top:16px;right:20px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:#fafcff}
.admin-bar .nodema-header .is-menu-open .wp-block-navigation__responsive-container-close{top:62px}
.nd-menu-logo{display:none}
.nodema-header .is-menu-open .nd-menu-logo{display:flex;align-items:center;height:44px;color:#fafcff;text-decoration:none}
.nodema-header .is-menu-open .nd-menu-logo svg{display:block!important;height:28px;width:auto}
.nodema-header .is-menu-open .wp-block-navigation__responsive-container-content{flex:1;display:flex!important;flex-direction:column;align-items:stretch!important;padding-top:20px!important;gap:0!important}
.nodema-header .is-menu-open .wp-block-navigation__container{display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;width:100%}
.nodema-header .is-menu-open .wp-block-navigation__container>.wp-block-navigation-item{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;width:100%;border-bottom:1px solid rgba(255,255,255,.09);animation:nd-menu-item .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 45ms + 80ms)}
@keyframes nd-menu-item{from{opacity:0;transform:translate3d(0,14px,0)}to{opacity:1;transform:none}}
.nodema-header .is-menu-open .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content{flex:1;padding:17px 0!important;font-family:var(--wp--preset--font-family--titres);font-size:1.375rem!important;font-weight:700;letter-spacing:-.01em;color:#fafcff!important;text-align:left}
.nodema-header .is-menu-open .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content:hover{color:#13f5bb!important}
.nodema-header .is-menu-open .wp-block-navigation-submenu__toggle{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;margin:0!important;padding:0!important;border-radius:12px;background:rgba(255,255,255,.06)!important;color:#fafcff!important;cursor:pointer}
.nodema-header .is-menu-open .wp-block-navigation-submenu__toggle svg{display:block!important;width:14px;height:14px;stroke:currentColor;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.nodema-header .is-menu-open .nd-open>.wp-block-navigation-submenu__toggle{background:#13f5bb!important;color:#020b42!important}
.nodema-header .is-menu-open .nd-open>.wp-block-navigation-submenu__toggle svg{transform:rotate(180deg)}
.nodema-header .is-menu-open .wp-block-navigation__submenu-container{display:block!important;max-height:0!important;width:100%!important;flex-basis:100%;padding:0!important;margin:0!important;border:0!important;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;overflow:hidden!important;transition:max-height .4s cubic-bezier(.2,.8,.2,1),padding .35s;opacity:1!important;visibility:visible!important;position:static!important;height:auto!important;min-width:0!important}
.nodema-header .is-menu-open .nd-open>.wp-block-navigation__submenu-container{max-height:900px!important;padding-bottom:12px!important}
.nodema-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{display:block;padding:10px 0 10px 14px!important;font-size:1rem!important;font-weight:600;color:rgba(233,237,248,.78)!important;border-left:2px solid rgba(19,245,187,.28);text-align:left}
.nodema-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{color:#13f5bb!important;border-left-color:#13f5bb;background:transparent!important}
.nodema-header .is-menu-open .wp-block-navigation__submenu-container>.wp-block-navigation-item{display:block!important;overflow:hidden}
.nd-menu-cta{display:none}
.nodema-header .is-menu-open .nd-menu-cta{display:grid;gap:10px;margin-top:auto;padding-top:28px;animation:nd-menu-item .5s cubic-bezier(.2,.8,.2,1) .35s both}
.nodema-header .is-menu-open .nd-menu-cta a{display:flex;align-items:center;justify-content:center;min-height:54px;border-radius:999px;font-family:var(--wp--preset--font-family--titres);font-weight:700;font-size:1rem;text-decoration:none}
.nodema-header .is-menu-open .nd-menu-cta .is-primary{background:#13f5bb;color:#020b42;box-shadow:0 12px 36px rgba(19,245,187,.28)}
.nodema-header .is-menu-open .nd-menu-cta .is-ghost{color:#fafcff;border:1.5px solid rgba(255,255,255,.3)}
.nodema-header .is-menu-open .nd-menu-cta small{display:block;text-align:center;color:rgba(233,237,248,.6);font-size:.8125rem;font-weight:600}
@media (prefers-reduced-motion:reduce){.nodema-header .is-menu-open,.nodema-header .is-menu-open *{animation:none!important;transition:none!important}}
/* Tablette : texte puis maquette centrée en dessous (sinon la carte est trop étroite) */
@media (min-width:782px) and (max-width:1079px){
	.nodema-hero .wp-block-columns{flex-wrap:wrap!important}
	.nodema-hero .wp-block-columns>.wp-block-column{flex-basis:100%!important}
	.nodema-hero .nd-sim--flux{margin:2.5rem auto 0!important;max-width:520px}
}
.nodema-hero .wp-block-column:first-child .wp-block-group>*{margin-left:0!important}
@media (min-width:782px) and (max-width:1079px){.nodema-hero .wp-block-column:first-child .wp-block-group>*{max-width:720px}}

/* Boutons pleins et contour : exactement la même hauteur et le même alignement */
.wp-block-buttons{align-items:center}
.wp-block-button>.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:2.875rem;border:1.5px solid transparent;padding-top:calc(.85rem - 1.5px);padding-bottom:calc(.85rem - 1.5px);line-height:1.2}
.wp-block-button.is-style-outline>.wp-block-button__link{border-color:currentColor}
.nodema-hero .wp-block-button.is-style-outline>.wp-block-button__link{border-color:rgba(255,255,255,.34)}
html:not(.nd-past-hero) body:has(.nodema-hero) .nodema-header .wp-block-button.is-style-outline>.wp-block-button__link{border-color:rgba(255,255,255,.34)}
@media (max-width:700px){.nodema-header .wp-block-button>.wp-block-button__link{min-height:2.5rem}}

/* Accueil : pas de vague, le premier écran se termine net */
.nodema-hero{-webkit-mask:none!important;mask:none!important;padding-bottom:clamp(4.5rem,8vw,7rem)!important}
.nd-hero-cue{bottom:2.2rem}
/* Les halos décoratifs couvrent tout le premier écran (la mise en page « contrainte » de WordPress les limitait en largeur) */
.nodema-hero>.nd-hero-spot{inset:0!important;width:auto!important;max-width:none!important;margin:0!important}
.nodema-hero>.nd-hero-glow{max-width:none!important;margin:0!important}

/* Pages légales */
.nd-legal-date { color: #62688a; margin-top: 0; }
.nd-legal-date span { font-size: 0.875rem; }
.wp-block-post-content h2[id], .wp-block-post-content h3[id] { scroll-margin-top: 120px; }
/* Style « verre et relief » (actif quand Réglages › Nodema › Style verre et relief est coché) */
.nd-glass .wp-block-button:not(.is-style-outline) .wp-block-button__link{box-shadow:0 8px 18px -10px rgba(2,11,66,.35)}
.nd-glass ul.is-style-coches li::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020b42' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3 3 7-7'/%3E%3C/svg%3E") center/.8rem no-repeat,radial-gradient(circle at 35% 30%,#d6fff3 0,#3cf7c8 34%,#10cf9e 72%,#0a9c78 100%);box-shadow:0 4px 8px -2px rgba(10,156,120,.55),inset 0 -2px 3px rgba(0,0,0,.12)}
.nd-glass .nodema-timeline{padding-left:0;padding-top:16px}
.nd-glass .nodema-timeline::before,.nd-glass .nodema-timeline::after{display:none}
.nd-glass .nodema-timeline>.wp-block-group.is-style-etape{position:relative;max-width:520px;min-height:0;margin:0 0 44px!important;padding:36px 32px 30px!important;border-radius:24px;background:linear-gradient(160deg,#fff4ec,#ffe9dc);color:var(--wp--preset--color--ink);border:1px solid rgba(255,255,255,.9);box-shadow:0 1px 0 #fff inset,0 30px 50px -28px rgba(2,11,66,.35),0 4px 12px -6px rgba(2,11,66,.08);transform:rotate(-1.6deg);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.nd-glass .nodema-timeline>.wp-block-group.is-style-etape:nth-child(3n+2){background:linear-gradient(160deg,#eef0ff,#e1e6ff);transform:rotate(1.4deg) translateX(70px)}
.nd-glass .nodema-timeline>.wp-block-group.is-style-etape:nth-child(3n){background:linear-gradient(160deg,#e9fff8,#d6fbef);transform:rotate(-.8deg)}
.nd-glass .nodema-timeline>.wp-block-group.is-style-etape:last-child{margin-bottom:0!important}
.nd-glass .nodema-timeline>.is-style-etape>*,html.nd-anim .nd-glass .nodema-timeline>.is-style-etape:not(.is-reached)>*{opacity:1;transform:none}
.nd-glass .nodema-timeline>.is-style-etape h3{color:var(--wp--preset--color--ink)}
.nd-glass .nodema-timeline>.is-style-etape p{color:#4b5175}
.nd-glass .nodema-timeline>.is-style-etape::before,.nd-glass .nodema-timeline>.is-style-etape.is-reached::before{content:counter(nodema-step,decimal-leading-zero);position:static;display:block;width:auto;height:auto;margin:0 0 10px;background:none;box-shadow:none;border-radius:0;transform:none;font-size:30px;line-height:1;font-weight:900;letter-spacing:-.02em;color:#ff5a1f}
.nd-glass .nodema-timeline>.is-style-etape:nth-child(3n+2)::before{color:#3352ff}
.nd-glass .nodema-timeline>.is-style-etape:nth-child(3n)::before{color:#07a07a}
.nd-glass .nodema-timeline>.is-style-etape::after{content:"";position:absolute;top:-14px;left:50%;width:28px;height:28px;margin-left:-14px;border-radius:50%;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 3px,transparent 4px),radial-gradient(circle at 40% 35%,#ff9a6b,#ff5a1f 60%,#c73a0c);box-shadow:0 8px 10px -2px rgba(2,11,66,.35),inset -3px -4px 6px rgba(0,0,0,.22)}
.nd-glass .nodema-timeline>.is-style-etape:nth-child(3n+2)::after{background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 3px,transparent 4px),radial-gradient(circle at 40% 35%,#8ea0ff,#3352ff 60%,#1a2dc0)}
.nd-glass .nodema-timeline>.is-style-etape:nth-child(3n)::after{background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.9) 0 3px,transparent 4px),radial-gradient(circle at 40% 35%,#8bffe0,#13f5bb 60%,#079b76)}
@media (hover:hover){.nd-glass .nodema-timeline>.is-style-etape:hover{transform:rotate(0) translateY(-4px)}}
@media (max-width:781px){.nd-glass .nodema-timeline>.wp-block-group.is-style-etape:nth-child(3n+2){transform:rotate(1.2deg) translateX(12px)}}
.has-ink-background-color.nd-glass .nodema-timeline>.is-style-etape,.nd-glass .has-ink-background-color .nodema-timeline>.is-style-etape{color:var(--wp--preset--color--ink)}
