/* communication-industrie.com, by Magineo. V4.
   Sections plein écran : visuel d'ambiance avec texte (A) / aplat avec texte (B).
   Apparitions discrètes, aucune librairie. Le contenu reste lisible sans JavaScript. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #0c0c0d;
  --coal: #141415;
  --ivory: #f1ece4;
  --ivory-2: #e7dfd4;
  --ink: #17140f;
  --stone: #8b8279;
  --gold: #e8be6c;
  --bronze: #8c5e2e;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.78);
  --mute: rgba(255, 255, 255, 0.52);
  --hair: rgba(255, 255, 255, 0.16);
  --hair-ink: rgba(23, 20, 15, 0.14);
  --ink-soft: rgba(23, 20, 15, 0.72);

  --font: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--night); color: var(--white); font-family: var(--font); font-weight: 300; font-size: 1.0625rem; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
strong { font-weight: 400; color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- Titres : début en or gras, suite en Light ---------- */
.h, .display {
  font-weight: 300; letter-spacing: -0.03em; text-wrap: balance;
  font-size: clamp(2.4rem, 5.2vw, 5.4rem); line-height: 1.02;
}
.display { font-size: clamp(2.8rem, 6.2vw, 6.6rem); line-height: 0.98; }
.h b, .display b { font-weight: 600; color: var(--gold); }
.display b { display: block; }
.on-light .h b, .on-light .display b { color: var(--bronze); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.3rem); line-height: 1.65; color: var(--soft); max-width: 36em; }
.on-light .lead { color: var(--ink-soft); }
.lead strong { color: var(--white); }
.on-light .lead strong, .on-light strong { color: var(--ink); font-weight: 400; }

/* ---------- Boutons et liens ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 0.9375rem/1 var(--font); letter-spacing: 0.01em;
  padding: 18px 30px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn::after { content: "→"; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--night); font-weight: 600; }
.btn-gold:hover { background: #f3d395; }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 12px 22px; font-size: 0.875rem; }
.more { display: inline-flex; align-items: center; gap: 12px; font-size: 0.9375rem; font-weight: 400; text-decoration: none; color: var(--white); padding-bottom: 8px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; }
.more::after { content: "→"; color: var(--gold); transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(5px); }
.on-light .more { color: var(--ink); background-image: linear-gradient(var(--bronze), var(--bronze)); }
.on-light .more::after { color: var(--bronze); }

/* ---------- En-tête : transparent sur les visuels, opaque au défilement ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header-h); display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease), height .5s var(--ease); }
.site-header.solid { background: rgba(12, 12, 13, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--hair); height: 72px; }
.site-header .wrap { display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 20px; height: auto; }
.brand .name { display: grid; line-height: 1.15; }
.brand .name span:first-child { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.01em; }
.brand .name span:last-child { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px 34px; }
.site-nav a { text-decoration: none; font-size: 0.875rem; color: var(--soft); padding: 6px 0; display: inline-block; transition: color .25s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
@media (max-width: 1040px) {
  .site-header, .site-header.solid { height: auto; padding-block: 14px 6px; }
  .site-header .wrap { flex-wrap: wrap; row-gap: 6px; }
  .site-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
  .site-nav ul { justify-content: flex-start; gap: 22px; }
  .site-nav a { white-space: nowrap; font-size: 0.8125rem; }
  .header-cta { margin-left: auto; }
}

/* ---------- Section A : visuel plein écran, texte par-dessus ---------- */
.scene { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding-block: calc(var(--header-h) + 64px) clamp(56px, 9vh, 112px); background: var(--night); }
.scene .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.scene .bg img, .scene .bg picture { width: 100%; height: 100%; }
.scene .bg img { object-fit: cover; object-position: 70% 50%; filter: saturate(.9) sepia(.1); }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,12,13,.9) 0%, rgba(12,12,13,.72) 36%, rgba(12,12,13,.22) 66%, rgba(12,12,13,0) 82%),
    linear-gradient(0deg, rgba(12,12,13,.85) 0%, rgba(12,12,13,.35) 30%, rgba(12,12,13,0) 55%),
    linear-gradient(180deg, rgba(12,12,13,.55) 0%, rgba(12,12,13,0) 22%); }
.scene .wrap { position: relative; }
.scene .copy { max-width: 760px; display: grid; gap: 30px; }
.scene .copy.wide, .hero .copy { max-width: 1040px; }
.hero .lead { max-width: 40em; }
.copy > .more, .copy > .actions { justify-self: start; }
.scene .bg picture { display: block; }
.scene .punch { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; color: var(--white); font-weight: 400; max-width: 30em; }
@media (max-width: 760px) {
  .scene { padding-top: calc(110px + 38vh); }
  .scene.short { padding-top: calc(110px + 20vh); }
  .scene .bg img { object-position: 50% 20%; }
  .scene::before { background: linear-gradient(0deg, rgba(12,12,13,.96) 0%, rgba(12,12,13,.88) 45%, rgba(12,12,13,.2) 72%, rgba(12,12,13,.5) 100%); }
}
.scene.short { min-height: 72vh; min-height: 72svh; }

/* Hero : zoom très lent */
.hero .bg img { animation: breathe 26s var(--ease) both; }
@keyframes breathe { from { transform: scale(1.0); } to { transform: scale(1.07); } }
/* Hero variante : fondu lent entre trois visuels */
.hero.fade .bg picture { position: absolute; inset: 0; opacity: 0; animation: cross 24s linear infinite; }
.hero.fade .bg picture:nth-child(1) { animation-name: cross-first; }
.hero.fade .bg picture:nth-child(2) { animation-delay: 8s; }
.hero.fade .bg picture:nth-child(3) { animation-delay: 16s; }
.hero.fade .bg img { animation: breathe 12s linear infinite alternate; }
@keyframes cross { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cross-first { 0% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 94% { opacity: 0; } 100% { opacity: 1; } }
.scroll-hint { position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 112px); display: grid; justify-items: center; gap: 14px; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); writing-mode: vertical-rl; }
.scroll-hint::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: drip 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) { .scroll-hint { display: none; } }

/* Parallaxe léger des visuels (navigateurs compatibles uniquement) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scene:not(.hero) .bg { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; inset: -8% 0; }
    @keyframes drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
  }
}

/* Points en ligne sur un visuel */
.inline-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; max-width: 1040px; }
@media (min-width: 900px) { .inline-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.inline-points li { padding: 22px 0; border-top: 1px solid var(--hair); display: grid; gap: 6px; }
.inline-points h3 { font-weight: 600; font-size: 1.05rem; color: var(--gold); }
.inline-points p { color: var(--soft); font-size: 0.975rem; line-height: 1.6; }

/* ---------- Section B : aplat ---------- */
.plain { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: clamp(96px, 14vh, 160px); background: var(--coal); }
.plain.auto { min-height: 0; }
.on-light { background: var(--ivory); color: var(--ink); color-scheme: light; }
.plain .wrap > .copy { display: grid; gap: 30px; max-width: 900px; }
.split { display: grid; gap: 56px; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(64px, 8vw, 140px); align-items: center; } }

/* Trois âges */
.ages { list-style: none; margin: clamp(56px, 8vh, 96px) 0 clamp(40px, 6vh, 64px); padding: 0; display: grid; border-top: 1px solid var(--hair-ink); }
@media (min-width: 900px) { .ages { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ages li + li { border-left: 1px solid var(--hair-ink); padding-left: 40px; } }
.ages li { padding: 32px 40px 32px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--hair-ink); }
@media (min-width: 900px) { .ages li { border-bottom: 0; } }
.ages .when { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.ages h3 { font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.ages p { color: var(--ink-soft); }

/* Un seul discours */
.statement .punch { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.45; font-weight: 300; color: var(--white); max-width: 26em; padding-left: 28px; border-left: 1px solid var(--gold); }
.statement p:not(.punch):not(.lead) { color: var(--soft); max-width: 34em; }

/* Autodiagnostic */
.quiz { list-style: none; margin: 0; padding: 0; counter-reset: q; display: grid; border-top: 1px solid var(--hair-ink); }
.quiz li { counter-increment: q; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--hair-ink); color: var(--ink); font-size: 1.08rem; line-height: 1.55; }
.quiz li::before { content: counter(q); color: var(--bronze); font-weight: 600; }
.verdict { font-size: 1.12rem; color: var(--ink-soft); max-width: 28em; }

/* Carnet */
.posts { list-style: none; margin: clamp(48px, 7vh, 80px) 0 0; padding: 0; display: grid; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .posts li + li { border-left: 1px solid var(--hair); } .posts li + li .card { padding-left: 36px; } }
.posts li { border-bottom: 1px solid var(--hair); }
@media (min-width: 900px) { .posts li { border-bottom: 0; } }
.card { display: grid; gap: 14px; align-content: start; height: 100%; padding: 36px 36px 40px 0; }
.card h3 { font-weight: 400; font-size: 1.35rem; line-height: 1.3; }
.card p { color: var(--soft); font-size: 0.975rem; }
.card .go { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.top .copy { display: grid; gap: 24px; max-width: 760px; }

/* Passer à l'action */
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; border-top: 1px solid var(--hair); }
.facts li { padding: 20px 16px 0 0; display: grid; gap: 2px; }
.facts b { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--gold); }
.facts span { font-size: 0.8125rem; color: var(--soft); line-height: 1.45; }
.contact-line { display: flex; flex-wrap: wrap; gap: 6px 28px; color: var(--mute); font-size: 0.9375rem; }
.contact-line a { color: var(--soft); text-decoration: none; }
.contact-line a:hover { color: var(--gold); }

/* Logos */
.clients { padding-block: clamp(64px, 9vh, 96px); }
.clients h2 { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); text-align: center; }
.logos { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.logos li { width: calc((100% - 48px) / 7); min-width: 96px; display: grid; place-items: center; padding: 6px 10px; }
.logos img { width: 100%; max-width: 124px; opacity: 0.55; filter: grayscale(1); transition: opacity .3s ease; }
.logos li:hover img { opacity: 1; }
@media (max-width: 700px) { .logos li { width: calc((100% - 16px) / 3); min-width: 0; } }

/* ---------- Pages internes ---------- */
.crumbs { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.crumbs a { text-decoration: none; color: var(--soft); }
.crumbs a:hover { color: var(--gold); }
.crumbs span::before { content: "/"; margin: 0 12px; color: var(--gold); }
.reading { padding-block: clamp(96px, 13vh, 160px); }
.prose { max-width: 740px; margin-inline: auto; display: grid; gap: 22px; font-size: 1.125rem; line-height: 1.85; color: var(--ink-soft); }
.prose h2 { font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-top: 48px; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h2 b { font-weight: 600; color: var(--bronze); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; }
.prose li::marker { color: var(--bronze); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 32px; border-left: 1px solid var(--bronze); font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.4; font-weight: 300; color: var(--ink); }
.prose a { color: var(--bronze); }
.next-link { display: grid; gap: 18px; text-decoration: none; max-width: 980px; }
.next-link .label { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.next-link .h { transition: color .4s var(--ease); }
.next-link:hover .h { color: #fff6e3; }
.next-link .arrow { color: var(--gold); font-size: 1.6rem; transition: transform .4s var(--ease); }
.next-link:hover .arrow { transform: translateX(8px); }

/* ---------- Apparitions discrètes (seulement si le JavaScript tourne) ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero .rise { transition-duration: 1.4s; }

/* Aperçu : bascule entre les deux heros (n'existe pas en production) */
.proto-switch { position: fixed; z-index: 40; right: 18px; bottom: 18px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(12,12,13,.82); border: 1px solid var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.75rem; }
.proto-switch a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--soft); white-space: nowrap; }
.proto-switch a[aria-current] { background: var(--gold); color: var(--night); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; transform: none; }
  .hero.fade .bg picture:nth-child(1) { opacity: 1; }
}

/* Passer à l'action : portrait sur la moitié droite, texte sur aplat à gauche */
.duo { background: var(--night); }
.duo .bg img { object-position: 50% 25%; filter: none; }
@media (min-width: 1000px) {
  .duo { align-items: center; }
  .duo .bg { inset: 0 0 0 42% !important; animation: none !important; }
  .duo::before { background: linear-gradient(90deg, var(--night) 0%, var(--night) 42%, rgba(12,12,13,.5) 48%, rgba(12,12,13,0) 58%), linear-gradient(0deg, rgba(12,12,13,.5) 0%, rgba(12,12,13,0) 30%); }
  .duo .copy { max-width: 560px; }
}

/* ---------- V5 : menu mobile ---------- */
.menu-toggle { display: none; align-items: center; gap: 10px; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--white); border-radius: 999px; padding: 10px 18px; font: 400 0.875rem/1 var(--font); cursor: pointer; }
.menu-toggle .bars { width: 16px; height: 8px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.menu-mobile { position: fixed; inset: 0; z-index: 19; background: var(--night); padding-top: 96px; overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.menu-mobile ul { list-style: none; margin: 0; padding: 24px 0; display: grid; border-top: 1px solid var(--hair); }
.menu-mobile li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-size: 1.6rem; font-weight: 300; letter-spacing: -0.01em; }
.menu-mobile li a:hover { color: var(--gold); }
.menu-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 12px; }
.menu-contact a { color: var(--gold); text-decoration: none; }
.menu-open, .menu-open body { overflow: hidden; }
@media (max-width: 1040px) {
  .js .site-nav { display: none; }
  .js .header-cta { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-header, .js .site-header.solid { height: 72px; padding-block: 0; }
  .js .site-header .wrap { flex-wrap: nowrap; }
  .menu-open .site-header { background: var(--night); }
}
/* Hero mobile : moins d'image avant le message */
@media (max-width: 760px) {
  .scene { padding-top: calc(96px + 28vh); }
  .hero { padding-top: calc(96px + 16vh); }
  .scene.short { padding-top: calc(96px + 16vh); }
  .hero .display { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero .lead { font-size: 1.02rem; }
}

/* ---------- V5 : autodiagnostic interactif ---------- */
.quiz-box { display: grid; gap: 28px; }
.quiz li { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
.quiz li .yn { grid-column: 2; display: flex; gap: 8px; margin-top: 10px; }
.yn button { font: 400 0.875rem/1 var(--font); padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(23,20,15,.28); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.yn button:hover { border-color: var(--bronze); color: var(--bronze); }
.yn button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.quiz-result { background: var(--ink); color: var(--white); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.quiz-result .progress { color: var(--soft); font-size: 0.95rem; }
.quiz-result .head { font-size: 1.15rem; line-height: 1.5; }
.quiz-result .head b { color: var(--gold); font-weight: 600; }
.quiz-result .sub { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.quiz-result ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; color: var(--soft); }
.quiz-result li::marker { color: var(--gold); }
.quiz-result a:not(.btn) { color: var(--gold); }
.quiz-result .note { font-size: 0.8125rem; color: var(--mute); }

/* Sources */
.prose .sources { font-size: 0.95rem; line-height: 1.6; }
.prose .asof { font-size: 0.875rem; color: var(--stone); }
@media (max-width: 760px) { .proto-switch { bottom: auto; top: 80px; right: 50%; transform: translateX(50%); } }

/* ---------- V6 ---------- */
/* Quatre colonnes : ce qui a changé, les quatre axes */
@media (min-width: 900px) {
  .ages.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ages.four li:nth-child(3) { border-left: 0; padding-left: 0; }
  .ages.four li:nth-child(-n+2) { border-bottom: 1px solid var(--hair-ink); }
  .inline-points.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
}
@media (min-width: 1240px) {
  .ages.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ages.four li:nth-child(3) { border-left: 1px solid var(--hair-ink); padding-left: 40px; }
  .ages.four li:nth-child(-n+2) { border-bottom: 0; }
  .inline-points.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: none; }
}
/* Magineo : le visuel du studio, texte sur la zone sombre à gauche */
.studio .bg img { object-position: 70% 50%; filter: none; }
@media (min-width: 1000px) { .studio { align-items: center; } .studio .copy { max-width: 620px; } }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: var(--white); transition: border-color .25s ease, color .25s ease; }
.btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.actions { align-items: center; }
/* Pages intérieures : bandeau allégé sur mobile */
@media (max-width: 760px) {
  .page-hero { min-height: 56vh; min-height: 56svh; padding-top: calc(72px + 12vh); padding-bottom: 40px; }
  .page-hero .h { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .page-hero .lead { font-size: 1rem; }
  .page-hero .copy { gap: 18px; }
}
@media (max-width: 760px) { .studio { padding-top: calc(96px + 40vh); } .studio .bg img { object-position: 60% 10%; } }

/* ---------- V7 ---------- */
/* Cartes du carnet avec vignette */
a.card { text-decoration: none; color: inherit; }
.card .thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 8px; filter: saturate(.9); transition: filter .5s var(--ease); }
a.card:hover .thumb { filter: saturate(1.05); }
a.card:hover h3 { color: var(--gold); }
.card h3 { transition: color .3s ease; }
.card .num { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
a.card .go { color: var(--soft); }
a.card .go::after { content: " →"; }
/* Méta des articles et encadré auteur */
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.meta span { color: var(--soft); }
.prose .author { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hair-ink); display: grid; gap: 12px; font-size: 1rem; line-height: 1.7; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* Accueil : aperçu de l'audit */
.teaser { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--hair-ink); counter-reset: t; }
.teaser li { counter-increment: t; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hair-ink); color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.teaser li::before { content: counter(t); color: var(--bronze); font-weight: 600; }
/* Audit : points examinés */
.checks { list-style: none; margin: clamp(48px, 7vh, 80px) 0 0; padding: 0; display: grid; gap: 0 40px; border-top: 1px solid var(--hair); }
@media (min-width: 760px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .checks { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 32px; } }
.checks li { padding: 28px 0; border-bottom: 1px solid var(--hair); display: grid; gap: 10px; align-content: start; }
.checks h3 { font-weight: 600; font-size: 1.05rem; color: var(--gold); }
.checks p { color: var(--soft); font-size: 0.975rem; line-height: 1.6; }
.big-phone a { font-weight: 300; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1; text-decoration: none; color: var(--white); }
.big-phone a:hover { color: var(--gold); }
.header-cta[aria-current="page"] { border-color: var(--gold); color: var(--gold); }
/* En-tête : menu compact jusqu'à 1240px, le bouton Audit étant plus long */
.site-nav a, .header-cta { white-space: nowrap; }
@media (min-width: 1041px) and (max-width: 1240px) {
  .js .site-nav, .js .header-cta { display: none; }
  .js .menu-toggle { display: inline-flex; }
}
.crumbs a + a::before { content: "/"; margin: 0 12px; color: var(--gold); }
/* V7b : bouton Audit mis en avant, encadré audit complet */
.header-cta { border-color: var(--gold) !important; color: var(--gold); font-weight: 600; }
.header-cta:hover, .header-cta[aria-current="page"] { background: var(--gold); color: var(--night); }
.menu-contact a:first-child { border: 1px solid var(--gold); border-radius: 999px; padding: 10px 20px; font-weight: 600; }
.cta-box { margin-top: clamp(48px, 7vh, 72px); border: 1px solid var(--gold); padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; }
@media (min-width: 1000px) { .cta-box { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; } }
.cta-box h3 { font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--white); }
.cta-box h3 b { font-weight: 600; color: var(--gold); }
.cta-box p { color: var(--soft); margin-top: 12px; max-width: 42em; }


/* ==========================================================================
   Lifting 2026-11 : plus léger, moins rectiligne
   ========================================================================== */
body { font-size: 1rem; }
.h, .display { letter-spacing: -0.025em; }
.h { font-size: clamp(2rem, 3.7vw, 3.9rem); line-height: 1.06; }
.display { font-size: clamp(2.5rem, 5vw, 5.1rem); line-height: 1.02; }
.h b, .display b { font-weight: 500; }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.18rem); }

/* Rythme : plus de sections forcées à pleine hauteur, des feuilles qui se superposent */
.plain { min-height: 0; padding-block: clamp(110px, 12vw, 180px); }
.scene:not(.hero) { min-height: 86vh; min-height: 86svh; }
main > section + section { position: relative; margin-top: calc(-1 * clamp(28px, 3vw, 44px)); border-radius: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) 0 0; }
.mf { margin-top: calc(-1 * clamp(28px, 3vw, 44px)); border-radius: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) 0 0; border-top: 0; }

/* En-tête de section décalé : titre à gauche, chapô plus bas à droite */
.sec-head { display: grid; gap: 24px; }
@media (min-width: 1000px) { .sec-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: clamp(48px, 7vw, 120px); } .sec-head .lead { padding-bottom: .6em; } }

/* Ce qui a changé : cartes légères en quinconce, plus de filets */
.ages { border-top: 0; gap: 18px; margin-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .ages.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ages li + li { border-left: 0; padding-left: 30px; } .ages li:nth-child(even) { transform: translateY(48px); } .js .ages li.rise:nth-child(even) { transform: translateY(70px); } .js .ages li.rise.in:nth-child(even) { transform: translateY(48px); } }
.ages li { padding: 30px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 0 rgba(23, 20, 15, .04), 0 18px 40px -28px rgba(23, 20, 15, .25); }
.ages h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
.ages p { font-size: .97rem; line-height: 1.6; }

/* Points sur visuel : plus de filet, une petite touche d'or */
.inline-points li { border-top: 0; padding: 18px 0 0; }
.inline-points h3 { font-weight: 500; position: relative; padding-top: 18px; }
.inline-points h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: var(--gold); }

/* Un seul discours : texte décalé, visuel qui déborde à droite */
.offset { display: grid; gap: 56px; }
.bleed { margin: 0; }
@media (min-width: 1000px) {
  .offset { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(56px, 7vw, 120px); }
  .offset .copy { padding-top: clamp(40px, 6vw, 110px); }
  .bleed { margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2)); transform: translateY(-40px); }
}
.offset .copy { display: grid; gap: 28px; }
.bleed { overflow: hidden; border-radius: 26px 0 0 26px; aspect-ratio: 4 / 3; }
.bleed picture, .bleed img { width: 100%; height: 100%; display: block; }
.bleed img { object-fit: cover; }
@media (max-width: 999px) { .bleed { border-radius: 22px; } }

/* Autodiagnostic : la liste devient une carte posée */
#diagnostic .teaser { background: var(--white); border-radius: 26px; padding: clamp(20px, 3vw, 40px) clamp(24px, 3vw, 44px); box-shadow: 0 30px 60px -40px rgba(23, 20, 15, .35); border-top: 0; }
#diagnostic .teaser li:last-child { border-bottom: 0; }
@media (min-width: 1000px) { #diagnostic .teaser { transform: rotate(-1.2deg); } }

/* Carnet : cartes arrondies, plus de filets */
.posts { border-top: 0; gap: 22px; }
@media (min-width: 900px) { .posts li + li { border-left: 0; } .posts li + li .card { padding-left: 0; } .posts li:nth-child(2) { margin-top: 40px; } }
.posts li { border-bottom: 0; }
.posts .card { padding: 0 0 8px; border-radius: 22px; }
.card .thumb { border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.card:hover .thumb { transform: scale(1.02); }
.card h3 { font-size: 1.2rem; }

/* Studio : chiffres plus fins */
.facts { border-top: 0; gap: 12px; }
.facts li { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* MF:START footer commun (généré, ne pas éditer ici : magineo-com/outils/footer_commun.css) */
.mf { --mf-bg: #0c0c0d; --mf-accent: #e8be6c; --mf-ink: #fff; --mf-soft: rgba(255,255,255,.74); --mf-mute: rgba(255,255,255,.5); --mf-hair: rgba(255,255,255,.13);
  position: relative; overflow: hidden; background: var(--mf-bg); color: var(--mf-soft); font-size: .95rem; line-height: 1.6; border-top: 1px solid var(--mf-hair); }
.mf a { color: inherit; text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease, gap .25s ease; }
.mf ul { list-style: none; margin: 0; padding: 0; }
.mf h2 { margin: 0 0 22px; font-size: .7rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--mf-accent); }
.mf p { margin: 0; }

/* Ouverture : grande phrase + carte d'Eric */
.mf-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: end; padding-block: clamp(84px, 10vw, 150px) clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--mf-hair); }
.mf-statement { font-size: clamp(2.1rem, 4.6vw, 4.1rem); font-weight: 300; line-height: 1.06; letter-spacing: -.025em; color: var(--mf-ink); max-width: 13.5em; text-wrap: balance; }
.mf-statement b { font-weight: 600; }
.mf-nw { white-space: nowrap; }
.mf-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(28px, 3vw, 40px); padding: 15px 26px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: var(--mf-ink); font-size: .95rem; }
.mf-btn:hover, .mf-btn:focus-visible { background: var(--mf-accent); border-color: var(--mf-accent); color: #111; gap: 20px; }
.mf-card { position: relative; display: grid; gap: 6px; justify-items: start; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--mf-hair); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); }
.mf-card::before { content: ""; position: absolute; top: -1px; left: clamp(28px, 3vw, 40px); width: 54px; height: 2px; background: var(--mf-accent); }
.mf-who { display: grid; gap: 2px; margin-bottom: 18px !important; }
.mf-who b { color: var(--mf-ink); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.mf-who span { color: var(--mf-mute); font-size: .85rem; }
.mf-tel { color: var(--mf-ink) !important; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 300; letter-spacing: .02em; line-height: 1.2; }
.mf-mail, .mf-in { color: var(--mf-soft); border-bottom: 1px solid transparent; }
.mf-tel:hover, .mf-mail:hover, .mf-in:hover { color: var(--mf-accent) !important; }

/* Colonnes */
.mf-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.35fr) minmax(0, 1.1fr); gap: clamp(36px, 4vw, 64px); padding-block: clamp(56px, 6vw, 84px) 0; }
.mf-brand { display: grid; gap: 18px; align-content: start; }
.mf-brand p { max-width: 21em; }
.mf-sig { display: inline-flex; align-items: center; gap: 14px; color: var(--mf-ink) !important; }
.mf-sig img { width: 24px; height: auto; }
.mf-sig span { display: grid; line-height: 1.2; }
.mf-sig b { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.mf-sig small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mf-mute); margin-top: 4px; }
.mf-sig svg { width: 150px; height: auto; display: block; }
.mf-col ul { display: grid; gap: 11px; }
.mf-col li a:hover { color: var(--mf-ink); }
.mf-site { display: flex; align-items: center; gap: 14px; padding: 2px 0; }
.mf-site img { width: 15px; height: auto; flex: none; opacity: .95; }
.mf-site span { display: grid; line-height: 1.3; }
.mf-site b { font-weight: 400; color: var(--mf-ink); }
.mf-site small { font-size: .8rem; color: var(--mf-mute); }
.mf-site.is-here small { color: var(--mf-accent); }
a.mf-site:hover b { color: var(--mf-accent); }
.mf-offer { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--mf-accent) !important; }
.mf-offer:hover { gap: 16px; }

/* Le grand Magineo */
.mf-word { margin-top: clamp(64px, 8vw, 120px); color: var(--mf-ink); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.16)); mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.16)); }
.mf-word svg { display: block; width: 100%; height: auto; max-width: none; }

/* Ligne légale */
.mf-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: clamp(18px, 2vw, 28px); padding-block: 22px 30px; border-top: 1px solid var(--mf-hair); font-size: .78rem; letter-spacing: .04em; color: var(--mf-mute); }
.mf-legal a + a { margin-left: 24px; }
.mf-legal a:hover { color: var(--mf-ink); }
.mf a:focus-visible { outline: 2px solid var(--mf-accent); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 1040px) { .mf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .mf-top { grid-template-columns: 1fr; align-items: start; }
  .mf-cols { grid-template-columns: 1fr; gap: 44px; }
  .mf-legal { flex-direction: column; }
}
/* Bouton haut de page + progression de lecture (industrie, mairie) */
.mf-totop { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80; width: 52px; height: 52px; color: #fff; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, transform .4s, visibility .4s; }
.mf-totop.on { opacity: 1; visibility: visible; transform: none; }
.mf-totop svg { width: 52px; height: 52px; display: block; border-radius: 50%; background: rgba(12,12,13,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s; }
.mf-totop circle { fill: none; stroke-width: 1.4; }
.mf-totop .ring { stroke: rgba(255,255,255,.18); }
.mf-totop .prog { stroke: var(--tt); stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; }
.mf-totop path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.mf-totop:hover svg, .mf-totop:focus-visible svg { background: var(--tt); }
.mf-totop:hover path, .mf-totop:focus-visible path { stroke: #111; transform: translateY(-2px); }
@media print { .mf-totop { display: none; } }

.mf-industrie { --mf-bg: var(--night); --mf-accent: #4ea3e6; }
/* MF:END */
