/* ==========================================================================
   Startups by Caféino — v2
   Blanc, bleu nuit, bleu Majorelle, et les 9 couleurs des étapes.
   Police : Familjen Grotesk (fonderie Familjen, Stockholm), hébergée localement.
   ========================================================================== */

@font-face {
	font-family: "Familjen Grotesk";
	src: url("../fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Familjen Grotesk";
	src: url("../fonts/familjen-grotesk-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Familjen Grotesk";
	src: url("../fonts/familjen-grotesk-latin-wght-italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

:root {
	--bg: #FFFFFF;
	--soft: #F3F5FB;       /* bleu très clair */
	--sun-tint: #FFF7DB;
	--ink: #0B1535;        /* bleu nuit */
	--ink-2: #4B5675;
	--ink-3: #7A849E;
	--line: #E3E7F0;
	--line-2: #CDD3E1;
	--majorelle: #2B3FD6;
	--majorelle-deep: #1D2BA6;
	--sun: #FFD23F;
	--green: #1FB36B;
	--coral: #FF6B4A;
	--leaf: #0B5F43;
	--leaf-2: #0E7453;
	--accent: var(--majorelle);
	--on-dark: #FFFFFF;
	--on-dark-2: #C8D0F2;

	--font: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--fs-body: 1.0625rem;
	--fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem);
	--fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
	--fs-h2: clamp(1.875rem, 1.35rem + 2vw, 3rem);
	--fs-h3: 1.25rem;
	--fs-page: clamp(2.25rem, 1.5rem + 3vw, 4rem);

	--gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
	--wrap: 80rem;
	--measure: 44rem;
	--sp: clamp(4rem, 2.6rem + 5.5vw, 8rem);

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgba(11,21,53,.05), 0 12px 32px -8px rgba(11,21,53,.12);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ---------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--majorelle); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--sun); color: var(--ink); }
table { border-collapse: collapse; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-2); }
.plain { list-style: none; padding: 0; margin: 0; }
.inline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }

/* Boutons -------------------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 3.5rem; padding: .9rem 1.75rem; font-size: 1.0625rem; }
.btn--sm { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .9375rem; }
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--majorelle-deep); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--light { background: var(--sun); color: var(--ink); }
.btn--light:hover { background: #FFDD66; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.link { font-weight: 600; color: var(--majorelle); text-decoration: underline; text-decoration-color: rgba(43,63,214,.3); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link:hover { text-decoration-color: currentColor; }

/* En-tête -------------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: baseline; gap: .4rem; text-decoration: none; margin-right: auto; line-height: 1; }
.brand__word { color: var(--ink); font-weight: 700; font-size: 1.375rem; letter-spacing: -.035em; }
.brand__by { font-size: .9375rem; color: var(--ink-2); }
.brand__logo { max-height: 2.75rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav .menu a { display: block; text-decoration: none; font-size: .96875rem; font-weight: 500; padding: .5rem .8rem; border-radius: 999px; transition: background-color .2s; }
.site-nav .menu a:hover { background: var(--soft); }
.site-nav .menu .current-menu-item > a, .site-nav .menu .current_page_item > a { background: var(--soft); color: var(--majorelle); }
.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 0; font: inherit; font-weight: 600; font-size: 1rem; color: var(--ink); padding: .5rem 0; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: 4.5rem 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 4.5rem); overflow-y: auto; }
	.admin-bar .site-nav { top: calc(4.5rem + 46px); }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 1rem .25rem; font-size: 1.1875rem; border-radius: 0; border-bottom: 1px solid var(--line); }
	.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { background: none; }
	.site-nav__cta { margin-top: 1.25rem; }
}

/* Sections ---------------------------------------------------------------------- */

.section { padding-block: var(--sp); }
.section--flush { padding-top: 0; padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.section--soft { background: var(--soft); }
.section--sun { background: var(--sun-tint); }
.section--leaf { background: var(--leaf); color: #fff; }
.section__title { max-width: 22ch; margin: 0; }
.section__title--sm { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 1.5rem; }
.section__head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.section__head p { margin: 0; max-width: 36rem; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.5; }
.section__head--light p { color: #CDEBDD; }
@media (min-width: 960px) { .section__head { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.section__more { margin: 2rem 0 0; }
.split { display: grid; gap: 2.5rem; }
.split__side h2 { max-width: 14ch; }
@media (min-width: 960px) {
	.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
	.split__side { position: sticky; top: 7rem; align-self: start; }
}

/* Accueil : hero ------------------------------------------------------------------ */

.hero { padding-top: clamp(2.5rem, 1rem + 5vw, 6rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); background: radial-gradient(120% 90% at 100% 0%, #EEF1FF 0%, rgba(238,241,255,0) 60%), #fff; }
.hero__in { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1080px) { .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero__kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .9375rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: .35rem .9rem .35rem .7rem; border-radius: 999px; margin-bottom: 1.5rem; }
.hero__kicker a { color: var(--ink); font-weight: 600; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,179,107,.15); }
.hero__title { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.04em; margin-bottom: 1.5rem; max-width: 16ch; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9375rem; color: var(--ink-2); }
.proof li { display: inline-flex; align-items: center; gap: .5rem; }
.proof li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; flex: none; }
@media (max-width: 520px) { .hero__actions .btn { flex: 1 1 100%; } }

/* Faits */
.facts { border-block: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .facts__in { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { padding: 1.75rem 1.25rem 1.75rem 0; display: grid; gap: .35rem; align-content: start; }
.fact + .fact { padding-left: 1.25rem; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
.fact__v { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--majorelle); font-variant-numeric: tabular-nums; }
.fact__k { font-size: .9375rem; color: var(--ink-2); line-height: 1.4; max-width: 18rem; }

/* Infobulles communes aux graphiques */
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.3; padding: .45rem .65rem; border-radius: 8px; white-space: nowrap; z-index: 5; pointer-events: none; box-shadow: var(--shadow); }

/* Frise de planning (Gantt) ------------------------------------------------------ */

.gantt { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, .8rem + 1.5vw, 2rem); box-shadow: var(--shadow); --label: 13rem; }
.gantt--compact { --label: 11.5rem; }
.gantt__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; align-items: baseline; margin-bottom: 1.25rem; }
.gantt__title { font-weight: 600; font-size: 1.0625rem; margin: 0; }
.gantt__meta { font-size: .875rem; color: var(--ink-2); margin: 0; }
.gantt__grid { position: relative; display: grid; gap: .55rem; padding-bottom: 1.75rem; }
.gantt__axis, .gantt__row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; gap: .75rem; }
.gantt__months { display: grid; grid-template-columns: repeat(8, 1fr); font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); padding-bottom: .35rem; }
.gantt__months span { padding-left: .25rem; border-left: 1px solid var(--line); }
.gantt__label { font-size: .875rem; line-height: 1.2; display: flex; align-items: center; gap: .55rem; min-width: 0; }
.gantt__n { flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-size: .75rem; font-weight: 700; background: var(--c); color: var(--ink); }
.gantt__row:nth-child(n+8) .gantt__n { color: #fff; }
.gantt__n--admin { background: var(--soft); color: var(--ink-2) !important; border: 1px dashed var(--line-2); }
.gantt__track { position: relative; height: 1.1rem; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 8 - 1px), var(--line) calc(100% / 8 - 1px) calc(100% / 8)); border-radius: 4px; }
.gantt__bar { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / var(--total) * 100%); width: calc(var(--l) / var(--total) * 100%); background: var(--c); border-radius: 4px; outline-offset: 2px; transform-origin: left; }
.gantt__bar--admin { background: repeating-linear-gradient(135deg, #C9D0E0 0 4px, #E6EAF3 4px 8px); }
.gantt__open { position: absolute; top: 1.6rem; bottom: 1.5rem; left: calc(var(--label) + .75rem + (100% - var(--label) - .75rem) * var(--open) / var(--total)); border-left: 2px dashed var(--ink); pointer-events: none; }
.gantt__open span { position: absolute; top: auto; bottom: -1.6rem; left: -1px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; white-space: nowrap; }
.gantt__note { font-size: .875rem; color: var(--ink-2); margin-top: 1.25rem; }
.gantt__table { margin-top: .75rem; font-size: .9375rem; }
.gantt__table summary { cursor: pointer; color: var(--majorelle); font-weight: 600; }
.gantt__table table { width: 100%; margin-top: .75rem; }
.gantt__table th, .gantt__table td { text-align: left; padding: .5rem .75rem .5rem 0; border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
	.js .gantt__bar { transform: scaleX(0); transition: transform .8s var(--ease); transition-delay: calc(var(--s) * 30ms + 150ms); }
	.js .gantt.is-in .gantt__bar { transform: scaleX(1); }
}
@media (max-width: 620px) {
	.gantt { --label: 0px; padding: 1.1rem; }
	.gantt__axis, .gantt__row { grid-template-columns: 1fr; gap: .3rem; }
	.gantt__axis .gantt__label { display: none; }
	.gantt__row { margin-bottom: .2rem; }
	.gantt__open { left: calc(100% * var(--open) / var(--total)); top: 1.6rem; }
	.gantt__months span { padding-left: .15rem; }
}

/* Explorateur des étapes ----------------------------------------------------------- */

.explorer { display: grid; gap: .5rem; }
.explorer__tab { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.explorer__tab:hover { border-color: var(--line-2); }
.explorer__tab.is-active { border-color: var(--c); box-shadow: inset 4px 0 0 var(--c); }
.explorer__n { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--c); color: var(--ink); font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.explorer__tab:nth-of-type(n+7) .explorer__n { color: #fff; }
.explorer__tt { display: grid; min-width: 0; }
.explorer__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.explorer__short { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.explorer__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); position: relative; overflow: hidden; }
.explorer__panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.explorer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.explorer__big { font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .85; font-weight: 700; letter-spacing: -.06em; color: var(--c); font-variant-numeric: tabular-nums; }
.explorer__of { font-size: .875rem; color: var(--ink-2); }
.explorer__h { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.025em; margin-bottom: .75rem; }
.explorer__text { color: var(--ink-2); font-size: 1.0625rem; max-width: 40rem; }
.explorer__out { display: grid; gap: .2rem; background: var(--soft); border-radius: var(--r-sm); padding: 1rem 1.25rem; margin: 1.5rem 0 1.25rem; }
.explorer__outk, .explorer__whenk { font-size: .8125rem; color: var(--ink-2); font-weight: 600; }
.explorer__outv { font-weight: 600; font-size: 1.0625rem; }
.explorer__when { display: grid; gap: .5rem; }
.explorer__whenv { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini { position: relative; display: block; height: .7rem; border-radius: 999px; background: var(--soft); }
.mini__bar { position: absolute; top: 0; bottom: 0; left: calc(var(--s) / var(--total) * 100%); width: calc(var(--l) / var(--total) * 100%); background: var(--c); border-radius: 999px; }
.mini__open { position: absolute; top: -.3rem; bottom: -.3rem; left: calc(var(--o) / var(--total) * 100%); border-left: 2px dashed var(--ink); }
/* Ordinateur : onglets à gauche, panneau à droite. */
@media (min-width: 960px) {
	.explorer { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); column-gap: 2rem; row-gap: .5rem; align-items: start; }
	.explorer__tab { grid-column: 1; }
	.explorer__panel { grid-column: 2; grid-row: 1 / span 9; position: sticky; top: 6.5rem; }
	.js .explorer__panel { display: none; }
	.js .explorer__panel.is-active { display: block; animation: panel-in .35s var(--ease); }
}
/* Téléphone : accordéon. */
@media (max-width: 959px) {
	.js .explorer__panel { display: none; margin-bottom: .5rem; }
	.js .explorer__panel.is-active { display: block; }
	.explorer__big { font-size: 4rem; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Simulateur ------------------------------------------------------------------------ */

.sim { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1020px) { .sim { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 1.5rem; } }
.sim__controls { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: grid; gap: 1.5rem; }
@media (min-width: 1020px) { .sim__controls { position: sticky; top: 6.5rem; } }
.sim__h { font-size: 1.125rem; margin: 0; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend, .range label, .stepper__label { font-size: .875rem; font-weight: 600; color: var(--ink-2); margin-bottom: .5rem; padding: 0; }
.seg__opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg__opts label { position: relative; }
.seg__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opts span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9375rem; font-weight: 500; cursor: pointer; transition: all .15s; background: #fff; }
.seg__opts label:hover span { border-color: var(--ink); }
.seg__opts input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg__opts input:focus-visible + span { outline: 2px solid var(--majorelle); outline-offset: 2px; }
.range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: .6rem; }
.range label { margin: 0; }
.range output { font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; }
.range__scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 2rem; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--majorelle) var(--pct, 50%), var(--line) var(--pct, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--majorelle); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--majorelle); box-shadow: 0 2px 6px rgba(11,21,53,.2); }
input[type="range"]::-moz-range-thumb { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #fff; border: 2px solid var(--majorelle); }
.switch { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; font-weight: 500; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { flex: none; width: 2.75rem; height: 1.6rem; border-radius: 999px; background: var(--line-2); position: relative; transition: background-color .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.6rem - 6px); height: calc(1.6rem - 6px); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + .switch__ui { background: var(--majorelle); }
.switch input:checked + .switch__ui::after { transform: translateX(1.15rem); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--majorelle); outline-offset: 2px; }

.sim__results { display: grid; gap: 1.25rem; min-width: 0; }
.sim__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.sim__kicker { font-size: .9375rem; font-weight: 600; color: var(--ink-2); margin-bottom: .35rem; }
.sim__big { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }
.stack { display: flex; gap: 2px; height: 2.75rem; border-radius: 10px; overflow: visible; margin-bottom: 1.25rem; }
.stack--thin { height: 1rem; margin: 1.5rem 0 .9rem; }
.stack__seg { flex: var(--w) 1 0; min-width: 4px; background: var(--c); transition: flex-grow .5s var(--ease); cursor: default; }
.stack__seg:first-child { border-radius: 8px 0 0 8px; }
.stack__seg:last-child { border-radius: 0 8px 8px 0; }
.stack--thin .stack__seg:first-child { border-radius: 999px 0 0 999px; }
.stack--thin .stack__seg:last-child { border-radius: 0 999px 999px 0; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 700px) { .legend:not(.legend--inline) { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.legend li { display: grid; grid-template-columns: .75rem 1fr auto 3rem; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.legend li::before { content: ""; width: .75rem; height: .75rem; border-radius: 3px; background: var(--c); }
.legend__val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend__pct { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.legend--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.legend--inline li { display: inline-flex; gap: .45rem; border: 0; padding: 0; }
.legend--inline .legend__name { color: var(--ink-2); }
.be { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .be { grid-template-columns: 1fr minmax(0, 17rem); align-items: start; gap: 2.5rem; } }
.be__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .6rem; margin-bottom: .5rem; }
.be__big [data-out="perday"] { font-size: clamp(3rem, 2rem + 4vw, 4.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--majorelle); font-variant-numeric: tabular-nums; }
.be__unit { font-size: 1.125rem; font-weight: 600; }
.be__text { color: var(--ink-2); font-size: .9375rem; margin: 0; max-width: 32rem; }
.be__text strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.be__inputs { display: grid; gap: 1.25rem; background: var(--soft); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.range--sm output { font-size: 1rem; }
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper__label { margin: 0 auto 0 0; }
.stepper button { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.sim__assume { font-size: .875rem; color: var(--ink-2); padding: 0 .25rem; }
.sim__assume summary { cursor: pointer; font-weight: 600; color: var(--majorelle); }
.sim__assume ul { margin: .75rem 0 0; }
.sim__assume li { margin-bottom: .35rem; }

/* Risques ------------------------------------------------------------------------------- */

.risks { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.risks__head, .risks__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .risks__head, .risks__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.risks__head { background: var(--soft); font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.risks__head span { padding: .9rem 1.5rem; }
@media (max-width: 759px) { .risks__head { display: none; } }
.risks__row + .risks__row { border-top: 1px solid var(--line); }
.risks__risk, .risks__fix { margin: 0; padding: 1.25rem 1.5rem; display: flex; gap: .85rem; align-items: flex-start; }
.risks__risk { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.risks__fix { color: var(--ink-2); }
@media (min-width: 760px) { .risks__fix { border-left: 1px solid var(--line); } }
@media (max-width: 759px) { .risks__fix { padding-top: 0; } }
.risks__risk::before, .risks__fix::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; border-radius: 50%; background: center / 100% no-repeat; }
.risks__risk::before { background-color: #FFE6E0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23D6402A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.risks__fix::before { background-color: #DDF5E8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.8 2.8L14.5 7' fill='none' stroke='%230E8A50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Offre -------------------------------------------------------------------------------- */

.offer { display: grid; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .offer { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.offer__main { background: var(--majorelle); color: #fff; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; background-image: radial-gradient(100% 70% at 0% 100%, rgba(255,210,63,.18), transparent 60%); }
.offer__flag { color: var(--sun); font-weight: 600; font-size: .9375rem; margin-bottom: .75rem; }
.offer__name { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); letter-spacing: -.03em; margin: 0 0 1rem; color: #fff; }
.offer__for { color: var(--on-dark-2); font-size: 1.125rem; max-width: 30rem; }
.offer__meta { margin: 1rem 0 2rem; display: grid; gap: .6rem; width: 100%; font-size: 1rem; }
.offer__meta div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.2); }
.offer__meta dt { color: var(--on-dark-2); }
.offer__meta dd { margin: 0; font-weight: 600; color: #fff; }
@media (max-width: 520px) { .offer__meta div { grid-template-columns: 1fr; gap: .15rem; } }
.offer .btn { margin-top: auto; }
.offer__side { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.offer__label { font-weight: 600; font-size: 1.125rem; margin-bottom: 1rem; color: var(--ink); }
.offer__list { list-style: none; margin: 0; padding: 0; counter-reset: o; }
.offer__list li { position: relative; padding: .8rem 0 .8rem 2.25rem; border-top: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink); margin: 0; counter-increment: o; }
.offer__list li:last-child { border-bottom: 1px solid var(--line); }
.offer__list li::before { content: counter(o); position: absolute; left: 0; top: .85rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--dot, var(--green)); display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--ink); }
.offer__list li:nth-child(n+7)::before { color: #fff; }

/* Préparation par dose ---------------------------------------------------------------------- */

.dose-viz { display: grid; gap: 1.5rem; }
@media (min-width: 1020px) { .dose-viz { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; } .dose-viz .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; counter-reset: f; }
@media (min-width: 700px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow__step { position: relative; background: var(--leaf-2); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 1.25rem 1rem; display: grid; gap: .35rem; align-content: start; counter-increment: f; }
.flow__step::after { content: counter(f); position: absolute; top: .9rem; right: 1rem; font-size: .8125rem; font-weight: 700; color: rgba(255,255,255,.5); }
.flow__step--result { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.flow__step--result::after { content: "="; color: var(--ink); font-size: 1.25rem; top: .6rem; }
.flow__icon { color: var(--sun); margin-bottom: .5rem; }
.flow__step--result .flow__icon { color: var(--ink); }
.flow__t { font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.flow__s { font-size: .875rem; color: #CDEBDD; line-height: 1.35; }
.flow__step--result .flow__s { color: #4A3B00; }
.compare { width: 100%; background: #fff; color: var(--ink); border-radius: var(--r); overflow: hidden; font-size: .9375rem; }
.compare caption { text-align: left; font-weight: 600; color: #fff; padding: 0 0 .75rem; caption-side: top; }
.compare th, .compare td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--soft); font-size: .8125rem; color: var(--ink-2); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td { white-space: nowrap; }
.compare__t { margin-left: .6rem; }
.meter { display: inline-flex; gap: 3px; vertical-align: middle; }
.meter i { width: .9rem; height: .5rem; border-radius: 2px; background: var(--line); }
.meter[data-level="1"] i:nth-child(-n+1), .meter[data-level="2"] i:nth-child(-n+2), .meter[data-level="3"] i:nth-child(-n+3) { background: var(--green); }
.meter--muted[data-level="1"] i:nth-child(-n+1), .meter--muted[data-level="2"] i:nth-child(-n+2) { background: var(--ink-3); }
@media (max-width: 560px) { .compare td { white-space: normal; } .compare__t { display: block; margin: .25rem 0 0; } .compare th, .compare td { padding: .75rem .7rem; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chips span { font-size: .9375rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }

/* Pourquoi et cafés ---------------------------------------------------------------------- */

.why { display: grid; gap: 1rem; }
@media (min-width: 820px) { .why { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.why__item { background: var(--soft); border-radius: var(--r-lg); padding: 1.75rem; position: relative; }
.why__item::before { content: ""; display: block; width: 2.5rem; height: .4rem; border-radius: 999px; background: var(--c); margin-bottom: 1.25rem; }
.why__item h3 { margin-bottom: .6rem; }
.why__item p { color: var(--ink-2); margin: 0; }
.cafes { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.75rem; display: grid; gap: 1rem; align-items: center; }
@media (min-width: 900px) { .cafes { grid-template-columns: 14rem 1fr; } }
.cafes__title { font-weight: 600; margin: 0; }
.cafes__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem 1.5rem; }
.cafes__list li { display: grid; padding-left: 1rem; border-left: 3px solid var(--majorelle); }
.cafes__list li:nth-child(2) { border-color: var(--green); }
.cafes__list li:nth-child(3) { border-color: var(--coral); }
.cafes__list li:nth-child(4) { border-color: var(--sun); }
.cafes__city { font-weight: 600; font-size: 1.0625rem; }
.cafes__where { font-size: .875rem; color: var(--ink-2); }

/* Articles --------------------------------------------------------------------------------- */

.posts-list { display: grid; gap: .75rem; }
.post-row a { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: var(--r); background: #fff; text-decoration: none; border: 1px solid rgba(11,21,53,.06); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-row a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-row__title { font-size: 1.1875rem; margin: 0; }
.post-row__meta { margin: 0; font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 600px) { .post-row a { flex-direction: column; align-items: flex-start; gap: .35rem; } }
.posts-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card__media { margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-size: 1.3125rem; margin-bottom: .6rem; }
.post-card__text { color: var(--ink-2); font-size: .96875rem; }
.post-card__meta { font-size: .875rem; color: var(--ink-3); margin: auto 0 0; }

/* FAQ -------------------------------------------------------------------------------------- */

.faq { display: grid; gap: .6rem; }
.faq__item, .prose details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.faq__item[open], .prose details[open] { border-color: var(--line-2); }
.faq__item summary, .prose details summary { list-style: none; cursor: pointer; padding: 1.15rem 3.25rem 1.15rem 1.35rem; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; position: relative; color: var(--ink); }
.faq__item summary::-webkit-details-marker, .prose details summary::-webkit-details-marker { display: none; }
.faq__item summary::after, .prose details summary::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -.75rem; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%230B1535' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% no-repeat; transition: transform .25s var(--ease); }
.faq__item[open] summary::after, .prose details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.35rem 1.25rem; color: var(--ink-2); max-width: 44rem; }
.faq__a p:last-child { margin-bottom: 0; }
.prose details { margin: 0 0 .6rem; }
.prose details > :not(summary) { padding-inline: 1.35rem; color: var(--ink-2); }
.prose details > p:last-child { padding-bottom: 1.25rem; margin-bottom: 0; }

/* Appel au rendez-vous ---------------------------------------------------------------------- */

.cta { background: var(--majorelle); color: #fff; padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,63,.22), transparent 65%); pointer-events: none; }
.cta__in { display: grid; gap: 2rem; align-items: end; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta__in { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.cta__title { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 1rem; color: #fff; }
.cta__text { color: var(--on-dark-2); font-size: var(--fs-lead); max-width: 34rem; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cta__phone { width: 100%; margin: .5rem 0 0; color: var(--on-dark-2); font-size: 1rem; }
.cta__phone a { color: #fff; }
.prose .cta { padding: clamp(2rem, 1.5rem + 2vw, 3rem); border-radius: var(--r-lg); margin: 3.5rem 0 0; }
.prose .cta .wrap { padding-inline: 0; }
.prose .cta__in { grid-template-columns: 1fr; gap: 1.75rem; }
.prose .cta__title { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); margin-top: 0; }
.prose .cta p, .prose .cta__text { color: var(--on-dark-2); }

/* Pages -------------------------------------------------------------------------------------- */

.page-head { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); background: linear-gradient(180deg, var(--soft), #fff); }
.page-head__title { font-size: var(--fs-page); letter-spacing: -.035em; line-height: 1.02; max-width: 22ch; margin-bottom: 0; }
.page-head__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 42rem; margin: 1.25rem 0 0; line-height: 1.5; }
.page-head__meta { font-size: .9375rem; color: var(--ink-2); margin: 1.25rem 0 0; }
.page-media { margin-top: 0; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.page-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .875rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { max-width: var(--measure); padding-bottom: var(--sp); font-size: 1.09375rem; }
.page--rdv .prose { padding-bottom: 0; }
.prose h2 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem); margin-top: 3.5rem; scroll-margin-top: 6rem; }
.prose h3 { margin-top: 2.25rem; scroll-margin-top: 6rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #273253; }
.prose li { margin-bottom: .5rem; }
.prose ul li::marker { color: var(--majorelle); }
.prose ol li::marker { font-weight: 700; color: var(--majorelle); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--majorelle); text-decoration-color: rgba(43,63,214,.35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote, .quote { margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 4px solid var(--sun); }
.prose blockquote p { font-size: 1.375rem; line-height: 1.4; color: var(--ink); }
.prose figure { margin: 2.5rem 0; }
.prose figcaption { font-size: .875rem; color: var(--ink-2); margin-top: .75rem; }
.prose .wp-block-table { margin: 2rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose .wp-block-table th, .prose .wp-block-table td { text-align: left; padding: .8rem 1rem; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table thead th { background: var(--soft); font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.prose .wp-block-table td:first-child { width: 55%; }
.prose .wp-block-table figcaption { padding: .75rem 1rem; margin: 0; background: var(--soft); border-top: 1px solid var(--line); }
.prose .toc { background: var(--soft); padding: 1.5rem 1.75rem; border-radius: var(--r); margin: 2rem 0 1rem; }
.prose .toc p { font-weight: 600; margin-bottom: .5rem; color: var(--ink); }
.prose .toc ol { margin: 0; columns: 2 16rem; column-gap: 2rem; }
.prose .toc li { margin-bottom: .35rem; break-inside: avoid; }
.prose .callout { background: var(--sun-tint); border-left: 4px solid var(--sun); padding: 1.25rem 1.5rem; border-radius: 0 var(--r) var(--r) 0; margin: 2rem 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .wp-block-button__link { background: var(--majorelle); color: #fff; border-radius: 999px; padding: .75rem 1.5rem; text-decoration: none; font-weight: 600; }

/* Les visualisations et blocs larges sortent de la colonne de texte. */
.prose .gantt, .prose .sim, .prose .explorer, .prose .offer, .prose .dose-viz, .prose .method, .prose .rdv { margin-top: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1100px) {
	.prose .gantt, .prose .sim, .prose .explorer, .prose .offer { width: calc(min(var(--wrap), 100vw) - 2 * var(--gutter)); max-width: none; }
}
.prose .gantt p, .prose .sim p, .prose .sim li, .prose .explorer p, .prose .offer p, .prose .offer li { color: inherit; }
.prose .sim__assume, .prose .sim__assume li { color: var(--ink-2); }
.prose .explorer__text, .prose .be__text, .prose .gantt__meta, .prose .gantt__note { color: var(--ink-2); }
.prose .offer .offer__for, .prose .offer .offer__meta dt { color: var(--on-dark-2); }
.prose .offer .offer__flag { color: var(--sun); }
.prose .offer .offer__label, .prose .offer .offer__list li { color: var(--ink); }
.prose .offer h3, .prose .explorer h3, .prose .sim h3 { margin-top: 0; }
.prose .legend li, .prose .sim li { margin-bottom: 0; }
.prose .legend li::marker { content: none; }
.prose .gantt details { background: none; border: 0; }
.prose .gantt details summary { padding: 0; font-size: .9375rem; color: var(--majorelle); }
.prose .gantt details summary::after { display: none; }
.prose .gantt details > :not(summary) { padding-inline: 0; }
.prose .sim__assume { background: none; border: 0; }
.prose .sim__assume summary { padding: 0; font-size: .875rem; color: var(--majorelle); }
.prose .sim__assume summary::after { display: none; }
.prose .sim__assume > :not(summary) { padding-inline: 0; }

/* Méthode détaillée (liste verticale) */
.method { list-style: none; padding: 0; margin: 0; }
.method__step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; position: relative; padding-bottom: 2.25rem; scroll-margin-top: 6rem; }
.method__step::before { content: ""; position: absolute; left: 1.5rem; top: 3rem; bottom: 0; width: 2px; background: var(--line); }
.method__step:last-child::before { display: none; }
.method__mark span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--swatch); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.method__step:nth-child(n+7) .method__mark span { color: #fff; }
.method__title { font-size: 1.375rem; margin: .55rem 0 .6rem !important; }
.method__body p { margin-bottom: .75rem; }
.method__out { font-size: .96875rem; background: var(--soft); padding: .75rem 1rem; border-radius: var(--r-sm); }
.method__out span { font-weight: 600; color: var(--ink); }

/* Rendez-vous ------------------------------------------------------------------------------ */

.rdv-layout { display: grid; gap: 2.5rem; padding-bottom: var(--sp); }
@media (min-width: 1000px) { .rdv-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } .rdv-layout__side { position: sticky; top: 7rem; align-self: start; } }
.rdv-layout__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.prose--side { max-width: none; font-size: 1rem; }
.prose--side h2 { font-size: 1.375rem; margin-top: 2rem; }
.prose--side p, .prose--side li { font-size: 1rem; }
.rdv { display: grid; gap: 2rem; }
.rdv__group { border: 0; margin: 0; padding: 0; display: grid; gap: 1.25rem; min-width: 0; }
.rdv__group legend { font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 1rem; padding: 0; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .9375rem; }
.opt { color: var(--ink-3); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: .8rem .95rem; width: 100%; min-height: 3.1rem; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%230B1535' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.5rem; }
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--majorelle); outline: 0; box-shadow: 0 0 0 4px rgba(43,63,214,.15); }
input:user-invalid, textarea:user-invalid { border-color: #C4361E; }
.choices { display: grid; gap: .5rem; }
.choices--inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
@media (min-width: 640px) { .choices:not(.choices--inline) { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 12px; padding: .85rem 1rem; cursor: pointer; font-size: .96875rem; line-height: 1.35; background: #fff; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--majorelle); background: #F1F3FF; box-shadow: inset 0 0 0 1px var(--majorelle); }
.choice input { accent-color: var(--majorelle); margin: .15rem 0 0; width: 1.05rem; height: 1.05rem; flex: none; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.consent input { accent-color: var(--majorelle); width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex: none; }
.consent a { color: var(--majorelle); }
.rdv__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.rdv__submit .btn { min-height: 3.5rem; padding-inline: 2rem; font-size: 1.0625rem; }
.rdv__note { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.notice { padding: 1.25rem 1.5rem; border-radius: var(--r); border: 1px solid var(--line); }
.notice--ok { background: #E9F8F0; border-color: #BDE8D2; }
.notice--ok .notice__title { font-weight: 600; font-size: 1.375rem; color: var(--ink); }
.notice--error { border-color: #F2B8AC; background: #FFF1EE; color: #8A2412; }
.notice p:last-child { margin-bottom: 0; }
.calendar-embed iframe { width: 100%; min-height: 720px; border: 0; border-radius: var(--r); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.contact-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 1.1rem; font-size: .96875rem; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list__k { color: var(--ink-2); }
.contact-list a { color: var(--majorelle); }

.links-big li + li { border-top: 1px solid var(--line); }
.links-big a { display: block; padding: 1.1rem 0; font-size: 1.375rem; font-weight: 600; text-decoration: none; }
.links-big a:hover { color: var(--majorelle); }
.pagination { margin-top: 3rem; }
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem; border: 1px solid var(--line); text-decoration: none; border-radius: 999px; }
.page-numbers.current { background: var(--majorelle); color: #fff; border-color: var(--majorelle); }

/* Pied de page ---------------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #fff; padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); font-size: .96875rem; }
.site-footer__top { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.site-footer__brand { margin-bottom: 1rem; }
.site-footer .brand__word { color: #fff; }
.site-footer .brand__by, .site-footer .muted, .site-footer__about p { color: #AEB8D6; }
.site-footer__about p { max-width: 26rem; }
.site-footer__title { font-size: .9375rem; font-weight: 600; margin-bottom: 1rem; color: var(--sun); }
.site-footer .plain li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--sun); }
.site-footer__strip { display: grid; grid-template-columns: repeat(9, 1fr); height: .5rem; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-radius: 999px; overflow: hidden; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 2rem; font-size: .875rem; color: #AEB8D6; }
.site-footer__bottom p { margin: 0; }
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,.4); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* Couleurs de l'éditeur */
.has-paper-color { color: #fff !important; }
.has-ink-color { color: var(--ink) !important; }
.has-majorelle-color { color: var(--majorelle) !important; }
.has-green-color { color: var(--green) !important; }
.has-sun-color { color: var(--sun) !important; }
.has-coral-color { color: var(--coral) !important; }
.has-paper-background-color { background-color: #fff !important; }
.has-ink-background-color { background-color: var(--ink) !important; }
.has-majorelle-background-color { background-color: var(--majorelle) !important; }
.has-green-background-color { background-color: var(--green) !important; }
.has-sun-background-color { background-color: var(--sun) !important; }
.has-coral-background-color { background-color: var(--coral) !important; }
.alignwide { max-width: 64rem; }
.aligncenter { margin-inline: auto; }
.search-form { display: flex; gap: .5rem; max-width: 30rem; }
.search-submit { font: inherit; background: var(--majorelle); color: #fff; border: 0; border-radius: 999px; padding: 0 1.25rem; cursor: pointer; }

@media print {
	.site-header, .site-footer, .cta, .wa-float, .nav-toggle { display: none !important; }
	.gantt, .sim__card, .offer { box-shadow: none; }
}
.prose .dose-viz .compare caption { color: var(--ink); }
.prose .flow__step { color: #fff; }
.prose .flow__step--result { color: var(--ink); }
.prose .flow { padding: 0; }
.prose .flow li { margin: 0; color: inherit; }
.prose .compare { border: 1px solid var(--line); }
.prose .compare th, .prose .compare td { color: var(--ink); }
.prose .compare td:first-child { width: auto; }
.prose a.btn { text-decoration: none; }
.prose .cta a.btn--light, .prose a.btn--light { color: var(--ink); }
.prose .cta a.btn--ghost-light, .prose .cta__phone a { color: #fff; }
.prose .offer a.btn--light { color: var(--ink); }
