/* Polymage · feuille de style du site
   Mise en page : colonne centrée de 1200 px, bandeau dégradé en biais dans chaque en-tête de page,
   cartes « outil » posées dessus, sections claires alternées avec des sections violet profond. */

:root {
  --marine: #302C80;
  --marine-2: #3E3A96;
  --violet: #4F48D6;
  --rose: #F8578D;
  --rose-2: #FF94C2;
  --rose-3: #FFB9D7;
  --corail: #FF8465;
  --peche: #FFDBD2;
  --ink: #333E48;
  --muted: #4B5563;
  --subtle: #6B7280;
  --line: #E6E5F2;
  --line-soft: #EEEDF6;
  --soft: #F7F6FC;
  --white: #FFFFFF;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9C7F2;
  --on-dark-line: #5D59B0;
  --rose-text: #C9416F;
  --corail-text: #B4462A;
  --violet-text: #4F48D6;
  --good: #1F7A4D;
  --good-bg: #E9F7EF;

  --gradient: linear-gradient(165deg, #FFB9D7 0%, #F8578D 32%, #FF8465 58%, #4F48D6 82%, #302C80 100%);
  --gradient-text: linear-gradient(90deg, #F8578D 0%, #FF8465 100%);
  --shadow-float: 0 50px 100px -20px rgba(48, 44, 128, .28), 0 30px 60px -30px rgba(0, 0, 0, .3);
  --shadow-soft: 0 24px 48px -28px rgba(48, 44, 128, .25);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--violet-text); text-decoration: none; }
a:hover { color: var(--marine); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--marine); font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-text); }
.eyebrow.violet { color: var(--violet-text); }
.eyebrow.corail { color: var(--corail-text); }
.eyebrow.on-dark { color: var(--rose-2); }
.display { font-size: clamp(52px, 8vw, 96px); line-height: .98; letter-spacing: -0.03em; }
.display em { font-style: italic; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.h3 { font-size: 21px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.body { font-size: 16px; color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.note { font-size: 13px; color: var(--subtle); }
.todo { font-style: italic; color: var(--rose-text); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit; transition: background .2s, transform .2s; }
.btn svg { width: 14px; height: 14px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--marine); color: var(--white); }
.btn-primary:hover { background: var(--violet); color: var(--white); }
.btn-light { background: var(--white); color: var(--marine); }
.btn-light:hover { color: var(--violet); }
.btn-link { padding: 0; min-height: 44px; background: none; color: var(--marine); }
.btn-link:hover { color: var(--violet); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 32px; width: auto; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--marine); font-size: 15px; font-weight: 500; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--violet); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rose); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--soft); color: var(--marine); align-items: center; justify-content: center; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; margin-top: -72px; padding-top: 72px; }
.hero-band { position: absolute; top: -60px; right: -14%; width: 56%; height: calc(100% + 120px); transform: skewX(-14deg); background: var(--gradient); background-size: 140% 140%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 88px 104px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero.page .hero-grid { padding-block: 72px 88px; }
.hero.page .hero-band { width: 44%; right: -12%; }
.pill-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 14px 4px 6px; border-radius: 999px; background: var(--soft); color: var(--marine); font-size: 14px; font-weight: 500; }
.pill-link b { padding: 3px 10px; border-radius: 999px; background: var(--marine); color: var(--white); font-size: 12px; font-weight: 600; }
.hero-visual { position: relative; min-height: 520px; }
.hero.page .hero-visual { min-height: 0; display: flex; justify-content: flex-end; }

/* ---------- Cartes « outil » ---------- */
.ui-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-float); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.ui-card .ui-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.ui-card.dark { background: var(--marine); color: var(--on-dark); gap: 4px; }
.ui-card.dark .ui-label { color: var(--on-dark-muted); }
.ui-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status { padding: 3px 10px; border-radius: 999px; background: var(--good-bg); color: var(--good); font-size: 12px; font-weight: 600; white-space: nowrap; }
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.meter-top span:first-child { font-weight: 600; color: var(--marine); }
.meter-top span:last-child { color: var(--muted); white-space: nowrap; }
.meter-bar { height: 6px; border-radius: 3px; background: #F1F0F8; overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: 3px; background: var(--gradient-text); transform-origin: left; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
.ui-foot { padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--subtle); }
.ui-foot b { color: var(--marine); font-weight: 600; }
.bars { height: 130px; display: flex; align-items: flex-end; gap: 14px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--subtle); height: 100%; justify-content: flex-end; }
.bars div i { width: 100%; border-radius: 6px 6px 0 0; display: block; }
.ui-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 8px; font-size: 14px; }
.ui-row.head { font-size: 12px; font-weight: 600; color: var(--subtle); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.ui-row b { color: var(--marine); font-weight: 600; }
.ui-row.hl { background: #FFF0F5; border-radius: 8px; padding: 8px; margin-inline: -8px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv span:first-child { font-weight: 600; color: var(--marine); }
.kv span:last-child { font-weight: 700; color: var(--good); }
.step-chip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; }
.step-chip .n { width: 28px; height: 28px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step-chip strong { display: block; font-size: 14px; font-weight: 600; color: var(--marine); }
.step-chip small { display: block; font-size: 12px; color: var(--subtle); }

.float-1 { position: absolute; top: 0; right: 0; width: min(420px, 92%); }
.float-2 { position: absolute; top: 350px; right: 30px; width: 320px; }
.float-3 { position: absolute; top: 430px; left: -40px; width: 250px; }
.page-card { width: 100%; max-width: 380px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section.tight { padding-block: clamp(56px, 7vw, 80px); }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(700px 420px at 88% 0%, rgba(248, 87, 141, .32), rgba(248, 87, 141, 0) 70%), radial-gradient(600px 400px at 8% 100%, rgba(79, 72, 214, .45), rgba(79, 72, 214, 0) 70%), var(--marine); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark .lead, .section-dark .body, .section-dark .small { color: var(--on-dark-muted); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 48px; }
.sec-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; min-width: 0; }
.sec-head > p { max-width: 460px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 80px); }
.split > * { min-width: 0; }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--white); color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #D5D3EA; color: var(--ink); }
.card .more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--violet-text); }
.card-tile { background: var(--soft); border: 0; padding: clamp(28px, 4vw, 40px); gap: 18px; }
.card-dark { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark); }
.icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.icon svg { width: 20px; height: 20px; }
.icon.lg { width: 44px; height: 44px; }
.i-violet { background: #EEEDFC; color: var(--violet); }
.i-corail { background: #FFEDE7; color: var(--corail-text); }
.i-rose { background: #FFEAF2; color: var(--rose-text); }
.i-grad-warm { background: linear-gradient(135deg, var(--corail), var(--rose)); color: var(--white); }
.i-grad-cool { background: linear-gradient(135deg, var(--violet), var(--marine)); color: var(--white); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #FFEAF2; color: var(--rose-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13px; color: var(--marine); }
.chip.lg { padding: 10px 18px; font-size: 15px; font-weight: 500; border-color: #DCDAEE; }
.card-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }

.cert-strip { border-block: 1px solid var(--line-soft); }
.cert-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 36px; }
.cert-inner p { max-width: 200px; font-size: 14px; color: var(--subtle); line-height: 1.5; }
.cert-inner span { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: #9CA0B4; white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { padding-top: 24px; border-top: 2px solid var(--c, var(--violet)); display: flex; flex-direction: column; gap: 12px; }
.step .k { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ck, var(--violet-text)); }
.step ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--marine); }
.step li::before { content: "·  "; color: var(--c); font-weight: 700; }
.fil-rouge { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 24px; border-radius: var(--radius); background: var(--soft); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); }
.fil-rouge .arrow { color: var(--rose); letter-spacing: 0; }
.fil-rouge .lbl { color: var(--subtle); margin-right: 8px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { padding-left: 20px; border-left: 1px solid var(--on-dark-line); display: flex; flex-direction: column; gap: 8px; }
.stat b { font-size: clamp(34px, 4vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); }
.case { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.case + .case { margin-top: 16px; }
.case .figs { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.case .figs div { display: flex; flex-direction: column; }
.case .figs b { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.case .figs span { font-size: 14px; color: var(--on-dark-muted); }

.rows { display: flex; flex-direction: column; }
.rows > div { padding-block: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 24px; }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows strong { font-size: 17px; font-weight: 600; color: var(--marine); }
.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; }
.rule-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule-grid > div { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.rule-grid strong { font-size: 17px; font-weight: 600; color: var(--marine); }
.list-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.list-cols span { padding-block: 16px; border-top: 1px solid var(--line); color: var(--marine); }
.list-cols span:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
th { text-align: left; padding: 14px 24px; background: var(--soft); color: var(--subtle); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
td { padding: 18px 24px; border-top: 1px solid var(--line-soft); color: var(--muted); vertical-align: top; }
td:first-child { color: var(--marine); font-weight: 600; }
td.num { color: var(--marine); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
td .good { color: var(--good); font-weight: 700; font-size: 17px; }

.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); border-radius: 16px; background: radial-gradient(500px 300px at 95% 0%, rgba(248, 87, 141, .35), rgba(248, 87, 141, 0) 70%), var(--marine); color: var(--on-dark); }
.cta-band h3 { color: var(--on-dark); font-size: 22px; }
.cta-band p { max-width: 62ch; color: var(--on-dark-muted); }
.badge-dark { display: inline-flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-radius: var(--radius); background: var(--marine); color: var(--on-dark); }
.badge-dark small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.badge-dark strong { font-size: 21px; font-weight: 600; }
.badge-dark span { font-size: 13px; color: var(--on-dark-muted); }
.logo-slot { height: 56px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--subtle); text-align: center; padding: 8px; }
.timeline { display: flex; flex-direction: column; gap: 16px; }
.timeline div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; font-size: 14px; color: var(--muted); }
.timeline b { color: var(--marine); }

/* ---------- Contact ---------- */
.form { padding: clamp(24px, 3vw, 40px); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 20px; background: var(--white); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--marine); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid #D5D3E8; border-radius: 8px; padding: 11px 14px; min-height: 44px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(79, 72, 214, .18); }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
legend { font-size: 14px; font-weight: 600; color: var(--marine); margin-bottom: 10px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #D5D3E8; border-radius: 8px; font-size: 15px; color: var(--marine); cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--violet); background: #F3F2FB; }
.form-ok { padding: 14px 16px; border-radius: 10px; background: var(--good-bg); color: var(--good); font-size: 14px; }
.form-ok-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-ok-link:hover { text-decoration-thickness: 2px; }
.rgpd { font-size: 12px; line-height: 1.55; color: var(--subtle); }
.agency { padding-block: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.agency:last-of-type { border-bottom: 1px solid var(--line); }
.agency .card-label { color: var(--c); }
.agency p { font-size: 17px; color: var(--marine); }
.agency .tel { font-size: 17px; font-weight: 600; user-select: all; }
.map-slot { margin-top: 32px; height: 240px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--subtle); }

/* ---------- Pied de page ---------- */
.pre-footer { background: var(--soft); border-top: 1px solid var(--line); }
.pre-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; padding-block: clamp(64px, 8vw, 96px); }
.pre-grid .col { display: flex; flex-direction: column; gap: 10px; padding-left: 32px; border-left: 1px solid #DCDAEE; }
.pre-grid .col strong { font-size: 17px; color: var(--marine); }
.site-footer { background: var(--marine); color: var(--on-dark-muted); font-size: 14px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--on-dark); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--on-dark); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-brand img { height: 30px; width: auto; max-width: 100%; align-self: flex-start; object-fit: contain; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.slogan { color: var(--on-dark); font-weight: 600; font-size: 15px; }
.slogan em { color: var(--rose-2); }
.foot-legal { padding-block: 24px 32px; border-top: 1px solid #4A46A0; display: flex; flex-direction: column; gap: 16px; }
.foot-legal .rgpd { color: var(--on-dark-muted); max-width: 110ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-band, .hero.page .hero-band { top: -40px; right: -30%; width: 100%; height: 300px; transform: skewY(-8deg); }
  .hero-grid, .hero.page .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 230px 64px; gap: 40px; }
  .hero-visual { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
  .float-1, .float-2, .float-3 { position: static; width: 100%; }
  .float-2 { display: none; }
  .hero.page .hero-visual { justify-content: flex-start; }
  .page-card { max-width: none; }
  .g2, .g3, .steps, .split, .case, .pre-grid { grid-template-columns: minmax(0, 1fr); }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pre-grid .col { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid #DCDAEE; }
  .cert-inner p { max-width: none; width: 100%; }
}
@media (max-width: 560px) {
  .g4, .stats, .rule-grid, .rule-grid.two, .list-cols, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .list-cols span:nth-last-child(2) { border-bottom: 0; }
  .rows > div { grid-template-columns: minmax(0, 1fr); }
  .cert-inner span { font-size: 17px; }
  .sec-head { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Navigation v2 : bandeau utilitaire, menus déroulants, menu mobile
   ========================================================= */
.topbar { background: var(--marine); color: var(--on-dark-muted); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-inner p { color: var(--on-dark); font-weight: 500; }
.topbar-inner p em { color: var(--rose-2); }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar a { color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.topbar a:hover { color: var(--on-dark); }
.topbar a.strong { color: var(--on-dark); font-weight: 600; }
.topbar svg { width: 14px; height: 14px; }

.header-inner { height: 72px; position: relative; }
.site-header.menu-open { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > a, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--marine); cursor: pointer; }
.nav > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--soft); color: var(--violet); }
.nav > a[aria-current="page"], .nav-trigger.current { color: var(--violet); box-shadow: inset 0 -2px 0 var(--rose); border-radius: 0; }
.nav-trigger .caret { width: 12px; height: 12px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-item { position: static; }

.dropdown { position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); z-index: 60; background: var(--white); border-radius: 16px; box-shadow: 0 40px 80px -24px rgba(48, 44, 128, .35), 0 0 0 1px var(--line); padding: 28px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .18s; }
.dropdown.open { opacity: 1; transform: none; pointer-events: auto; }
.dropdown.narrow { left: auto; right: auto; width: 460px; }
.dd-grid { display: grid; gap: 24px; }
.dd-grid.profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dd-grid.mega { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); }
.dd-col h3 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--subtle)); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--c, var(--line)); }
.dd-col { min-width: 0; }
.dd-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dd-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin-inline: -12px; border-radius: 10px; color: var(--marine); }
.dd-link:hover { background: var(--soft); color: var(--marine); }
.dd-link strong { display: block; font-size: 15px; font-weight: 600; }
.dd-link small { display: block; font-size: 13px; line-height: 1.45; color: var(--subtle); }
.dd-link .icon { width: 36px; height: 36px; }
.dd-link .icon svg { width: 18px; height: 18px; }
.dd-simple { padding-block: 7px; font-size: 15px; }
.dd-feature { border-radius: 12px; padding: 22px; background: radial-gradient(260px 180px at 100% 0%, rgba(248, 87, 141, .45), rgba(248, 87, 141, 0) 70%), var(--marine); color: var(--on-dark); display: flex; flex-direction: column; gap: 10px; }
.dd-feature .eyebrow { color: var(--rose-2); font-size: 11px; }
.dd-feature strong { font-size: 18px; font-weight: 600; line-height: 1.3; }
.dd-feature p { font-size: 14px; color: var(--on-dark-muted); }
.dd-feature a { color: var(--on-dark); font-weight: 600; font-size: 14px; margin-top: auto; }
.dd-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--subtle); }
.dd-foot a { font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--soft); color: var(--marine); align-items: center; justify-content: center; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.burger .i-open, .burger .i-close { display: flex; }
.burger .i-close { display: none; width: 22px; height: 22px; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { display: none; }
body.no-scroll { overflow: hidden; }

@media (max-width: 1180px) {
  .nav > a, .nav-trigger { padding: 0 9px; font-size: 14px; }
  .dd-grid.mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dd-grid.mega .dd-feature { grid-column: 1 / -1; }
}
@media (max-width: 1599px) {
  .topbar-inner p { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .nav, .header-cta > .btn, .client-link { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu { position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 108px); z-index: 55; background: var(--white); border-top: 1px solid var(--line); flex-direction: column; overflow: hidden; }
  .mobile-menu.open { display: flex; }
  .mm-scroll { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 24px; }
  .mm-section { border-bottom: 1px solid var(--line-soft); }
  .mm-toggle, .mm-link { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 56px; border: 0; background: none; font: inherit; font-size: 18px; font-weight: 500; color: var(--marine); cursor: pointer; padding: 0; text-align: left; }
  .mm-toggle .caret { width: 14px; height: 14px; transition: transform .2s; }
  .mm-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
  .mm-panel { padding-bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
  .mm-panel[hidden] { display: none; }
  .mm-panel a { padding: 10px 12px; border-radius: 8px; color: var(--marine); font-size: 15px; }
  .mm-panel a:hover { background: var(--soft); }
  .mm-panel .mm-group { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); padding: 14px 12px 4px; }
  .mm-extra { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; font-size: 15px; }
  .mm-extra a { color: var(--marine); display: inline-flex; gap: 8px; align-items: center; min-height: 36px; }
  .mm-extra svg { width: 16px; height: 16px; }
  .mm-cta { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white); }
  .mm-cta .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 16px; }
}
@media (max-width: 560px) {
  .topbar nav a:not(.strong) { display: none; }
}

/* ---------- Profils « Vous êtes » ---------- */
.profiles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.profile { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--soft); color: var(--ink); transition: transform .25s, box-shadow .25s, background .25s; }
.profile:hover { background: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-3px); color: var(--ink); }
.profile .card-label { color: var(--subtle); }
.profile strong { font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--marine); }
.profile p { font-size: 14px; color: var(--muted); }
.profile .more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--violet-text); }
@media (max-width: 1000px) { .profiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .profiles-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Simulateur d'obligations ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: var(--white); }
.sim-form { padding: clamp(24px, 3vw, 36px); background: var(--soft); display: flex; flex-direction: column; gap: 20px; }
.sim-out { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); gap: 4px; flex-wrap: wrap; }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--marine); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--marine); color: var(--white); }
.sim .hint { font-size: 12px; font-weight: 400; color: var(--subtle); }
.oblig { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.oblig-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.oblig-top strong { font-size: 16px; font-weight: 600; color: var(--marine); }
.oblig p { font-size: 14px; color: var(--muted); }
.oblig a { font-size: 13px; font-weight: 600; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.b-now { background: #FFEAF2; color: var(--rose-text); }
.b-soon { background: #FFEDE7; color: var(--corail-text); }
.b-info { background: #EEEDFC; color: var(--violet-text); }
.b-ok { background: var(--good-bg); color: var(--good); }
.sim-empty { padding: 20px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .sim { grid-template-columns: minmax(0, 1fr); } }

.timeline-table td:first-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide { display: flex; flex-direction: column; gap: 12px; }
.guide .cover { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--gradient); display: flex; align-items: flex-end; padding: 18px; color: var(--white); font-weight: 600; font-size: 17px; line-height: 1.25; max-width: 100%; }
.guide .cover.cool { background: linear-gradient(160deg, #4F48D6, #302C80); }
.guide .cover.soft { background: var(--soft); color: var(--subtle); border: 1px dashed #CFCDE6; font-weight: 500; font-size: 14px; }

/* ---------- Ce que nous faisons ---------- */
.doing .k { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-text); }
.doing .card:nth-child(3n+2) .k { color: var(--corail-text); }
.doing .card:nth-child(3n) .k { color: var(--violet-text); }

/* ---------- Thermographie ---------- */
.thermo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.thermo-tabs { display: flex; flex-direction: column; gap: 8px; }
.thermo-tabs [role="tab"] { text-align: left; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: var(--on-dark); border-radius: 12px; padding: 16px 18px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 4px; transition: background .2s, border-color .2s; }
.thermo-tabs [role="tab"] span { font-size: 17px; font-weight: 600; }
.thermo-tabs [role="tab"] small { font-size: 13px; color: var(--on-dark-muted); }
.thermo-tabs [role="tab"]:hover { background: rgba(255, 255, 255, .08); }
.thermo-tabs [role="tab"][aria-selected="true"] { background: rgba(255, 255, 255, .1); border-color: var(--rose-2); box-shadow: inset 3px 0 0 var(--rose); }
.thermo-view { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.thermo-screen { position: relative; border-radius: 14px; overflow: hidden; background: #0B0A24; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); aspect-ratio: 3 / 2; max-width: 100%; }
.thermo-screen canvas { width: 100%; height: 100%; display: block; }
.thermo-pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #fff; background: rgba(11, 10, 36, .55); color: #fff; font: 600 13px/26px var(--font); text-align: center; cursor: pointer; padding: 0; transition: transform .2s, background .2s; }
.pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ping 2.4s ease-out infinite; }
.pin[aria-pressed="true"] { background: var(--rose); transform: scale(1.12); }
@keyframes ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.thermo-hud { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); pointer-events: none; }
.thermo-hud .rec { padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .35); }
.thermo-scale { position: absolute; right: 12px; top: 40px; bottom: 16px; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #fff; pointer-events: none; font-variant-numeric: tabular-nums; }
.thermo-scale i { flex: 1; width: 10px; border-radius: 5px; background: linear-gradient(0deg, #120F3A, #302C80 25%, #4F48D6 45%, #F8578D 62%, #FF8465 80%, #FFE7A3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.thermo-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: l; }
.thermo-legend li button { width: 100%; text-align: left; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--on-dark); font: inherit; cursor: pointer; }
.thermo-legend li button:hover { background: rgba(255, 255, 255, .06); }
.thermo-legend li button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.thermo-legend .n { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.thermo-legend button[aria-pressed="true"] .n { background: var(--rose); border-color: var(--rose); }
.thermo-legend strong { display: block; font-size: 15px; font-weight: 600; }
.thermo-legend small { display: block; font-size: 13px; line-height: 1.5; color: var(--on-dark-muted); }

/* ---------- Déperditions ---------- */
.energy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.energy-visual { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-soft); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.house { width: 100%; height: auto; display: block; }
.house .part { fill: #D9D7F0; stroke: none; cursor: pointer; transition: fill .25s; }
.house .part.stroke { fill: none; stroke: #C4C1E6; stroke-width: 5; stroke-linecap: round; }
.house .part:hover { fill: #C9C6EE; }
.house .part.stroke:hover { stroke: #B3AFE3; }
.house .part.on { fill: var(--rose); }
.house .part.stroke.on { fill: none; stroke: var(--rose); }
.house .t-in { font: 600 18px var(--font); fill: var(--corail-text); }
.house .t-out { font: 600 13px var(--font); fill: var(--violet-text); letter-spacing: .08em; }
.energy-side { display: flex; flex-direction: column; gap: 16px; }
.energy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.energy-list button { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font: inherit; transition: border-color .2s, box-shadow .2s; }
.energy-list button b { font-size: 20px; font-weight: 600; color: var(--marine); font-variant-numeric: tabular-nums; }
.energy-list button span { font-size: 14px; color: var(--muted); }
.energy-list button[aria-pressed="true"] { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(248, 87, 141, .15); }
.energy-list button[aria-pressed="true"] b { color: var(--rose-text); }
.energy-detail { background: var(--white); border-radius: 14px; padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.energy-detail strong { font-size: 18px; color: var(--marine); font-weight: 600; }
.energy-detail .piste { padding: 12px 14px; border-radius: 10px; background: #FFF3EF; font-size: 14px; color: var(--ink); }
.energy-detail .piste b { color: var(--corail-text); font-weight: 600; }

/* ---------- Guides et formulaires de téléchargement ---------- */
.lead-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.lead-form { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-float); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.lead-form .ui-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--marine); font-size: 15px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--gradient-text); -webkit-mask: radial-gradient(circle, #000 0 45%, transparent 46%); mask: radial-gradient(circle, #000 0 45%, transparent 46%); }
.hero.page .hero-visual .lead-form { width: 100%; max-width: 420px; }
.next { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.next b { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--marine); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.next strong { display: block; font-size: 15px; color: var(--marine); font-weight: 600; }

@media (max-width: 1080px) {
  .thermo { grid-template-columns: minmax(0, 1fr); }
  .thermo-tabs { flex-direction: row; flex-wrap: wrap; }
  .thermo-tabs [role="tab"] { flex: 1 1 200px; }
}
@media (max-width: 900px) {
  .thermo-view, .energy, .lead-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .thermo-tabs [role="tab"] small { display: none; }
  .thermo-tabs [role="tab"] { flex: 1 1 30%; padding: 12px; }
  .thermo-tabs [role="tab"] span { font-size: 14px; }
  .thermo-scale { width: 32px; font-size: 10px; }
}

.contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form .grid.g2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .thermo-hud { font-size: 9px; } .thermo-hud #thermo-mode { max-width: 60%; } }
[id] { scroll-margin-top: 88px; }

/* =========================================================
   Version premium : en-tête et héros violet profond
   ========================================================= */
.site-header, .site-header.scrolled, .site-header.menu-open { background: rgba(48, 44, 128, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.site-header .nav > a, .site-header .nav-trigger { color: var(--on-dark); }
.site-header .nav > a:hover, .site-header .nav-trigger:hover, .site-header .nav-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.site-header .nav > a[aria-current="page"], .site-header .nav-trigger.current { color: var(--on-dark); background: none; box-shadow: inset 0 -2px 0 var(--rose); }
.site-header .nav-copro { font-weight: 600 !important; }
.client-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--on-dark); font-size: 14px; font-weight: 500; white-space: nowrap; }
.client-link svg { width: 18px; height: 18px; }
.client-link:hover, .client-link[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.site-header .burger { background: rgba(255, 255, 255, .12); color: var(--on-dark); }
.mobile-menu { border-top-color: rgba(255, 255, 255, .1); }

.hero { background: var(--marine); color: var(--on-dark); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 420px at 12% 100%, rgba(79, 72, 214, .55), rgba(79, 72, 214, 0) 70%); pointer-events: none; }
.hero h1 { color: var(--on-dark); }
.hero .lead { color: var(--on-dark-muted); }
.hero .eyebrow { color: var(--rose-2); }
.hero .btn-link { color: var(--on-dark); }
.hero .btn-link:hover { color: var(--rose-3); }
.hero .btn-primary { background: var(--white); color: var(--marine); }
.hero .btn-primary:hover { background: var(--rose-3); color: var(--marine); }
.hero .pill-link { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.hero .pill-link b { background: var(--rose); color: var(--marine); }
.hero .lead-form { color: var(--ink); }
.hero .hero-band { opacity: .95; }

/* ---------- Copropriété au premier plan ---------- */
.copro-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.copro-services a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.copro-services a:hover { border-color: var(--rose-2); box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--ink); }
.copro-services strong { font-size: 16px; font-weight: 600; color: var(--marine); }
.copro-services span { font-size: 14px; color: var(--muted); }
.profile.featured { background: var(--marine); }
.profile.featured strong, .profile.featured .more { color: var(--on-dark); }
.profile.featured p { color: var(--on-dark-muted); }
.profile.featured .card-label { color: var(--rose-2); }
.profile.featured:hover { background: var(--marine-2); }
@media (max-width: 560px) { .copro-services { grid-template-columns: minmax(0, 1fr); } }

.nav > a, .nav-trigger, .client-link, .header-cta .btn { white-space: nowrap; }
.kv { align-items: center; }
@media (max-width: 1240px) { .site-header .client-link { display: none; } }
.brand { flex: none; } .brand img { height: 32px; width: auto; max-width: none; }

/* ---------- Espace client (connexion discrète) ---------- */
.login-wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.login-card { width: 100%; max-width: 460px; padding: clamp(28px, 4vw, 40px); border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 16px; }
.login-btn { justify-content: center; min-height: 50px; }
.staff-link { font-size: 13px; color: var(--subtle); }
.staff-link a { color: var(--subtle); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Réalisations ---------- */
.hero-photo { margin: 0; width: 100%; max-width: 460px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-float); position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(20, 18, 60, .7); color: #fff; font-size: 12px; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--marine); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--marine); color: var(--white); border-color: var(--marine); }
.fiches { display: flex; flex-direction: column; gap: 32px; }
.fiche { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(18px, 2.5vw, 28px); border-radius: 20px; border: 1px solid var(--line); background: var(--white); align-items: start; scroll-margin-top: 96px; }
.fiche[hidden] { display: none; }
.fiche-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding-block: 8px; }
.fiche-dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fiche-dl div { padding-top: 14px; border-top: 1px solid var(--line); }
.fiche-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-text); margin-bottom: 4px; }
.fiche-dl dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--soft); display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-size: 18px; font-weight: 600; color: var(--marine); }
.kpi b.todo { font-size: 13px; font-weight: 500; color: var(--rose-text); }
.kpi span { font-size: 12px; color: var(--subtle); }
.fiche figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; }
.fiche figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fiche figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 18, 60, .72); color: #fff; font-size: 12px; font-weight: 600; }
.fiche figcaption.after { background: #F8578D; color: #302C80; }
.ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ba-pair figure { aspect-ratio: 4 / 5; }
.ba-pair.single { grid-template-columns: 1fr; }
.ba-pair.single figure { aspect-ratio: 4 / 3; }
.single { aspect-ratio: 4 / 3; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery .big { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery figure:not(.big) { aspect-ratio: 1; }
.gallery figure:not(.big) figcaption { top: auto; bottom: 8px; left: 8px; font-size: 11px; }
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.teaser { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 360px; padding: 24px; border-radius: 18px; overflow: hidden; color: #fff; isolation: isolate; }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 60, 0) 35%, rgba(20, 18, 60, .85)); }
.teaser:hover img { transform: scale(1.05); }
.teaser:hover { color: #fff; }
.teaser strong { font-size: 20px; line-height: 1.3; font-weight: 600; }
.t-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; }
@media (max-width: 900px) {
  .fiche { grid-template-columns: minmax(0, 1fr); }
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .teaser { min-height: 280px; }
}
@media (max-width: 560px) { .kpis { grid-template-columns: minmax(0, 1fr); } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.member { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.portrait { aspect-ratio: 4 / 5; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 148, 194, .35), rgba(79, 72, 214, .35)); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--subtle); }
.member figcaption { display: flex; flex-direction: column; gap: 2px; }
.member span { font-size: 14px; color: var(--muted); }

/* ---------- Fiche signalétique, aide au choix, MaPrimeRénov ---------- */
.fs-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-float); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fs-head { display: flex; flex-direction: column; gap: 6px; }
.fs-head .ui-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.fs-head strong { font-size: 19px; color: var(--marine); font-weight: 600; }
.fs-labels { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fs-labels > div { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.fs-labels small { grid-column: 1 / -1; font-size: 12px; color: var(--subtle); margin-bottom: 4px; }
.dpe { width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.fs-labels em { font-style: normal; font-size: 13px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.fs-arrow { font-size: 24px; color: var(--rose); }
.fs-works { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fs-works li { padding: 5px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 12px; color: var(--marine); }
.fs-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.fs-nums div { background: var(--white); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.fs-nums span { font-size: 12px; color: var(--subtle); }
.fs-nums b { font-size: 17px; font-weight: 600; color: var(--marine); font-variant-numeric: tabular-nums; }
.fs-nums b.g { color: var(--good); }
.fiche .fs-card { box-shadow: none; }
.decide { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.decide div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.decide span { font-size: 16px; color: var(--muted); }
.decide strong { font-size: 17px; font-weight: 600; color: var(--marine); display: flex; gap: 10px; align-items: center; }
.decide strong::before { content: "→"; color: var(--rose); }
.mpr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: clamp(24px, 3vw, 36px); border-radius: 16px; border: 1px solid var(--line); background: var(--soft); }
.missing { display: flex; align-items: center; justify-content: center; background: var(--soft); border: 1px dashed var(--line); color: var(--rose-text); font-size: 13px; font-style: italic; text-align: center; }
@media (max-width: 900px) { .mpr { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .decide div { grid-template-columns: minmax(0, 1fr); } .fs-nums { grid-template-columns: minmax(0, 1fr); } }

/* Menus déroulants : marges intérieures régulières */
.dropdown.narrow { width: min(600px, calc(100vw - 2 * var(--gutter))); padding: 20px; }
.dd-grid.profiles { column-gap: 12px; row-gap: 4px; }
.dd-grid.profiles .dd-link { margin-inline: 0; padding: 12px; }
.dd-grid.profiles .dd-link > span:last-child { min-width: 0; }
.dropdown.narrow .dd-foot { margin-inline: 12px; }

/* Logos de certification */
.cert-logo { height: 124px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 8px; }
.cert-logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* Espace client : connexion à droite du titre */
.hero .login-wrap { align-items: stretch; gap: 14px; }
.hero .login-wrap .login-card { max-width: none; }
.hero .staff-link { text-align: center; }
.dd-col .dd-simple { margin-inline: 0; padding-inline: 0; }
.dd-col .dd-simple:hover { background: none; color: var(--rose-text); }
.dd-foot { align-items: center; }

/* Espace client : carte centrée sur le titre et dans la section */
.hero-client .hero-grid { align-items: center; padding-block: 96px; min-height: min(640px, calc(100vh - 72px)); }
.hero-client .login-wrap { justify-self: end; width: 100%; max-width: 480px; }
.hero-client .staff-link { text-align: left; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .hero-client .hero-grid { min-height: 0; padding-block: 230px 64px; } .hero-client .login-wrap { justify-self: stretch; max-width: none; } }

/* Décret tertiaire : paliers mis en avant */
.dt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 8px; }
.dt-steps > div { position: relative; padding: 16px 14px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.dt-steps b { white-space: nowrap; font-size: clamp(26px, 2.3vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1; background: linear-gradient(120deg, #FF8465, #F8578D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dt-steps span { font-size: 14px; font-weight: 500; color: var(--subtle); }
.dt-steps i { position: absolute; left: 0; bottom: 0; height: 5px; width: var(--w); background: linear-gradient(90deg, #FF8465, #F8578D); border-radius: 0 3px 3px 0; }
@media (max-width: 480px) { .dt-steps { gap: 8px; } .dt-steps > div { padding: 14px 12px 18px; } .dt-steps b { font-size: 28px; } }

/* Portraits équipe */
.portrait.has-photo { border: 0; overflow: hidden; background: #E9E7F3; }
.portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: transform .5s ease; }
.member:hover .portrait.has-photo img { transform: scale(1.03); }
.member small { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.member strong { font-size: 18px; font-weight: 600; color: var(--marine); }
.member-cta { color: inherit; text-decoration: none; }
.cta-portrait { border: 0; background: radial-gradient(260px 220px at 80% 10%, rgba(248, 87, 141, .55), rgba(248, 87, 141, 0) 70%), linear-gradient(160deg, #4F48D6, #302C80); color: #FFFFFF; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; align-items: flex-end; justify-content: flex-start; padding: 28px; }
.member-cta small { color: var(--rose-text); font-weight: 600; }

/* Contenus provisoires (maquette) : à retirer avant mise en ligne */
.prov { text-decoration: underline dotted rgba(248, 87, 141, .7); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.prov-note { font-size: 13px; color: var(--subtle); margin-top: 18px; }
.prov-note i { font-style: normal; text-decoration: underline dotted rgba(248, 87, 141, .8); text-underline-offset: 4px; }

/* Formulaires : envoi, rappel, pot de miel */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field small { font-weight: 400; color: var(--subtle); }
.submit-row { align-items: center; gap: 16px; flex-wrap: wrap; }
.submit-row .delay { font-size: 14px; color: var(--subtle); display: inline-flex; align-items: center; gap: 8px; }
.submit-row .delay::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BB273; }
.form-ok.is-error { color: #C9416F; }
.callback { display: flex; flex-direction: column; gap: 12px; }
.callback .cb-title { font-size: 19px; color: var(--marine); }
.foot-contact { font-size: 14px; line-height: 1.7; }
.foot-contact a { color: inherit; }
.sim-mail { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sim-mail .field { gap: 10px; }
.sim-mail-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sim-mail-row input { flex: 1 1 220px; }
/* Téléphone dans l'en-tête */
.tel-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: inherit; white-space: nowrap; }
.tel-link svg { width: 16px; height: 16px; }
@media (max-width: 1240px) { .site-header .tel-link { display: none; } }
/* Barre de contact mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 16px; background: rgba(38, 34, 110, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #FFFFFF; background: rgba(255, 255, 255, .1); }
  .mobile-bar a:last-child { background: linear-gradient(120deg, #FF8465, #F8578D); }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 76px; }
}

.btn-outline { background: transparent; color: var(--marine); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--marine); }

/* Pages régions */
.region-card { display: flex; flex-direction: column; gap: 14px; }
.rc-row { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.rc-row b { font-size: 26px; font-weight: 600; color: var(--marine); white-space: nowrap; min-width: 96px; }
.rc-row span { font-size: 14px; color: var(--muted); }
.zone { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.estimator { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.est-form { display: flex; flex-direction: column; gap: 16px; }
.est-hint { font-size: 14px; line-height: 1.6; color: var(--muted); padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.est-out { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 24px; border-radius: 16px; background: radial-gradient(260px 200px at 100% 0%, rgba(248, 87, 141, .4), rgba(248, 87, 141, 0) 70%), #302C80; color: #FFFFFF; }
.est-out .ui-label { color: #FF94C2; }
.est-out b { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.est-out span { font-size: 14px; color: #C9C7F2; }
.est-out small { font-size: 12px; color: #A9A6DD; }
.est-out .btn { align-self: flex-start; background: #FFFFFF; color: #302C80; margin-top: 6px; }
.grid-details { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; background: var(--white); }
.grid-details summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--marine); }
.grid-details .grid-title { font-size: 17px; margin: 12px 0; }
.grid-details .table-wrap { margin-bottom: 20px; }
.price-table { font-size: 13px; min-width: 900px; }
.price-table th, .price-table td { padding: 8px 10px; text-align: right; white-space: nowrap; }
.price-table th:first-child { text-align: left; }
.price-table thead th { white-space: normal; font-size: 12px; vertical-align: bottom; }
.price-extra { margin-top: 24px; }
.opt-list { display: flex; flex-direction: column; margin-top: 8px; }
.opt-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.opt-list strong { font-weight: 500; color: var(--ink); }
.opt-list span { font-weight: 600; color: var(--marine); white-space: nowrap; }
.lexique { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--subtle); }
.lexique b { color: var(--marine); margin-right: 4px; }
.region-link { color: inherit; text-decoration: none; transition: transform .2s; }
.region-link:hover { transform: translateY(-2px); }
@media (max-width: 900px) { .estimator { grid-template-columns: minmax(0, 1fr); } }

/* Articles */
.art-head { padding-block: clamp(120px, 14vw, 160px) 24px; }
.art-narrow { max-width: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--subtle); margin-bottom: 20px; }
.crumbs a { color: var(--subtle); }
.art-h1 { font-size: clamp(34px, 5vw, 54px); margin-block: 12px 18px; }
.art-meta { font-size: 14px; color: var(--subtle); margin-top: 16px; }
.art-body { display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(56px, 8vw, 96px); font-size: 17px; line-height: 1.75; color: var(--ink); }
.art-body h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 600; color: var(--marine); letter-spacing: -.01em; line-height: 1.2; margin-top: 20px; }
.art-body p { margin: 0; }
.art-body a { color: var(--violet-text, #4F48D6); text-decoration: underline; text-underline-offset: 3px; }
.art-body .table-wrap table { min-width: 0; font-size: 15px; }
.art-body .art-table th, .art-body .art-table td { padding: 12px 14px; text-align: left; vertical-align: top; }
.art-bref { padding: 20px 24px; border-radius: 16px; background: var(--soft); border-left: 4px solid #F8578D; }
.art-bref ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.art-tip { padding: 20px 24px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 132, 101, .12), rgba(248, 87, 141, .12)); }
.art-tip strong { color: var(--marine); }
.art-tip p { margin-top: 6px; font-size: 16px; }
.art-steps { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.art-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; border-radius: 18px; background: #302C80; color: #FFFFFF; margin-top: 16px; }
.art-cta strong { font-size: 19px; }
.art-cta p { font-size: 15px; color: #C9C7F2; margin-top: 4px; }
.art-cta .btn { background: #FFFFFF; color: #302C80; }
.art-sources h2 { font-size: 20px; }
.art-sources ul { padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.art-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .2s; }
.art-card:hover { transform: translateY(-2px); }
.art-card .more { margin-top: auto; }

/* Pages légales */
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal h2 { font-size: 22px; font-weight: 600; color: var(--marine); margin-top: 18px; }
.legal .table-wrap table { min-width: 720px; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; }
.member .cta-portrait, .member .cta-portrait span { color: #FFFFFF; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; }
.est-out .btn, body.premium .est-out .btn { background: #FFFFFF; color: #302C80; }
.rc-row { flex-wrap: wrap; }
.art-head { padding-block: clamp(96px, 10vw, 128px) 24px; }
.site-header.menu-open ~ .mobile-bar, body:has(.site-header.menu-open) .mobile-bar { display: none; }
@media (max-width: 1439px) { .site-header .tel-link { display: none; } }
.nav > a, .nav-trigger { padding: 0 10px; }
.header-inner { gap: 16px; }
.site-header .tel-link { display: none; }
@media (min-width: 1440px) { body.premium .site-header .tel-link { display: inline-flex; } }
.nav { gap: 2px; }
.nav > a, .nav-trigger { padding: 0 9px; }

/* Centrage vertical des mises en page en deux colonnes */
.split, .sec-head, .lead-grid, .pre-grid { align-items: center; }
.split > div { justify-content: center; }
/* Pied de page : mention RGPD sur toute la largeur */
.foot-legal .rgpd { max-width: none; }

/* Articles : colonne de lecture + sommaire, alignés sur la grille du site */
.art-head-in { max-width: 860px; }
.art-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 300px); justify-content: space-between; gap: 64px; align-items: start; }
.art-side { position: relative; height: 100%; }
.art-side-in { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 48px; }
.art-toc { padding: 20px; border-radius: 16px; border: 1px solid var(--line); }
.art-toc ol { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.art-toc a { color: var(--muted); text-decoration: none; }
.art-toc a:hover { color: var(--marine); }
.art-side-cta { padding: 22px; border-radius: 16px; background: radial-gradient(260px 200px at 100% 0%, rgba(248, 87, 141, .22), rgba(248, 87, 141, 0) 70%), #FBF6F3; color: #302C80; display: flex; flex-direction: column; gap: 10px; }
.art-side-cta strong { font-size: 17px; line-height: 1.3; }
.art-side-cta p { font-size: 14px; color: #4B5563; }
.art-side-cta .btn { align-self: flex-start; background: #302C80; color: #FFFFFF; }
.art-side-cta .side-tel { font-size: 14px; font-weight: 600; color: #302C80; }
.art-body h2[id] { scroll-margin-top: 100px; }
@media (max-width: 1000px) { .art-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .art-side { display: none; } }

/* Expertises : fil visuel en 3 étapes */
.phase-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; margin-bottom: 40px; }
.phase-head > div { display: flex; flex-direction: column; gap: 12px; }
.phase-title { display: flex !important; flex-direction: row !important; align-items: center; gap: 24px !important; }
.phase-title > div { display: flex; flex-direction: column; gap: 12px; }
.phase-num { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 600; color: #FFFFFF; background: linear-gradient(135deg, #4F48D6, #302C80); box-shadow: 0 0 0 6px rgba(79, 72, 214, .18); flex: none; }
.phase-num.corail { background: linear-gradient(135deg, #FF8465, #F8578D); box-shadow: 0 0 0 6px rgba(255, 132, 101, .2); }
.phase-num.rose { background: linear-gradient(135deg, #F8578D, #C9416F); box-shadow: 0 0 0 6px rgba(248, 87, 141, .2); }
.phase-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.notions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.notion { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
.notion:hover { transform: translateY(-2px); border-color: var(--rose-text); }
.notion strong { font-size: 17px; font-weight: 600; color: var(--marine); }
.notion span { font-size: 14px; line-height: 1.55; color: var(--muted); }
.notion em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--rose-text); margin-top: auto; padding-top: 6px; }
.card-link { color: inherit; text-decoration: none; transition: transform .2s; }
.card-link:hover { transform: translateY(-2px); }
.card-link .more { margin-top: auto; }
@media (max-width: 1000px) { .phase-head { grid-template-columns: auto minmax(0, 1fr); } .phase-head > p { grid-column: 1 / -1; } .notions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .notions { grid-template-columns: minmax(0, 1fr); } .phase-num { width: 48px; height: 48px; font-size: 20px; } }

/* Simulateur : envoi par e-mail sur toute la largeur */
.sim-mail { grid-column: 1 / -1; margin: 0; padding: 22px clamp(24px, 3vw, 36px) 26px; border-top: 1px solid var(--line); background: var(--soft); display: flex; flex-direction: column; gap: 10px; }
.sim-mail .field { width: 100%; max-width: 760px; }
.sim-mail-row input { min-height: 48px; }

/* Pages régions : titre */
.hero-region .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.hero-region .h1 { font-size: clamp(34px, 3.8vw, 52px); text-wrap: balance; }
.rc-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; flex-wrap: nowrap; }
.rc-row b { min-width: 0; font-size: 24px; }
@media (max-width: 900px) { .hero-region .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Lexique */
.lex-hero { padding-block: clamp(110px, 12vw, 150px) clamp(40px, 5vw, 64px); }
.lex-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lex-hero-in { display: flex; flex-direction: column; gap: 14px; }
.lex-h1 { font-size: clamp(44px, 6vw, 72px); }
.lex-full { font-size: 20px; font-weight: 600; color: var(--marine); }
.lex-cta-card { display: flex; flex-direction: column; gap: 14px; }
.lex-cta-card .btn { align-self: flex-start; }
.lex-cta-card .side-tel { font-size: 14px; font-weight: 600; color: var(--muted); }
.lex-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lex-block { padding: 28px; border-radius: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.lex-block .checks { margin: 0; }
.lex-links { display: flex; flex-direction: column; gap: 10px; }
.lex-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: transform .2s; }
.lex-card:hover { transform: translateY(-2px); }
.lex-card .more { margin-top: auto; }
.lex-nom { color: var(--subtle); margin-top: -4px; }
.lex-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.lex-jump a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--marine); text-decoration: none; }
.lex-group { margin-bottom: 48px; scroll-margin-top: 100px; }
.lex-gtitle { font-size: 22px; margin-bottom: 18px; }
@media (max-width: 900px) { .lex-hero-grid, .lex-body { grid-template-columns: minmax(0, 1fr); } }
td { white-space: normal; }
#faisabilite td { white-space: nowrap; }
.hero-region .h1 { font-size: clamp(32px, 3.4vw, 46px); }
.hero-region .hero-copy { max-width: 680px; }
