/*
Theme Name: Maison Plus Libre
Theme URI: https://maisonpluslibre.fr/
Author: FDV Conseil
Description: Média-tech éditorial sur l'énergie, l'eau, le confort et l'autonomie progressive de la maison.
Version: 0.2.0
Text Domain: maison-plus-libre
*/

:root {
  --mpl-night: #0b171c;
  --mpl-petrol: #102a33;
  --mpl-petrol-2: #183944;
  --mpl-ivory: #f2f0e9;
  --mpl-paper: #fcfcf8;
  --mpl-white: #ffffff;
  --mpl-amber: #ffb84d;
  --mpl-water: #77d3e1;
  --mpl-sage: #a1b797;
  --mpl-coral: #ff8d6b;
  --mpl-ink: #102027;
  --mpl-muted: #6f7d82;
  --mpl-light-muted: #aab6ba;
  --mpl-line: rgba(11, 23, 28, .12);
  --mpl-line-dark: rgba(255, 255, 255, .13);
  --mpl-content: 780px;
  --mpl-wide: 1320px;
  --mpl-radius-s: 12px;
  --mpl-radius: 22px;
  --mpl-radius-l: 34px;
  --mpl-shadow: 0 24px 80px rgba(5, 17, 22, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mpl-ink);
  background: var(--mpl-ivory);
  font-family: Manrope, "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--mpl-amber); color: var(--mpl-night); }

:focus-visible {
  outline: 3px solid var(--mpl-amber);
  outline-offset: 4px;
}

.mpl-skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--mpl-amber);
  color: var(--mpl-night);
  transform: translateY(-170%);
  text-decoration: none;
  font-weight: 800;
}
.mpl-skip-link:focus { transform: translateY(0); }

.mpl-shell {
  width: min(calc(100% - 48px), var(--mpl-wide));
  margin-inline: auto;
}

.mpl-reading {
  width: min(calc(100% - 48px), var(--mpl-content));
  margin-inline: auto;
}

/* Header */
.mpl-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(11, 23, 28, .08);
  background: rgba(242, 240, 233, .86);
  backdrop-filter: blur(22px) saturate(130%);
}

.mpl-header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.mpl-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.mpl-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--mpl-night);
  color: var(--mpl-amber);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.mpl-brand__mark span {
  font-size: 1.7rem;
  font-weight: 450;
  line-height: 1;
  transform: translateY(-1px);
}

.mpl-brand__copy { display: grid; gap: 2px; }
.mpl-brand__copy strong {
  display: flex;
  gap: .28em;
  color: var(--mpl-night);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -.035em;
}
.mpl-brand__copy small {
  color: var(--mpl-muted);
  font-size: .58rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mpl-primary-nav { justify-self: center; }
.mpl-primary-nav ul,
.mpl-mobile-nav ul,
.mpl-site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.mpl-primary-nav ul { display: flex; align-items: center; gap: 8px; }
.mpl-primary-nav a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  color: #34464d;
  font-size: .86rem;
  font-weight: 760;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.mpl-primary-nav a:hover { background: rgba(11,23,28,.06); color: var(--mpl-night); }

.mpl-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--mpl-night);
  color: white;
  font-size: .79rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.mpl-header-cta:hover { transform: translateY(-2px); background: var(--mpl-petrol); }

.mpl-mobile-nav { display: none; position: relative; }
.mpl-mobile-nav summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 6px;
  border-radius: 50%;
  background: var(--mpl-night);
  cursor: pointer;
  list-style: none;
}
.mpl-mobile-nav summary::-webkit-details-marker { display: none; }
.mpl-mobile-nav summary span { width: 17px; height: 1.5px; background: white; }
.mpl-mobile-nav__panel {
  position: fixed;
  inset: 76px 14px auto 14px;
  padding: 24px;
  border-radius: 24px;
  background: var(--mpl-night);
  color: white;
  box-shadow: var(--mpl-shadow);
}
.mpl-mobile-nav__head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--mpl-line-dark); }
.mpl-mobile-nav__head span { font-weight: 800; }
.mpl-mobile-nav__head small { color: var(--mpl-light-muted); }
.mpl-mobile-nav__panel nav { margin-top: 10px; }
.mpl-mobile-nav__panel li + li { border-top: 1px solid var(--mpl-line-dark); }
.mpl-mobile-nav__panel nav a { display: flex; gap: 16px; padding: 16px 0; color: white; font-size: 1.2rem; font-weight: 760; text-decoration: none; }
.mpl-mobile-nav__panel nav a span { color: var(--mpl-light-muted); font-size: .7rem; }
.mpl-mobile-nav__cta { display: flex; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--mpl-amber); color: var(--mpl-night); font-weight: 850; text-decoration: none; }

/* Hero */
.mpl-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8vw, 118px) 0 clamp(78px, 9vw, 132px);
  background:
    radial-gradient(circle at 76% 22%, rgba(119, 211, 225, .12), transparent 25%),
    radial-gradient(circle at 15% 90%, rgba(255, 184, 77, .11), transparent 24%),
    var(--mpl-night);
  color: white;
}
.mpl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.mpl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(410px, .88fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.mpl-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c2cdd0;
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mpl-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mpl-amber); box-shadow: 0 0 0 6px rgba(255,184,77,.08); }

.mpl-hero h1 {
  max-width: 850px;
  margin: 28px 0 26px;
  font-size: clamp(3.7rem, 7.4vw, 7.6rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 790;
}
.mpl-hero h1 em { color: #a8b7bb; font-style: normal; font-weight: 500; }
.mpl-hero__copy > p {
  max-width: 660px;
  margin: 0;
  color: #b8c4c7;
  font-size: clamp(1.05rem, 1.7vw, 1.27rem);
  line-height: 1.55;
}

.mpl-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.mpl-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: var(--mpl-night);
  color: white;
  font-size: .86rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mpl-button:hover { transform: translateY(-2px); }
.mpl-button--light { background: var(--mpl-paper); color: var(--mpl-night); box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.mpl-button--amber { background: var(--mpl-amber); color: var(--mpl-night); }
.mpl-text-link { display: inline-flex; gap: 12px; color: #dbe2e4; font-size: .86rem; font-weight: 760; text-decoration: none; }

.mpl-hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; color: #7f9197; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mpl-hero__trust span { position: relative; padding-left: 12px; }
.mpl-hero__trust span::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #667a80; }

.mpl-home-console {
  overflow: hidden;
  border: 1px solid var(--mpl-line-dark);
  border-radius: 30px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}
.mpl-home-console__top { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--mpl-line-dark); }
.mpl-home-console__top div { display: grid; gap: 3px; }
.mpl-home-console__top small { color: #83969c; font-size: .65rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mpl-home-console__top strong { font-size: 1rem; }
.mpl-console-plus { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--mpl-amber); color: var(--mpl-night); font-size: 1.6rem; }

.mpl-home-console__axis { display: grid; grid-template-columns: 38px 1fr 42px; gap: 14px; align-items: center; min-height: 84px; padding: 15px 26px; border-bottom: 1px solid var(--mpl-line-dark); transition: background .2s ease; }
.mpl-home-console__axis:hover { background: rgba(255,255,255,.045); }
.mpl-axis-index { color: #70848a; font-size: .68rem; font-weight: 850; }
.mpl-home-console__axis div { display: grid; gap: 2px; }
.mpl-home-console__axis strong { font-size: .92rem; }
.mpl-home-console__axis small { color: #82949a; font-size: .72rem; }
.mpl-axis-signal { justify-self: end; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--mpl-line-dark); position: relative; }
.mpl-axis-signal::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: currentColor; }
.mpl-home-console__axis--heat .mpl-axis-signal { color: var(--mpl-coral); }
.mpl-home-console__axis--energy .mpl-axis-signal { color: var(--mpl-amber); }
.mpl-home-console__axis--water .mpl-axis-signal { color: var(--mpl-water); }
.mpl-home-console__axis--autonomy .mpl-axis-signal { color: var(--mpl-sage); }
.mpl-home-console__foot { display: flex; justify-content: space-between; gap: 20px; padding: 20px 26px; color: #71858a; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.mpl-home-console__foot strong { color: #d6dfe1; }

/* Generic section system */
.mpl-section { padding: clamp(82px, 9vw, 138px) 0; }
.mpl-section-intro { display: grid; grid-template-columns: 70px minmax(0, 830px); gap: 30px; align-items: start; margin-bottom: 52px; }
.mpl-section-intro--split { grid-template-columns: 70px minmax(0, 800px) minmax(220px, 1fr); }
.mpl-section-intro--split > p { margin: 28px 0 0; color: var(--mpl-muted); max-width: 330px; justify-self: end; }
.mpl-section-index { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--mpl-line); border-radius: 50%; color: var(--mpl-muted); font-size: .72rem; font-weight: 850; }
.mpl-section-index--dark { border-color: var(--mpl-line-dark); color: #94a5aa; }
.mpl-overline { margin: 0 0 15px; color: #667a80; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.mpl-overline--dark { color: #92a4a9; }
.mpl-section-intro h2,
.mpl-diagnostic h2,
.mpl-score-manifesto h2 {
  margin: 0;
  font-size: clamp(2.45rem, 4.7vw, 5.15rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 760;
}

/* Needs / Bento */
.mpl-needs { background: var(--mpl-ivory); }
.mpl-needs-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: minmax(280px, auto) minmax(260px, auto); gap: 14px; }
.mpl-need { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; padding: 26px; border-radius: 26px; color: var(--mpl-night); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.mpl-need:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(16,32,39,.12); }
.mpl-need__head { display: flex; justify-content: space-between; gap: 12px; font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mpl-need__head span:first-child { opacity: .5; }
.mpl-need__body { margin-top: auto; }
.mpl-need h3 { margin: 0 0 12px; max-width: 620px; font-size: clamp(1.65rem, 3vw, 3.3rem); line-height: .98; letter-spacing: -.055em; }
.mpl-need p { max-width: 560px; margin: 0; color: rgba(11,23,28,.68); font-size: .92rem; }
.mpl-need__hero { grid-row: 1 / 3; padding: 30px; background: var(--mpl-petrol); color: white; }
.mpl-need__hero p { color: rgba(255,255,255,.65); }
.mpl-need__hero .mpl-need__head { color: #b6c6ca; }
.mpl-need--energy { background: var(--mpl-amber); }
.mpl-need--water { background: #c7edf2; }
.mpl-need--autonomy { grid-column: 2 / 4; background: #d9dfd2; }
.mpl-need__corner { position: absolute; right: 24px; bottom: 22px; font-size: 1.25rem; }
.mpl-need__link { display: inline-block; margin-top: 24px; color: white; font-size: .78rem; font-weight: 850; }
.mpl-need__visual { flex: 1; min-height: 200px; position: relative; margin: 38px 0 36px; }
.mpl-need__visual::before,
.mpl-need__visual::after,
.mpl-need__visual span { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.mpl-need__visual::before { width: 230px; height: 230px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.mpl-need__visual::after { width: 150px; height: 150px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(255,184,77,.44); }
.mpl-need__visual span:nth-child(1) { width: 9px; height: 9px; background: var(--mpl-amber); border: 0; left: 22%; top: 20%; box-shadow: 0 0 0 12px rgba(255,184,77,.08); }
.mpl-need__visual span:nth-child(2) { width: 80px; height: 1px; border: 0; border-top: 1px solid rgba(255,255,255,.28); right: 15%; top: 36%; }
.mpl-need__visual span:nth-child(3) { width: 34px; height: 34px; right: 22%; bottom: 15%; border-color: rgba(119,211,225,.5); }

/* Diagnostic */
.mpl-diagnostic { background: var(--mpl-night); color: white; }
.mpl-diagnostic__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(60px, 8vw, 120px); align-items: start; }
.mpl-diagnostic__copy > p:not(.mpl-overline) { max-width: 590px; margin: 24px 0 30px; color: #a8b8bc; font-size: 1.05rem; }
.mpl-diagnostic__copy .mpl-section-index { margin-bottom: 40px; }
.mpl-budget-ladder { border-top: 1px solid var(--mpl-line-dark); }
.mpl-budget-step { display: grid; grid-template-columns: 120px 1fr 32px; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--mpl-line-dark); }
.mpl-budget-step__amount { color: var(--mpl-amber); font-size: clamp(1.45rem, 2.4vw, 2.4rem); line-height: 1; font-weight: 780; letter-spacing: -.05em; }
.mpl-budget-step div { display: grid; gap: 2px; }
.mpl-budget-step strong { font-size: .94rem; }
.mpl-budget-step small { color: #819399; }
.mpl-budget-step > span:last-child { justify-self: end; color: #53686e; font-size: .65rem; font-weight: 850; }

/* Editorial list */
.mpl-editorial { background: var(--mpl-paper); }
.mpl-editorial-list { border-top: 1px solid var(--mpl-line); }
.mpl-editorial-row { display: grid; grid-template-columns: 54px 180px minmax(0, 1fr) 50px; gap: 22px; align-items: center; min-height: 116px; border-bottom: 1px solid var(--mpl-line); transition: background .2s ease, padding .2s ease; }
.mpl-editorial-row:hover { background: rgba(11,23,28,.025); padding-inline: 12px; }
.mpl-editorial-row__index { color: #9ba5a7; font-size: .67rem; font-weight: 850; }
.mpl-editorial-row__meta { display: grid; gap: 4px; color: #849196; font-size: .66rem; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.mpl-editorial-row h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.12; letter-spacing: -.035em; }
.mpl-editorial-row h3 a { text-decoration: none; }
.mpl-editorial-row__arrow { justify-self: end; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--mpl-line); text-decoration: none; }
.mpl-editorial-row--placeholder { opacity: .72; }

/* Score manifesto */
.mpl-score-manifesto { background: #12252c; color: white; }
.mpl-score-manifesto__grid { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(250px, 360px); gap: clamp(40px, 6vw, 90px); align-items: center; }
.mpl-score-mark { width: 160px; height: 160px; display: grid; place-content: center; border-radius: 34px; background: var(--mpl-amber); color: var(--mpl-night); text-align: center; }
.mpl-score-mark span { font-size: 4.8rem; line-height: .72; font-weight: 350; }
.mpl-score-mark strong { font-size: .9rem; letter-spacing: .08em; }
.mpl-score-criteria { display: grid; border-top: 1px solid var(--mpl-line-dark); }
.mpl-score-criteria span { padding: 13px 0; border-bottom: 1px solid var(--mpl-line-dark); color: #a8b7bb; font-size: .76rem; font-weight: 760; }

/* Articles and generic WordPress */
.mpl-article-lead { color: var(--mpl-muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }
.mpl-reading h1 { margin: 30px 0 24px; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .92; letter-spacing: -.065em; }
.mpl-article-hero { margin: 38px 0; }
.mpl-article-hero img { width: 100%; border-radius: var(--mpl-radius-l); }
.mpl-article-content { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 1.08rem; }
.mpl-article-content h2,
.mpl-article-content h3,
.mpl-article-content h4 { font-family: Manrope, "Avenir Next", Inter, system-ui, sans-serif; letter-spacing: -.045em; line-height: 1.08; }
.mpl-article-content h2 { margin-top: 2.25em; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.mpl-article-content h3 { margin-top: 1.8em; font-size: 1.5rem; }
.mpl-article-content p,
.mpl-article-content ul,
.mpl-article-content ol { margin-block: 1.12em; }
.mpl-article-content blockquote { margin: 2em 0; padding: 18px 22px; border-left: 4px solid var(--mpl-amber); background: rgba(255,184,77,.08); }

.nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 12px; border: 1px solid var(--mpl-line); border-radius: 999px; text-decoration: none; }

/* Footer */
.mpl-site-footer { padding: 78px 0 34px; background: #071216; color: white; }
.mpl-footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 80px; align-items: end; padding-bottom: 54px; }
.mpl-site-footer .mpl-brand__copy strong { color: white; }
.mpl-site-footer .mpl-brand__copy small { color: #6f8389; }
.mpl-footer-claim { max-width: 620px; margin: 26px 0 0; color: #8ea0a5; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.4; }
.mpl-site-footer nav ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px; }
.mpl-site-footer nav a { color: #bdc8cb; font-size: .82rem; text-decoration: none; }
.mpl-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--mpl-line-dark); color: #687c82; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1080px) {
  .mpl-header-inner { grid-template-columns: auto 1fr auto; }
  .mpl-primary-nav { display: none; }
  .mpl-header-cta { justify-self: end; }
  .mpl-mobile-nav { display: block; }
  .mpl-header-cta { display: none; }
  .mpl-hero__grid { grid-template-columns: 1fr minmax(360px,.82fr); gap: 48px; }
  .mpl-needs-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mpl-need__hero { grid-row: auto; grid-column: 1 / 3; min-height: 540px; }
  .mpl-need--autonomy { grid-column: 1 / 3; }
  .mpl-diagnostic__grid { grid-template-columns: 1fr; }
  .mpl-score-manifesto__grid { grid-template-columns: 150px 1fr; }
  .mpl-score-criteria { grid-column: 1 / 3; }
}

@media (max-width: 780px) {
  .mpl-shell, .mpl-reading { width: min(calc(100% - 30px), var(--mpl-wide)); }
  .mpl-header-inner { min-height: 72px; gap: 12px; }
  .mpl-brand__mark { width: 38px; height: 38px; }
  .mpl-brand__copy small { display: none; }
  .mpl-brand__copy strong { display: grid; gap: 0; font-size: .87rem; }
  .mpl-hero { padding-top: 60px; }
  .mpl-hero__grid { grid-template-columns: 1fr; }
  .mpl-hero h1 { font-size: clamp(3.4rem, 15vw, 5.5rem); }
  .mpl-home-console { margin-top: 14px; }
  .mpl-actions { align-items: flex-start; flex-direction: column; }
  .mpl-section-intro,
  .mpl-section-intro--split { grid-template-columns: 1fr; gap: 18px; }
  .mpl-section-intro--split > p { justify-self: start; margin-top: 0; }
  .mpl-needs-grid { display: grid; grid-template-columns: 1fr; }
  .mpl-need__hero,
  .mpl-need--autonomy { grid-column: auto; min-height: 430px; }
  .mpl-need { min-height: 300px; }
  .mpl-need__visual { min-height: 160px; }
  .mpl-budget-step { grid-template-columns: 92px 1fr 24px; gap: 16px; }
  .mpl-editorial-row { grid-template-columns: 32px minmax(0,1fr) 38px; gap: 14px; padding: 18px 0; }
  .mpl-editorial-row__meta { grid-column: 2 / 3; grid-row: 1; display: flex; gap: 10px; }
  .mpl-editorial-row h3 { grid-column: 2 / 3; grid-row: 2; }
  .mpl-editorial-row__index { grid-row: 1 / 3; }
  .mpl-editorial-row__arrow { grid-column: 3; grid-row: 1 / 3; }
  .mpl-score-manifesto__grid { grid-template-columns: 1fr; }
  .mpl-score-mark { width: 122px; height: 122px; border-radius: 26px; }
  .mpl-score-criteria { grid-column: auto; }
  .mpl-footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .mpl-footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .mpl-hero h1 { font-size: 3.35rem; }
  .mpl-home-console__axis { grid-template-columns: 30px 1fr 32px; padding: 14px 18px; }
  .mpl-home-console__top, .mpl-home-console__foot { padding-inline: 18px; }
  .mpl-section { padding: 72px 0; }
  .mpl-section-intro h2, .mpl-diagnostic h2, .mpl-score-manifesto h2 { font-size: 2.55rem; }
  .mpl-budget-step { grid-template-columns: 78px 1fr; }
  .mpl-budget-step > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
