/* ==========================================================================
   R-SOFT — feuille de style du thème
   Constantes : theme.json (palette, polices) + variables ci-dessous.
   Points de rupture : 40rem (sm) · 48rem (md) · 64rem (lg) · 80rem (xl) · 96rem (2xl)
   ========================================================================== */

:root {
	--green: var(--wp--preset--color--green, #00523e);
	--forest: var(--wp--preset--color--forest, #062e27);
	--evergreen: var(--wp--preset--color--evergreen, #0b493c);
	--yellow: var(--wp--preset--color--yellow, #fecf00);
	--yellow-soft: var(--wp--preset--color--yellow-soft, #efc746);
	--gold: var(--wp--preset--color--gold, #dcb253);
	--light: var(--wp--preset--color--light, #f4f1ea);
	--surface-alt: var(--wp--preset--color--surface-alt, #ece7dc);
	--cream: var(--wp--preset--color--cream, #f8f5eb);
	--ink: var(--wp--preset--color--ink, #12352d);
	--muted: var(--wp--preset--color--muted, #60756e);
	--white: #fff;
	--font-display: var(--wp--preset--font-family--display, Manrope, system-ui, sans-serif);
	--font-sans: var(--wp--preset--font-family--sans, Inter, system-ui, sans-serif);
	--container: 112rem;
	--gutter: 1.25rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow-header: 0 1.125rem 3.75rem rgb(0 50 38 / 14%);
	--shadow-menu: 0 1.125rem 3.125rem rgb(0 50 38 / 14%);
	--shadow-card: 0 1.75rem 4.375rem rgb(4 29 48 / 16%);
	--shadow-screen: 0 2.125rem 5rem rgb(0 50 38 / 18%);
	--shadow-green: 0 0.75rem 1.875rem rgb(0 82 62 / 20%);
	--grid-line: rgb(0 82 62 / 4%);
	--header-height: 9.75rem;
}
@media (min-width: 40rem) { :root { --gutter: 2rem; } }
@media (min-width: 48rem) { :root { --gutter: 2.5rem; } }
@media (min-width: 64rem) { :root { --gutter: 3rem; } }
@media (min-width: 80rem) { :root { --gutter: 3.5rem; } }
@media (min-width: 96rem) { :root { --gutter: 4rem; } }

/* Polices de secours métriquement proches : limite le décalage au chargement. */
@font-face { font-family: "Inter Fallback"; src: local(Arial); ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%; }
@font-face { font-family: "Manrope Fallback"; src: local(Arial); ascent-override: 103.31%; descent-override: 29.07%; line-gap-override: 0%; size-adjust: 103.19%; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.625;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 500; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.25rem;
	border-radius: 999px; background: var(--forest); color: #fff; font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
#top { position: absolute; top: 0; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(77.5rem + 2 * var(--gutter)); }

.rsoft-icon { flex: none; }
.is-gold { color: var(--gold); }
.is-yellow { color: var(--yellow); }

/* --------------------------------------------------------------------------
   Composants partagés
   -------------------------------------------------------------------------- */

/* Bouton d'action (remplissage animé) */
.rsoft-cta {
	position: relative; isolation: isolate; display: inline-flex; flex: none; align-items: center; justify-content: center;
	overflow: hidden; border-radius: 999px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.rsoft-cta__fill {
	position: absolute; inset: -0.25rem; pointer-events: none;
	clip-path: inset(0 100% 0 0 round 9999px);
	transition: clip-path 0.5s var(--ease);
}
.rsoft-cta:hover .rsoft-cta__fill, .rsoft-cta:focus-visible .rsoft-cta__fill { clip-path: inset(0 0 0 0 round 9999px); }
.rsoft-cta__label { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.rsoft-cta--yellow { background: var(--yellow); color: var(--ink); }
.rsoft-cta--yellow .rsoft-cta__fill { background: var(--green); }
.rsoft-cta--yellow:hover .rsoft-cta__label, .rsoft-cta--yellow:focus-visible .rsoft-cta__label { color: #fff; }
.rsoft-cta--green { background: var(--green); color: #fff; }
.rsoft-cta--green .rsoft-cta__fill { background: var(--yellow); }
.rsoft-cta--green:hover .rsoft-cta__label, .rsoft-cta--green:focus-visible .rsoft-cta__label { color: var(--ink); }
.rsoft-cta:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green); }
.rsoft-cta--xs { height: 2rem; padding-inline: 1rem; font-size: 0.75rem; }
.rsoft-cta--sm { height: 2.5rem; padding-inline: 1rem; font-size: 0.75rem; }
.rsoft-cta--md { height: 2.75rem; padding-inline: 1.25rem; font-size: 0.78rem; }
.rsoft-cta--lg { height: 3.5rem; padding-inline: 1.5rem; font-size: 0.875rem; }

/* Lien texte + flèche */
.rsoft-link {
	display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.75rem;
	color: var(--green); font-size: 0.875rem; font-weight: 700;
}
.rsoft-link .rsoft-icon { transition: transform 0.3s; }
.rsoft-link:hover .rsoft-icon { transform: translateX(0.25rem); }
.rsoft-link--border .rsoft-link__label { border-bottom: 1px solid currentColor; padding-bottom: 0.25rem; transition: color 0.3s, border-color 0.3s; }
.rsoft-link--border:hover .rsoft-link__label { color: var(--gold); border-color: var(--gold); }
.rsoft-link--underline { font-size: 0.75rem; font-weight: 600; }
.rsoft-link--underline .rsoft-link__label { text-decoration: underline; text-underline-offset: 0.35rem; text-decoration-color: rgb(0 82 62 / 25%); }
.rsoft-link--underline:hover .rsoft-link__label { text-decoration-color: var(--green); }

/* Surtitre avec liseré jaune */
.rsoft-eyebrow {
	display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem;
	color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1rem; text-transform: uppercase;
}
.rsoft-eyebrow > span { width: 1.75rem; height: 1px; background: var(--yellow); flex: none; }
.rsoft-eyebrow--light { color: rgb(255 255 255 / 65%); }

.page-kicker { color: var(--green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.page-kicker--yellow { color: var(--yellow); }

.section-title {
	font-size: clamp(2.5rem, 4.5vw, 4.5rem); line-height: 1; letter-spacing: -0.045em; margin-top: 1.25rem;
}

/* Drapeau français */
.rsoft-flag { display: flex; width: 3rem; flex: none; }
.rsoft-flag i { flex: 1; }
.rsoft-flag i:nth-child(1) { background: #1f4f9f; }
.rsoft-flag i:nth-child(2) { background: #fff; }
.rsoft-flag i:nth-child(3) { background: #e33b43; }
.rsoft-flag--lg { height: 2rem; overflow: hidden; border: 1px solid rgb(0 82 62 / 10%); border-radius: 0.375rem; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }

/* Capture logicielle : entière, ratio natif, centrée */
.rsoft-capture { width: 100%; height: auto; object-fit: contain; object-position: center; }

/* Composition éditoriale NEWGED (pas une interface) */
.doc-illustration {
	position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 20rem;
	overflow: hidden; padding: 8%; border-radius: 0.75rem; background: var(--light); color: var(--green);
}
.doc-illustration__ring { position: absolute; right: -3rem; top: -3rem; width: 16rem; height: 16rem; border: 1px solid rgb(0 82 62 / 15%); border-radius: 50%; }
.doc-illustration__eyebrow { position: relative; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.doc-illustration__title { position: relative; margin-top: 1.75rem; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; }
.doc-illustration--compact .doc-illustration__title { font-size: clamp(1.8rem, 3vw, 3rem); }
.doc-illustration__title span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.doc-illustration__text { position: relative; max-width: 25rem; margin-top: 2rem; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* Fil d'Ariane */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* Image d'article absente : aplat de marque neutre, jamais une capture produit */
.post-placeholder {
	display: block; width: 100%; height: 100%; min-height: 10rem;
	background: radial-gradient(circle at 80% 20%, rgb(254 207 0 / 22%), transparent 40%), linear-gradient(135deg, var(--light), var(--surface-alt));
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }

.site-banner { background: var(--green); color: #fff; }
.site-banner__inner {
	display: flex; align-items: center; justify-content: center; gap: 0.75rem;
	min-height: 2.5rem; max-width: var(--container); margin-inline: auto; padding: 0.5rem var(--gutter); text-align: center;
}
.site-banner p { font-size: 0.7rem; font-weight: 600; line-height: 1.25; }
.site-banner__accent { color: var(--yellow); }
.site-banner__accent, .site-banner__sep { display: none; }
@media (min-width: 40rem) {
	.site-banner__inner { gap: 1.25rem; }
	.site-banner p { font-size: 0.75rem; }
	.site-banner__accent, .site-banner__sep { display: inline; }
}

.site-header__chrome { padding: 1rem 1.25rem; pointer-events: none; transition: padding 0.5s ease-out; }
@media (min-width: 48rem) { .site-header__chrome { padding-inline: 2.5rem; } }
@media (min-width: 80rem) { .site-header__chrome { padding-inline: 4rem; } }
.site-header__bar {
	pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	height: 4.75rem; max-width: var(--container); margin-inline: auto; padding: 0 0.875rem 0 1.25rem;
	border: 1px solid rgb(255 255 255 / 70%); border-radius: 999px; background: rgb(255 255 255 / 90%);
	box-shadow: var(--shadow-header); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
	transition: max-width 0.58s var(--ease), height 0.58s var(--ease), padding 0.58s var(--ease);
}
.is-scrolled .site-header__chrome { padding-block: 0.5rem; }
.is-scrolled .site-header__bar { height: 4rem; max-width: 88rem; padding-right: 0.625rem; }

.site-logo { display: block; width: 9.75rem; flex: none; transition: width 0.5s ease-out, transform 0.5s ease-out; }
.site-logo:hover { transform: scale(1.02); }
.site-logo img { width: 100%; height: auto; }
.is-scrolled .site-header .site-logo { width: 8.25rem; }
.site-logo--light img { filter: brightness(0) invert(1); }

.site-nav { display: none; }
@media (min-width: 80rem) {
	.site-nav {
		display: block; height: 2.75rem; flex: none; padding: 0.25rem;
		border: 1px solid rgb(0 82 62 / 10%); border-radius: 999px; background: rgb(0 82 62 / 4.5%);
		transition: transform 0.5s;
	}
	.is-scrolled .site-nav { transform: scale(0.95); }
}
.site-nav__list { display: flex; height: 100%; align-items: center; }
.site-nav__item { position: relative; display: flex; height: 100%; align-items: center; }
.site-nav__item.has-children::after { content: ""; position: absolute; inset: 100% 0 auto; height: 0.75rem; }
.site-nav__link {
	position: relative; display: grid; height: 100%; place-items: center; padding-inline: 1rem;
	border-radius: 999px; color: rgb(0 82 62 / 70%); font-size: 0.76rem; font-weight: 600; line-height: 1;
	transition: color 0.3s, background-color 0.3s;
}
.has-children .site-nav__link { padding-right: 0.25rem; }
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--green); background: rgb(254 207 0 / 20%); }
.is-scrolled .site-nav__link { padding-inline: 0.75rem; font-size: 0.72rem; }
.is-scrolled .has-children .site-nav__link { padding-right: 0.25rem; }
.site-nav__toggle {
	display: grid; place-items: center; width: 1.5rem; height: 1.75rem; margin-right: 0.5rem; padding: 0 0 0.35rem;
	border: 0; border-radius: 999px; background: none; color: rgb(0 82 62 / 70%); font-size: 0.875rem; line-height: 1; cursor: pointer;
	transition: transform 0.3s;
}
.site-nav__item:hover .site-nav__toggle, .site-nav__toggle[aria-expanded="true"] { transform: rotate(180deg); padding: 0.35rem 0 0; }
.site-nav__submenu {
	position: absolute; left: 50%; top: calc(100% + 0.75rem); width: 16rem; padding: 0.5rem;
	border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: rgb(255 255 255 / 95%);
	box-shadow: var(--shadow-menu); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
	visibility: hidden; opacity: 0; transform: translate(-50%, 0.5rem);
	transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.site-nav__item:hover .site-nav__submenu,
.site-nav__item:focus-within .site-nav__submenu,
.site-nav__toggle[aria-expanded="true"] + .site-nav__submenu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.site-nav__item.is-dismissed .site-nav__submenu { visibility: hidden; opacity: 0; }
.site-nav__submenu a { display: flex; flex-direction: column; padding: 0.625rem 0.75rem; border-radius: 0.75rem; transition: background-color 0.3s; }
.site-nav__submenu a:hover, .site-nav__submenu a:focus-visible, .site-nav__submenu a[aria-current="page"] { background: rgb(0 82 62 / 5%); }
.site-nav__submenu strong { color: var(--ink); font-size: 0.75rem; }
.site-nav__submenu span { margin-top: 0.125rem; color: var(--muted); font-size: 0.65rem; }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__portal { display: none; padding: 0.5rem 0.75rem; border-radius: 999px; color: rgb(0 82 62 / 70%); font-size: 0.75rem; font-weight: 600; }
.site-header__portal:hover { background: rgb(0 82 62 / 5%); color: var(--green); }
@media (min-width: 80rem) { .site-header__portal { display: block; } }
.site-header__cta { display: none; }
@media (min-width: 40rem) { .site-header__cta { display: inline-flex; } }
.is-scrolled .site-header__cta { height: 2.5rem; padding-inline: 1rem; font-size: 0.75rem; }

.menu-button {
	display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
	border: 1px solid rgb(0 82 62 / 10%); border-radius: 999px; background: #fff; color: var(--green); cursor: pointer;
	transition: border-color 0.3s, background-color 0.3s;
}
.menu-button:hover { border-color: var(--yellow); background: rgb(254 207 0 / 15%); }
.menu-button__icon { position: relative; display: block; width: 1.25rem; height: 1.25rem; }
.menu-button__icon i { position: absolute; left: 0; width: 1.25rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s; }
.menu-button__icon i:first-child { top: 0.375rem; }
.menu-button__icon i:last-child { top: 0.875rem; }
.menu-button[aria-expanded="true"] .menu-button__icon i:first-child { transform: translateY(0.25rem) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__icon i:last-child { transform: translateY(-0.25rem) rotate(-45deg); }
@media (min-width: 80rem) { .menu-button, .mobile-nav { display: none !important; } }

.mobile-nav {
	max-width: 88rem; max-height: calc(100svh - 9.5rem); overflow-y: auto; margin: 0 1.25rem; padding: 0.75rem;
	border: 1px solid rgb(255 255 255 / 70%); border-radius: 1.5rem; background: rgb(255 255 255 / 97%);
	box-shadow: 0 1.125rem 3.75rem rgb(0 50 38 / 16%); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
	overscroll-behavior: contain;
}
@media (min-width: 48rem) { .mobile-nav { margin-inline: auto; width: calc(100% - 5rem); } }
.mobile-nav[hidden] { display: none; }
.js-motion .mobile-nav:not([hidden]) { animation: menu-in 0.45s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-0.5rem); clip-path: inset(0 0 100% 0 round 1.5rem); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 1.5rem); } }
.mobile-nav__list > ul { display: grid; gap: 0.25rem; }
.mobile-nav__link { display: block; padding: 0.75rem 1rem; border-radius: 1rem; font-size: 1rem; font-weight: 600; }
.mobile-nav__link:hover, .mobile-nav__link[aria-current="page"] { background: rgb(0 82 62 / 5%); }
.mobile-nav__children { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; padding: 0 0.5rem 0.5rem; }
.mobile-nav__children a { display: block; padding: 0.5rem 0.75rem; border-radius: 0.75rem; background: rgb(0 82 62 / 3.5%); color: var(--green); font-size: 0.75rem; font-weight: 600; }
.mobile-nav__children a:hover { background: rgb(254 207 0 / 15%); }
.mobile-nav__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.5rem; margin-top: 0.5rem; }
.mobile-nav__primary, .mobile-nav__secondary { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1rem; border-radius: 1rem; font-size: 0.875rem; font-weight: 600; }
.mobile-nav__primary { background: var(--green); color: #fff; }
.mobile-nav__primary:hover { background: var(--forest); }
.mobile-nav__secondary { border: 1px solid rgb(0 82 62 / 10%); color: var(--green); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { padding: 5rem 0 1.5rem; background: var(--green); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 64rem) {
	.site-footer__grid { grid-template-columns: 1.7fr repeat(3, 1fr); gap: 5vw; }
	.site-footer__brand { grid-column: auto; }
}
.site-footer .site-logo { width: 11.5625rem; }
.site-footer__brand p { max-width: 21.25rem; margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.6; }
.site-footer__mail { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.75rem; }
.site-footer__phone { display: block; width: fit-content; margin-top: 0.75rem; font-size: 0.875rem; }
.site-footer__mail:hover, .site-footer__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__title { margin-bottom: 1.25rem; color: var(--gold); font-family: var(--font-sans); font-size: 0.65rem; font-weight: 400; letter-spacing: 0.08rem; text-transform: uppercase; }
.site-footer__group ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__group a { color: rgb(255 255 255 / 80%); font-size: 0.875rem; transition: color 0.3s; }
.site-footer__group a:hover { color: var(--yellow); }
.site-footer a:focus-visible { outline-color: var(--yellow); }
.site-footer__bottom {
	display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 5rem; padding-top: 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 10%); font-size: 0.61rem; letter-spacing: 0.05rem; text-transform: uppercase;
}
.site-footer__bottom nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__bottom a:hover { text-decoration: underline; }
@media (min-width: 40rem) { .site-footer__bottom nav { flex-direction: row; gap: 1.5rem; } }
@media (min-width: 64rem) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
/* Le conteneur du pied de page reprend la largeur commune. */
.site-footer .container { padding-inline: var(--gutter); }

/* Retour en haut */
.back-to-top {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center;
	width: 3rem; height: 3rem; border-radius: 999px; background: var(--forest); color: var(--yellow);
	box-shadow: var(--shadow-green); opacity: 0; visibility: hidden; transform: translateY(0.75rem);
	transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background-color 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--green); }
.back-to-top:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
html:not(.js) .back-to-top { display: none; }

/* --------------------------------------------------------------------------
   Animations (amélioration progressive)
   -------------------------------------------------------------------------- */
.js-motion [data-reveal] {
	opacity: 0; transform: translateY(1.75rem);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-motion [data-reveal-delay="1"] { transition-delay: 0.12s; }
/* Premier écran : jamais invisible, apparition courte (comme l'animation « reveal » du site actuel). */
.js-motion .hero [data-reveal]:not(.is-visible), .js-motion .page-hero [data-reveal]:not(.is-visible), .js-motion .solutions-hero [data-reveal]:not(.is-visible), .js-motion .product-hero [data-reveal]:not(.is-visible), .js-motion .blog-list__head:not(.is-visible), .js-motion .article__header [data-reveal]:not(.is-visible) { opacity: 0.25; }
.js-motion [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 47.99rem) {
	.js-motion [data-reveal] { transform: translateY(1rem); transition-duration: 0.55s; }
	.js-motion [data-reveal-delay="1"] { transition-delay: 0s; }
}
[data-draw-line] { transform-origin: left center; }
.js-motion [data-draw-line] { transform: scaleX(0); transition: transform 1.2s var(--ease) 0.2s; }
.js-motion .is-visible [data-draw-line], .js-motion [data-draw-line].is-visible { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   ACCUEIL
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: var(--header-height); background: var(--light); color: var(--ink); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 2.5rem 2.5rem;
	-webkit-mask-image: linear-gradient(to right, #000, transparent 82%); mask-image: linear-gradient(to right, #000, transparent 82%);
}
.hero__glow { position: absolute; left: -14rem; top: 18%; width: 30rem; height: 30rem; border-radius: 50%; background: rgb(255 255 255 / 70%); filter: blur(6rem); }
.hero__ring { position: absolute; border-radius: 50%; }
.hero__ring--green { right: -8rem; top: 10rem; width: 32.5rem; height: 32.5rem; border: 1px solid rgb(0 82 62 / 10%); }
.hero__ring--yellow { right: -2.5rem; top: 14rem; width: 22.5rem; height: 22.5rem; border: 1px solid rgb(254 207 0 / 35%); }
.hero__dot { position: absolute; right: 18%; top: 28%; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0.4375rem rgb(254 207 0 / 12%); }
@media (min-width: 64rem) {
	.hero { display: flex; min-height: 100svh; align-items: center; }
	.hero__ring--green { right: -5rem; width: 43.75rem; height: 43.75rem; }
	.hero__ring--yellow { right: 5rem; width: 29.375rem; height: 29.375rem; }
}
.hero__inner { position: relative; z-index: 1; display: grid; align-items: center; gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 64rem) {
	.hero__inner { grid-template-columns: 1fr 1fr; padding-block: clamp(1rem, 2.5svh, 2.5rem); }
}
@media (min-width: 80rem) { .hero__inner { gap: 4rem; } }
.hero__copy { max-width: 42rem; min-width: 0; }

.french-signature {
	display: inline-flex; align-items: stretch; margin-bottom: 1.25rem; overflow: hidden;
	border: 1px solid rgb(0 82 62 / 15%); border-radius: 0.75rem; background: #fff; box-shadow: 0 0.75rem 2.5rem rgb(0 82 62 / 10%);
}
.french-signature__flag { border-right: 1px solid rgb(0 82 62 / 10%); }
.french-signature__text { padding: 0.625rem 1rem; }
.french-signature strong { display: block; color: var(--green); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.075rem; text-transform: uppercase; }
.french-signature small { display: block; margin-top: 0.125rem; color: var(--muted); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.06rem; text-transform: uppercase; }

.hero__title {
	max-width: 100%; font-size: clamp(2.1rem, 10.8vw, 2.75rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.04rem;
}
@media (min-width: 40rem) { .hero__title { font-size: 3.25rem; } }
@media (min-width: 64rem) { .hero__title { font-size: clamp(3rem, 7.2svh, 4.5rem); } }
.hero__words { position: relative; display: inline-grid; max-width: 100%; justify-items: start; overflow: hidden; padding-inline: 0.12em; vertical-align: bottom; }
.hero__measure { grid-area: 1 / 1; visibility: hidden; }
.hero__word {
	position: absolute; inset: 0; color: var(--green); visibility: hidden; opacity: 0;
	transform: translateY(105%); filter: blur(0.5rem);
}
.hero__word.is-active { visibility: visible; opacity: 1; transform: none; filter: none; }
.js-motion .hero__word { transition: transform 0.62s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.62s, filter 0.62s, visibility 0s 0.62s; }
.js-motion .hero__word.is-active { transition: transform 0.62s cubic-bezier(0.215, 0.61, 0.355, 1) 0.08s, opacity 0.62s 0.08s, filter 0.62s 0.08s, visibility 0s; }
.js-motion .hero__word.is-leaving { visibility: visible; opacity: 0; transform: translateY(-105%); filter: blur(0.5rem); transition: transform 0.48s cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0.48s, filter 0.48s; }
.hero__title-line { display: block; margin-top: 0.25rem; }
.hero__title-line em { color: var(--gold); }

.hero__lead { max-width: 40rem; margin-top: 1.25rem; font-family: var(--font-display); font-size: clamp(1.125rem, 1.7vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.025rem; }
.hero__text { max-width: 39rem; margin-top: 1rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 96rem) { .hero__text { font-size: 1rem; } }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .hero__actions { flex-direction: row; align-items: center; gap: 1.75rem; } }
.hero__secondary {
	display: inline-flex; align-items: center; gap: 0.75rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--green);
	color: var(--green); font-size: 0.875rem; font-weight: 700; transition: color 0.3s, border-color 0.3s;
}
.hero__secondary:hover { color: var(--gold); border-color: var(--gold); }
.hero__audiences {
	display: grid; gap: 1px; max-width: 41rem; margin-top: 1.5rem; overflow: hidden;
	border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: rgb(0 82 62 / 10%);
}
@media (min-width: 40rem) { .hero__audiences { grid-template-columns: 1fr 1fr; } }
.hero__audiences > div { padding: 0.5rem 1.25rem; background: rgb(255 255 255 / 75%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero__audiences strong { display: block; color: var(--green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.07rem; text-transform: uppercase; }
.hero__audiences span { display: block; margin-top: 0.375rem; color: var(--muted); font-size: 0.875rem; line-height: 1.375; }

.hero__media { min-width: 0; }
.hero__media > * + * { margin-top: 1rem; }
@media (min-width: 64rem) { .hero__media { width: 100%; max-width: min(100%, 60svh); margin-inline: auto; } }

/* Captures superposées : positions validées du site actuel */
.showcase { position: relative; width: 100%; max-width: 95%; margin-inline: auto; aspect-ratio: 0.98; }
@media (min-width: 64rem) { .showcase { aspect-ratio: 1.08; } }
.showcase__line { position: absolute; border-radius: 1.6rem; pointer-events: none; }
.showcase__line--green { inset: 3% 2% 14% 8%; transform: rotate(-3.5deg); border: 1px solid rgb(0 82 62 / 55%); }
.showcase__line--yellow { inset: 10% 8% 7% 2%; transform: rotate(3deg); border: 1px solid var(--yellow); }

.screen {
	display: grid; grid-template-rows: 2rem minmax(0, 1fr); margin: 0; padding: 0.5rem;
	border: 1px solid rgb(0 82 62 / 15%); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-screen);
}
.screen figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; min-height: 1.5rem; margin-bottom: 0.5rem; padding-inline: 0.25rem; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05rem; }
.screen figcaption i { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--yellow); }
.screen figcaption small { margin-left: auto; color: var(--muted); font-size: 0.55rem; font-weight: 500; letter-spacing: 0; }
.screen .rsoft-capture { width: 100%; height: 100%; min-height: 0; }
.showcase__main { position: absolute; right: 1%; top: 6%; z-index: 2; width: 94%; height: 62%; transform: rotate(1deg); }
.showcase__secondary { position: absolute; right: 1%; bottom: 3%; z-index: 3; width: 58%; height: 46%; }
@media (min-width: 64rem) {
	.showcase__main { top: 10%; width: 88%; height: 67%; }
	.showcase__secondary { right: 2%; bottom: 4%; width: 47%; }
}
.showcase__caption {
	position: absolute; left: 0; bottom: 8%; z-index: 4; display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem;
	border-radius: 999px; background: rgb(255 255 255 / 90%); color: var(--green); font-size: 0.62rem; font-weight: 600; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%);
}
.showcase__caption i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0.25rem rgb(254 207 0 / 15%); }
@media (min-width: 64rem) { .showcase__caption { left: 3%; bottom: 9%; } }
.showcase__badge {
	position: absolute; left: 0; top: 0; z-index: 5; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem;
	border: 1px solid rgb(254 207 0 / 70%); border-radius: 999px; background: var(--forest); color: #fff;
	font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05rem; line-height: 1.25; text-transform: uppercase; box-shadow: var(--shadow-green);
}
.showcase__badge-dot { position: relative; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--yellow); }
.showcase__badge-dot span { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--green); }
.js-motion .showcase__badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--yellow); animation: badge-pulse 2.4s ease-out infinite; }
@keyframes badge-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }

.invoice-signal {
	position: relative; display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 34rem; margin-inline: auto; padding: 0.875rem;
	overflow: hidden; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: rgb(255 255 255 / 90%);
	box-shadow: 0 1rem 3rem rgb(0 82 62 / 10%); transition: box-shadow 0.5s, border-color 0.5s;
}
.invoice-signal:hover { border-color: rgb(254 207 0 / 60%); box-shadow: 0 1.5rem 3.5rem rgb(0 82 62 / 16%); }
@media (min-width: 40rem) { .invoice-signal { gap: 1.25rem; padding: 1rem; } }
.invoice-signal__accent { position: absolute; right: -2.5rem; top: -2.5rem; width: 6rem; height: 6rem; border: 1px solid rgb(254 207 0 / 50%); border-radius: 50%; opacity: 0; transition: all 0.5s; }
.invoice-signal:hover .invoice-signal__accent { right: -1.5rem; top: -1.5rem; opacity: 1; }
.invoice-signal__logo { position: relative; flex: none; padding: 0.625rem 0.75rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 0.75rem; background: #fff; transition: transform 0.5s; }
.invoice-signal:hover .invoice-signal__logo { transform: scale(1.03); }
.invoice-signal__logo img { width: 7.5rem; }
@media (min-width: 40rem) { .invoice-signal__logo img { width: 9rem; } }
.invoice-signal strong { display: block; color: var(--green); font-size: 0.75rem; font-weight: 800; }
.invoice-signal p { margin-top: 0.25rem; color: var(--muted); font-size: 0.68rem; line-height: 1.6; }
@media (min-width: 40rem) { .invoice-signal p { font-size: 0.75rem; } }

/* Index des solutions ------------------------------------------------------ */
.solutions-index { padding-block: clamp(3.5rem, 6vw, 6rem); background: #fff; scroll-margin-top: 6rem; }
.solutions-index__head { display: grid; gap: 1.5rem; margin-bottom: 2.25rem; }
@media (min-width: 64rem) { .solutions-index__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; margin-bottom: 3rem; } .solutions-index__intro { justify-self: end; } }
.solutions-index__kicker { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.solutions-index__title { margin-top: 0.75rem; font-size: clamp(2.25rem, 3.5vw, 3.5rem); line-height: 1.1; letter-spacing: -0.06rem; }
.solutions-index__title span { color: var(--green); }
.solutions-index__intro p { max-width: 30rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.solutions-index__intro .rsoft-link { margin-top: 1rem; }
.solutions-index__list { border-top: 1px solid rgb(0 82 62 / 15%); }
.solution-row { border-bottom: 1px solid rgb(0 82 62 / 10%); }
.solution-row a {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 2rem; align-items: center; gap: 0 1.25rem;
	min-height: 7rem; padding-block: 1.5rem; transition: background-color 0.3s;
}
.solution-row a:hover, .solution-row a:focus-visible { background: rgb(244 241 234 / 60%); }
@media (min-width: 40rem) { .solution-row a { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) 2rem; gap: 0 2.5rem; } }
@media (min-width: 64rem) { .solution-row a { min-height: 8rem; padding-block: 1.75rem; } }
.solution-row__name { min-width: 0; }
.solution-row h3 { color: var(--green); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.25; letter-spacing: -0.035rem; }
.solution-row__name p { margin-top: 0.5rem; color: var(--muted); font-size: 0.75rem; line-height: 1.375; }
.solution-row__detail { grid-column: 1; grid-row: 2; min-width: 0; margin-top: 0.75rem; }
@media (min-width: 40rem) { .solution-row__detail { grid-column: 2; grid-row: 1; margin-top: 0; } }
.solution-row__detail p { max-width: 38rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.solution-row__detail .solution-row__features { margin-top: 0.5rem; color: var(--ink); font-size: 0.75rem; }
.solution-row__arrow { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--green); transition: transform 0.3s; }
@media (min-width: 40rem) { .solution-row__arrow { grid-column: 3; } }
.solution-row a:hover .solution-row__arrow { transform: translateX(0.25rem); }

/* Présentations produits -------------------------------------------------- */
.product-panel { position: relative; overflow: hidden; padding-block: clamp(6rem, 11vw, 10rem); }
@media (min-width: 64rem) {
	.product-panel { display: flex; min-height: 100svh; align-items: center; padding-block: 5rem; border-top: 1px solid rgb(255 255 255 / 20%); border-radius: 2rem 2rem 0 0; }
	.product-panel + .product-panel { margin-top: -2rem; }
}
.product-panel--light { background: var(--light); }
.product-panel--dark { background: var(--evergreen); color: #fff; }
.product-panel--white { background: #fff; }
.product-panel__deco span { position: absolute; top: 50%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.product-panel__deco span:first-child { right: -9rem; width: 32.5rem; border: 1px solid rgb(0 82 62 / 10%); }
.product-panel__deco span:last-child { right: -2rem; width: 18.75rem; border: 1px solid rgb(254 207 0 / 45%); }
.product-panel--dark .product-panel__deco span:first-child { border-color: rgb(254 207 0 / 15%); }
.product-panel--dark .product-panel__deco span:last-child { border-color: rgb(255 255 255 / 10%); }
.product-panel__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3.5rem; }
@media (min-width: 64rem) {
	.product-panel__inner { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(3rem, 5vw, 6rem); }
	.product-panel--reversed .product-panel__inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
	.product-panel--reversed .product-panel__copy { order: 2; }
	.product-panel--reversed .product-panel__visual { order: 1; }
	.product-panel__visual .product-visual { transform: perspective(87.5rem) rotateY(-3deg); }
	.product-panel--reversed .product-panel__visual .product-visual { transform: perspective(87.5rem) rotateY(3deg); }
}
.product-panel__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.product-panel__index { color: var(--green); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1rem; }
.product-panel__rule { width: 2.5rem; height: 1px; background: rgb(0 82 62 / 20%); }
.product-panel__category { color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09rem; text-transform: uppercase; }
.product-panel__name { color: var(--green); font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; letter-spacing: 0.09rem; }
.product-panel__title { max-width: 38.75rem; margin-top: 1.25rem; font-size: clamp(2.25rem, 3.4vw, 3.25rem); line-height: 1.02; letter-spacing: -0.04rem; }
.product-panel__text { max-width: 36.25rem; margin-top: 1.75rem; color: var(--muted); font-size: 1rem; line-height: 1.625; }
.product-panel__features { display: grid; gap: 1rem 2rem; margin-top: 2.25rem; }
@media (min-width: 40rem) { .product-panel__features { grid-template-columns: 1fr 1fr; } }
.product-panel__features li { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid rgb(0 82 62 / 15%); font-size: 0.875rem; font-weight: 600; }
.product-panel__features .rsoft-icon { color: var(--green); }
.product-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.product-panel__more { color: var(--green); font-size: 0.875rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.product-panel--dark .product-panel__index, .product-panel--dark .product-panel__name, .product-panel--dark .product-panel__features .rsoft-icon { color: var(--yellow); }
.product-panel--dark .product-panel__rule { background: rgb(255 255 255 / 25%); }
.product-panel--dark .product-panel__category { color: rgb(255 255 255 / 55%); }
.product-panel--dark .product-panel__text { color: rgb(255 255 255 / 65%); }
.product-panel--dark .product-panel__features li { border-color: rgb(255 255 255 / 15%); }
.product-panel--dark .product-panel__more { color: #fff; }
.product-panel__visual { min-width: 0; }

.product-visual { position: relative; padding: 0.75rem; border: 1px solid rgb(0 82 62 / 20%); border-radius: 1.15rem; background: #fff; color: var(--ink); box-shadow: var(--shadow-card); }
@media (min-width: 40rem) { .product-visual { padding: 1rem; } }
.product-visual__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; padding-inline: 0.25rem; color: var(--green); font-size: 0.75rem; font-weight: 700; }
.product-visual__head span:last-child { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.product-visual__head i { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--yellow); }

/* NEWFACT / NEWCOMPTA ------------------------------------------------------ */
.workflow { padding-block: clamp(4rem, 7vw, 7rem); background: var(--cream); }
.workflow__head { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .workflow__head { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 4rem; } }
.workflow__title { max-width: 45rem; margin-top: 1.25rem; font-size: clamp(2.1rem, 3.6vw, 3.75rem); line-height: 1.05; letter-spacing: -0.06rem; }
.workflow__title span { color: var(--green); }
.workflow__head > p { max-width: 35rem; color: var(--muted); line-height: 1.625; }
.workflow__board { position: relative; margin-top: 3rem; padding: 1rem; border: 1px solid rgb(0 82 62 / 15%); border-radius: 2rem; background: var(--forest); }
@media (min-width: 40rem) { .workflow__board { padding: 1.75rem; } }
@media (min-width: 64rem) { .workflow__board { padding: 2.25rem; } }
.workflow__connection { position: relative; display: flex; align-items: center; justify-content: center; padding: 1.25rem 0 2.25rem; }
.workflow__line { position: absolute; left: 0.75rem; right: 0.75rem; top: calc(50% - 0.5rem); height: 1px; background: rgb(254 207 0 / 50%); }
.workflow__connection p { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; border: 1px solid rgb(255 255 255 / 15%); border-radius: 999px; background: var(--forest); color: #fff; font-size: 0.75rem; font-weight: 600; text-align: center; }
@media (min-width: 40rem) { .workflow__connection p { font-size: 0.875rem; } }
.workflow__connection p span { color: var(--yellow); }
.workflow__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 64rem) { .workflow__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.workflow__stage { min-width: 0; padding: 1rem; border-radius: 1.5rem; background: #fff; }
@media (min-width: 40rem) { .workflow__stage { padding: 1.5rem; } }
.workflow__stage-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.25rem; }
.workflow__stage-head p { color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.workflow__stage-head h3 { margin-top: 0.25rem; color: var(--green); font-size: 1.5rem; font-weight: 600; }
.workflow__stage-head a { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.75rem; color: var(--green); font-size: 0.875rem; font-weight: 700; }
.workflow__stage-head a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Cadres strictement identiques pour les deux captures */
.workflow__screen { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 0.75rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 0.75rem; background: var(--light); }
@media (min-width: 40rem) { .workflow__screen { padding: 1rem; } }
.workflow__screen .rsoft-capture { width: 100%; height: 100%; }
.workflow__text { max-width: 32rem; margin-top: 1.25rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.workflow__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgb(0 82 62 / 10%); color: var(--green); font-size: 0.75rem; font-weight: 600; }
.workflow__tags li { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 999px; background: var(--light); }
.workflow__tags i { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--yellow); }
.workflow__note { max-width: 48rem; margin: 1.75rem auto 0; color: rgb(255 255 255 / 65%); font-size: 0.75rem; line-height: 1.625; text-align: center; }

/* Entreprise --------------------------------------------------------------- */
.company { position: relative; overflow: hidden; padding-block: clamp(5rem, 8vw, 7.5rem); background: var(--cream); }
.company__inner { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .company__inner { grid-template-columns: 0.75fr 1.25fr; align-items: center; gap: clamp(3rem, 5vw, 6rem); } }
.company__brand { position: relative; min-width: 0; overflow: hidden; padding: 2.5rem 1.75rem; border-radius: 1.75rem; background: var(--forest); color: #fff; box-shadow: var(--shadow-screen); }
@media (min-width: 40rem) { .company__brand { padding: 3rem 2.5rem; } }
@media (min-width: 64rem) { .company__brand { padding: 3.5rem 3rem; } }
.company__ring { position: absolute; right: -6rem; bottom: -6rem; width: 18rem; height: 18rem; border: 1px solid rgb(254 207 0 / 20%); border-radius: 50%; }
.company__ring::after { content: ""; position: absolute; inset: 24%; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; }
.company__logo { width: 10rem; filter: brightness(0) invert(1); }
@media (min-width: 40rem) { .company__logo { width: 12rem; } }
.company__motto { max-width: 20rem; margin-top: 3.5rem; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 500; line-height: 0.94; letter-spacing: -0.09rem; color: rgb(255 255 255 / 95%); }
.company__motto em { color: var(--yellow); }
.company__brand-text { max-width: 19rem; margin-top: 2rem; color: rgb(255 255 255 / 60%); font-size: 0.875rem; line-height: 1.625; }
.company__signature { position: absolute; right: 1.75rem; bottom: 1.75rem; color: var(--yellow); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.company__eyebrow { display: flex; align-items: center; gap: 1rem; }
.company__eyebrow .rsoft-eyebrow { margin-bottom: 0; }
.company__title { max-width: 43rem; margin-top: 1.5rem; font-size: clamp(2.45rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -0.09rem; }
.company__lead { max-width: 44rem; margin-top: 1.75rem; color: var(--muted); font-size: 1.125rem; line-height: 1.625; }
.company__list { margin-top: 2.5rem; border-top: 1px solid rgb(0 82 62 / 20%); }
.company__list article { display: grid; gap: 0.75rem; padding-block: 1.5rem; border-bottom: 1px solid rgb(0 82 62 / 20%); }
@media (min-width: 40rem) { .company__list article { grid-template-columns: 2.75rem 0.8fr 1.2fr; align-items: start; } }
.company__list span { color: var(--gold); font-size: 0.62rem; font-weight: 800; }
.company__list h3 { color: var(--green); font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.company__list p { color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.company__copy .rsoft-link { margin-top: 2rem; }

/* Facturation électronique ------------------------------------------------- */
.invoice { position: relative; z-index: 2; padding-bottom: clamp(5rem, 8vw, 7.5rem); background: var(--cream); scroll-margin-top: 7rem; }
.invoice__card { display: grid; overflow: hidden; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.75rem; background: #fff; box-shadow: 0 1.25rem 3.5rem rgb(0 50 38 / 9%); }
@media (min-width: 64rem) { .invoice__card { grid-template-columns: 0.65fr 1.35fr; } }
.invoice__logo { position: relative; display: flex; min-height: 11rem; align-items: center; justify-content: center; overflow: hidden; padding: 1.75rem; border-bottom: 1px solid rgb(0 82 62 / 10%); background: var(--light); }
@media (min-width: 40rem) { .invoice__logo { padding: 2.25rem; } }
@media (min-width: 64rem) { .invoice__logo { border-bottom: 0; border-right: 1px solid rgb(0 82 62 / 10%); } }
.invoice__accent { position: absolute; left: -3rem; top: -3rem; width: 8rem; height: 8rem; border: 1px solid rgb(254 207 0 / 50%); border-radius: 50%; opacity: 0; transition: all 0.5s; }
.invoice__logo:hover .invoice__accent { left: -1.5rem; top: -1.5rem; opacity: 1; }
.invoice__logo-card { position: relative; padding: 1.25rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: #fff; transition: transform 0.5s, box-shadow 0.5s; }
.invoice__logo:hover .invoice__logo-card { transform: scale(1.035); box-shadow: var(--shadow-green); }
.invoice__logo-card img { width: 100%; max-width: 18rem; }
.invoice__copy { display: grid; gap: 1.5rem; padding: 1.75rem; }
@media (min-width: 40rem) { .invoice__copy { padding: 2.5rem; } }
@media (min-width: 64rem) { .invoice__copy { grid-template-columns: 1fr auto; align-items: center; padding-inline: 3rem; } }
.invoice__kicker { color: #8a6d00; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.invoice__copy h2 { max-width: 37rem; margin-top: 0.75rem; font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -0.05rem; }
.invoice__copy p:not(.invoice__kicker) { max-width: 39rem; margin-top: 1rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }

/* Assistant IA ------------------------------------------------------------- */
.ai { position: relative; overflow: hidden; padding-block: clamp(6rem, 10vw, 9.5rem); background: var(--surface-alt); }
@media (min-width: 64rem) { .ai { display: flex; min-height: 100svh; align-items: center; } }
.ai__bg { position: absolute; inset: 0; pointer-events: none; }
.ai__grid { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgb(0 82 62 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(0 82 62 / 6%) 1px, transparent 1px); background-size: 3rem 3rem; -webkit-mask-image: linear-gradient(to left, #000, transparent 78%); mask-image: linear-gradient(to left, #000, transparent 78%); }
.ai__orbit { position: absolute; top: 50%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); }
.ai__orbit--green { right: -12rem; width: 38rem; border: 1px solid rgb(0 82 62 / 15%); }
.ai__orbit--yellow { right: 6rem; width: 21rem; border: 1px solid rgb(254 207 0 / 60%); }
.ai__inner { position: relative; display: grid; align-items: center; gap: 3.5rem; }
@media (min-width: 64rem) { .ai__inner { grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 5vw, 6rem); } }
.ai__title { max-width: 41rem; margin-top: 1.5rem; font-size: clamp(2.45rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -0.09rem; }
.ai__title em { color: var(--green); }
.ai__lead { max-width: 39rem; margin-top: 1.75rem; color: var(--muted); line-height: 1.625; }
@media (min-width: 40rem) { .ai__lead { font-size: 1.125rem; } }
.ai__benefits { max-width: 38rem; margin-top: 2rem; border-block: 1px solid rgb(0 82 62 / 15%); }
.ai__benefits li { display: grid; grid-template-columns: 2rem 1fr; align-items: start; gap: 0.75rem; padding-block: 1rem; border-bottom: 1px solid rgb(0 82 62 / 15%); }
.ai__benefits li:last-child { border-bottom: 0; }
.ai__benefits span { color: var(--gold); font-size: 0.62rem; font-weight: 800; line-height: 2; }
.ai__benefits p { font-size: 0.875rem; font-weight: 600; line-height: 1.625; }
.ai__quote { max-width: 38rem; margin-top: 1.5rem; padding-left: 1.25rem; border-left: 2px solid var(--yellow); color: var(--green); font-size: 0.875rem; font-weight: 700; line-height: 1.625; }
.ai__copy .rsoft-link { margin-top: 2.25rem; }
.ai__visual { position: relative; width: 100%; max-width: 44rem; min-width: 0; margin-inline: auto; }
.ai__panel { overflow: hidden; padding: 1rem; border: 1px solid rgb(0 82 62 / 15%); border-radius: 1.75rem; background: rgb(255 255 255 / 90%); box-shadow: var(--shadow-screen); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
@media (min-width: 40rem) { .ai__panel { padding: 1.5rem; } }
.ai__panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid rgb(0 82 62 / 10%); }
.ai__panel-head p { display: flex; align-items: center; gap: 0.5rem; color: var(--green); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08rem; }
.ai__panel-head i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--yellow); }
.ai__panel-head span { padding: 0.25rem 0.75rem; border: 1px solid rgb(0 82 62 / 15%); border-radius: 999px; background: var(--light); color: var(--muted); font-size: 0.58rem; }
.ai__prompt { width: 100%; max-width: 38rem; margin: 1.5rem auto; padding: 1.25rem; border-radius: 1rem; background: var(--forest); color: #fff; }
@media (min-width: 40rem) { .ai__prompt { padding: 1.5rem; } }
.ai__prompt > span { color: var(--yellow); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08rem; text-transform: uppercase; }
.ai__prompt > p { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.375; }
@media (min-width: 40rem) { .ai__prompt > p { font-size: 1.25rem; } }
.ai__prompt > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / 15%); color: rgb(255 255 255 / 55%); font-size: 0.62rem; }
.ai__send { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.ai__flow { position: relative; display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .ai__flow { grid-template-columns: repeat(3, 1fr); } }
.ai__connector { position: absolute; left: 16%; right: 16%; top: 2rem; display: none; height: 1px; background: rgb(0 82 62 / 15%); }
@media (min-width: 40rem) { .ai__connector { display: block; } }
.ai__flow article { position: relative; min-height: 10.5rem; padding: 1.25rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: var(--light); }
.ai__flow article > span { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #fff; color: var(--gold); font-size: 0.6rem; font-weight: 800; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.ai__flow h3 { margin-top: 1.5rem; color: var(--green); font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.ai__flow p { margin-top: 0.75rem; color: var(--muted); font-size: 0.75rem; line-height: 1.625; }
.ai__footnote { margin-top: 1rem; color: var(--muted); font-size: 0.65rem; line-height: 1.625; }

/* Dernières publications --------------------------------------------------- */
.latest-posts { position: relative; overflow: hidden; padding-block: clamp(5.5rem, 9vw, 9rem); background: #fff; }
.latest-posts__ring { position: absolute; left: -9rem; top: 6rem; width: 32rem; height: 32rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 50%; pointer-events: none; }
.latest-posts .container { position: relative; }
.latest-posts__head { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .latest-posts__head { grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.45fr); align-items: end; gap: 4rem; } .latest-posts__intro { justify-self: end; } }
.latest-posts__title { max-width: 52rem; margin-top: 1.5rem; font-size: clamp(2.5rem, 4.7vw, 4.7rem); line-height: 0.98; letter-spacing: -0.075em; }
.latest-posts__title em { color: var(--green); }
.latest-posts__intro p { max-width: 31rem; color: var(--muted); line-height: 1.625; }
.latest-posts__intro .rsoft-link { margin-top: 1.5rem; }
.latest-posts__grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 64rem) {
	.latest-posts__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 4rem; }
	.latest-posts__grid--1 .home-post { grid-column: span 12; }
	.latest-posts__grid--2 .home-post { grid-column: span 5; }
	.latest-posts__grid--2 .home-post--featured { grid-column: span 7; }
	.latest-posts__grid--3 { grid-template-rows: repeat(2, auto); }
	.latest-posts__grid--3 .home-post { grid-column: span 5; }
	.latest-posts__grid--3 .home-post--featured { grid-column: span 7; grid-row: span 2; }
}
.home-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.75rem; background: var(--forest); color: #fff; box-shadow: var(--shadow-card); }
.home-post__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.home-post__link:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--yellow); }
.home-post__media { position: relative; flex: none; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.home-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out; }
.home-post:hover .home-post__media img { transform: scale(1.035); }
.latest-posts__grid--3 .home-post--featured .home-post__media { flex: 1 1 auto; min-height: 16rem; }
.home-post__body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
@media (min-width: 40rem) { .home-post__body { padding: 2rem; } }
@media (min-width: 64rem) { .home-post--featured .home-post__body { padding: 2.5rem; } }
.home-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; color: var(--yellow); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08rem; text-transform: uppercase; }
.home-post__meta time { color: rgb(255 255 255 / 60%); }
.home-post__title { max-width: 43rem; margin-top: 1rem; font-size: clamp(1.45rem, 2.2vw, 2.2rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; }
.home-post--featured .home-post__title { font-size: clamp(2rem, 3.4vw, 3.6rem); }
.home-post__excerpt { display: -webkit-box; max-width: 39rem; margin-top: 1rem; overflow: hidden; color: rgb(255 255 255 / 65%); font-size: 0.875rem; line-height: 1.625; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-post__more { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 700; }
.latest-posts__empty { display: grid; min-height: 18rem; place-items: center; align-content: center; margin-top: 3rem; padding: 2rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 2rem; background: var(--light); text-align: center; }
.latest-posts__empty p { max-width: 34rem; margin-inline: auto; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.latest-posts__empty .latest-posts__empty-title { max-width: none; margin-bottom: 0.75rem; color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.latest-posts__empty .rsoft-link { justify-self: center; margin-top: 1rem; }

/* Découvrir ----------------------------------------------------------------- */
.explore { position: relative; overflow: hidden; padding-block: clamp(5.5rem, 9vw, 8rem); background: #fff; }
.explore__head { display: grid; align-items: end; gap: 2rem; }
@media (min-width: 64rem) { .explore__head { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } .explore__head > p { justify-self: end; } }
.explore__title { margin-top: 1.5rem; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -0.1rem; }
.explore__title em { color: var(--green); }
.explore__head > p { max-width: 35rem; color: var(--muted); line-height: 1.625; }
.explore__journey { position: relative; display: grid; gap: 1rem; margin-top: 3.5rem; }
@media (min-width: 64rem) { .explore__journey { grid-template-columns: 0.9fr 1.1fr 0.9fr; align-items: stretch; } }
.explore__line { position: absolute; left: 12%; right: 12%; top: 2rem; display: none; height: 1px; background: rgb(0 82 62 / 20%); }
@media (min-width: 64rem) { .explore__line { display: block; } }
.explore-step { position: relative; display: flex; min-height: 22rem; flex-direction: column; overflow: hidden; padding: 1.75rem; border-radius: 1.75rem; }
@media (min-width: 40rem) { .explore-step { padding: 2.25rem; } }
@media (min-width: 64rem) { .explore-step:nth-child(3) { margin-top: 3rem; } }
.explore-step--dark { background: var(--forest); color: #fff; }
.explore-step--light { border: 1px solid rgb(0 82 62 / 15%); background: var(--light); }
.explore-step--yellow { background: var(--yellow); }
.explore-step__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.explore-step__number { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; color: var(--green); font-size: 0.75rem; font-weight: 800; }
.explore-step--dark .explore-step__number { background: rgb(255 255 255 / 10%); color: var(--yellow); }
.explore-step--yellow .explore-step__number { background: rgb(255 255 255 / 60%); }
.explore-step__body { position: relative; z-index: 1; display: flex; flex-direction: column; margin-top: auto; padding-top: 4rem; }
.explore-step__verb { color: var(--green); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.explore-step--dark .explore-step__verb { color: var(--yellow); }
.explore-step__title { max-width: 18rem; margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 700; line-height: 1.25; }
.explore-step__text { max-width: 22rem; margin-top: 1rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.explore-step--dark .explore-step__text { color: rgb(255 255 255 / 65%); }
.explore-step__action { align-self: flex-start; margin-top: 1.75rem; padding-bottom: 0.25rem; border-bottom: 1px solid currentColor; font-size: 0.875rem; }
.explore-step__ring { position: absolute; right: -6rem; bottom: -6rem; width: 16rem; height: 16rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 50%; transition: transform 0.7s; }
.explore-step--dark .explore-step__ring { border-color: rgb(254 207 0 / 20%); }
.explore-step:hover .explore-step__ring { transform: scale(1.1); }
.explore__links { margin-top: 1.75rem; }
.explore__links a { padding-bottom: 0.25rem; border-bottom: 1px solid rgb(0 82 62 / 30%); color: var(--green); font-size: 0.875rem; font-weight: 700; }
.explore__links a:hover { color: var(--gold); border-color: var(--gold); }

/* Partenaires ---------------------------------------------------------------- */
.spaces { padding-block: 2rem; background: var(--yellow-soft); }
.spaces__inner { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 64rem) { .spaces__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.spaces__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.spaces__links { display: flex; flex-direction: column; }
@media (min-width: 64rem) { .spaces__links { flex-direction: row; align-items: center; gap: 2.5rem; } }
.spaces__links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid rgb(0 82 62 / 20%); font-size: 0.875rem; font-weight: 700; }
@media (min-width: 64rem) { .spaces__links a { padding-block: 0; border: 0; } }
.spaces__links small { display: block; color: rgb(0 82 62 / 85%); font-size: 0.68rem; font-weight: 500; }
.spaces__links a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Appel final ---------------------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; padding-block: clamp(5.5rem, 10vw, 9.5rem); background: var(--forest); color: #fff; }
@media (min-width: 64rem) { .final-cta { display: flex; min-height: 100svh; align-items: center; } }
.final-cta__ring { position: absolute; right: -8rem; top: -11rem; width: 38.75rem; aspect-ratio: 1; border: 1px solid rgb(254 207 0 / 25%); border-radius: 50%; box-shadow: inset 0 0 5.625rem rgb(254 207 0 / 4%); }
.final-cta__ring::after { content: ""; position: absolute; inset: 20%; border: 1px solid rgb(254 207 0 / 15%); border-radius: 50%; }
.final-cta__inner { position: relative; }
.final-cta__title { font-size: clamp(2.8rem, 5.4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.18rem; }
.final-cta__title em { color: var(--yellow); }
.final-cta__inner > p { max-width: 35.625rem; margin-top: 1.75rem; color: rgb(255 255 255 / 70%); line-height: 1.625; }
.final-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .final-cta__actions { flex-direction: row; align-items: center; gap: 2.5rem; } }
.final-cta__phone { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.final-cta__phone span { color: rgb(255 255 255 / 60%); font-family: var(--font-sans); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.0625rem; text-transform: uppercase; }
.final-cta__phone:hover { color: var(--yellow); }

/* ==========================================================================
   PAGES INTERNES
   ========================================================================== */
.site-main { display: block; }
.page-hero, .blog-list, .article__header, .solutions-hero, .product-hero, .status-page { padding-top: calc(var(--header-height) + 2rem); }

/* En-tête de page éditable */
.page-hero { position: relative; overflow: hidden; padding-bottom: clamp(3rem, 6vw, 5rem); background: var(--light); }
.page-hero__ring { position: absolute; right: -10rem; top: -8rem; width: 34rem; height: 34rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 50%; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero__title { max-width: 60rem; margin-top: 2.5rem; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 0.96; letter-spacing: -0.05em; }
.page-hero__lead { max-width: 42rem; margin-top: 1.5rem; color: var(--muted); font-size: 1.125rem; line-height: 1.625; }

/* Contenu de l'éditeur de blocs ------------------------------------------- */
.entry-content > * { max-width: 48rem; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.entry-content > .alignwide { max-width: 77.5rem; }
.entry-content > .alignfull { max-width: none; padding-inline: 0; }
.entry-content > * + * { margin-top: 1.5rem; }
.entry-content > .alignfull + .alignfull { margin-top: 0; }
.entry-content h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.045em; }
.entry-content h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.entry-content p, .entry-content li { line-height: 1.7; }
.entry-content a:not([class]) { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(0 82 62 / 35%); text-underline-offset: 0.2em; }
.entry-content a:not([class]):hover { text-decoration-color: var(--green); }
.entry-content ul.wp-block-list { padding-left: 1.25rem; list-style: disc; }
.entry-content ol.wp-block-list { padding-left: 1.25rem; list-style: decimal; }
.entry-content li + li { margin-top: 0.5rem; }
.entry-content blockquote { padding: 1.5rem 1.75rem; border-left: 3px solid var(--yellow); border-radius: 0 1rem 1rem 0; background: var(--light); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.entry-content figure img { border-radius: 1rem; }
.entry-content figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; text-align: center; }
.entry-content hr { height: 1px; border: 0; background: rgb(0 82 62 / 15%); }
.entry-content details { padding: 1.25rem 1.5rem; border: 1px solid rgb(0 82 62 / 12%); border-radius: 1rem; background: #fff; }
.entry-content details + details { margin-top: 0.75rem; }
.entry-content summary { cursor: pointer; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; }
.entry-content details > p { margin-top: 0.75rem; color: var(--muted); }

/* Sections pleine largeur composées dans l'éditeur */
/* Les groupes de l'éditeur alignent leur contenu à gauche dans la colonne commune
   (neutralise le centrage à 48 rem de la mise en page « contrainte » de WordPress). */
.entry-content .wp-block-group.is-layout-constrained > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.entry-content > .alignfull.rsoft-section, .rsoft-section {
	padding-block: clamp(4rem, 8vw, 7rem);
	padding-inline: max(var(--gutter), calc((100% - 77.5rem) / 2));
}
.rsoft-section > * + * { margin-top: 1.5rem; }
.rsoft-section > p, .rsoft-section > .wp-block-buttons { max-width: 46rem; }
.rsoft-section > h2 { max-width: 56rem; }
.rsoft-section--white { background: #fff; }
.rsoft-section--cream { background: var(--cream); }
.rsoft-section--light { background: var(--light); }
.is-style-rsoft-dark { background: var(--forest); color: #fff; }
.is-style-rsoft-dark .rsoft-kicker { color: var(--yellow); }
.is-style-rsoft-dark .rsoft-lead, .is-style-rsoft-dark .rsoft-note, .is-style-rsoft-dark p { color: rgb(255 255 255 / 75%); }
.is-style-rsoft-dark a:not(.wp-block-button__link) { color: #fff; }
.is-style-rsoft-dark h2 em, .rsoft-section h2 em { color: var(--green); }
.is-style-rsoft-dark h2 em { color: var(--yellow); }
.rsoft-kicker { color: var(--green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.rsoft-lead { max-width: 42rem; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.rsoft-note { color: var(--muted); font-size: 0.8125rem; }
.rsoft-number { color: var(--gold); font-size: 0.75rem; font-weight: 800; }
.rsoft-more a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none !important; }
.rsoft-more a::after { content: "→"; transition: transform 0.3s; }
.rsoft-more a:hover::after { transform: translateX(0.25rem); }
.rsoft-cards { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .rsoft-cards { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.rsoft-cards--two { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .rsoft-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rsoft-cards > * { margin: 0 !important; }
.is-style-rsoft-card { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.5rem; background: #fff; }
.rsoft-section--white .is-style-rsoft-card { background: var(--light); border-color: transparent; }
.is-style-rsoft-card > * + * { margin-top: 0.75rem; }
.is-style-rsoft-card h3 { color: var(--green); }
.is-style-rsoft-card p { color: var(--muted); font-size: 0.9375rem; }
.rsoft-steps { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .rsoft-steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.rsoft-step { margin: 0 !important; padding: 1.5rem; border: 1px solid rgb(255 255 255 / 15%); border-radius: 1.25rem; background: rgb(255 255 255 / 5%); }
.rsoft-step > * + * { margin-top: 0.5rem; }
.wp-block-columns { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .wp-block-columns { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; } }
.wp-block-column > * + * { margin-top: 1rem; }
.is-style-rsoft-capture img, .wp-block-image.is-style-rsoft-capture img { padding: 0.75rem; border: 1px solid rgb(0 82 62 / 12%); border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); object-fit: contain; }
.is-style-rsoft-checks { padding: 0 !important; list-style: none !important; }
.is-style-rsoft-checks li { position: relative; padding: 0.875rem 0 0.875rem 2rem; border-top: 1px solid rgb(0 82 62 / 15%); }
.is-style-rsoft-checks li + li { margin-top: 0; }
.is-style-rsoft-checks li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 2.6 2.5L14 7.5' fill='none' stroke='%2300523e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat; }
.is-style-rsoft-dark .is-style-rsoft-checks li { border-color: rgb(255 255 255 / 15%); }
.rsoft-faq > * { max-width: 52rem; }
.rsoft-legal > * { max-width: 48rem; }
.rsoft-legal h2 { margin-top: 3rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.rsoft-legal h2:first-child { margin-top: 0; }
.rsoft-final { text-align: left; }
.rsoft-final h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }

/* Boutons de l'éditeur, aux couleurs R-SOFT */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.wp-block-button__link {
	display: inline-flex; min-height: 3.5rem; align-items: center; padding: 0 1.5rem; border-radius: 999px;
	background: var(--green); color: #fff; font-size: 0.875rem; font-weight: 700; text-decoration: none; transition: background-color 0.3s, color 0.3s;
}
.wp-block-button__link::after { content: "→"; margin-left: 0.5rem; }
.wp-block-button__link:hover { background: var(--yellow); color: var(--ink); }
.is-style-rsoft-yellow .wp-block-button__link { background: var(--yellow); color: var(--ink); }
.is-style-rsoft-yellow .wp-block-button__link:hover { background: var(--green); color: #fff; }

/* Panneau de contact provisoire (démo / candidature) ------------------------ */
.rsoft-contact-panel { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 1.75rem; background: var(--forest); color: #fff; box-shadow: var(--shadow-screen); }
.rsoft-contact-panel--light { background: var(--light); color: var(--ink); box-shadow: none; border: 1px solid rgb(0 82 62 / 10%); }
.rsoft-contact-panel > * + * { margin-top: 1rem; }
.rsoft-contact-panel__eyebrow { color: var(--yellow); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.rsoft-contact-panel--light .rsoft-contact-panel__eyebrow { color: var(--green); }
.entry-content .rsoft-contact-panel__title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.rsoft-contact-panel__text { color: rgb(255 255 255 / 75%); }
.rsoft-contact-panel--light .rsoft-contact-panel__text { color: var(--muted); }
.rsoft-contact-panel__choices { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 !important; list-style: none !important; }
.rsoft-contact-panel__choices li { margin: 0 !important; }
.entry-content .rsoft-chip { display: inline-flex; min-height: 2.75rem; align-items: center; padding: 0 1.1rem; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; color: #fff; font-size: 0.8125rem; font-weight: 700; text-decoration: none; }
.entry-content .rsoft-chip:hover { border-color: var(--yellow); }
.entry-content .rsoft-chip.is-active { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.rsoft-contact-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding-top: 0.5rem; }
.entry-content .rsoft-contact-panel .rsoft-cta { text-decoration: none; white-space: normal; text-align: center; line-height: 1.2; }
.entry-content .rsoft-contact-panel__phone { display: flex; flex-direction: column; color: inherit; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; text-decoration: none; }
.rsoft-contact-panel__phone span { opacity: 0.65; font-family: var(--font-sans); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.06rem; text-transform: uppercase; }
.rsoft-contact-panel__note { color: rgb(255 255 255 / 60%); font-size: 0.8125rem; }
.rsoft-contact-panel--light .rsoft-contact-panel__note { color: var(--muted); }

/* Blog ------------------------------------------------------------------------ */
.blog-list { position: relative; overflow: hidden; padding-bottom: clamp(4rem, 8vw, 6rem); }
.blog-list__backdrop { position: absolute; inset: 0 0 auto; z-index: -1; height: calc(var(--header-height) + 22rem); background: var(--light); }
.blog-list__head { display: grid; gap: 1.5rem; padding-bottom: 2.75rem; }
@media (min-width: 64rem) { .blog-list__head { grid-template-columns: minmax(0, 1fr) minmax(20rem, 31rem); align-items: end; gap: 3.5rem; } }
.blog-list__title { max-width: 50rem; margin-top: 1rem; font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 0.96; letter-spacing: -0.05em; }
.blog-list__title span { color: var(--green); }
.blog-list__head > p, .blog-list__desc { max-width: 31rem; color: var(--muted); line-height: 1.7; }
.blog-list__section { margin-top: clamp(3.5rem, 6vw, 5rem); }
.blog-list__section--flush { margin-top: 0.5rem; }
.blog-list__section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgb(0 82 62 / 15%); }
.blog-list__section-head h2 { margin-top: 0.5rem; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.035em; }
.blog-list__section-head > span { display: none; color: var(--muted); font-size: 0.875rem; }
@media (min-width: 40rem) { .blog-list__section-head > span { display: block; } }
.blog-grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 48rem) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.blog-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.6rem; background: #fff; transition: transform 0.5s, border-color 0.5s, box-shadow 0.5s; }
.blog-card:hover, .blog-card:focus-within { transform: translateY(-0.25rem); border-color: rgb(0 82 62 / 25%); box-shadow: var(--shadow-screen); }
.blog-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.blog-card__link:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--green); }
.blog-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--light); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out; }
.blog-card:hover .blog-card__media img { transform: scale(1.025); }
.blog-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
@media (min-width: 40rem) { .blog-card__body { padding: 1.75rem; } }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; color: var(--green); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.085rem; text-transform: uppercase; }
.blog-card__category { padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--light); }
.blog-card__meta time { color: var(--muted); }
.blog-card__title { display: -webkit-box; margin-top: 1rem; overflow: hidden; font-size: clamp(1.4rem, 1.8vw, 1.85rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; -webkit-line-clamp: 3; -webkit-box-orient: vertical; transition: color 0.3s; }
.blog-card:hover .blog-card__title { color: var(--green); }
.blog-card__excerpt { display: -webkit-box; margin-top: 1rem; overflow: hidden; color: var(--muted); font-size: 0.875rem; line-height: 1.625; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.blog-card__more { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1.5rem; color: var(--green); font-size: 0.875rem; font-weight: 700; }
@media (min-width: 48rem) {
	.blog-card--featured { display: grid; grid-template-columns: 1fr 1fr; border-radius: 1.85rem; }
	.blog-card--featured .blog-card__media { aspect-ratio: auto; min-height: 25rem; }
	.blog-card--featured .blog-card__body { justify-content: center; padding: 2.5rem; }
}
@media (min-width: 64rem) { .blog-card--featured { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } .blog-card--featured .blog-card__body { padding: 3rem; } }
.blog-card--featured .blog-card__title { font-size: clamp(1.9rem, 3.1vw, 3.25rem); line-height: 1.06; letter-spacing: -0.038em; }
.blog-card--featured .blog-card__more { margin-top: 1.5rem; padding-top: 0; }
.empty-state { padding: clamp(1.75rem, 4vw, 2.5rem); border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.75rem; background: #fff; box-shadow: var(--shadow-card); }
.empty-state__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.empty-state p + p { max-width: 38rem; margin-top: 0.75rem; color: var(--muted); line-height: 1.625; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(0 82 62 / 15%); }
.pagination a { padding: 0.75rem 1.25rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; transition: transform 0.3s; }
.pagination a:hover { transform: translateY(-2px); }
.pagination__prev { border: 1px solid rgb(0 82 62 / 20%); background: #fff; color: var(--green); }
.pagination__next { background: var(--green); color: #fff; }
.pagination__status { color: var(--muted); font-size: 0.875rem; }

/* Article ------------------------------------------------------------------- */
.article { padding-bottom: clamp(6rem, 9vw, 8rem); }
.article__header { position: relative; overflow: hidden; padding-bottom: clamp(4rem, 7vw, 6rem); background: var(--light); }
.article__ring { position: absolute; left: -10rem; top: -12rem; width: 30rem; height: 30rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 50%; }
.article__back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--green); font-size: 0.875rem; font-weight: 700; transition: transform 0.3s; }
.article__back .rsoft-icon { transform: rotate(180deg); }
.article__back:hover { transform: translateX(-0.25rem); }
.article__intro { max-width: 75rem; margin-top: 3rem; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; color: var(--green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.11rem; text-transform: uppercase; }
.article__meta a { padding: 0.375rem 0.75rem; border-radius: 999px; background: #fff; }
.article__meta time { color: var(--muted); }
.article__title { max-width: 68rem; margin-top: 1.5rem; font-size: clamp(2.6rem, 6.5vw, 7rem); line-height: 0.92; letter-spacing: -0.06em; overflow-wrap: anywhere; hyphens: auto; }
.article__excerpt { max-width: 49rem; margin-top: 1.75rem; color: var(--muted); font-size: 1.125rem; line-height: 1.625; }
@media (min-width: 40rem) { .article__excerpt { font-size: 1.25rem; } }
.article__author { margin-top: 2rem; font-size: 0.875rem; font-weight: 600; }
.article__cover { margin-top: -2rem; }
.article__cover img { width: 100%; height: clamp(18rem, 48vw, 48rem); object-fit: cover; border: 0.4rem solid #fff; border-radius: 1.75rem; background: #fff; box-shadow: var(--shadow-screen); }
@media (min-width: 40rem) { .article__cover img { border-radius: 2.5rem; } }
.article__layout { display: grid; gap: 3rem; margin-top: clamp(3.5rem, 6vw, 5rem); }
@media (min-width: 64rem) { .article__layout { grid-template-columns: minmax(0, 15rem) minmax(0, 48rem) 1fr; gap: 4rem; } }
.article__aside { display: none; }
@media (min-width: 64rem) { .article__aside { display: block; } }
.article__aside div { position: sticky; top: 8rem; padding-left: 1.25rem; border-left: 2px solid var(--yellow); }
.article__aside p:first-child { color: var(--green); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.article__aside p + p { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.article__content > * { max-width: none; padding-inline: 0; }
.article__content { font-size: 1.0625rem; }
.article__content h2 { margin-top: 3rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.article__content h3 { margin-top: 2rem; }
.article__next { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.75rem; margin-top: 5rem; padding: 2rem; border-radius: 2rem; background: var(--forest); color: #fff; }
@media (min-width: 40rem) { .article__next { padding: 3rem; } }
@media (min-width: 64rem) { .article__next { flex-direction: row; align-items: flex-end; } }
.article__next p { color: var(--yellow); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.article__next h2 { max-width: 42rem; margin-top: 1rem; font-size: clamp(2rem, 4vw, 4rem); font-weight: 600; line-height: 1; }

/* Solutions : liste -------------------------------------------------------- */
.solutions-hero { position: relative; overflow: hidden; padding-bottom: clamp(4rem, 7vw, 6rem); background: var(--light); }
.solutions-hero__grid { position: absolute; inset: 0; opacity: 0.4; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 3rem 3rem; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%); mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.solutions-hero__inner { position: relative; display: grid; align-items: center; gap: 3.5rem; }
@media (min-width: 64rem) { .solutions-hero__inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; } }
.solutions-hero .page-kicker { margin-top: 2.5rem; }
.solutions-hero__title { margin-top: 1rem; font-size: clamp(3rem, 6.5vw, 6.5rem); line-height: 0.9; letter-spacing: -0.06em; }
.solutions-hero__title span { color: var(--green); }
.solutions-hero__lead { max-width: 38rem; margin-top: 1.75rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.solutions-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.25rem; }
.solutions-hero__visual { min-width: 0; }
.solutions-hero__screen { padding: 1rem; border: 1px solid rgb(0 82 62 / 12%); border-radius: 1.75rem; background: #fff; box-shadow: var(--shadow-screen); }
.solutions-hero__screen p { margin-bottom: 0.75rem; color: var(--green); font-size: 0.75rem; font-weight: 700; }
.solutions-hero__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.solutions-hero__pills a { display: inline-flex; min-height: 2.5rem; align-items: center; padding: 0 1rem; border: 1px solid rgb(0 82 62 / 12%); border-radius: 999px; background: #fff; color: var(--green); font-size: 0.75rem; font-weight: 800; transition: background-color 0.3s; }
.solutions-hero__pills a:hover { background: var(--yellow); }
.solutions-grid-section { padding-block: clamp(6rem, 8vw, 8rem); background: #fff; scroll-margin-top: 6rem; }
.solutions-grid { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
.solution-card { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 2rem; padding: 1.75rem; border-radius: 1.75rem; transition: transform 0.5s; }
@media (min-width: 40rem) { .solution-card { padding: 2.5rem; } }
.solution-card:hover { transform: translateY(-0.25rem); }
.solution-card--light { background: var(--light); }
.solution-card--white { border: 1px solid rgb(0 82 62 / 10%); background: #fff; }
.solution-card--dark { background: var(--evergreen); color: #fff; }
@media (min-width: 48rem) { .solution-card--lead { grid-column: span 2; } }
@media (min-width: 64rem) { .solution-card--lead { display: grid; grid-template-columns: 1fr 1fr; align-items: center; } }
.solution-card__copy { position: relative; z-index: 1; display: flex; max-width: 31rem; flex-direction: column; }
.solution-card__category { color: var(--green); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.09rem; text-transform: uppercase; }
.solution-card--dark .solution-card__category { color: var(--yellow); }
.solution-card__name { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.solution-card__title { margin-top: 1rem; color: var(--muted); line-height: 1.625; }
.solution-card--dark .solution-card__title { color: rgb(255 255 255 / 70%); }
.solution-card__more { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; font-size: 0.875rem; font-weight: 700; }
.solution-card__visual { display: block; margin-block: auto; padding: 0.75rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-screen); color: var(--ink); }
.audience-links { padding-block: clamp(5rem, 8vw, 7rem); background: var(--light); scroll-margin-top: 6rem; }
.audience-links__grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 48rem) { .audience-links__grid { grid-template-columns: 1fr 1fr; } }
.audience-links__grid a { display: block; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 1.75rem; background: #fff; transition: transform 0.4s, box-shadow 0.4s; }
.audience-links__grid a:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-card); }
.audience-links__grid h3 { display: flex; align-items: center; justify-content: space-between; color: var(--green); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.audience-links__grid p { margin-top: 1rem; color: var(--muted); line-height: 1.625; }
.usage-guide { padding-block: clamp(6rem, 8vw, 8rem); background: var(--cream); }
.usage-guide__inner { display: grid; gap: 3.5rem; }
@media (min-width: 64rem) { .usage-guide__inner { grid-template-columns: 0.8fr 1.2fr; } }
.usage-guide__list { border-top: 1px solid rgb(0 82 62 / 20%); }
.usage-guide__list a { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid rgb(0 82 62 / 20%); transition: padding 0.3s, color 0.3s; }
.usage-guide__list a:hover { padding-left: 0.5rem; color: var(--green); }
.usage-guide__list span { color: var(--green); font-size: 0.75rem; font-weight: 800; }
.band-cta { padding-block: 6rem; background: var(--forest); color: #fff; }
.band-cta--tall { position: relative; overflow: hidden; }
.band-cta__inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; }
@media (min-width: 64rem) { .band-cta__inner { flex-direction: row; align-items: flex-end; } }
.band-cta h2 { max-width: 58rem; margin-top: 1.25rem; font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 0.95; letter-spacing: -0.045em; }
.band-cta__inner > h2:first-child { margin-top: 0; }

/* Solutions : fiche ---------------------------------------------------------- */
.product-hero { position: relative; overflow: hidden; padding-bottom: 4rem; background: var(--light); }
@media (min-width: 64rem) { .product-hero { display: flex; min-height: 100svh; align-items: flex-end; padding-bottom: 6rem; } }
.product-hero__grid { position: absolute; inset: 0; opacity: 0.35; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 3rem 3rem; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%); mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.product-hero__ring { position: absolute; right: -12%; top: 12%; width: 42rem; aspect-ratio: 1; border: 1px solid rgb(0 82 62 / 10%); border-radius: 50%; }
.product-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 3.5rem; }
@media (min-width: 64rem) { .product-hero__inner { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); } }
@media (min-width: 80rem) { .product-hero__inner { gap: 5rem; } }
.product-hero__category { margin-top: 3rem; }
.product-hero__name { margin-top: 1rem; font-size: clamp(3.2rem, 5.6vw, 7.6rem); line-height: 0.86; letter-spacing: -0.07em; white-space: nowrap; }
.product-hero__title { max-width: 40rem; margin-top: 1.75rem; font-family: var(--font-display); font-size: clamp(1.65rem, 2.8vw, 2.8rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; }
.product-hero__text { max-width: 39rem; margin-top: 1.5rem; color: var(--muted); line-height: 1.625; }
.product-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.product-hero__visual { position: relative; min-width: 0; }
.product-hero__visual--capped { width: 100%; max-width: 30rem; margin-inline: auto; align-self: center; }
.product-hero__line { position: absolute; border-radius: 2.4rem; pointer-events: none; }
.product-hero__line--yellow { inset: -0.75rem; border: 2px solid var(--yellow); transform: rotate(-1.5deg); }
.product-hero__line--green { inset: -0.25rem; border: 2px solid rgb(0 82 62 / 70%); border-radius: 2.2rem; transform: rotate(0.75deg); }
.product-hero__media { position: relative; padding: 1rem; border-radius: 2rem; background: #fff; box-shadow: var(--shadow-screen); }
@media (min-width: 40rem) { .product-hero__media { padding: 1.5rem; } }
.product-hero__benefits { position: relative; display: flex; gap: 0.5rem; margin-top: 1rem; overflow-x: auto; padding: 0.5rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-card); }
.product-hero__benefits li { flex: none; padding: 0.5rem 0.75rem; border-radius: 0.75rem; background: var(--light); color: var(--green); font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.product-audience { padding-block: clamp(6rem, 8vw, 8rem); background: #fff; }
.product-audience__inner { display: grid; gap: 3.5rem; }
@media (min-width: 64rem) { .product-audience__inner { grid-template-columns: 0.78fr 1.22fr; gap: 6rem; } }
.product-audience .section-title { max-width: 42rem; font-size: clamp(2.5rem, 4.5vw, 4.8rem); line-height: 0.98; }
.product-audience__text { max-width: 32rem; margin-top: 1.5rem; color: var(--muted); line-height: 1.625; }
.product-audience__grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .product-audience__grid { grid-template-columns: 1fr 1fr; } .product-audience__grid .is-primary { grid-row: span 2; } }
.product-audience__grid article { padding: 1.75rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.5rem; background: var(--light); }
.product-audience__grid article > span { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--green); }
.product-audience__grid p { margin-top: 2.5rem; font-size: 1.125rem; font-weight: 600; line-height: 1.625; }
.product-audience__grid .is-primary { border: 0; background: var(--green); color: #fff; }
.product-audience__grid .is-primary > span { background: var(--yellow); color: var(--ink); }
.product-features { position: relative; overflow: hidden; padding-block: clamp(6rem, 8vw, 8rem); background: var(--evergreen); color: #fff; scroll-margin-top: 5rem; }
.product-features__ring { position: absolute; right: -10rem; top: -10rem; width: 36rem; height: 36rem; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; }
.product-features .container { position: relative; }
.product-features__head { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .product-features__head { grid-template-columns: 0.7fr 1.3fr; align-items: end; } .product-features__head > p { justify-self: end; } }
.product-features__head > p { max-width: 36rem; color: rgb(255 255 255 / 70%); font-size: 1.125rem; line-height: 1.625; }
.product-features__grid { display: grid; gap: 1rem; margin-top: 4rem; }
@media (min-width: 48rem) { .product-features__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 80rem) { .product-features__grid { grid-template-columns: repeat(3, 1fr); } }
.product-features__grid article { min-height: 18rem; padding: 1.75rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: 1.5rem; background: rgb(255 255 255 / 5.5%); transition: transform 0.5s, background-color 0.5s; }
@media (min-width: 40rem) { .product-features__grid article { padding: 2.25rem; } }
.product-features__grid article:hover { transform: translateY(-0.25rem); background: rgb(255 255 255 / 9%); }
.product-features__grid article > span { color: var(--yellow); font-size: 0.75rem; font-weight: 800; }
.product-features__grid h3 { margin-top: 3rem; font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.product-features__grid p { margin-top: 1rem; color: rgb(255 255 255 / 70%); font-size: 0.875rem; line-height: 1.625; }
.product-features__grid .is-highlight { border-color: rgb(254 207 0 / 40%); background: var(--yellow); color: var(--ink); }
.product-features__grid .is-highlight:hover { background: var(--yellow); }
.product-features__grid .is-highlight > span { color: var(--green); }
.product-features__grid .is-highlight p { color: rgb(18 53 45 / 75%); }
.product-gallery { padding-block: clamp(6rem, 8vw, 8rem); background: var(--cream); }
.product-gallery__head { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .product-gallery__head { grid-template-columns: 0.65fr 1.35fr; align-items: end; } .product-gallery__head > p { justify-self: end; } }
.product-gallery__head > p { max-width: 34rem; color: var(--muted); line-height: 1.625; }
.product-gallery__list { display: grid; gap: 3rem; margin-top: 4rem; }
@media (min-width: 64rem) { .product-gallery__list { gap: 5rem; } }
.gallery-item { display: grid; align-items: center; gap: 2rem; }
@media (min-width: 64rem) {
	.gallery-item { grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.55fr); gap: 3.5rem; }
	.gallery-item--reversed { grid-template-columns: minmax(15rem, 0.55fr) minmax(0, 1.45fr); }
	.gallery-item--reversed .gallery-item__frame { order: 2; }
}
.gallery-item__frame { position: relative; min-width: 0; }
.gallery-item__frame--capped { width: 100%; max-width: 30rem; margin-inline: auto; }
.gallery-item__frame > span { position: absolute; inset: -0.5rem; border: 1px solid var(--yellow); border-radius: 1.8rem; transform: rotate(-0.8deg); }
.gallery-item__frame > div { position: relative; padding: 0.75rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-screen); }
.gallery-item figcaption span { color: rgb(0 82 62 / 20%); font-family: var(--font-display); font-size: 3rem; font-weight: 600; }
.gallery-item figcaption p { max-width: 26rem; margin-top: 1rem; color: var(--muted); font-size: 1.125rem; line-height: 1.625; }
.product-options { padding-block: clamp(6rem, 8vw, 8rem); background: #fff; }
.product-options__inner { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .product-options__inner { grid-template-columns: 0.75fr 1.25fr; } }
.product-options__inner > div > p { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); }
.product-options__grid { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .product-options__grid { grid-template-columns: 1fr 1fr; } }
.product-options__grid article { padding: 1.75rem; border: 1px solid rgb(0 82 62 / 15%); border-radius: 1.4rem; }
.product-options__grid .is-primary { border-color: transparent; background: var(--light); }
.product-options__grid span { color: var(--green); font-size: 0.75rem; font-weight: 800; }
.product-options__grid h3 { margin-top: 1.75rem; color: var(--green); font-size: 1.5rem; font-weight: 700; }
.product-options__grid p { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.product-options__grid article > span + p { margin-top: 1.75rem; color: var(--ink); font-size: 1rem; }
.product-related { padding-block: 6rem; background: var(--light); }
.product-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.product-related__head .section-title { font-size: clamp(2.3rem, 4vw, 4rem); }
.product-related__head .rsoft-link { display: none; }
@media (min-width: 40rem) { .product-related__head .rsoft-link { display: inline-flex; } }
.product-related__grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 48rem) { .product-related__grid { grid-template-columns: 1fr 1fr; } }
.product-related__grid a { position: relative; overflow: hidden; padding: 2rem; border-radius: 1.5rem; background: #fff; box-shadow: var(--shadow-card); transition: transform 0.5s; }
.product-related__grid a:hover { transform: translateY(-0.25rem); }
.product-related__grid a > span { color: var(--green); font-size: 0.75rem; font-weight: 700; }
.product-related__grid h3 { margin-top: 2rem; font-size: 2.25rem; font-weight: 700; }
.product-related__grid p { max-width: 28rem; margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.625; }
.product-related__grid strong { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; color: var(--green); font-size: 0.875rem; }
.product-related__grid .is-dark { background: var(--forest); color: #fff; }
.product-related__grid .is-dark > span, .product-related__grid .is-dark strong { color: var(--yellow); }
.product-related__grid .is-dark p { color: rgb(255 255 255 / 70%); }

/* Pages d'état (404, espace indisponible) ------------------------------------ */
.status-page { min-height: 75svh; padding-bottom: 6rem; background: var(--light); }
.status-page__title { max-width: 50rem; margin-top: 1rem; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; }
.status-page p:not(.page-kicker) { max-width: 40rem; margin-top: 1.5rem; color: var(--muted); font-size: 1.0625rem; }
.status-page p a { color: var(--green); font-weight: 700; text-decoration: underline; }
.status-page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }

/* Petits écrans : interlettrage des grands titres assoupli pour garder les espaces lisibles. */
@media (max-width: 47.99rem) {
	.latest-posts__title, .final-cta__title, .explore__title, .company__title, .ai__title, .blog-list__title, .article__title, .solutions-hero__title, .product-hero__name { letter-spacing: -0.035em; }
}

/* ==========================================================================
   Formulaire de démonstration (extension rsoft-business)
   ========================================================================== */
.rsoft-demo { scroll-margin-top: calc(var(--header-height) + 1rem); }
.rsoft-demo__form, .rsoft-demo--success {
	padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.75rem;
	background: #fff; box-shadow: var(--shadow-card);
}
.rsoft-section--white .rsoft-demo__form { background: var(--cream); box-shadow: none; }
.rsoft-demo__form > * + *, .rsoft-demo--success > * + * { margin-top: 1.25rem; }
.rsoft-demo__eyebrow { color: var(--green); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1rem; text-transform: uppercase; }
.entry-content .rsoft-demo__title { margin-top: 0.5rem; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.rsoft-demo__intro, .rsoft-demo__hint { color: var(--muted); }
.rsoft-demo__hint { font-size: 0.875rem; }
.rsoft-demo__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rsoft-demo__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; padding: 0 !important; list-style: none !important; counter-reset: none; }
.rsoft-demo__progress[hidden] { display: none; }
.entry-content .rsoft-demo__progress li { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding-top: 0.75rem; border-top: 3px solid rgb(0 82 62 / 12%); color: var(--muted); font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.rsoft-demo__progress li span { display: grid; flex: none; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgb(0 82 62 / 8%); font-size: 0.7rem; }
.rsoft-demo__progress li.is-done { border-color: var(--green); color: var(--green); }
.rsoft-demo__progress li.is-current { border-color: var(--yellow); color: var(--ink); }
.rsoft-demo__progress li.is-current span { background: var(--yellow); }
.rsoft-demo__progress li.is-done span { background: var(--green); color: #fff; }
@media (max-width: 39.99rem) { .rsoft-demo__progress li { flex-direction: column; align-items: flex-start; font-size: 0.68rem; } }

.rsoft-demo__step { min-width: 0; margin-inline: 0; padding: 0; border: 0; }
.rsoft-demo__step:focus { outline: none; }
.rsoft-demo__form:not(.is-stepped) .rsoft-demo__step + .rsoft-demo__step { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgb(0 82 62 / 12%); }
.rsoft-demo__step > * + * { margin-top: 1rem; }
.rsoft-demo__step legend { padding: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
.rsoft-demo__step legend span { color: var(--gold); }
.rsoft-demo__step legend + * { margin-top: 0.5rem; }

.rsoft-choices { display: grid; gap: 0.625rem; }
@media (min-width: 40rem) { .rsoft-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .rsoft-choices:not(.rsoft-choices--needs) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rsoft-choices--needs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rsoft-choice { position: relative; display: flex; align-items: flex-start; gap: 0.75rem; min-height: 3.5rem; padding: 0.875rem 1rem; border: 1.5px solid rgb(0 82 62 / 18%); border-radius: 1rem; background: #fff; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.rsoft-choice:hover { border-color: var(--green); }
.rsoft-choice input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--green); cursor: pointer; }
.rsoft-choice__body { display: flex; flex-direction: column; gap: 0.125rem; }
.rsoft-choice__body strong { font-size: 0.95rem; line-height: 1.3; }
.rsoft-choice__body small { color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.rsoft-choice:has(input:checked) { border-color: var(--green); background: var(--light); box-shadow: inset 0 0 0 1px var(--green); }
.rsoft-choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.rsoft-choice--advice { max-width: 32rem; }
.rsoft-choices__or { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08rem; }
.rsoft-choices__or::before, .rsoft-choices__or::after { content: ""; flex: 1; height: 1px; background: rgb(0 82 62 / 12%); }

.rsoft-fields { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .rsoft-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rsoft-field { display: flex; min-width: 0; flex-direction: column; gap: 0.375rem; }
.rsoft-field label { font-size: 0.875rem; font-weight: 700; }
.rsoft-field label span { color: var(--muted); font-weight: 500; }
.rsoft-field input, .rsoft-field textarea {
	width: 100%; min-height: 3rem; padding: 0.75rem 0.9rem; border: 1.5px solid rgb(0 82 62 / 22%); border-radius: 0.75rem;
	background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.rsoft-field textarea { min-height: 7rem; resize: vertical; }
.rsoft-field input:focus-visible, .rsoft-field textarea:focus-visible { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 1px; }
[aria-invalid="true"]:is(input, textarea) { border-color: #b3261e; }
.rsoft-field__error { color: #b3261e; font-size: 0.85rem; font-weight: 600; }
.rsoft-demo__alert { padding: 1rem 1.25rem; border: 1px solid #f0b8b4; border-left: 4px solid #b3261e; border-radius: 0.75rem; background: #fdf3f2; color: #5c1611; }
.rsoft-demo__alert:focus { outline: 2px solid #b3261e; outline-offset: 2px; }
.rsoft-demo__alert ul { margin-top: 0.5rem; padding-left: 1.1rem !important; list-style: disc !important; }
.entry-content .rsoft-demo__alert a { color: #5c1611; }

.rsoft-demo__summary { padding: 1rem 1.25rem; border-radius: 1rem; background: var(--light); }
.rsoft-demo__summary[hidden] { display: none; }
.rsoft-demo__summary-title { color: var(--green); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08rem; text-transform: uppercase; }
.rsoft-demo__summary dl { margin: 0.5rem 0 0; }
.rsoft-demo__summary dl > div { display: grid; grid-template-columns: 6.5rem 1fr auto; align-items: baseline; gap: 0.75rem; padding-block: 0.5rem; border-top: 1px solid rgb(0 82 62 / 12%); }
.rsoft-demo__summary dt { color: var(--muted); font-size: 0.8rem; }
.rsoft-demo__summary dd { margin: 0; font-weight: 600; }
.rsoft-demo__summary button { padding: 0.25rem 0; border: 0; background: none; color: var(--green); font-size: 0.8rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 39.99rem) { .rsoft-demo__summary dl > div { grid-template-columns: 1fr auto; } .rsoft-demo__summary dt { grid-column: 1 / -1; } }

.rsoft-consent { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; cursor: pointer; }
.rsoft-consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--green); }
.rsoft-demo__turnstile:empty { display: none; }
.rsoft-demo__note { color: var(--muted); font-size: 0.8125rem; }
.rsoft-demo__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.5rem; }
.rsoft-demo__nav[hidden], .rsoft-demo__nav [hidden] { display: none; }
.rsoft-demo__nav > :only-child, .rsoft-demo__nav--submit > .rsoft-demo__submit:only-child { margin-left: auto; }
.rsoft-demo__prev, .rsoft-demo__next, .rsoft-demo__submit {
	display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: 0 1.5rem; border-radius: 999px;
	font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.rsoft-demo__prev { border: 1.5px solid rgb(0 82 62 / 25%); background: transparent; color: var(--green); }
.rsoft-demo__prev:hover { border-color: var(--green); }
.rsoft-demo__next, .rsoft-demo__submit { border: 0; background: var(--green); color: #fff; }
.rsoft-demo__next::after, .rsoft-demo__submit::after { content: "→"; margin-left: 0.5rem; }
.rsoft-demo__next:hover, .rsoft-demo__submit:hover { background: var(--yellow); color: var(--ink); }
.rsoft-demo__submit[disabled] { background: var(--muted); color: #fff; cursor: progress; }
.rsoft-demo__submit[disabled]::after { content: ""; margin: 0; }
.rsoft-demo button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.rsoft-demo--success:focus { outline: none; }
.rsoft-demo--success { border-left: 4px solid var(--green); }
.entry-content .rsoft-demo__back { display: inline-flex; color: var(--green); font-weight: 700; }

/* ==========================================================================
   Espace revendeur (écrans fournis par l'extension)
   ========================================================================== */
.portal { min-height: 70svh; padding: calc(var(--header-height) + 2.5rem) 0 clamp(4rem, 8vw, 6rem); background: var(--light); }
.portal__inner { max-width: calc(52rem + 2 * var(--gutter)); }
.portal__inner > * + * { margin-top: 1.25rem; }
.portal__title { margin-top: 0.75rem; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }
.portal__intro { max-width: 40rem; color: var(--muted); font-size: 1.0625rem; }
.portal__form { background: #fff; }
.portal__form > * + * { margin-top: 1.25rem; }
.rsoft-fields--single { grid-template-columns: minmax(0, 1fr) !important; }
.portal__notice { padding: 1rem 1.25rem; border: 1px solid rgb(0 82 62 / 20%); border-left: 4px solid var(--green); border-radius: 0.75rem; background: #fff; }
.portal__notice:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.portal__link { color: var(--green); font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.portal__aside { color: var(--muted); font-size: 0.9rem; }
.portal__aside a { color: var(--green); font-weight: 700; text-decoration: underline; }
.portal__button { text-decoration: none; }
.portal__grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .portal__grid { grid-template-columns: 1fr 1fr; } }
.portal__card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgb(0 82 62 / 10%); border-radius: 1.5rem; background: #fff; }
.portal__card h2 { font-size: 1.35rem; font-weight: 700; }
.portal__list { margin: 1rem 0 0; }
.portal__list > div { padding-block: 0.6rem; border-top: 1px solid rgb(0 82 62 / 10%); }
.portal__list dt { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.portal__list dd { margin: 0.15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.portal__hint { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }
.portal__actions { display: flex; justify-content: flex-end; }
html:not(.js) [data-js-only] { display: none; }
/* Légende placée sous le filet séparateur des étapes (et non dans la bordure). */
.rsoft-demo__step legend { float: left; width: 100%; }
.rsoft-demo__step legend + * { clear: both; }

/* Espace revendeur — lot 4 : profil, dossiers prospects */
.portal__inner { max-width: calc(64rem + 2 * var(--gutter)); }
.portal__breadcrumb { margin-bottom: 0.5rem; }
.portal__heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.portal__heading > :first-child { flex: 1 1 20rem; }
.portal__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; padding: 0 !important; list-style: none; }
.portal__stats li { padding: 1rem 1.25rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: #fff; }
.portal__stats strong { display: block; color: var(--green); font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.portal__stats span { color: var(--muted); font-size: 0.85rem; }
.portal__actions--start { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.75rem; }
.portal__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; padding: 1rem; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: #fff; }
.portal__filters .rsoft-field { flex: 1 1 14rem; }
.portal__filters select { min-height: 3rem; padding: 0 0.75rem; border: 1.5px solid rgb(0 82 62 / 22%); border-radius: 0.75rem; background: #fff; font: inherit; }
.portal__count, .portal__muted { color: var(--muted); font-size: 0.875rem; }
.portal__table-wrap { overflow-x: auto; border: 1px solid rgb(0 82 62 / 10%); border-radius: 1rem; background: #fff; }
.portal__table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.portal__table th, .portal__table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgb(0 82 62 / 8%); text-align: left; vertical-align: top; }
.portal__table th { color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05rem; }
.portal__table tbody tr:last-child td { border-bottom: 0; }
.portal__table a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.portal__table small { color: var(--muted); }
.portal__status { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--light); color: var(--green); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.portal__status--rejected { background: #fdf3f2; color: #8c1d18; }
.portal__status--accepted, .portal__status--converted { background: var(--green); color: #fff; }
.portal__status--closed { background: #eceeee; color: #4a5250; }
.portal__empty { text-align: left; }
.portal__needs { display: grid; gap: 0.75rem; }
.portal__need { border: 1.5px solid rgb(0 82 62 / 14%); border-radius: 1rem; background: #fff; }
.portal__need > .rsoft-choice { border: 0; background: transparent; box-shadow: none; }
.portal__need.is-selected { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.portal__need-details { display: grid; gap: 0.75rem; padding: 0 1rem 1rem; }
.portal__need-details[hidden] { display: none; }
.portal__need-details select { min-height: 3rem; padding: 0 0.75rem; border: 1.5px solid rgb(0 82 62 / 22%); border-radius: 0.75rem; background: #fff; font: inherit; }
.portal__options { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; }
.portal__options legend { margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 700; }
.portal__options [hidden] { display: none; }
.portal__lines { display: grid; gap: 0.5rem; margin-top: 0.75rem; padding: 0 !important; list-style: none; }
.portal__lines li { padding: 0.75rem 1rem; border-radius: 0.75rem; background: var(--light); }
.portal__card h3 { margin-top: 1.25rem; font-size: 1rem; font-weight: 700; }
.portal .rsoft-field input[type="number"] { max-width: 10rem; }
