/* ══════════════════════════════════════════
   Pilier MaPrimeRenov' panneaux solaires — mp-maprimerenov.css
   Consomme exclusivement les tokens du :root.
   Zero valeur brute.
   ══════════════════════════════════════════ */


/* ─────────────────────────────────────────
   1. PAGE WRAPPER + LINKS + EXEMPTIONS
───────────────────────────────────────── */
.mp-pilier {
  font-family: var(--ff-body);
  color: var(--c-text);
  overflow-x: clip;
}

.mp-pilier strong {
  color: var(--c-accent);
}

/* Liens internes = orange, SAUF dans les composants partages (cta-inline, pa-final, nav, footer) */
.mp-pilier .mp-wrap a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.mp-pilier .mp-wrap a:hover {
  color: var(--c-accent-hover);
}

.mp-pilier .mp-wrap a:visited {
  color: var(--c-accent);
}

/* Ne pas toucher aux couleurs des composants partages */
.mp-pilier .cta-inline a,
.mp-pilier .pa-final a,
.mp-pilier .pf-cta,
.mp-pilier .pf-link {
  color: inherit;
}


/* ─────────────────────────────────────────
   2. SHARED UTILITIES
───────────────────────────────────────── */
.mp-wrap {
  max-width: var(--w-container);
  margin: 0 auto;
  padding-left: var(--pad-desktop);
  padding-right: var(--pad-desktop);
}

.mp-h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  margin: 0 0 12px;
  line-height: var(--lh-snug);
}

.mp-hl {
  background: linear-gradient(180deg, transparent 60%, var(--c-orange-45) 60%);
  padding: 0 2px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mp-p {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text);
  margin: 0 0 16px;
}

.mp-p a {
  color: var(--c-accent) !important;
  text-decoration: underline;
}

.mp-p a:hover {
  color: var(--c-accent-hover) !important;
}

.mp-h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin: 0 0 8px;
  line-height: var(--lh-snug);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─────────────────────────────────────────
   3. MP-HERO (background photo + overlay)
───────────────────────────────────────── */
.mp-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: calc(var(--space-section) + 32px) 0 var(--space-section);
  background: var(--c-bg);
  display: flex;
  align-items: center;
}

.mp-hero--has-bg {
  background: transparent;
}

.mp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.mp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 63, 0.7);
  z-index: 1;
}

.mp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero text colours when background image is present */
.mp-hero--has-bg .mp-h1,
.mp-hero--has-bg .mp-sub,
.mp-hero--has-bg .mp-bc,
.mp-hero--has-bg .mp-bc a,
.mp-hero--has-bg .mp-bc .sep {
  color: var(--c-white);
}

.mp-hero--has-bg .mp-bc a:hover {
  color: var(--c-orange-30);
  opacity: 1;
}

/* Breadcrumb */
.mp-bc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  opacity: 0.8;
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.mp-bc a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.mp-bc a:hover {
  color: var(--c-accent);
}

.mp-bc .sep {
  margin: 0 6px;
  opacity: 0.6;
}

/* H1 — NO font-family, inherits var(--ff-body) from .mp-pilier */
.mp-h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  max-width: 800px;
  margin: 0 0 16px;
  color: var(--c-text);
}

/* Subtitle */
.mp-sub {
  font-family: var(--ff-body);
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  max-width: 640px;
  opacity: 0.9;
  margin: 0 0 4px;
  color: var(--c-text-muted);
}

/* Hero actions area */
.mp-hero-actions {
  margin-top: 28px;
}

/* Address input form */
.mp-hero-form {
  max-width: 560px;
  width: 100%;
}

.mp-hero-field {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  position: relative;
  border: none !important;
  outline: none !important;
  overflow: hidden;
  overflow: visible;
}

.mp-hero-field-icon {
  flex-shrink: 0;
  margin-left: 18px;
  color: var(--c-accent);
}

.mp-hero-input {
  flex: 1;
  border: none !important;
  padding: 15px 12px 15px 10px;
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  outline: none !important;
  box-shadow: none !important;
  color: var(--c-text);
  background: transparent;
  min-width: 0;
}

.mp-hero-input::placeholder {
  color: var(--c-text-muted);
}

.mp-hero-go {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border: none !important;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important;
  padding: 15px 20px;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-hero-go:hover {
  background: var(--c-accent-hover) !important;
}

/* Suggestions dropdown — hidden by default, visible via .is-open (JS) */
.mp-hero-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.mp-hero-suggestions.is-open {
  display: block;
}

.mp-hero-suggestions li {
  padding: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.mp-hero-suggestions li:hover {
  background: var(--c-navy-4);
}

/* Buttons row */
.mp-hero-btns,
.mp-ssc-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.mp-ssc-ctas {
  justify-content: center;
  margin-top: 28px;
}

/* Primary CTA button */
.mp-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 16px 32px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  text-decoration: none;
  border: none !important;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  line-height: var(--lh-tight);
  box-shadow: 0 4px 14px var(--c-orange-30);
}

.mp-hero-btn-primary:hover {
  background: var(--c-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--c-orange-30);
}

.mp-hero-btn-primary svg {
  transition: transform var(--dur-base);
}

.mp-hero-btn-primary:hover svg {
  transform: translateX(4px);
}

/* Ghost button (on has-bg: white; without: navy) */
.mp-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  color: var(--c-navy) !important;
  border: 2px solid var(--c-navy) !important;
  border-radius: var(--radius-pill) !important;
  padding: 12px 24px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  line-height: var(--lh-tight);
}

.mp-hero--has-bg .mp-hero-btn-ghost {
  color: var(--c-white) !important;
  border-color: var(--c-white) !important;
}

.mp-hero-btn-ghost:hover {
  background: var(--c-navy-6) !important;
}

.mp-hero--has-bg .mp-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Reassurance line below buttons / field */
.mp-hero-reassurance {
  font-size: var(--fs-sm);
  opacity: 0.7;
  margin-top: 12px;
  color: inherit;
}


/* ─────────────────────────────────────────
   4. MP-VERDICT (bicolor split: no/yes)
───────────────────────────────────────── */
.mp-verdict {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.mp-verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.mp-verdict-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border-left: 4px solid;
}

.mp-verdict-card--no {
  background: rgba(180, 60, 60, 0.04);
  border-left-color: var(--c-error);
}

.mp-verdict-card--yes {
  background: rgba(31, 168, 104, 0.04);
  border-left-color: var(--c-success);
}

.mp-verdict-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.mp-verdict-badge--no {
  background: var(--c-error);
  color: var(--c-white);
}

.mp-verdict-badge--yes {
  background: var(--c-success);
  color: var(--c-white);
}

.mp-verdict-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin: 0 0 12px;
}

.mp-verdict-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mp-verdict-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-base);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mp-verdict-list li:last-child {
  border-bottom: none;
}

.mp-verdict-list li::before {
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.mp-verdict-card--no .mp-verdict-list li::before {
  content: "\2715";
  color: var(--c-error);
}

.mp-verdict-card--yes .mp-verdict-list li::before {
  content: "\2713";
  color: var(--c-success);
}

.mp-verdict-note {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}


/* ─────────────────────────────────────────
   5. MP-CESI + MP-SSC (ANAH profile cards)
───────────────────────────────────────── */

/* — CESI section — */
.mp-cesi {
  padding: var(--space-section) 0;
}

.mp-cesi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.mp-cesi-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
}

.mp-cesi-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.mp-cesi-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mp-cesi-montant {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  line-height: var(--lh-tight);
  margin: 12px 0;
}

.mp-cesi-card--pink .mp-cesi-montant {
  color: var(--c-text-muted);
  text-decoration: line-through;
}

.mp-cesi-card--pink {
  opacity: 0.6;
}

.mp-cesi-exclu {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  font-style: italic;
  margin: 0;
}

/* — SSC section — */
.mp-ssc {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.mp-ssc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.mp-ssc-card {
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
}

.mp-ssc-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.mp-ssc-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mp-ssc-montant {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  line-height: var(--lh-tight);
  margin: 12px 0;
}

.mp-ssc-card--pink .mp-ssc-montant {
  color: var(--c-text-muted);
  text-decoration: line-through;
}

.mp-ssc-card--pink {
  opacity: 0.6;
}

.mp-ssc-exclu {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  font-style: italic;
  margin: 0;
}

/* Source citation (shared between CESI / SSC) */
.mp-source {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 20px;
}


/* ─────────────────────────────────────────
   6. MP-PHOTO (photo break / quote band)
───────────────────────────────────────── */
.mp-photo {
  position: relative;
  min-height: 200px;
  padding: 60px 0;
  overflow: hidden;
  background: var(--c-navy);
  background-size: cover;
  background-position: center;
}

.mp-photo--has-img {
  min-height: 280px;
}

.mp-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 45, 63, 0.65);
  z-index: 1;
}

.mp-photo-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.mp-photo-text {
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-h2);
  color: var(--c-white);
  line-height: var(--lh-snug);
  max-width: var(--w-text);
  margin: 0 auto;
}

.mp-photo-link-wrap {
  margin-top: 16px;
}

.mp-photo-link-wrap a {
  color: var(--c-white);
  text-decoration: underline;
  font-weight: var(--fw-semibold);
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.mp-photo-link-wrap a:hover {
  opacity: 1;
}


/* ─────────────────────────────────────────
   7. MP-CUMUL (stacked layers + ecretement)
───────────────────────────────────────── */
.mp-cumul {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.mp-cumul-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
}

.mp-cumul-layer {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  border-left: 4px solid;
  position: relative;
}

.mp-cumul-layer--mpr {
  border-color: var(--c-accent);
  background: var(--c-orange-10);
}

.mp-cumul-layer--cee {
  border-color: var(--c-success);
  background: rgba(31, 168, 104, 0.04);
}

.mp-cumul-layer--ptz {
  border-color: #3B82F6;
  background: rgba(59, 130, 246, 0.04);
}

.mp-cumul-layer-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  color: var(--c-white);
  font-size: var(--fs-sm);
}

.mp-cumul-layer--mpr .mp-cumul-layer-icon {
  background: var(--c-accent);
}

.mp-cumul-layer--cee .mp-cumul-layer-icon {
  background: var(--c-success);
}

.mp-cumul-layer--ptz .mp-cumul-layer-icon {
  background: #3B82F6;
}

.mp-cumul-layer-content {
  flex: 1;
}

.mp-cumul-layer h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin: 0 0 4px;
}

.mp-cumul-layer p {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  margin: 0;
  line-height: var(--lh-normal);
}

/* Ecretement block */
.mp-cumul-ecretement {
  margin-top: 36px;
  padding: 32px;
  background: var(--c-navy);
  border-radius: var(--radius-xl);
  color: var(--c-white);
}

.mp-cumul-ecretement-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin: 0 0 24px;
  text-align: center;
}

.mp-cumul-ecretement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mp-cumul-ecretement-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--dur-base) var(--ease-out);
}

.mp-cumul-ecretement-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.mp-cumul-ecretement-profil {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.mp-cumul-ecretement-pct {
  display: block;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.mp-cumul-ecretement-detail {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

.mp-cumul-ecretement-note {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
  text-align: center;
  font-style: italic;
}


/* ─────────────────────────────────────────
   8. MP-CTA-ADRESSE (navy bg, 2-column)
───────────────────────────────────────── */
.mp-cta-adresse {
  padding: var(--space-section) 0;
  background: var(--c-navy);
  color: var(--c-white);
}

.mp-cta-adresse-inner {
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 48px var(--pad-desktop);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mp-cta-adresse-kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin: 0 0 8px;
}

.mp-cta-adresse-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  color: var(--c-white);
  margin: 0 0 12px;
  line-height: var(--lh-snug);
}

.mp-cta-adresse-sub {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: var(--lh-normal);
}

.mp-cta-adresse-form {
  width: 100%;
}

.mp-cta-adresse-field {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  position: relative;
  border: none !important;
  outline: none !important;
  overflow: hidden;
}

.mp-cta-adresse-icon {
  flex-shrink: 0;
  margin-left: 18px;
  color: var(--c-accent);
}

.mp-cta-adresse-input {
  flex: 1;
  border: none !important;
  padding: 16px 12px 16px 10px;
  font-size: var(--fs-base);
  font-family: var(--ff-body);
  outline: none !important;
  box-shadow: none !important;
  color: var(--c-text);
  background: transparent;
  min-width: 0;
}

.mp-cta-adresse-input::placeholder {
  color: var(--c-text-muted);
}

.mp-cta-adresse-go {
  background: var(--c-accent) !important;
  color: var(--c-white) !important;
  border: none !important;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important;
  padding: 16px 22px;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-cta-adresse-go:hover {
  background: var(--c-accent-hover) !important;
}

.mp-cta-adresse-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.mp-cta-adresse-suggestions.is-open {
  display: block;
}

.mp-cta-adresse-suggestions li {
  padding: 10px 16px;
  font-size: var(--fs-sm);
  color: var(--c-text);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.mp-cta-adresse-suggestions li:hover,
.mp-cta-adresse-suggestions li.is-active {
  background: var(--c-navy-4);
}

.mp-cta-adresse-reassurance {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  margin: 12px 0 0;
  text-align: center;
}


/* ─────────────────────────────────────────
   9. MP-PV-RESTE (3 cards remaining PV aids)
───────────────────────────────────────── */
.mp-pv-reste {
  padding: var(--space-section) 0;
}

.mp-pv-reste-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.mp-pv-reste-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--dur-base) var(--ease-out);
}

.mp-pv-reste-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.mp-pv-reste-icon {
  width: 48px;
  height: 48px;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.mp-pv-reste-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin: 0 0 8px;
}

.mp-pv-reste-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
  margin: 0;
}

.mp-pv-reste-link {
  margin-top: 12px;
  font-size: var(--fs-sm);
}

.mp-pv-reste-link a {
  color: var(--c-accent);
  font-weight: var(--fw-semibold);
}


/* ─────────────────────────────────────────
   10. MP-CONDITIONS (checklist)
───────────────────────────────────────── */
.mp-conditions {
  padding: var(--space-section) 0;
  background: var(--c-bg);
}

.mp-conditions-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.mp-conditions-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}

.mp-conditions-item:last-child {
  border-bottom: none;
}

.mp-conditions-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--c-success);
}

.mp-conditions-text {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
}

.mp-conditions-exclusion {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--c-navy-4);
  border-radius: var(--radius-md);
}

.mp-conditions-exclusion .mp-p {
  margin: 0;
}

.mp-conditions-source {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: 16px;
}


/* ─────────────────────────────────────────
   11. MP-FAQ (2-col accordion)
───────────────────────────────────────── */
.mp-faq {
  padding: var(--space-section) 0;
}

.mp-faq-header {
  margin-bottom: 32px;
}

.mp-faq-subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-top: 8px;
  line-height: var(--lh-relaxed);
}

.mp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.mp-faq-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mp-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  transition: background var(--dur-fast);
  line-height: var(--lh-snug);
}

.mp-faq-q:hover {
  background: var(--c-navy-4);
}

.mp-faq-q[aria-expanded="true"] {
  background: var(--c-navy-4);
}

.mp-faq-q-icon {
  flex-shrink: 0;
  color: var(--c-accent);
  transition: transform var(--dur-medium) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-faq-icon-v {
  transition: all var(--dur-medium) var(--ease-out);
  transform-origin: center;
}

.mp-faq-q[aria-expanded="true"] .mp-faq-icon-v {
  transform: rotate(90deg);
  opacity: 0;
}

.mp-faq-q[aria-expanded="true"] .mp-faq-icon-h {
  transform: rotate(90deg);
}

.mp-faq-a {
  padding: 0 20px 18px 20px;
}

.mp-faq-a p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--c-text-secondary);
  margin: 0 0 12px;
}

.mp-faq-a p:last-child {
  margin-bottom: 0;
}

.mp-faq-a a {
  color: var(--c-accent) !important;
  font-weight: var(--fw-medium);
  text-decoration: underline;
  transition: color var(--dur-fast) var(--ease-out);
}

.mp-faq-a a:hover {
  color: var(--c-accent-hover) !important;
}

.mp-faq-a strong {
  color: var(--c-accent) !important;
}


/* ─────────────────────────────────────────
   12. REVEAL ANIMATIONS + DELAYS
───────────────────────────────────────── */
.mp-pilier .rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.mp-pilier .rv.is-in {
  opacity: 1;
  transform: translateY(0);
}

.mp-pilier .rv.d1 { transition-delay: 0s; }
.mp-pilier .rv.d2 { transition-delay: 0.08s; }
.mp-pilier .rv.d3 { transition-delay: 0.16s; }
.mp-pilier .rv.d4 { transition-delay: 0.24s; }
.mp-pilier .rv.d5 { transition-delay: 0.32s; }
.mp-pilier .rv.d6 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .mp-pilier .rv {
    transition: none;
    opacity: 1;
    transform: none;
  }
}


/* ─────────────────────────────────────────
   13. RESPONSIVE
───────────────────────────────────────── */

/* Tablet: 641px-860px */
@media (min-width: 641px) and (max-width: 860px) {
  .mp-wrap {
    padding-left: var(--pad-tablet);
    padding-right: var(--pad-tablet);
  }
}

/* Mobile: <=640px */
@media (max-width: 640px) {
  .mp-wrap {
    padding-left: var(--pad-mobile);
    padding-right: var(--pad-mobile);
  }

  .mp-hero {
    min-height: auto;
    padding: var(--space-section-sm) 0;
  }

  .mp-hero-btns,
  .mp-ssc-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .mp-hero-btn-primary,
  .mp-hero-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .mp-hero-form {
    max-width: 100%;
  }

  /* CESI + SSC grids: 1 column */
  .mp-cesi-grid,
  .mp-ssc-grid {
    grid-template-columns: 1fr;
  }
}

/* All grids collapse at <=860px */
@media (max-width: 860px) {

  /* Verdict: single column */
  .mp-verdict-grid {
    grid-template-columns: 1fr;
  }

  /* CESI + SSC: 2 columns on tablet */
  .mp-cesi-grid,
  .mp-ssc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cumul ecretement: single column */
  .mp-cumul-ecretement-grid {
    grid-template-columns: 1fr;
  }

  /* CTA adresse: single column */
  .mp-cta-adresse-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px var(--pad-mobile);
  }

  /* PV reste: single column */
  .mp-pv-reste-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ: single column */
  .mp-faq-grid {
    grid-template-columns: 1fr;
  }

  .mp-h1 {
    font-size: var(--fs-h2);
  }

  .mp-photo-text {
    font-size: var(--fs-xl);
  }
}

/* Large desktop: >=1281px */
@media (min-width: 1281px) {
  .mp-wrap {
    padding-left: var(--pad-desktop);
    padding-right: var(--pad-desktop);
  }
}

/* Wide: >=1601px */
@media (min-width: 1601px) {
  .mp-wrap {
    padding-left: var(--pad-wide);
    padding-right: var(--pad-wide);
  }
}
