/* Novastream IPTV France — styles du thème (front + éditeur).
   Les valeurs reprennent la maquette. Les réglages choisis dans l’éditeur
   (couleurs, typo, marges) passent par les classes/attributs WordPress et restent prioritaires. */

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; text-wrap: pretty; }
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c8201f; }
::selection { background: #c8201f; color: #fff; }
h1, h2 { overflow-wrap: break-word; }
.nsf-balance { text-wrap: balance; }
img { max-width: 100%; height: auto; }
@keyframes nsf-marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@keyframes nsf-marquee-rev { from { transform: translateX(-33.3333%); } to { transform: translateX(0); } }
@keyframes nsf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Tailles de titres : interlignage et approche propres à chaque préréglage */
h1.has-hero-font-size { line-height: .98; letter-spacing: -0.035em; }
h1.has-display-font-size, h2.has-display-font-size, h1.has-article-font-size, h2.has-cta-font-size, h1.has-cta-font-size { line-height: 1; letter-spacing: -0.035em; }
h1.has-article-font-size { line-height: 1.02; }
h2.has-section-l-font-size { line-height: 1; letter-spacing: -0.03em; }
h2.has-section-s-font-size { line-height: 1.02; letter-spacing: -0.025em; }
h2.has-cta-font-size { text-wrap: balance; }

/* ---------- Mise en page ---------- */
.nsf-wrap { max-width: 1280px; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.nsf-narrow { max-width: 760px; margin-left: auto !important; margin-right: auto !important; width: 100%; }
.nsf-sec--sand { background: #f6f1e7; border-top: 1px solid #e9e3d7; border-bottom: 1px solid #e9e3d7; }
.nsf-sec--sand + .nsf-sec--sand { border-top: 0; }
.nsf-align-center { align-items: center !important; }
.nsf-align-start { align-items: start !important; }
.nsf-grid-4 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .nsf-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .nsf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nsf-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--nsf-min, 420px)), 1fr)); gap: var(--nsf-gap, clamp(40px, 5vw, 72px)); }
.nsf-split--380 { --nsf-min: 380px; --nsf-gap: clamp(36px, 5vw, 72px); }
.nsf-split--400 { --nsf-min: 400px; }
.nsf-split--400b { --nsf-min: 400px; --nsf-gap: clamp(36px, 5vw, 72px); }
.nsf-mw-420 { max-width: 420px; } .nsf-mw-470 { max-width: 470px; } .nsf-mw-480 { max-width: 480px; } .nsf-mw-500 { max-width: 500px; }
.nsf-mw-520 { max-width: 520px; } .nsf-mw-540 { max-width: 540px; } .nsf-mw-560 { max-width: 560px; } .nsf-mw-640 { max-width: 640px; }
.nsf-mw-660 { max-width: 660px; } .nsf-mw-900 { max-width: 900px; }

/* ---------- Textes utilitaires ---------- */
.nsf-eyebrow { display: inline-flex !important; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b81d1c; line-height: 1.62; }
.nsf-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c8201f; flex: none; }
.nsf-eyebrow.is-pulse::before { animation: nsf-pulse 1.8s ease-in-out infinite; }
.nsf-eyebrow--muted { color: #5b6f93; letter-spacing: .1em; gap: 8px; }
.nsf-eyebrow--muted::before { width: 6px; height: 6px; }
.nsf-live { display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(200, 32, 31, .18); border: 1px solid rgba(255, 255, 255, .22); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.nsf-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0332e; animation: nsf-pulse 1.8s ease-in-out infinite; flex: none; }
.nsf-num { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #c8201f; }

/* ---------- Boutons natifs ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; transition: background .2s, border-color .2s, color .2s; text-decoration: none; }
.wp-block-button__link:active { transform: translateY(1px); }
.nsf-btn-lg .wp-block-button__link { min-height: 56px; padding-left: 28px; padding-right: 28px; font-size: 16px; }
.nsf-btn-sm .wp-block-button__link { min-height: 48px; padding-left: 22px; padding-right: 22px; }
.nsf-btn-xs .wp-block-button__link { min-height: 44px; padding-left: 20px; padding-right: 20px; }
.nsf-btn-block, .nsf-btn-block .wp-block-button__link { width: 100%; }
/* Icône WhatsApp (suit la couleur du texte du bouton) */
.nsf-icon-chat .wp-block-button__link::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nsf-icon-chat.nsf-btn-xs .wp-block-button__link::before { width: 16px; height: 16px; }
.nsf-btn-xs .wp-block-button__link { gap: 9px; }
/* Contour */
.wp-block-button.is-style-nsf-outline .wp-block-button__link { background: transparent; color: #0f2a5c; border: 1px solid #b9c3d8; }
.wp-block-button.is-style-nsf-outline .wp-block-button__link:not(.has-background):hover { background: transparent; }
.wp-block-button.is-style-nsf-outline .wp-block-button__link:not(.has-text-color):hover { color: #0f2a5c; }
.wp-block-button.is-style-nsf-outline .wp-block-button__link:hover { border-color: #c8201f; }
/* Contour clair sur fond sombre */
.wp-block-button.is-style-nsf-ghost .wp-block-button__link { background: rgba(8, 17, 40, .35); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.wp-block-button.is-style-nsf-ghost .wp-block-button__link:not(.has-background):hover { background: rgba(8, 17, 40, .35); }
.wp-block-button.is-style-nsf-ghost .wp-block-button__link:not(.has-text-color):hover { color: #fff; }
.wp-block-button.is-style-nsf-ghost .wp-block-button__link:hover { border-color: #fff; }
/* Lien souligné (bandeau promo) */
.wp-block-button.is-style-nsf-link .wp-block-button__link { background: transparent; color: inherit; min-height: 0; padding: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.wp-block-button.is-style-nsf-link .wp-block-button__link:not(.has-background):hover { background: transparent; }
.wp-block-button.is-style-nsf-link .wp-block-button__link:not(.has-text-color):hover { color: inherit; }
/* Bouton rouge avec halo (en-tête) */
.nsf-btn-glow .wp-block-button__link { box-shadow: 0 8px 24px -8px rgba(224, 51, 46, .7); }

/* ---------- Bandeau promo ---------- */
.nsf-promo { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; min-height: 42px; padding: 9px 52px; font-size: 14px; font-weight: 600; text-align: center; }
.nsf-promo .wp-block-buttons { gap: 0; }
.nsf-promo .wp-block-button__link { font-weight: 700; }
.nsf-promo__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 999px; color: inherit; cursor: pointer; }
.nsf-promo__close:hover { background: rgba(246, 239, 227, .14); }
.nsf-promo.is-dismissed, .nsf-promo-part.is-dismissed { display: none; }

/* ---------- En-tête ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; pointer-events: none; }
.nsf-header { padding: 12px clamp(12px, 3vw, 28px); }
.nsf-header__bar { pointer-events: auto; max-width: 1240px; margin: 0 auto; border-radius: 999px; background: linear-gradient(180deg, rgba(15, 30, 66, .86), rgba(8, 17, 40, .86)); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 50px -24px rgba(8, 17, 40, .7), inset 0 1px 0 rgba(255, 255, 255, .08); padding: 0 10px 0 22px; min-height: 62px; display: flex; align-items: center; gap: 20px; flex-wrap: nowrap !important; }
.nsf-brand { color: #fff; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; flex: none; }
.nsf-brand__link, .nsf-brand > .nsf-brand__text { color: inherit; }
.nsf-brand__link, .nsf-brand--footer { display: flex; align-items: center; gap: 11px; min-height: 44px; color: inherit; text-decoration: none; }
.nsf-brand__link:hover { color: inherit; }
.nsf-brand__mark { position: relative; width: 26px; height: 19px; border-radius: 6px; border: 2px solid #e0332e; display: block; box-shadow: 0 0 14px rgba(224, 51, 46, .55); flex: none; }
.nsf-brand__mark span { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #e0332e; }
.nsf-brand__img { display: block; height: auto; max-height: 40px; width: auto; }
.nsf-brand--footer { color: #0f2a5c; font-size: 26px; min-height: 0; margin-bottom: 16px; }
.nsf-brand--footer .nsf-brand__mark { width: 28px; height: 21px; border-color: #c8201f; box-shadow: none; }
.nsf-brand--footer .nsf-brand__mark span { background: #c8201f; }

/* Navigation principale */
.nsf-nav { margin: 0 auto; }
.nsf-nav .wp-block-navigation__container { gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.wp-block-navigation.nsf-nav { color: #c3cde2; }
.nsf-nav .wp-block-navigation-item { transition: color .2s; }
.nsf-nav .wp-block-navigation-item:hover, .nsf-nav li.current-menu-item { color: #fff; }
.nsf-nav .wp-block-navigation-item__content { display: flex; align-items: center; height: 38px; padding: 0 15px !important; border-radius: 999px; font-family: 'Figtree', sans-serif; font-size: 14.5px; font-weight: 600; transition: background .2s; text-decoration: none; }
.nsf-nav .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .1); }
.nsf-nav .current-menu-item > .wp-block-navigation-item__content { background: rgba(224, 51, 46, .22); box-shadow: inset 0 0 0 1px rgba(224, 51, 46, .55); }
.nsf-nav .nsf-nav-cta { display: none; }
.nsf-nav .wp-block-navigation__responsive-container-open { margin-left: auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #fff; cursor: pointer; }
.nsf-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 959px) {
	.nsf-header__bar .nsf-nav { margin: 0 0 0 auto; }
	.nsf-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.nsf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.nsf-header-cta { display: none !important; }
}
@media (min-width: 960px) {
	.nsf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none !important; }
	.nsf-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: block !important; position: relative; width: auto; background: transparent; }
}
/* Menu mobile ouvert : panneau sombre sous l’en-tête */
.nsf-nav .wp-block-navigation__responsive-container.is-menu-open { position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px); left: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); bottom: auto; max-height: calc(100vh - 100px - var(--wp-admin--admin-bar--height, 0px)); overflow: auto; padding: 6px 18px 18px; border-radius: 26px; background: linear-gradient(180deg, rgba(15, 30, 66, .97), rgba(8, 17, 40, .97)) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 50px -24px rgba(8, 17, 40, .7); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: none; }
.nsf-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 44px !important; align-items: stretch !important; }
.nsf-nav .is-menu-open .wp-block-navigation__container { display: grid !important; gap: 2px; padding: 0; background: none; border: 0; border-radius: 0; width: 100%; }
.nsf-nav .is-menu-open .wp-block-navigation__container { justify-content: stretch !important; justify-items: stretch !important; align-items: stretch !important; grid-template-columns: minmax(0, 1fr); }
.nsf-nav .is-menu-open .wp-block-navigation-item { width: 100% !important; align-self: stretch; }
.nsf-nav .is-menu-open .wp-block-navigation-item__content { justify-content: flex-start; }
.nsf-nav .is-menu-open .wp-block-navigation-item__content { height: auto; width: 100%; padding: 13px 4px !important; border-radius: 0; background: none !important; box-shadow: none !important; border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 21px; }
.nsf-nav .is-menu-open .nsf-nav-cta { display: flex; width: 100%; margin-top: 14px; }
.nsf-nav .is-menu-open .nsf-nav-cta .wp-block-button { width: 100%; }
.nsf-nav .is-menu-open .nsf-nav-cta .wp-block-button__link { width: 100%; font-size: 16px; }
.nsf-nav .wp-block-navigation__responsive-container-close { top: 12px; right: 4px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; }
.nsf-nav .wp-block-navigation__responsive-container-close svg { fill: currentColor; }

/* ---------- Hero ---------- */
.nsf-hero.wp-block-cover { margin-top: -88px; min-height: clamp(600px, 80vh, 840px); padding: 0; align-items: stretch; border-bottom: 1px solid #e9e3d7; background: #0a1530; }
.nsf-hero .wp-block-cover__background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 17, 40, .85) 0%, rgba(8, 17, 40, 0) 38%); }
.nsf-hero .wp-block-cover__inner-container { position: relative; z-index: 1; max-width: 1280px; width: 100%; margin: 0 auto; padding: calc(88px + clamp(48px, 7vw, 112px)) clamp(20px, 4vw, 40px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.nsf-hero__copy { max-width: 640px; }
.nsf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 760px; }
.nsf-stat__value { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.03em; line-height: 1; color: #fff; }
.nsf-stat__label { font-size: 15px; color: #cfd8ea; margin-top: 8px !important; }

/* ---------- Bandeaux défilants ---------- */
.nsf-marquees { position: relative; overflow: hidden; background: #fff; padding: clamp(40px, 4.5vw, 56px) 0 clamp(36px, 4vw, 52px); margin-top: -1px !important; }
.nsf-marquee { position: relative; overflow: hidden; }
.nsf-marquee--primary { transform: rotate(-1.6deg); margin: 0 -60px !important; padding: 16px 0; box-shadow: 0 20px 40px -22px rgba(200, 32, 31, .6); z-index: 2; color: #fff; }
.nsf-marquee--primary:not(.has-background) { background: #c8201f; }
.nsf-marquee--secondary { transform: rotate(-0.6deg); margin: 6px -60px 0 !important; padding: 14px 0; z-index: 1; color: #fff; }
.nsf-marquee--secondary:not(.has-background) { background: #0f2a5c; }
.nsf-marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; padding-right: 34px; animation: nsf-marquee var(--nsf-marquee-duration, 50s) linear infinite; }
.nsf-marquee.is-reverse .nsf-marquee__track { animation-name: nsf-marquee-rev; }
.nsf-marquee__item { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.02em; white-space: nowrap; color: inherit; line-height: 1.3; }
.nsf-marquee__sep { width: 14px; height: 14px; flex: none; border-radius: 4px; border: 2px solid currentColor; transform: rotate(45deg); }
.nsf-marquee--secondary .nsf-marquee__track { gap: 28px; padding-right: 28px; }
.nsf-marquee--secondary .nsf-marquee__item { font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .08em; text-transform: uppercase; }
.nsf-marquee--secondary .nsf-marquee__sep { width: 8px; height: 8px; border: 0; border-radius: 999px; background: #e0332e; transform: none; }

/* ---------- Emplacements d’images ---------- */
.nsf-slot__frame { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(160deg, #e8eef7, #f1ede4); border: 1px solid #e2dccf; }
.nsf-slot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Affiches */
.nsf-posters { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; padding: clamp(40px, 5vw, 64px) clamp(0px, 3vw, 40px) clamp(16px, 2vw, 24px); perspective: 1400px; }
.nsf-posters::before { content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: 0; background: radial-gradient(50% 55% at 50% 55%, rgba(200, 32, 31, .18), rgba(60, 110, 200, .10) 55%, transparent 75%); pointer-events: none; }
.nsf-slot--poster { position: relative; z-index: 1; transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
.nsf-slot--poster:hover { transform: translateY(-4px); z-index: 4; }
.nsf-slot__num { position: absolute; z-index: 2; left: -10px; top: -0.55em; font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(64px, 7vw, 104px); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px #c8201f; paint-order: stroke fill; pointer-events: none; }
.nsf-slot__card { position: relative; z-index: 1; padding: 8px; border-radius: 30px; background: #fff; box-shadow: 0 30px 60px -30px rgba(15, 42, 92, .45); }
.nsf-slot--poster .nsf-slot__frame { border-radius: 23px; border: 0; background: linear-gradient(170deg, #e8eef7, #f6f1e7); }
.nsf-slot__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(0deg, rgba(8, 17, 40, .75), rgba(8, 17, 40, 0)); pointer-events: none; }
.nsf-slot__tag { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .06em; color: #fff; pointer-events: none; }
.nsf-slot__tag span { width: 28px; height: 4px; border-radius: 999px; background: #c8201f; }
.nsf-posters > .nsf-slot--poster:nth-child(2) .nsf-slot__card { box-shadow: 0 30px 60px -30px rgba(200, 32, 31, .5); }
@media (min-width: 720px) {
	.nsf-posters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
	.nsf-posters > .nsf-slot--poster:nth-child(1) { transform: rotateY(14deg) rotateZ(-3deg) translateY(28px) scale(.92); }
	.nsf-posters > .nsf-slot--poster:nth-child(2) { transform: translateY(-12px) scale(1.06); z-index: 3; }
	.nsf-posters > .nsf-slot--poster:nth-child(3) { transform: rotateY(-14deg) rotateZ(3deg) translateY(28px) scale(.92); }
	.nsf-posters > .nsf-slot--poster:nth-child(1):hover, .nsf-posters > .nsf-slot--poster:nth-child(3):hover { transform: rotateY(0) rotateZ(0) translateY(0) scale(.98); z-index: 4; }
	.nsf-posters > .nsf-slot--poster:nth-child(2):hover { transform: translateY(-20px) scale(1.08); z-index: 4; }
	.nsf-posters > .nsf-slot--poster:nth-child(1) .nsf-slot__card, .nsf-posters > .nsf-slot--poster:nth-child(3) .nsf-slot__card { box-shadow: 0 40px 80px -30px rgba(15, 42, 92, .45); }
	.nsf-posters > .nsf-slot--poster:nth-child(2) .nsf-slot__card { box-shadow: 0 50px 100px -30px rgba(200, 32, 31, .55); }
}
/* Arche (remplacement du câble) */
.nsf-slot--arch { position: relative; max-width: 500px; width: 100%; justify-self: center; margin-left: auto !important; margin-right: auto !important; padding: 0 22px 22px 0; }
.nsf-slot__glow { position: absolute; inset: -8% -6% 4% -6%; background: radial-gradient(50% 50% at 50% 50%, rgba(200, 32, 31, .16), rgba(60, 110, 200, .10) 55%, transparent 75%); pointer-events: none; }
.nsf-slot__outline { position: absolute; left: 22px; top: 22px; right: 0; bottom: 0; border: 2px solid #c8201f; border-radius: 999px 999px 36px 36px; }
.nsf-slot--arch .nsf-slot__frame { border-radius: 999px 999px 36px 36px; border: 0; background: linear-gradient(170deg, #e8eef7, #f6f1e7); box-shadow: 0 40px 90px -40px rgba(15, 42, 92, .5); }
.nsf-slot__dot { position: absolute; left: -14px; bottom: 56px; width: 56px; height: 56px; border-radius: 50%; background: #0f2a5c; box-shadow: 0 0 0 8px #fff; }
/* Image en tête de carte */
.nsf-card-media .nsf-slot__frame { border-radius: 0; border: 0; border-bottom: 1px solid #e2dccf; }

/* ---------- Cartes ---------- */
.nsf-card { background: #fff; border: 1px solid #e2dccf; border-radius: 24px; padding: 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); transition: transform .2s cubic-bezier(.2, .7, .3, 1), border-color .2s; }
.nsf-card.is-lift:hover { transform: translateY(-3px); border-color: #b9c3d8; }
.nsf-card--flush { padding: 0; overflow: hidden; }
.nsf-card--featured { background: linear-gradient(180deg, #fdf0ee, #fff 70%); border: 1.5px solid #c8201f; box-shadow: 0 30px 80px -30px rgba(200, 32, 31, .45); }
.nsf-card--col { display: flex; flex-direction: column; }
.nsf-card--col > .nsf-push { margin-top: auto !important; }
.nsf-card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nsf-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5b6f93; }
.nsf-label--xs { font-size: 12px; }
.nsf-big { font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }

/* Icônes */
.nsf-icon { --nsf-icon-box: 48px; display: inline-flex; align-items: center; justify-content: center; width: var(--nsf-icon-box); height: var(--nsf-icon-box); border-radius: calc(var(--nsf-icon-box) * .3); flex: none; color: #b81d1c; }
.nsf-icon--rose:not(.has-background) { background: #fdeceb; }
.nsf-icon--sand:not(.has-background) { background: #e9e3d7; }
.nsf-icon--sand:not(.has-text-color) { color: #2b4a7f; }
.nsf-icon--round { border-radius: 999px; }
.nsf-icon--round:not(.has-background) { background: #fdeceb; }
.nsf-icon--none { width: auto; height: auto; background: none; }
.nsf-icon--none:not(.has-text-color) { color: #5b6f93; }
.nsf-svg { display: block; flex: none; }

/* Pastilles */
.nsf-pill { display: inline-flex !important; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid #d6cfc0; font-size: 15px; font-weight: 500; color: #1c3a70; white-space: nowrap; }
.nsf-pill--lg { height: 44px; padding: 0 18px; }
.nsf-tag { display: inline-flex !important; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #e9e3d7; font-size: 13px; font-weight: 600; color: #2b4a7f; white-space: nowrap; }
.nsf-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; white-space: nowrap; background: #fdeceb; font-size: 12px; font-weight: 700; color: #b81d1c; line-height: 1; text-decoration: none; }
a.nsf-chip:hover { color: #b81d1c; }

/* Listes à coches */
.nsf-checklist { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 14px; }
.nsf-checklist li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.55; }
.nsf-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(200, 32, 31, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23b81d1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.nsf-check { width: 20px; height: 20px; border-radius: 50%; flex: none; background: rgba(200, 32, 31, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23b81d1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; display: inline-block; }
.nsf-check--sm { width: 18px; height: 18px; background-color: rgba(200, 32, 31, .16); background-size: 9px; }

/* Listes numérotées (guides d’installation) */
.nsf-steps { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 1px; background: #e2dccf; border-radius: 16px; overflow: hidden; counter-reset: nsf-step; }
.nsf-steps li { counter-increment: nsf-step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: #f3eee4; padding: 15px 18px; font-size: 15px; line-height: 1.5; color: #1c3a70; }
.nsf-steps li::before { content: counter(nsf-step, decimal-leading-zero); font-family: 'Syne', sans-serif; font-weight: 800; font-size: 14px; color: #b81d1c; padding-top: 1px; }

/* Piles séparées par un filet */
.nsf-stack { display: grid; gap: 1px; background: #e2dccf; border: 1px solid #e2dccf; border-radius: 24px; overflow: hidden; }
.nsf-stack > * { background: #fff; margin: 0 !important; }
.nsf-stack--22 { border-radius: 22px; }
.nsf-step { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 28px; }
.nsf-step .nsf-num { font-size: 40px; }
.nsf-stack-item { padding: 22px 26px; }
.nsf-topline { padding-top: 26px; border-top: 1px solid #e2dccf; }

/* ---------- FAQ (blocs Détails natifs) ---------- */
.nsf-faq .wp-block-details { background: #fff; margin: 0 !important; padding: 0; }
.nsf-faq .wp-block-details > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; color: #0f2a5c; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
.nsf-faq .wp-block-details > summary::-webkit-details-marker { display: none; }
.nsf-faq .wp-block-details > summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 999px; background: #e9e3d7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a5c' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s cubic-bezier(.2, .7, .3, 1), background-color .2s; }
.nsf-faq .wp-block-details[open] > summary::after { transform: rotate(45deg); background-color: #c8201f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E"); }
.nsf-faq .wp-block-details > :not(summary) { margin: 0; padding: 0 26px 24px; font-size: 16px; line-height: 1.65; color: #3f5a88; max-width: 692px; }
.nsf-faq--lg .wp-block-details > summary { padding: 24px 28px; font-size: 19px; }
.nsf-faq--lg .wp-block-details > :not(summary) { padding: 0 28px 26px; max-width: 736px; }

/* ---------- Tableaux ---------- */
.nsf-table-wrap, .wp-block-table.nsf-compare { overflow-x: auto; border: 1px solid #e2dccf; border-radius: 24px; background: #fff; margin: 0; }
.nsf-table-wrap table, .wp-block-table.nsf-compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.wp-block-table.nsf-compare table { min-width: 680px; }
.wp-block-table.nsf-compare th, .wp-block-table.nsf-compare td, .nsf-table-wrap th, .nsf-table-wrap td { border: 0; }
.wp-block-table.nsf-compare thead { border: 0; }
.wp-block-table.nsf-compare th { text-align: left; padding: 20px 24px; font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: #0f2a5c; border-bottom: 1px solid #e2dccf; }
.wp-block-table.nsf-compare th:first-child, .nsf-table-wrap th.nsf-matrix__first { font-family: 'Figtree', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5b6f93; }
.wp-block-table.nsf-compare th:nth-child(2) { color: #b81d1c; background: rgba(200, 32, 31, .08); }
.wp-block-table.nsf-compare td { padding: 18px 24px; color: #3f5a88; border-top: 1px solid #e9e3d7; }
.wp-block-table.nsf-compare td:nth-child(2) { color: #0f2a5c; font-weight: 700; background: rgba(200, 32, 31, .08); }
.wp-block-table.nsf-compare tbody tr:first-child td { border-top: 0; }
.nsf-matrix th { text-align: center; padding: 20px 18px; font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: #0f2a5c; border-bottom: 1px solid #e2dccf; }
.nsf-matrix th.nsf-matrix__first { text-align: left; padding: 20px 24px; }
.nsf-matrix th.is-featured { color: #b81d1c; }
.nsf-matrix td { padding: 16px 18px; border-top: 1px solid #e9e3d7; text-align: center; }
.nsf-matrix tbody tr:first-child td { border-top: 0; }
.nsf-matrix td:first-child { padding: 16px 24px; color: #1c3a70; text-align: left; }
.nsf-matrix .is-featured { background: rgba(200, 32, 31, .08); }
.nsf-matrix__yes { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #2b4a7f; }
.nsf-matrix td.is-featured .nsf-matrix__yes { color: #0f2a5c; }

/* ---------- Offres ---------- */
.nsf-plans { display: grid; gap: 18px; align-items: stretch; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .nsf-plans--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .nsf-plans--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .nsf-plans--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nsf-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2dccf; border-radius: 24px; padding: 28px; transition: transform .2s cubic-bezier(.2, .7, .3, 1), border-color .2s; color: #0f2a5c; }
.nsf-plan:hover { transform: translateY(-3px); border-color: #b9c3d8; }
.nsf-plan--featured { background: linear-gradient(180deg, #fdf0ee, #fff 60%); border: 1.5px solid #c8201f; box-shadow: 0 30px 80px -30px rgba(200, 32, 31, .45); }
.nsf-plan--featured:hover { border-color: #c8201f; }
.nsf-plan__ribbon { position: absolute; top: -14px; left: 28px; height: 28px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #c8201f; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nsf-plan__badges { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-height: 28px; margin-bottom: 18px; }
.nsf-plan__tier, .nsf-plan__save { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.nsf-plan__tier { background: #e9e3d7; letter-spacing: .08em; text-transform: uppercase; color: #2b4a7f; }
.nsf-plan__save { background: #fdeceb; color: #b81d1c; }
.nsf-plan--featured .nsf-plan__tier { background: #fbdcd9; color: #b81d1c; }
.nsf-plan--featured .nsf-plan__save { background: #c8201f; color: #fff; }
.nsf-plan__name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 18px; color: #0f2a5c; line-height: 1.2; }
.nsf-plan__price { display: flex; align-items: baseline; gap: 4px; flex-wrap: nowrap; }
.nsf-plan__amount { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 64px; line-height: .9; letter-spacing: -0.04em; }
.nsf-plan__cur { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px; margin-left: 2px; }
.nsf-plan__per { font-size: 14px; color: #5b6f93; margin-left: 6px; white-space: nowrap; }
.nsf-plan--featured .nsf-plan__amount, .nsf-plan--featured .nsf-plan__cur { color: #b81d1c; }
.nsf-plan--featured .nsf-plan__per { color: #3f5a88; }
.nsf-plan__unit { font-size: 14px; color: #3f5a88; margin-top: 10px; }
.nsf-plan--featured .nsf-plan__unit { color: #2b4a7f; }
.nsf-plan__sep { height: 1px; background: #e2dccf; margin: 24px 0; }
.nsf-plan--featured .nsf-plan__sep { background: #f3c4c0; }
.nsf-plan__features { display: grid; gap: 11px; margin: 0 0 26px; padding: 0; list-style: none; }
.nsf-plan__features li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; color: #1c3a70; }
.nsf-plan--featured .nsf-plan__features li { color: #0f2a5c; }
.nsf-plan--featured .nsf-check { background-color: #c8201f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nsf-plan__foot { margin-top: auto; display: grid; gap: 12px; }
.nsf-plan__trial { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: #f3eee4; font-size: 13px; color: #1c3a70; }
.nsf-plan__trial .nsf-svg { color: #b81d1c; }
.nsf-plan--featured .nsf-plan__trial { background: rgba(255, 255, 255, .7); color: #0f2a5c; }
.nsf-plan__cta { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--nsf-cta-border, #b9c3d8); background: var(--nsf-cta-bg, transparent); color: var(--nsf-cta-color, #0f2a5c); font-family: var(--nsf-cta-font, 'Figtree', sans-serif); font-weight: var(--nsf-cta-weight, 700); font-size: var(--nsf-cta-size, 15px); text-align: center; text-decoration: none; transition: border-color .2s, background .2s; }
.nsf-plan__cta:hover { border-color: #c8201f; color: var(--nsf-cta-color, #0f2a5c); background: var(--nsf-cta-bg, #fdf1ef); }
.nsf-plan--featured .nsf-plan__cta { border-color: var(--nsf-feat-cta-bg, #c8201f); background: var(--nsf-feat-cta-bg, #c8201f); color: var(--nsf-feat-cta-color, #fff); }
.nsf-plan--featured .nsf-plan__cta:hover { background: var(--nsf-feat-cta-bg, #e0332e); border-color: var(--nsf-feat-cta-bg, #e0332e); color: var(--nsf-feat-cta-color, #fff); }
.nsf-plan__pay { text-align: center; font-size: 12px; color: #5b6f93; }
.nsf-plan--featured .nsf-plan__pay { color: #3f5a88; }

/* ---------- Avis ---------- */
.nsf-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.nsf-reviews__nav { display: flex; gap: 10px; }
.nsf-round-btn { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid #d6cfc0; color: #0f2a5c; cursor: pointer; transition: border-color .2s; padding: 0; text-decoration: none; }
.nsf-round-btn:hover { border-color: #c8201f; color: #0f2a5c; }
.nsf-round-btn.is-disabled { opacity: .45; cursor: default; }
.nsf-reviews__track { --nsf-per: 1.15; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.nsf-reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .nsf-reviews__track { --nsf-per: 2; } }
@media (min-width: 960px) { .nsf-reviews__track { --nsf-per: 3; } }
.nsf-review { flex: 0 0 calc((100% - 16px * (var(--nsf-per-ceil, 1))) / var(--nsf-per)); scroll-snap-align: start; cursor: zoom-in; padding: 0; border: 0; background: none; text-align: left; font-family: inherit; }
.nsf-reviews__track { --nsf-per-ceil: 1; }
@media (min-width: 600px) { .nsf-reviews__track { --nsf-per-ceil: 1; } }
@media (min-width: 960px) { .nsf-reviews__track { --nsf-per-ceil: 2; } }
.nsf-review__frame { position: relative; display: block; padding: 7px; border-radius: 30px; background: #0f2a5c; box-shadow: 0 30px 60px -32px rgba(15, 42, 92, .55); transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s; }
.nsf-review:hover .nsf-review__frame { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(200, 32, 31, .45); }
.nsf-review__screen { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #0b1324; }
.nsf-review__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.nsf-review__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, rgba(8, 17, 40, .8), rgba(8, 17, 40, 0)); pointer-events: none; }
.nsf-review__zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 999px; background: #c8201f; color: #fff; display: flex; align-items: center; justify-content: center; }
.nsf-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(15, 42, 92, .78); display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 40px); cursor: zoom-out; }
.nsf-lightbox[hidden] { display: none; }
.nsf-lightbox__img { display: block; max-width: min(560px, 92vw); max-height: 88vh; width: auto; height: auto; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); cursor: default; }
.nsf-lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid #b9c3d8; color: #0f2a5c; cursor: pointer; }

/* ---------- Cartes d’articles / blog ---------- */
.nsf-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.nsf-post-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #e2dccf; border-radius: 24px; padding: 28px; color: #0f2a5c; text-decoration: none; transition: transform .2s cubic-bezier(.2, .7, .3, 1), border-color .2s; }
.nsf-post-card:hover { transform: translateY(-3px); border-color: #b9c3d8; color: #0f2a5c; }
.nsf-post-card__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.nsf-post-card__date { font-size: 13px; color: #5b6f93; }
.nsf-post-card__title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; text-wrap: pretty; color: #0f2a5c; }
.nsf-post-card__text { font-size: 15px; line-height: 1.6; color: #3f5a88; margin: 0 0 22px; }
.nsf-post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #b81d1c; }
.nsf-post-card--featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); padding: 0; margin-bottom: 18px; border-radius: 28px; overflow: hidden; }
.nsf-post-card--featured:hover { transform: none; }
.nsf-post-card__media { position: relative; min-height: 280px; background: linear-gradient(160deg, #e8eef7, #f1ede4); display: block; }
.nsf-post-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nsf-post-card__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.nsf-post-card--featured .nsf-post-card__title { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 16px; text-wrap: balance; }
.nsf-post-card--featured .nsf-post-card__text { font-size: 16px; line-height: 1.65; margin-bottom: 26px; }
.nsf-post-card--featured .nsf-post-card__more { margin-top: 0; font-size: 15px; }
.nsf-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 3vw, 40px); }
.nsf-tab { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #b9c3d8; background: transparent; color: #0f2a5c; font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color .2s, background .2s; }
.nsf-tab:hover { border-color: #c8201f; color: #0f2a5c; }
.nsf-tab.is-active { background: #c8201f; border-color: #c8201f; color: #fff; }
.nsf-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.nsf-pager .nsf-round-btn { width: 44px; height: 44px; }
.nsf-page-num { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #d6cfc0; background: #fff; color: #0f2a5c; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; text-decoration: none; }
.nsf-page-num:hover { border-color: #c8201f; color: #0f2a5c; }
.nsf-page-num.is-active { background: #c8201f; border-color: #c8201f; color: #fff; }
.nsf-empty { color: #3f5a88; }

/* ---------- Article ---------- */
.nsf-back__link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; border: 1px solid #d6cfc0; color: #2b4a7f; font-size: 14px; font-weight: 700; text-decoration: none; }
.nsf-back__link:hover { border-color: #c8201f; color: #0f2a5c; }
.nsf-post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #5b6f93; }
.nsf-author { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #e9e3d7; }
.nsf-author__icon { width: 44px; height: 44px; border-radius: 999px; background: #fdeceb; display: flex; align-items: center; justify-content: center; color: #b81d1c; flex: none; }
.nsf-author__name { font-weight: 700; font-size: 15px; }
.nsf-author__brand { font-size: 13px; color: #5b6f93; margin-top: 2px; }
.nsf-article-hero { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid #e2dccf; background: linear-gradient(160deg, #e8eef7, #f1ede4); aspect-ratio: 16 / 7; }
.nsf-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nsf-article-body > p, .nsf-article-body .wp-block-post-content > p { font-size: 18px; line-height: 1.8; color: #2b4a7f; }
.nsf-article-body .wp-block-post-content > p { margin: 0; }
.nsf-article-body .wp-block-post-content > h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; line-height: 1.15; margin: 44px 0 14px; }
.nsf-article-body .wp-block-post-content > p + p { margin-top: 1em; }
.nsf-article-body .wp-block-pullquote, .wp-block-pullquote.nsf-pull { margin: 34px 0; padding: 30px 32px; border-radius: 24px; background: #fdf3f1; border: 1px solid #f3c4c0; text-align: left; }
.wp-block-pullquote.nsf-pull::before { content: ""; display: block; width: 26px; height: 26px; margin-bottom: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8201f' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wp-block-pullquote.nsf-pull blockquote { margin: 0; }
.wp-block-pullquote.nsf-pull p { margin: 0; font-family: 'Syne', sans-serif; font-weight: 600; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.35; letter-spacing: -0.015em; color: #0f2a5c; }
.wp-block-pullquote.nsf-pull cite { display: none; }
.nsf-article-cta { margin-top: 48px !important; }
.nsf-article-cta > p { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 22px !important; color: #0f2a5c; }

/* ---------- Bandeaux d’appel (CTA) ---------- */
.nsf-band__box { position: relative; overflow: hidden; max-width: 1200px; margin-left: auto !important; margin-right: auto !important; border-radius: 32px; border: 1px solid #f3c4c0; display: grid; justify-items: center; text-align: center; gap: 18px; }
.nsf-band__box:not(.has-background) { background: #fdf3f1; }
.nsf-band__box::before { content: ""; position: absolute; inset: -40% 10% auto 10%; height: 160%; background: radial-gradient(50% 50% at 50% 50%, rgba(200, 32, 31, .28), transparent 70%); pointer-events: none; }
.nsf-band__box > * { position: relative; margin: 0 !important; }
.nsf-band__box > .wp-block-buttons { margin-top: 10px !important; }
.nsf-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nsf-callout > p { font-family: 'Syne', sans-serif; font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; letter-spacing: -0.01em; max-width: 560px; }
.nsf-paybox { display: grid !important; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }

/* ---------- Pied de page ---------- */
.nsf-footer { border-top: 1px solid #e9e3d7; background: #f6f1e7; }
.nsf-footer__grid { max-width: 1280px; margin: 0 auto !important; padding: clamp(56px, 6vw, 80px) clamp(20px, 4vw, 40px) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 40px; }
.nsf-footer__brand { grid-column: span 2; min-width: 0; max-width: 340px; }
@media (max-width: 420px) { .nsf-footer__brand { grid-column: auto; } }
.nsf-footer__title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5b6f93; margin-bottom: 16px !important; }
.nsf-footer-nav { margin-top: -10px !important; }
.nsf-footer-nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start !important; gap: 0 !important; }
.wp-block-navigation.nsf-footer-nav { color: #2b4a7f; }
.nsf-footer-nav .wp-block-navigation-item:hover { color: #b81d1c; }
.nsf-footer-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.nsf-footer__bottom { max-width: 1280px; margin: 0 auto !important; padding: 0 clamp(20px, 4vw, 40px) 40px; }
.nsf-footer__legal { border-top: 1px solid #e9e3d7; padding-top: 24px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: #5b6f93; }

/* ---------- Pages génériques ---------- */
.nsf-generic .wp-block-post-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.nsf-generic .wp-block-post-content > p { margin-top: 1em; font-size: 17px; line-height: 1.75; color: #2b4a7f; }
.nsf-generic .wp-block-post-content > h2 { margin-top: 1.6em; font-size: clamp(24px, 2.6vw, 30px); }

/* ---------- Compléments ---------- */
.nsf-mw-820 { max-width: 820px; }
.nsf-feat-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 15px; color: #b81d1c; letter-spacing: .02em; margin-bottom: 26px !important; }
.nsf-response { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.035em; }
.nsf-card-row .nsf-label { margin: 0; }
.nsf-terms a { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #fdeceb; font-size: 12px; font-weight: 700; color: #b81d1c; }
.nsf-qpager { margin-top: 48px !important; gap: 8px; }
.nsf-qpager a, .nsf-qpager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #d6cfc0; background: #fff; color: #0f2a5c; font-weight: 700; }
.nsf-qpager .page-numbers.current { background: #c8201f; border-color: #c8201f; color: #fff; }
.wp-block-post-template .nsf-post-card { height: 100%; }
.nsf-post-card .wp-block-post-title a { color: inherit; }
.nsf-article__lede p { margin: 0; }
.wp-block-search__input { border-radius: 999px; border: 1px solid #d6cfc0; padding: 0 18px; min-height: 48px; }
.wp-block-search__button { border-radius: 999px; background: #c8201f; color: #fff; border: 0; padding: 0 22px; min-height: 48px; font-weight: 700; }
.nsf-sec, .nsf-band { overflow-x: clip; }

.nsf-fill > * { flex: 1 1 auto; }
.nsf-contact-value a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
