/* ==========================================================
   Perspectives et Patrimoine - maquette v1
   Trois styles (data-style) x six palettes (data-palette)
   ========================================================== */

/* ---------- Palettes ---------- */
:root,
[data-palette="nuit"] {
  --bg: #F5F1E8;
  --surface: #FBF9F4;
  --surface-2: #EDE6D8;
  --ink: #14213D;
  --muted: #5B6478;
  --line: rgba(20, 33, 61, .14);
  --primary: #14213D;
  --on-primary: #F5F1E8;
  --accent: #B8935A;
  --accent-ink: #8A6A36;
  --accent-soft: #E8DCC3;
  --on-accent: #14213D;
  --dark: #14213D;
  --on-dark: #F5F1E8;
  --on-dark-muted: rgba(245, 241, 232, .72);
  color-scheme: light;
}
[data-palette="logo"] {
  --bg: #F6F7FA;
  --surface: #FFFFFF;
  --surface-2: #E9EDF5;
  --ink: #101945;
  --muted: #565E78;
  --line: rgba(16, 25, 69, .13);
  --primary: #101945;
  --on-primary: #FFFFFF;
  --accent: #7C9BD6;
  --accent-ink: #3A5BA0;
  --accent-soft: #E1E8F6;
  --on-accent: #101945;
  --dark: #101945;
  --on-dark: #F6F7FA;
  --on-dark-muted: rgba(246, 247, 250, .72);
  color-scheme: light;
}
[data-palette="sauge"] {
  --bg: #F4F2EC;
  --surface: #FFFFFF;
  --surface-2: #E4ECE6;
  --ink: #1C2A25;
  --muted: #56655E;
  --line: rgba(28, 42, 37, .13);
  --primary: #2E5B4E;
  --on-primary: #FFFFFF;
  --accent: #D38B5D;
  --accent-ink: #A2542A;
  --accent-soft: #DDE8E0;
  --on-accent: #1C2A25;
  --dark: #1E3A32;
  --on-dark: #F4F2EC;
  --on-dark-muted: rgba(244, 242, 236, .72);
  color-scheme: light;
}
[data-palette="encre"] {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --surface-2: #F3ECE3;
  --ink: #111A33;
  --muted: #565F78;
  --line: rgba(17, 26, 51, .14);
  --primary: #1A2A5C;
  --on-primary: #FFFFFF;
  --accent: #FF6B4A;
  --accent-ink: #C93A1A;
  --accent-soft: #FFE1D7;
  --on-accent: #111A33;
  --dark: #111A33;
  --on-dark: #FAF7F2;
  --on-dark-muted: rgba(250, 247, 242, .72);
  color-scheme: light;
}
[data-palette="ardoise"] {
  --bg: #F1F4F6;
  --surface: #FFFFFF;
  --surface-2: #E1EAF0;
  --ink: #152430;
  --muted: #526270;
  --line: rgba(21, 36, 48, .13);
  --primary: #22465F;
  --on-primary: #FFFFFF;
  --accent: #E2B44F;
  --accent-ink: #8E6810;
  --accent-soft: #DCE8F0;
  --on-accent: #152430;
  --dark: #15303F;
  --on-dark: #F1F4F6;
  --on-dark-muted: rgba(241, 244, 246, .72);
  color-scheme: light;
}
[data-palette="bordeaux"] {
  --bg: #F8F3F0;
  --surface: #FFFFFF;
  --surface-2: #F0E2DC;
  --ink: #2B1419;
  --muted: #6A585C;
  --line: rgba(43, 20, 25, .13);
  --primary: #6E2235;
  --on-primary: #FFFFFF;
  --accent: #C98B7B;
  --accent-ink: #9A4A38;
  --accent-soft: #F2DED8;
  --on-accent: #2B1419;
  --dark: #3B1522;
  --on-dark: #F8F3F0;
  --on-dark-muted: rgba(248, 243, 240, .72);
  color-scheme: light;
}
[data-palette="minuit"] {
  --bg: #0E1525;
  --surface: #162036;
  --surface-2: #121B2E;
  --ink: #EEEAE2;
  --muted: #A3AABC;
  --line: rgba(238, 234, 226, .13);
  --primary: #D6B26E;
  --on-primary: #0E1525;
  --accent: #D6B26E;
  --accent-ink: #E2C389;
  --accent-soft: #24304B;
  --on-accent: #0E1525;
  --dark: #080D18;
  --on-dark: #EEEAE2;
  --on-dark-muted: rgba(238, 234, 226, .7);
  color-scheme: dark;
}

/* ---------- Styles ---------- */
:root,
[data-style="editorial"] {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --card-title-weight: 500;
  --radius: 3px;
  --radius-lg: 4px;
  --btn-radius: 2px;
  --eyebrow-transform: uppercase;
  --eyebrow-tracking: .18em;
  --h1: clamp(2.6rem, 5.4vw, 4.9rem);
  --h2: clamp(2rem, 3.8vw, 3.2rem);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -18px rgba(0, 0, 0, .22);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .03), 0 10px 30px -18px rgba(0, 0, 0, .18);
  --border: 1px solid var(--line);
}
[data-style="moderne"] {
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.035em;
  --card-title-weight: 700;
  --radius: 16px;
  --radius-lg: 28px;
  --btn-radius: 999px;
  --eyebrow-transform: none;
  --eyebrow-tracking: 0;
  --h1: clamp(2.4rem, 4.9vw, 4.3rem);
  --h2: clamp(1.9rem, 3.6vw, 3rem);
  --shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -20px rgba(16, 24, 40, .24);
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -16px rgba(16, 24, 40, .16);
  --border: 1px solid var(--line);
}
[data-style="audacieux"] {
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.04em;
  --card-title-weight: 750;
  --radius: 14px;
  --radius-lg: 22px;
  --btn-radius: 12px;
  --eyebrow-transform: uppercase;
  --eyebrow-tracking: .08em;
  --h1: clamp(2.6rem, 6.4vw, 5.6rem);
  --h2: clamp(2.1rem, 4.6vw, 3.8rem);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-soft: 6px 6px 0 var(--ink);
  --border: 2px solid var(--ink);
}

:root {
  --brand-ink: #101945; /* bleu marine du logo */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.06;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: var(--h2); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--muted); font-weight: 400; }
.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--ink); color: var(--bg); padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.1rem;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700; line-height: 1.3;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: var(--eyebrow-transform);
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em;
  border: 1.5px solid transparent; border-radius: var(--btn-radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 650; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-sm { padding: .7em 1.15em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.on-dark .btn-primary { background: var(--accent); color: var(--on-accent); }
.on-dark .btn-ghost { color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 40%, transparent); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .5s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: 78px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; color: var(--brand-ink); }
.brand-mark { height: 44px; width: auto; flex: none; }
.brand-name {
  font-family: "Manrope", system-ui, sans-serif; font-weight: 800;
  font-size: .8rem; line-height: 1.2; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap;
}
.brand-name small {
  display: block; margin-top: 4px;
  font-style: italic; font-weight: 500; font-size: .74rem; letter-spacing: .05em; text-transform: none; opacity: .8;
}

/* Logos : version marine sur fond clair, version blanche sur fond sombre */
.on-dark-only { display: none !important; }
[data-tone="dark"] { --brand-ink: #FFFFFF; }
[data-tone="dark"] .on-light-only { display: none !important; }
[data-tone="dark"] .on-dark-only { display: block !important; }
.main-nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; text-decoration: none; font-size: .95rem; font-weight: 550; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- Accueil ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-template-areas: "head visual" "body visual";
  column-gap: clamp(32px, 6vw, 96px);
}
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; align-self: start; }
.hero-visual { grid-area: visual; align-self: center; }
.hero h1 { font-size: var(--h1); margin-bottom: .4em; }
.hero .lead { margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; padding: 0; margin: 2rem 0 0; color: var(--muted); font-size: .93rem; font-weight: 550; }
.hero-points li { display: flex; align-items: center; gap: .5em; }
.hero-points .ico { width: 18px; height: 18px; color: var(--accent-ink); stroke-width: 2; }

.hero-visual { position: relative; aspect-ratio: 4 / 5; isolation: isolate; max-width: 540px; width: 100%; justify-self: end; }
.visual-frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-2); }

.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero { object-position: 50% 22%; }
.photo-advisor { object-position: 40% 35%; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; }

.motif { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-sky { fill: var(--surface-2); }
.m-sun { fill: var(--accent); }
.m-ring { fill: none; stroke: var(--accent); stroke-opacity: .4; stroke-width: 1.5; }
.m-ground { fill: var(--m-ground, var(--primary)); }
.m-grid line { stroke: var(--m-grid, var(--on-primary)); stroke-opacity: .3; stroke-width: 1.2; }
[data-palette="minuit"] { --m-ground: #1B2742; --m-grid: #D6B26E; }
.m-horizon { stroke: var(--accent); stroke-width: 2.5; }
[data-hero="photo"] .hero-visual .motif { display: none; }
[data-hero="motif"] .hero-visual .photo { display: none; }
[data-hero="motif"] .hero-card { display: none !important; }

.hero-card, .float-chip, .sticker { display: none; position: absolute; z-index: 3; }
.hero-card { left: -28px; bottom: 40px; max-width: 270px; padding: 16px 20px; background: var(--surface); box-shadow: var(--shadow); }
.hero-card strong { display: block; font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.15rem; line-height: 1.2; }
.hero-card span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.float-chip {
  align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 650; white-space: nowrap;
}
.chip-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--primary); }
.chip-ico .ico { width: 18px; height: 18px; }
.chip-a { left: -32px; top: 16%; }
.chip-b { right: -24px; bottom: 18%; }
.sticker {
  align-items: center; gap: .45em; padding: .6em 1.1em;
  background: var(--accent); color: var(--on-accent);
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
}
.sticker .ico { width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.sticker-a { top: -18px; left: -14px; transform: rotate(-6deg); }
.sticker-b { right: -12px; bottom: 28px; transform: rotate(5deg); background: var(--surface); color: var(--ink); }

/* Bandeau défilant (style Audacieux) */
.marquee { display: none; overflow: hidden; background: var(--ink); color: var(--bg); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  padding-right: 28px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 750; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em;
}
.marquee-track .star { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Approche ---------- */
.approach-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.approach-top .section-head { margin-bottom: 0; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; margin-bottom: 1rem; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.myths { margin-top: clamp(64px, 8vw, 112px); }
.myths-title, .expertises-title {
  margin: 0 0 24px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.myths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.myth { padding-top: 24px; border-top: 1px solid var(--line); }
.myth-false {
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.01em;
  text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
  color: var(--muted); margin-bottom: .8rem;
}
.myth-true { margin: 0; font-weight: 550; }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.step { position: relative; padding: 28px 24px 26px; background: var(--surface); border: var(--border); border-radius: var(--radius); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--accent-ink); margin-bottom: 18px; }
.step-ico { position: absolute; top: 28px; right: 24px; width: 26px; height: 26px; color: var(--muted); }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Pour vous ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter, .rate {
  padding: .6em 1.15em; border: 1px solid var(--line); border-radius: var(--btn-radius);
  background: transparent; color: var(--muted); font-size: .9rem; font-weight: 650; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover, .rate:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.filter[aria-pressed="true"], .rate[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.profiles-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.profiles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.profile-card {
  display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 18px;
  text-align: left; cursor: pointer;
  background: var(--surface); border: var(--border); border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background-color .25s, opacity .9s var(--ease);
}
.profile-card:hover { transform: translateY(-2px); }
.profile-card[aria-pressed="true"] { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.pc-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--primary); }
.pc-icon .ico { width: 22px; height: 22px; }
.pc-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pc-tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pc-title { font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.06rem; line-height: 1.25; letter-spacing: -0.01em; }
.pc-arrow { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.profile-card:hover .pc-arrow, .profile-card[aria-pressed="true"] .pc-arrow { transform: translateX(4px); color: var(--primary); }

/* La fiche démarre à hauteur du titre et reste visible pendant qu'on parcourt les cartes */
.profiles-main { min-width: 0; }
.profile-aside { position: sticky; top: 100px; }
.profile-detail {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg);
}
.profile-aside .profile-detail { max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
.profiles-grid > .profile-detail { grid-column: 1 / -1; }
.profile-detail.swap .pd-inner { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pd-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pd-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: color-mix(in srgb, var(--on-dark) 10%, transparent); color: var(--accent); }
.pd-icon .ico { width: 24px; height: 24px; }
.pd-tag { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.pd-title { font-size: clamp(1.45rem, 2vw, 1.85rem); color: var(--on-dark); margin-bottom: .45em; }
.pd-question { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; color: var(--accent); margin-bottom: 1.3rem; }
.pd-label { margin: 0 0 .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.pd-points { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .55rem; font-size: .97rem; }
.pd-points li { display: flex; gap: .7em; align-items: flex-start; line-height: 1.45; }
.pd-points .ico { width: 19px; height: 19px; margin-top: 1px; color: var(--accent); stroke-width: 2; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-actions .btn { font-size: .9rem; padding: .85em 1.15em; }

/* Domaines d'intervention : cases alignées */
.expertises { margin-top: clamp(64px, 8vw, 104px); }
.expertises-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.expertise {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 26px 14px 22px; text-align: center;
  background: var(--surface); border: var(--border); border-radius: var(--radius);
  font-weight: 650; font-size: .93rem; line-height: 1.3;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.expertise:hover { transform: translateY(-3px); }
.ex-ico { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.ex-ico .ico { width: 26px; height: 26px; }
.ex-label { display: flex; align-items: center; justify-content: center; min-height: 2.6em; }

/* ---------- Simulateur ---------- */
[data-sim="off"] .simulator { display: none; }
.sim-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sim-card { padding: clamp(24px, 3vw, 40px); background: var(--surface); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 22px; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-weight: 650; font-size: .95rem; }
.field-row output { font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.4rem; color: var(--primary); }
input[type="range"] { width: 100%; accent-color: var(--primary); cursor: pointer; }
.rates { display: flex; flex-wrap: wrap; gap: 6px; }
.sim-results { display: grid; gap: 16px; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: .92rem; }
.bar-label strong { font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.2rem; }
.bar { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: color-mix(in srgb, var(--muted) 60%, transparent); transition: width .6s var(--ease); }
.bar.is-growth span { background: var(--accent); }
.sim-note { margin: 20px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }

/* ---------- Conseiller ---------- */
.advisor-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 7vw, 104px); align-items: center; }
.advisor-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-2); }
.values { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.value strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.15rem; }
.value span { color: var(--muted); font-size: .95rem; }
.signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature-name { font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.7rem; letter-spacing: -0.02em; }
.signature-role { color: var(--muted); font-size: .9rem; }

/* ---------- Bandeau RDV ---------- */
.cta-band { background: var(--dark); color: var(--on-dark); }
.cta-inner { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 10vw, 128px); text-align: center; }
.cta-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta-lines path { fill: none; stroke: var(--on-dark); stroke-opacity: .09; stroke-width: 1; vector-effect: non-scaling-stroke; }
.cta-avatar { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.cta-band .eyebrow { color: var(--accent); }
.cta-band h2 { color: var(--on-dark); max-width: 18ch; margin-inline: auto; }
.cta-sub { max-width: 52ch; margin: 0 auto 2rem; color: var(--on-dark-muted); font-size: 1.12rem; }
.cta-band .actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.contact-card { overflow: hidden; background: var(--surface); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.ct-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.ct-tab {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  padding: 18px 12px; margin-bottom: -1px;
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); font-weight: 650; cursor: pointer; transition: color .2s, border-color .2s;
}
.ct-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--primary); }
.ct-panel { padding: clamp(20px, 3vw, 36px); }

.booking { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.cal-head span:first-child { font-family: var(--font-display); font-weight: var(--card-title-weight); font-size: 1.2rem; text-transform: capitalize; }
.cal-dur { font-size: .8rem; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { padding: 6px 0; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.cal-day {
  height: 42px; border: 0; border-radius: calc(var(--radius) * .6 + 4px);
  background: transparent; font-size: .9rem; font-weight: 650; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.cal-day:disabled { color: color-mix(in srgb, var(--muted) 50%, transparent); cursor: default; font-weight: 500; }
.cal-day.avail { background: color-mix(in srgb, var(--primary) 11%, transparent); color: var(--primary); }
.cal-day.avail:hover { background: color-mix(in srgb, var(--primary) 22%, transparent); }
.cal-day[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.slots-title { margin: 0 0 14px; font-weight: 650; font-size: .95rem; }
.slots { display: grid; gap: 8px; }
.slot {
  padding: .8em; border: 1.5px solid color-mix(in srgb, var(--primary) 45%, transparent); border-radius: calc(var(--radius) * .6 + 4px);
  background: transparent; color: var(--primary); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s;
}
.slot:hover { background: var(--primary); color: var(--on-primary); }
.slots-empty { color: var(--muted); font-size: .9rem; margin: 0; }
.booking-note {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 12px 14px; border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); border-radius: var(--radius);
  font-size: .82rem; color: var(--muted);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 22px; }
.form-field { min-width: 0; }
.full { grid-column: 1 / -1; }
fieldset { border: 0; margin: 0; padding: 0; }
label, legend { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 650; padding: 0; }
.optional { color: var(--muted); font-weight: 400; }
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; padding: .8em .95em;
  border: 1px solid var(--line); border-radius: calc(var(--radius) * .6 + 3px);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.was-validated input:invalid, .was-validated .consent input:invalid + span { border-color: #C2410C; color: inherit; }
.was-validated .consent input:invalid + span { text-decoration: underline wavy #C2410C; }
textarea { resize: vertical; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: .55em 1em; border: 1px solid var(--line); border-radius: var(--btn-radius);
  font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .2s;
}
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .82rem; font-weight: 400; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.form-success { text-align: center; padding: 24px 0 8px; }
.success-ico { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--primary); }
.success-ico .ico { width: 30px; height: 30px; stroke-width: 2.2; }

.contact-info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--accent-soft); color: var(--primary); }
.info-item.person { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.info-item.person .avatar { width: 56px; height: 56px; }
.info-item small { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-item a, .info-item p { margin: 0; font-weight: 650; text-decoration: none; line-height: 1.45; overflow-wrap: anywhere; }
.info-item a:hover { color: var(--accent-ink); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 10px; padding-top: 8px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--btn-radius); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--ink); color: var(--bg); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--surface-2); padding: 72px 0 32px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-logo { display: inline-block; }
.footer-logo img { height: 104px; width: auto; }
.footer-pitch { margin: 18px 0 0; color: var(--muted); max-width: 40ch; }
.footer-title { margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.reg { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .8rem; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 250;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
  background: #15171C; color: #fff; font: 500 .9rem/1.4 system-ui, sans-serif;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 20px); transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  pointer-events: none;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Apparitions au scroll ---------- */
.js[data-anim="on"] .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms); }
.js[data-anim="on"] .reveal.in { opacity: 1; translate: none; }
.js[data-anim="on"] .profile-card.reveal,
.js[data-anim="on"] .expertise.reveal {
  transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms),
    transform .25s var(--ease), border-color .25s, box-shadow .25s, background-color .25s;
}
.js[data-anim="on"] .motif .m-sun { transform: translateY(150px); transition: transform 1.8s var(--ease) .3s; }
.js[data-anim="on"] .hero-visual.in .motif .m-sun { transform: none; }
.js[data-anim="on"] .m-grid line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.js[data-anim="on"] .hero-visual.in .m-grid line { stroke-dashoffset: 0; }
[data-anim="on"] .float-chip { animation: float 6s ease-in-out infinite; }
[data-anim="on"] .chip-b { animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -8px; } }
[data-anim="off"] .marquee-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js[data-anim="on"] .reveal { opacity: 1; translate: none; transition: none; }
  .js[data-anim="on"] .motif .m-sun, .js[data-anim="on"] .m-grid line { transform: none; stroke-dashoffset: 0; transition: none; }
  .marquee-track, .float-chip { animation: none !important; }
}

/* ==========================================================
   STYLE 1 : EDITORIAL (premium, typo à empattements)
   ========================================================== */
[data-style="editorial"] .eyebrow::before { width: 36px; background: var(--accent); }
[data-style="editorial"] .hero h1 { font-weight: 350; }
[data-style="editorial"] .hero h1 .hl { font-style: italic; color: var(--accent-ink); }
[data-style="editorial"] h2 { font-weight: 380; }
[data-style="editorial"] .visual-frame { border-radius: 999px 999px var(--radius) var(--radius); }
[data-style="editorial"] .hero-visual::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--accent); border-radius: 999px 999px var(--radius) var(--radius);
}
[data-style="editorial"] .hero-card { display: block; border-left: 2px solid var(--accent); }
[data-style="editorial"] .quote { padding-left: 32px; border-left: 1px solid var(--accent); }
[data-style="editorial"] .quote p { font-style: italic; font-weight: 340; }
[data-style="editorial"] .myth-false { font-style: italic; }
[data-style="editorial"] .step { padding: 28px 0 0; background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; }
[data-style="editorial"] .step-ico { top: 30px; right: 0; }
[data-style="editorial"] .step-num { font-style: italic; font-weight: 300; font-size: 3.4rem; }
[data-style="editorial"] .profiles-grid { gap: 0 28px; }
[data-style="editorial"] .profile-card { padding: 20px 4px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
[data-style="editorial"] .profile-card:hover { transform: none; }
[data-style="editorial"] .profile-card[aria-pressed="true"] { box-shadow: none; border-bottom-color: var(--accent); }
[data-style="editorial"] .profile-card[aria-pressed="true"] .pc-title { color: var(--accent-ink); }
[data-style="editorial"] .pc-icon { background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-ink); }
[data-style="editorial"] .pc-title { font-size: 1.2rem; font-weight: 420; }
[data-style="editorial"] .pd-question { font-style: italic; }
[data-style="editorial"] .expertise { background: transparent; }
[data-style="editorial"] .expertise:hover { border-color: var(--accent); }
[data-style="editorial"] .ex-ico { background: transparent; border: 1px solid var(--accent); }
[data-style="editorial"] .advisor-photo { border-radius: 999px 999px var(--radius) var(--radius); }
[data-style="editorial"] .signature-name { font-style: italic; font-weight: 400; }
[data-style="editorial"] .value strong { font-weight: 450; font-size: 1.25rem; }

/* ==========================================================
   STYLE 2 : MODERNE (doux, épuré, arrondi)
   ========================================================== */
[data-style="moderne"] .eyebrow { padding: .5em 1em .5em .8em; border-radius: 999px; background: var(--accent-soft); color: var(--primary); font-size: .82rem; }
[data-style="moderne"] .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
[data-style="moderne"] .cta-band .eyebrow { background: color-mix(in srgb, var(--on-dark) 12%, transparent); color: var(--on-dark); }
[data-style="moderne"] .hero::before {
  content: ""; position: absolute; z-index: -1; right: -18vw; top: -26vw; width: 70vw; height: 70vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-soft) 95%, transparent), transparent 62%);
}
[data-style="moderne"] .hero h1 .hl { color: var(--primary); background: linear-gradient(transparent 66%, color-mix(in srgb, var(--accent) 38%, transparent) 66%); }
[data-style="moderne"] .visual-frame { border-radius: 32px; box-shadow: var(--shadow); }
[data-style="moderne"] .float-chip { display: flex; }
[data-style="moderne"] .quote { padding: clamp(28px, 3vw, 40px); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
[data-style="moderne"] .myth { padding: 28px; background: var(--surface); border: 0; border-radius: 22px; box-shadow: var(--shadow-soft); }
[data-style="moderne"] .step { border: 0; border-radius: 24px; box-shadow: var(--shadow-soft); }
[data-style="moderne"] .step-num { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
[data-style="moderne"] .profile-card { border-color: transparent; border-radius: 20px; box-shadow: var(--shadow-soft); }
[data-style="moderne"] .profile-card[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--primary), var(--shadow-soft); }
[data-style="moderne"] .pc-icon { border-radius: 14px; }
[data-style="moderne"] .expertise { border-color: transparent; border-radius: 20px; box-shadow: var(--shadow-soft); }
[data-style="moderne"] .expertise:hover { box-shadow: var(--shadow); }
[data-style="moderne"] .sim-card, [data-style="moderne"] .contact-card { border-color: transparent; box-shadow: var(--shadow); }
[data-style="moderne"] .cta-band { background: transparent; padding-block: 0 var(--section); }
[data-style="moderne"] .cta-inner { background: var(--dark); border-radius: 36px; padding-inline: 24px; }

/* ==========================================================
   STYLE 3 : AUDACIEUX (casse les codes, gros titres)
   ========================================================== */
[data-style="audacieux"] .eyebrow { color: var(--ink); }
[data-style="audacieux"] .eyebrow::before { width: 10px; height: 10px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); }
[data-style="audacieux"] .cta-band .eyebrow { color: var(--on-dark); }
[data-style="audacieux"] .hero-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "body visual"; row-gap: clamp(24px, 4vw, 48px); }
[data-style="audacieux"] .hero-head { max-width: 1100px; }
[data-style="audacieux"] .hero-body { align-self: center; }
[data-style="audacieux"] .hero h1 { margin-bottom: 0; }
[data-style="audacieux"] .hero h1 .hl {
  padding: 0 .12em; border-radius: .14em; background: var(--accent); color: var(--on-accent);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[data-style="audacieux"] .hero-visual { aspect-ratio: 4 / 3; justify-self: stretch; max-width: none; }
[data-style="audacieux"] .visual-frame { border: var(--border); box-shadow: 10px 10px 0 var(--ink); }
[data-style="audacieux"] .sticker { display: flex; }
[data-style="audacieux"] .marquee { display: block; }
[data-style="audacieux"] .btn { border: var(--border); box-shadow: 4px 4px 0 var(--ink); }
[data-style="audacieux"] .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
[data-style="audacieux"] .btn-ghost { background: var(--surface); }
[data-style="audacieux"] .btn-ghost:hover { background: var(--accent); color: var(--on-accent); border-color: var(--ink); }
[data-style="audacieux"] .on-dark .btn { border-color: var(--on-dark); box-shadow: 4px 4px 0 var(--on-dark); }
[data-style="audacieux"] .on-dark .btn:hover { box-shadow: 6px 6px 0 var(--on-dark); }
[data-style="audacieux"] .on-dark .btn-ghost { background: transparent; }
[data-style="audacieux"] .quote { padding: clamp(26px, 3vw, 38px); background: var(--accent); color: var(--on-accent); border: var(--border); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--ink); }
[data-style="audacieux"] .quote p { font-weight: 650; }
[data-style="audacieux"] .quote figcaption { color: inherit; opacity: .8; }
[data-style="audacieux"] .myth { padding: 26px; background: var(--surface); border: var(--border); border-radius: var(--radius-lg); }
[data-style="audacieux"] .myth-false { font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration-thickness: .16em; }
[data-style="audacieux"] .step { border: var(--border); border-radius: var(--radius-lg); }
[data-style="audacieux"] .step:nth-child(even) { background: var(--accent-soft); }
[data-style="audacieux"] .step-num { font-size: 4rem; font-weight: 800; color: var(--accent); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
[data-style="audacieux"] .step-ico { color: var(--ink); }
[data-style="audacieux"] .filter[aria-pressed="true"], [data-style="audacieux"] .rate[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border: var(--border); }
[data-style="audacieux"] .filter, [data-style="audacieux"] .rate { border: 2px solid var(--line); }
[data-style="audacieux"] .profile-card { border-radius: 16px; }
[data-style="audacieux"] .profile-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
[data-style="audacieux"] .profile-card[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
[data-style="audacieux"] .pc-icon { background: var(--accent); color: var(--on-accent); border: var(--border); border-radius: 12px; }
[data-style="audacieux"] .pc-arrow { color: var(--ink); }
[data-style="audacieux"] .profile-detail { border: var(--border); box-shadow: 8px 8px 0 var(--accent); }
[data-style="audacieux"] .expertise { border-radius: 16px; }
[data-style="audacieux"] .expertise:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
[data-style="audacieux"] .ex-ico { background: var(--accent); color: var(--on-accent); border: var(--border); }
[data-style="audacieux"] .sim-card, [data-style="audacieux"] .contact-card { box-shadow: 8px 8px 0 var(--ink); }
[data-style="audacieux"] .advisor-photo { border: var(--border); box-shadow: 10px 10px 0 var(--accent); }
[data-style="audacieux"] .info-ico { background: var(--accent); color: var(--on-accent); border: var(--border); }
[data-style="audacieux"] .choice input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--ink); }

/* ==========================================================
   PANNEAU DE LA MAQUETTE (neutre, hors charte)
   ========================================================== */
.dp { position: fixed; left: 16px; bottom: 16px; z-index: 200; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #15171C; line-height: 1.4; }
.dp-toggle {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  border: 0; border-radius: 999px; background: #15171C; color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12);
}
.dp-toggle .ico { width: 20px; height: 20px; }
.dp-body {
  position: absolute; left: 0; bottom: calc(100% + 12px); width: 360px; max-height: min(78vh, 760px); overflow: auto;
  padding: 18px; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: bottom left;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dp.open .dp-body { opacity: 1; visibility: visible; transform: none; }
.dp-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.dp-title { margin: 0; font-size: 16px; font-weight: 700; }
.dp-sub { margin: 4px 0 8px; font-size: 12.5px; color: #5D6270; }
.dp-close { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 8px; background: #F1F2F4; cursor: pointer; color: #15171C; }
.dp-close .ico { width: 18px; height: 18px; }
.dp-group { padding: 14px 0; border-top: 1px solid #ECEEF1; }
.dp-label { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A808C; }
.dp-hint { margin: 8px 0 0; font-size: 11.5px; color: #7A808C; }
.dp-styles { display: grid; gap: 8px; }
.dp-style, .dp-pal {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid #E3E5E9; border-radius: 12px; color: #15171C;
  transition: border-color .15s, background-color .15s;
}
.dp-style:hover, .dp-pal:hover { border-color: #B9BDC6; }
.dp-style[aria-pressed="true"], .dp-pal[aria-pressed="true"] { border-color: #15171C; background: #F7F7F8; box-shadow: inset 0 0 0 1px #15171C; }
.dp-aa { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #F1F2F4; font-size: 21px; color: #15171C; }
.dp-style strong { display: block; font-size: 14px; }
.dp-style small { display: block; font-size: 12px; color: #6B7080; }
.dp-palettes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dp-pal { gap: 9px; padding: 9px 10px; font-size: 12.5px; font-weight: 600; border-radius: 10px; }
.dp-pal small { display: block; font-weight: 500; font-size: 11px; color: #8A8F9B; }
.sw { display: flex; flex: none; }
.sw i { width: 16px; height: 16px; margin-left: -5px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.sw i:first-child { margin-left: 0; }
.dp-pal-custom { grid-column: 1 / -1; border-style: dashed; }
.dp-pal-custom[aria-pressed="true"] { border-style: solid; }

/* Editeur de thème perso */
.dp-custom { display: grid; gap: 12px; margin-top: 10px; padding: 12px; border-radius: 12px; background: #F4F5F7; }
.dp-custom[hidden] { display: none; }
.dp-custom-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dp-custom-head p { margin: 0; font-size: 12.5px; font-weight: 700; }
.dp-custom select { max-width: 165px; padding: 5px 8px; border: 1px solid #DADDE2; border-radius: 8px; background: #fff; color: #15171C; font: inherit; font-size: 12px; cursor: pointer; }
.dp-color-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 650; color: #2A2E37; }
.dp-color-label small { font-weight: 500; color: #8A8F9B; }
.dp-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dp-sw { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); transition: transform .15s; }
.dp-sw:hover { transform: scale(1.12); }
.dp-sw[aria-pressed="true"], .dp-picker.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #15171C; }
.dp-picker {
  position: relative; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: conic-gradient(#F44, #FD3, #4D6, #3CF, #46F, #D4F, #F44); color: #fff;
}
.dp-picker.is-active { background: var(--picked); }
.dp-picker .ico { width: 13px; height: 13px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.dp-picker input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.dp-warn { margin: 0; padding: 8px 10px; border-radius: 8px; background: #FFF4E5; color: #9A3412; font-size: 12px; line-height: 1.45; }
.dp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #F1F2F4; border-radius: 11px; }
.dp-seg button { padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #4A4F5C; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.dp-seg button[aria-pressed="true"] { background: #fff; color: #15171C; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.dp-switch { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.dp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.dp-switch .track { position: relative; width: 36px; height: 20px; flex: none; border-radius: 999px; background: #D5D8DE; transition: background-color .2s; }
.dp-switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .2s; }
.dp-switch input:checked + .track { background: #15171C; }
.dp-switch input:checked + .track::after { transform: translateX(16px); }
.dp-switch input:focus-visible + .track { outline: 2px solid #4C7CF0; outline-offset: 2px; }
.dp-foot { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid #ECEEF1; }
.dp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 0; border-radius: 10px; background: #15171C; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dp-btn .ico { width: 17px; height: 17px; }
.dp-btn.ghost { background: #F1F2F4; color: #15171C; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .expertises-list { grid-template-columns: repeat(3, 1fr); }
  .profiles-layout { grid-template-columns: 1fr; }
  .profile-aside { display: none; }
  .booking { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

@media (max-width: 1100px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .hero-grid,
  [data-style="audacieux"] .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "body" "visual"; row-gap: 0; }
  [data-style="audacieux"] .hero-head { margin-bottom: 1.4rem; }
  .hero-visual { justify-self: center; margin-top: 56px; max-width: 480px; }
  [data-style="audacieux"] .hero-visual { max-width: 560px; justify-self: start; }
  .approach-top, .sim-grid, .advisor-grid, .contact-grid { grid-template-columns: 1fr; }
  .myths-grid { grid-template-columns: 1fr; }
  .advisor-photo { max-width: 440px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { height: 68px; }
  .brand { gap: .6rem; }
  .brand-name { font-size: .66rem; letter-spacing: .12em; }
  .brand-name small { display: none; }
  .brand-mark { height: 36px; }
  .header-cta { display: none; }
  .steps, .profiles-grid, .values { grid-template-columns: 1fr; }
  .expertises-list { grid-template-columns: repeat(2, 1fr); }
  .hero-card { left: 12px; bottom: 16px; }
  .chip-a { left: -8px; }
  .chip-b { right: -8px; }
  .sticker-a { left: -4px; }
  .sticker-b { right: -4px; }
  .form-grid { grid-template-columns: 1fr; }
  .ct-tab { font-size: .88rem; padding: 16px 8px; }
  .actions .btn { flex: 1 1 auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  [data-style="editorial"] .hero-visual::before { inset: 12px -10px -12px 10px; }
  .dp { left: 12px; bottom: 12px; }
  .dp-body { position: fixed; left: 8px; right: 8px; bottom: 68px; width: auto; max-height: 74vh; }
  .toast { bottom: 76px; }
}
