/* =========================================================
   Pages intérieures, marques des solutions, formulaires
   ========================================================= */

:root {
	--nf-logetic: #DD7A3E;
	--nf-logetic-dark: #C4662C;
	--nf-logetic-soft: #FCEDE2;
	--nf-st: #2C5CE6;
	--nf-st-dark: #1F47C2;
	--nf-st-green: #17B88A;
}

/* Logo de l'en-tête quand un logo est choisi dans le Personnaliseur */
.nf-logo__img { display: block; width: 168px; height: auto; transition: width .45s var(--nf-ease); }
.nf-header.is-scrolled .nf-logo__img { width: 150px; }
.nf-logo__img--light { display: none; }
.nf-logo__img--auto { filter: brightness(0) invert(1); }
body.nf-has-hero .nf-header:not(.is-scrolled):not(.is-mega) .nf-logo__img--dark { display: none; }
body.nf-has-hero .nf-header:not(.is-scrolled):not(.is-mega) .nf-logo__img--light { display: block; }
.nf-logo--drawer .nf-logo__img { width: 140px; }
.nf-logo--drawer .nf-logo__img--dark { display: block !important; }
.nf-logo--drawer .nf-logo__img--light { display: none !important; }
.nf-footer__logo .nf-logo__img { width: 220px; }
@media (max-width: 760px) { .nf-logo__img, .nf-header.is-scrolled .nf-logo__img { width: 138px; } }

/* Boutons aux couleurs des solutions */
.wp-block-button.is-style-nf-logetic .wp-block-button__link { background: var(--nf-logetic); color: #fff; }
.wp-block-button.is-style-nf-logetic .wp-block-button__link:hover { background: var(--nf-logetic-dark); color: #fff; }
.wp-block-button.is-style-nf-safetransfer .wp-block-button__link { background: var(--nf-st); color: #fff; }
.wp-block-button.is-style-nf-safetransfer .wp-block-button__link:hover { background: var(--nf-st-dark); color: #fff; }

/* Vitrine : logo de la solution au-dessus du titre */
.nf-showcase .wp-block-image.nf-product__logo { margin: 0 0 26px; }
.nf-product__logo img { display: block; width: auto !important; height: 64px; max-width: 100%; }
.nf-product__logo--safetransfer img { height: 74px; }
.nf-product__title { margin: 0 0 18px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; max-width: 20ch; }
.nf-showcase--logetic .wp-block-list.is-style-nf-checks li::before { background-color: var(--nf-logetic-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4662C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.nf-showcase--safetransfer .wp-block-list.is-style-nf-checks li::before { background-color: #E6ECFD; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C5CE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Maquettes d'interface (portail Logetic, envoi SafeTransfer) */
.nf-float-card.nf-portal { display: block; width: min(292px, 80%); padding: 18px 18px 20px; border-radius: 22px; box-shadow: 0 40px 70px -30px rgba(0, 40, 50, .45), 0 0 0 1px rgba(0, 67, 84, .05); }
.nf-portal p { margin: 0; }
.nf-portal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.nf-portal__logo { display: block; height: 26px; width: auto; }
.nf-portal__logo--round { height: 30px; }
.nf-portal__lang { display: inline-flex; padding: 2px; border-radius: 999px; background: #F1F4F6; font-size: 11px; font-weight: 600; color: var(--nf-muted); }
.nf-portal__lang > * { padding: 2px 8px; border-radius: 999px; }
.nf-portal__lang b { background: #fff; color: var(--nf-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.nf-portal__title { font-size: 18px; font-weight: 700; font-stretch: 108%; color: var(--nf-ink); line-height: 1.25; }
.nf-portal__sub { margin-top: 3px !important; font-size: 12.5px; color: var(--nf-muted); }
.nf-portal--logetic .nf-portal__title, .nf-portal--logetic .nf-portal__sub { text-align: center; }
.nf-portal__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 16px 0 10px; }
.nf-portal__tabs span { padding: 8px; border-radius: 10px; border: 1px solid var(--nf-line); text-align: center; font-size: 12.5px; font-weight: 600; color: var(--nf-slate); }
.nf-portal__tabs .is-active { background: var(--nf-logetic); border-color: var(--nf-logetic); color: #fff; }
.nf-portal__field { padding: 10px 12px; border: 1px solid var(--nf-line); border-radius: 10px; font-size: 13px; color: #8A9AA6; }
.nf-portal__check { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; font-size: 11.5px; color: var(--nf-muted); }
.nf-portal__check i { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--nf-logetic) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.nf-portal__btn { padding: 11px; border-radius: 10px; background: var(--nf-logetic); color: #fff; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nf-portal__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(23, 184, 138, .12); color: #0E8564; font-size: 11.5px; font-weight: 600; }
.nf-portal__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nf-st-green); }
.nf-portal--safetransfer .nf-portal__sub { margin-bottom: 14px !important; }
.nf-portal__meta { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #EEF2F5; font-size: 13px; color: var(--nf-slate); }
.nf-portal__meta b { color: var(--nf-ink); font-weight: 600; }
.nf-portal__bar { height: 6px; margin-top: 10px; border-radius: 6px; background: #E9EEFB; overflow: hidden; }
.nf-portal__bar i { display: block; width: 34%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--nf-st), var(--nf-st-green)); }

/* Grilles de cartes à icônes */
.nf-features { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nf-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nf-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nf-main .nf-features > * { margin: 0 !important; }
.nf-feature { position: relative; padding: 32px 30px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--nf-line); transition: transform .6s var(--nf-ease), box-shadow .6s var(--nf-ease), border-color .3s; }
.nf-feature:hover { transform: translateY(-4px); box-shadow: var(--nf-shadow-soft); border-color: transparent; }
.nf-section--mist .nf-feature { border-color: transparent; }
.nf-feature h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.2; }
.nf-feature p { margin: 0; color: var(--nf-slate); font-size: 16px; }
.nf-feature .wp-block-buttons { margin-top: 14px; }
.nf-features--logetic [class*="nf-ico-"]::before { background-color: var(--nf-logetic); }
.nf-features--safetransfer [class*="nf-ico-"]::before { background-color: var(--nf-st); }
@media (max-width: 1100px) { .nf-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .nf-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nf-features, .nf-features--2, .nf-features--4 { grid-template-columns: 1fr; } }

/* « Comment ça fonctionne » */
.nf-howto { margin-top: clamp(56px, 7vw, 96px) !important; padding: clamp(32px, 4vw, 56px); border-radius: var(--nf-r-l); background: #fff; }
.nf-mini-title { margin: 0 0 36px !important; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.nf-howto--3 .nf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .nf-howto--3 .nf-steps { grid-template-columns: 1fr; } }

/* Texte + image */
.nf-split.is-reversed > :first-child { order: 2; }
@media (max-width: 900px) { .nf-split.is-reversed > :first-child { order: 0; } }

/* Secteur : notre réponse + cartes produit */
.nf-answer { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px) !important; align-items: start; }
.nf-answer > .wp-block-column { flex-basis: auto !important; margin: 0 !important; display: grid; gap: 16px; align-content: start; }
.nf-answer h2 { margin: 0 0 28px; }
.nf-product-card { padding: 30px; border-radius: 22px; background: #fff; box-shadow: var(--nf-shadow-soft); margin: 0 !important; }
.nf-product-card .wp-block-image { margin: 0 0 18px; }
.nf-product-card__logo img { display: block; width: auto !important; height: 46px; }
.nf-product-card--safetransfer .nf-product-card__logo img { height: 56px; }
.nf-product-card__text { margin: 0; color: var(--nf-slate); }
.nf-product-card .wp-block-buttons { margin-top: 8px; }
@media (max-width: 900px) { .nf-answer { grid-template-columns: 1fr; } }

.nf-section--tight { padding-block: clamp(48px, 6vw, 80px) 0; }
.nf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.nf-chips a { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--nf-line); color: var(--nf-ink); font-weight: 560; transition: border-color .25s, color .25s, background-color .25s; }
.nf-chips a:hover { border-color: var(--nf-signal); color: var(--nf-signal); background: #FDF7F2; }

/* Pages sans héro contenant des sections pleine largeur */
body.nf-no-hero .nf-content:has(> .nf-section) { width: auto; max-width: none; padding-bottom: 0; }
.nf-section--flush { padding-top: clamp(16px, 3vw, 40px); }
.nf-anchor { height: 0; margin: 0 !important; scroll-margin-top: 120px; }
.nf-main [id] { scroll-margin-top: 110px; }
.nf-page-hero .nf-crumbs span[aria-current] { color: rgba(255, 255, 255, .92); }

/* Contact */
.nf-contact { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px) !important; align-items: start; }
.nf-contact > .wp-block-column { flex-basis: auto !important; margin: 0 !important; }
.nf-contact h2 { margin: 0 0 16px; }
.nf-info { display: grid; gap: 0; padding: 12px 32px; border-radius: var(--nf-r-l); background: var(--nf-mist); }
.nf-info > * { margin: 0 !important; }
.nf-info__item { position: relative; padding: 24px 0 24px 56px; border-bottom: 1px solid var(--nf-line); }
.nf-info__item::before { content: ""; position: absolute; left: 0; top: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--nf-ink); -webkit-mask: none; mask: none; }
.nf-info__item::after { content: ""; position: absolute; left: 10px; top: 34px; width: 20px; height: 20px; background: #fff; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.nf-info__label { margin: 0 0 4px !important; font-size: 14px; font-weight: 600; color: var(--nf-muted); }
.nf-info__value { margin: 0 !important; color: var(--nf-ink); font-size: 18px; font-weight: 560; line-height: 1.45; }
.nf-info__value a { color: var(--nf-ink); }
.nf-info__value a:hover { color: var(--nf-signal); }
.nf-info__note { padding: 24px 0; }
.nf-info__note p { margin: 0 !important; }
.nf-info__text { color: var(--nf-slate); font-size: 15.5px; }
.nf-section--mist .nf-info { background: #fff; }
@media (max-width: 900px) { .nf-contact { grid-template-columns: 1fr; } }

/* Formulaire */
.nf-form-wrap { margin-top: 28px; }
.nf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.nf-field { margin: 0; display: grid; gap: 8px; }
.nf-field--full { grid-column: 1 / -1; }
.nf-field label { font-size: 14.5px; font-weight: 600; color: var(--nf-ink); }
.nf-field label span { color: var(--nf-signal); }
.nf-field input, .nf-field select, .nf-field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid var(--nf-line);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	font-size: 16px;
	color: var(--nf-ink);
	transition: border-color .2s, box-shadow .2s;
}
.nf-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003045' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.nf-field textarea { resize: vertical; min-height: 140px; }
.nf-field input:focus, .nf-field select:focus, .nf-field textarea:focus { outline: none; border-color: var(--nf-signal); box-shadow: 0 0 0 4px rgba(208, 106, 39, .14); }
.nf-consent { margin: 20px 0 0; font-size: 14.5px; color: var(--nf-slate); }
.nf-consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.nf-consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--nf-signal); }
.nf-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 24px 0 0; }
.nf-form__actions .nf-btn { min-height: 54px; padding: 0 30px; font-size: 16px; }
.nf-form__req { font-size: 13.5px; color: var(--nf-muted); }
.nf-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nf-form-notice { padding: 20px 24px; border-radius: 16px; margin-bottom: 20px; }
.nf-form-notice p { margin: 0; }
.nf-form-notice--ok { background: #E7F6F0; color: #0B5C45; padding: 32px; }
.nf-form-notice__title { font-size: 21px; font-weight: 700; margin-bottom: 6px !important; }
.nf-form-notice--error { background: #FDECEC; color: #8A1C1C; }
@media (max-width: 640px) { .nf-form__grid { grid-template-columns: 1fr; } }

/* FAQ complète */
.nf-faqpage .nf-faq + .nf-faq { margin-top: clamp(56px, 7vw, 96px) !important; }
.nf-faq__group { position: sticky; top: 120px; font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* Pages légales */
.nf-legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem) !important; margin: 2.2em 0 .6em !important; }
.nf-legal > h2:first-child { margin-top: 0 !important; }
.nf-legal p, .nf-legal li { color: var(--nf-slate); }
.nf-legal .nf-lead { color: var(--nf-ink); margin-bottom: 1.5em; }

/* Éditeur */
.editor-styles-wrapper .nf-form button { pointer-events: none; }

/* Icônes supplémentaires (classe nf-ico-… sur un titre) */
.nf-ico-palette::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='6.5' r='1'/%3E%3Ccircle cx='17.5' cy='10.5' r='1'/%3E%3Ccircle cx='8.5' cy='7.5' r='1'/%3E%3Ccircle cx='6.5' cy='12.5' r='1'/%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.9 0 1.6-.7 1.6-1.7 0-.4-.2-.8-.4-1.1-.3-.3-.4-.7-.4-1.1a1.6 1.6 0 0 1 1.7-1.7h2c3 0 5.5-2.5 5.5-5.5C22 6 17.5 2 12 2z'/%3E%3C/svg%3E"); }
.nf-ico-key::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='m21 2-9.6 9.6M15.5 7.5l3 3L22 7l-3-3'/%3E%3C/svg%3E"); }
.nf-ico-users::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.nf-ico-file::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E"); }
.nf-ico-layers::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 5-10 5L2 7z'/%3E%3Cpath d='m2 17 10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E"); }
.nf-ico-usercheck::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='m16 11 2 2 4-4'/%3E%3C/svg%3E"); }
.nf-ico-lock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.nf-ico-link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
.nf-ico-eye::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.nf-ico-briefcase::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
.nf-ico-building::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M12 6h.01M16 6h.01M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E"); }
.nf-ico-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.nf-ico-code::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6M8 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.nf-ico-refresh::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15.5 6.3L3 16M3 12a9 9 0 0 1 15.5-6.3L21 8'/%3E%3Cpath d='M21 3v5h-5M3 21v-5h5'/%3E%3C/svg%3E"); }
.nf-ico-server::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01'/%3E%3C/svg%3E"); }
.nf-ico-handshake::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.9-3.9a3 3 0 0 0-4.2 0l-.9.9a1 1 0 1 1-3-3l2.8-2.8a5.8 5.8 0 0 1 7.1-.9l.5.3a2 2 0 0 0 1.4.3L21 4'/%3E%3Cpath d='m21 3 1 11h-2M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3M3 4h8'/%3E%3C/svg%3E"); }
.nf-ico-book::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V2H6.5A2.5 2.5 0 0 0 4 4.5z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E"); }

.nf-info__item--phone::after { -webkit-mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.nf-info__item--mail::after { -webkit-mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.nf-info__item--pin::after { -webkit-mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }

/* Ajustements après relecture */
.nf-page-hero .nf-kicker { color: var(--nf-glacier); }
.nf-features--logetic [class*="nf-ico-"]::before { background-color: var(--nf-logetic) !important; }
.nf-features--safetransfer [class*="nf-ico-"]::before { background-color: var(--nf-st) !important; }
.nf-product__logo--safetransfer img { height: 96px; }
.nf-product-card--safetransfer .nf-product-card__logo img { height: 72px; }
.nf-section--tight { padding-bottom: clamp(56px, 7vw, 96px); }
.nf-contact:has(> .wp-block-column:last-child .nf-form-wrap) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.nf-contact > .wp-block-column:last-child .nf-form-wrap { margin-top: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--nf-r-l); background: #fff; box-shadow: var(--nf-shadow-soft); }
body.nf-no-hero .nf-content:not(:has(> .nf-section)) { width: min(100% - 2 * var(--nf-gutter), var(--nf-wrap)); }
body.nf-no-hero .nf-content:not(:has(> .nf-section)) > * { max-width: 760px; }

/* =========================================================
   Retours du 17 octobre
   ========================================================= */

/* Héro : repère « Découvrir » horizontal, aligné sur les boutons, trait animé dessous */
.nf-hero .nf-scrollcue { writing-mode: horizontal-tb; flex-direction: row; align-items: center; gap: 0; right: 0; bottom: 0; height: 59px; padding: 0 2px; font-size: 14.5px; letter-spacing: .01em; }
.nf-hero .nf-scrollcue::after { position: absolute; left: 0; right: 0; bottom: 13px; width: auto; height: 1.5px; background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15)); transform-origin: left center; animation: nf-cue-x 2.4s var(--nf-ease) infinite; }
@keyframes nf-cue-x { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* Vitrine des solutions : respiration après l'introduction, un panneau teinté par solution */
.nf-section__head:has(+ .nf-showcase) { margin-bottom: clamp(72px, 9vw, 136px); }
.nf-showcase--logetic, .nf-showcase--safetransfer { padding: clamp(32px, 5vw, 72px); border-radius: 36px; }
.nf-showcase--logetic { background: linear-gradient(135deg, #FDF6F0 0%, #FAF0E7 100%); }
.nf-showcase--safetransfer { background: linear-gradient(135deg, #F3F6FE 0%, #ECF1FC 100%); }
.nf-showcase + .nf-showcase { margin-top: clamp(28px, 4vw, 48px) !important; }

/* Tablette et mobile : logo et titre d'abord, puis la photo, puis le texte */
@media (max-width: 900px) {
	.nf-showcase { gap: 0 !important; }
	.nf-showcase > .wp-block-column:last-child { display: contents; }
	.nf-showcase > .wp-block-column:last-child > * { order: 4; }
	.nf-showcase .wp-block-image.nf-product__logo { order: 1; margin: 0 0 20px !important; }
	.nf-showcase .nf-product__title { order: 2; margin: 0 0 28px !important; }
	.nf-showcase > .wp-block-column:first-child, .nf-showcase.is-reversed > .wp-block-column:first-child { order: 3; margin: 0 0 36px !important; }
	.nf-showcase .nf-product__text { margin: 0 0 24px !important; }
	.nf-showcase .wp-block-list.is-style-nf-checks { margin: 0 0 28px !important; }
	.nf-showcase > .wp-block-column:last-child > .wp-block-buttons { margin: 0 !important; }
}
@media (max-width: 600px) {
	.nf-showcase--logetic, .nf-showcase--safetransfer { padding: 28px 18px 32px; border-radius: 26px; }
	.nf-product__logo img { height: 52px; }
	.nf-product__logo--safetransfer img { height: 76px; }
	.nf-showcase .nf-media-stack { margin-bottom: 0; padding-bottom: 40px; }
	.nf-showcase .nf-media-stack .wp-block-image img { aspect-ratio: 4 / 3.6; }
	/* Fenêtres d'interface plus compactes et fixes (pas d'effet de glissement sur mobile) */
	.nf-float-card.nf-portal { transform: none !important; width: min(220px, 64%); right: 12px; left: auto; bottom: 0; padding: 13px 13px 15px; border-radius: 16px; }
	.nf-portal__sub, .nf-portal__tabs { display: none; }
	.nf-portal__top { margin-bottom: 8px; }
	.nf-portal__logo { height: 20px; }
	.nf-portal__logo--round { height: 24px; }
	.nf-portal__lang { font-size: 10px; }
	.nf-portal__title { font-size: 14.5px; margin-bottom: 10px !important; }
	.nf-portal__field { padding: 7px 10px; font-size: 11.5px; }
	.nf-portal__check { margin: 7px 0 9px; font-size: 10px; }
	.nf-portal__check i { width: 12px; height: 12px; background-size: 8px; }
	.nf-portal__btn { padding: 8px; font-size: 11px; border-radius: 8px; }
	.nf-portal__badge { font-size: 10.5px; padding: 3px 8px; }
	.nf-portal__meta { padding: 5px 0; font-size: 11.5px; }
	.nf-portal__bar { margin-top: 6px; }
}
@media (max-width: 900px) { .nf-showcase .wp-block-heading.nf-product__title { order: 2; } }

/* Page Solutions : chaque solution forme un seul bloc (présentation + détail) */
.nf-section__head:has(+ .nf-product-block) { margin-bottom: clamp(72px, 9vw, 136px); }
.nf-product-block { padding: clamp(32px, 5vw, 72px); border-radius: 40px; }
.nf-product-block--logetic { background: linear-gradient(180deg, #FDF6F0 0%, #FBF2EA 100%); }
.nf-product-block--safetransfer { background: linear-gradient(180deg, #F3F6FE 0%, #EDF2FC 100%); }
.nf-main .nf-product-block > * { margin-block-start: 0 !important; }
.nf-main .nf-product-block + .nf-product-block { margin-top: clamp(40px, 5vw, 72px) !important; }
.nf-product-block > .nf-showcase { padding: 0; background: none; border-radius: 0; }
.nf-main .nf-product-block > .nf-detail-head { margin-top: clamp(64px, 8vw, 112px) !important; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgba(0, 67, 84, .1); margin-bottom: clamp(40px, 5vw, 64px); }
.nf-product-block .nf-feature { border-color: transparent; }
.nf-product-block .nf-howto { background: rgba(255, 255, 255, .75); }
.nf-product-block--logetic .nf-detail-head .nf-kicker { color: var(--nf-logetic-dark); }
.nf-product-block--safetransfer .nf-detail-head .nf-kicker { color: var(--nf-st); }
.nf-product-block--logetic .nf-steps li::before { border-color: var(--nf-logetic); color: var(--nf-logetic-dark); }
.nf-product-block--logetic .nf-steps::before { background: linear-gradient(90deg, var(--nf-logetic), var(--nf-line)); }
@media (max-width: 600px) { .nf-product-block { padding: 28px 18px 32px; border-radius: 26px; } }
/* Pages secteur : mention des solutions à venir */
.nf-answer__more { margin: 8px 0 0 !important; padding: 0 4px; }
.nf-answer__more p { margin: 0; color: var(--nf-slate); }
.nf-answer__more .wp-block-buttons { margin-top: 4px; }

/* Retours du 17 octobre (soir) */
.nf-main .nf-product-block > .nf-howto { margin-top: 20px !important; }
:is(.nf-section--mist, .nf-band) + .nf-cta-wrap { padding-top: clamp(64px, 8vw, 120px); }
@media (max-width: 600px) {
	.nf-showcase .nf-media-stack { padding-bottom: 0; }
	.nf-showcase .nf-media-stack .wp-block-image img { aspect-ratio: 4 / 3.4; object-position: 45% 88%; }
	.nf-float-card.nf-portal { position: relative !important; right: auto; left: auto; bottom: auto; margin: -26px 10px 0 auto !important; width: min(262px, 80%); padding: 16px 16px 18px; }
	.nf-portal__sub { display: block; font-size: 11.5px; }
	.nf-portal__tabs { display: grid; margin: 12px 0 8px; }
	.nf-portal__tabs span { padding: 6px; font-size: 11.5px; }
	.nf-portal--safetransfer .nf-portal__sub { margin-bottom: 10px !important; }
}
/* Barre d'état du téléphone aux couleurs du site : fonds opaques en haut d'écran */
@media (max-width: 760px) {
	body.nf-has-hero .nf-header:not(.is-scrolled):not(.is-mega) .nf-topbar { background: var(--nf-night); }
	.nf-header.is-scrolled .nf-bar, body.nf-no-hero .nf-bar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Pied de page : respiration sous le logo */
.nf-footer .nf-footer__about { margin-top: 28px !important; }
/* Formulaires en deux colonnes : une seule colonne sur tablette et mobile (texte puis formulaire) */
@media (max-width: 900px) {
	.nf-contact, .nf-contact:has(> .wp-block-column:last-child .nf-form-wrap) { grid-template-columns: 1fr; }
	.nf-contact > .wp-block-column:last-child .nf-form-wrap { padding: 24px 20px; }
}
