/* ==========================================================================
   MÉMOIRES PRODUCT — V9.8.1-A7 PREMIUM EXPERIENCE SYSTEM
   ========================================================================== */

:root{
  --a7-navy:#061a3a;
  --a7-navy-2:#0a2c63;
  --a7-blue:#1654c6;
  --a7-gold:#d8a63e;
  --a7-cream:#f6f1e8;
  --a7-white:#ffffff;
  --a7-ink:#111827;
  --a7-muted:#697386;
  --a7-radius:28px;
  --a7-shadow:0 24px 70px rgba(6,26,58,.14);
  --a7-transition:360ms cubic-bezier(.2,.8,.2,1);
}

/* -------------------- COMMERCIAL : transformation physique ---------------- */
html.mp-a7-commercial{
  background:#f6f1e8;
}
html.mp-a7-commercial body{
  background:
    radial-gradient(circle at 78% 2%,rgba(216,166,62,.14),transparent 25%),
    radial-gradient(circle at 20% 0,rgba(22,84,198,.11),transparent 25%),
    #f6f1e8!important;
}
html.mp-a7-commercial header{
  position:sticky!important;top:0!important;z-index:1000!important;
  backdrop-filter:blur(20px)!important;
  -webkit-backdrop-filter:blur(20px)!important;
  background:rgba(251,248,242,.86)!important;
  border-bottom:1px solid rgba(11,33,72,.08)!important;
  box-shadow:0 12px 40px rgba(10,32,69,.06)!important;
}
html.mp-a7-commercial main{
  overflow:hidden;
}
html.mp-a7-commercial h1,
html.mp-a7-commercial h2,
html.mp-a7-commercial h3{
  letter-spacing:-.045em!important;
  text-wrap:balance;
}
html.mp-a7-commercial h1{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(48px,7vw,104px)!important;
  line-height:.94!important;
}
html.mp-a7-commercial h2{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(34px,4.5vw,70px)!important;
  line-height:1!important;
}
html.mp-a7-commercial section{
  position:relative;
}
html.mp-a7-commercial section:first-of-type{
  background:
    radial-gradient(circle at 80% 25%,rgba(216,166,62,.28),transparent 24%),
    radial-gradient(circle at 65% 55%,rgba(22,84,198,.32),transparent 32%),
    linear-gradient(135deg,#061a3a 0%,#071f48 48%,#0a2c63 100%)!important;
  color:#fff!important;
  border-radius:0 0 42px 42px!important;
  min-height:700px!important;
  padding-top:clamp(70px,10vw,150px)!important;
  padding-bottom:clamp(70px,10vw,140px)!important;
  overflow:hidden!important;
  box-shadow:0 30px 100px rgba(6,26,58,.22)!important;
}
html.mp-a7-commercial section:first-of-type::before{
  content:"";
  position:absolute;inset:-15%;
  background:
    radial-gradient(circle at 72% 45%,rgba(255,210,121,.22) 0 1px,transparent 2px),
    radial-gradient(circle at 70% 42%,rgba(255,210,121,.34),transparent 13%),
    conic-gradient(from 225deg at 70% 46%,transparent,rgba(216,166,62,.12),transparent 28%);
  filter:blur(.2px);
  pointer-events:none;
}
html.mp-a7-commercial section:first-of-type h1,
html.mp-a7-commercial section:first-of-type h2,
html.mp-a7-commercial section:first-of-type h3,
html.mp-a7-commercial section:first-of-type p{
  color:#fff!important;
  position:relative;z-index:1;
}
html.mp-a7-commercial section:first-of-type h1 em,
html.mp-a7-commercial section:first-of-type h1 strong{
  color:#f2c86d!important;
}
html.mp-a7-commercial a,
html.mp-a7-commercial button{
  transition:transform var(--a7-transition),box-shadow var(--a7-transition),background var(--a7-transition)!important;
}
html.mp-a7-commercial a:hover,
html.mp-a7-commercial button:hover{
  transform:translateY(-2px);
}
html.mp-a7-commercial a[class*="btn"],
html.mp-a7-commercial button{
  border-radius:999px!important;
  box-shadow:0 10px 28px rgba(22,84,198,.18)!important;
}
html.mp-a7-commercial section:not(:first-of-type) > div,
html.mp-a7-commercial article{
  border-radius:26px!important;
}
html.mp-a7-commercial article,
html.mp-a7-commercial [class*="card"]{
  transition:transform var(--a7-transition),box-shadow var(--a7-transition),border-color var(--a7-transition)!important;
}
html.mp-a7-commercial article:hover,
html.mp-a7-commercial [class*="card"]:hover{
  transform:translateY(-6px)!important;
  box-shadow:0 24px 70px rgba(6,26,58,.14)!important;
}
html.mp-a7-commercial footer{
  margin-top:80px!important;
  background:linear-gradient(180deg,#071a38,#041126)!important;
  color:#dbe6f6!important;
  border-radius:42px 42px 0 0!important;
}

/* ----------------------------- PRODUIT A7 ------------------------------- */
html[data-mp-a7="1"]{
  --a7-accent:#174eae;
  --a7-accent2:#d8a63e;
  --a7-muted:#6b7280;
  --a7-surface:#ffffff;
  --a7-bg:#f5f0e7;
  --a7-ink:#111827;
  --a7-r:28px;
  --a7-shadow:0 24px 70px rgba(11,33,72,.14);
  --a7-ms:360ms;
}
html[data-mp-a7="1"] body{
  background:var(--a7-bg)!important;
  color:var(--a7-ink)!important;
  transition:background var(--a7-ms) ease,color var(--a7-ms) ease;
}
html[data-mp-a7="1"] header{
  position:sticky!important;top:10px!important;z-index:80!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  transition:all var(--a7-ms) cubic-bezier(.2,.8,.2,1)!important;
}
html[data-mp-a7="1"] h1,
html[data-mp-a7="1"] h2,
html[data-mp-a7="1"] h3{
  text-wrap:balance;
}

/* Polices contrôlées */
html[data-mp-a7="1"].a7-font-display-editorial-serif h1,
html[data-mp-a7="1"].a7-font-display-editorial-serif h2,
html[data-mp-a7="1"].a7-font-display-editorial-serif h3{
  font-family:Georgia,"Times New Roman",serif!important;
  letter-spacing:-.045em!important;
}
html[data-mp-a7="1"].a7-font-display-classic-serif h1,
html[data-mp-a7="1"].a7-font-display-classic-serif h2,
html[data-mp-a7="1"].a7-font-display-classic-serif h3{
  font-family:"Times New Roman",Times,serif!important;
}
html[data-mp-a7="1"].a7-font-display-modern-sans h1,
html[data-mp-a7="1"].a7-font-display-modern-sans h2,
html[data-mp-a7="1"].a7-font-display-modern-sans h3{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:-.05em!important;
}
html[data-mp-a7="1"].a7-font-display-geometric h1,
html[data-mp-a7="1"].a7-font-display-geometric h2,
html[data-mp-a7="1"].a7-font-display-geometric h3{
  font-family:Avenir,"Avenir Next",Futura,ui-sans-serif,sans-serif!important;
  letter-spacing:-.04em!important;
}
html[data-mp-a7="1"].a7-font-body-humanist body{
  font-family:"Avenir Next",Avenir,Inter,ui-sans-serif,sans-serif!important;
}
html[data-mp-a7="1"].a7-font-body-modern-sans body{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html[data-mp-a7="1"].a7-font-body-classic body{
  font-family:Arial,Helvetica,sans-serif!important;
}

/* Rayons */
html[data-mp-a7="1"].a7-radius-soft{--a7-r:30px}
html[data-mp-a7="1"].a7-radius-medium{--a7-r:16px}
html[data-mp-a7="1"].a7-radius-sharp{--a7-r:2px}
html[data-mp-a7="1"] article,
html[data-mp-a7="1"] [class*="card"],
html[data-mp-a7="1"] .mp-a5-recipe{
  border-radius:var(--a7-r)!important;
}

/* Ombres */
html[data-mp-a7="1"].a7-shadow-none{--a7-shadow:none}
html[data-mp-a7="1"].a7-shadow-soft{--a7-shadow:0 14px 38px rgba(11,33,72,.08)}
html[data-mp-a7="1"].a7-shadow-deep{--a7-shadow:0 28px 75px rgba(11,33,72,.16)}
html[data-mp-a7="1"].a7-shadow-glow{--a7-shadow:0 22px 60px color-mix(in srgb,var(--a7-accent) 24%,transparent)}
html[data-mp-a7="1"] article,
html[data-mp-a7="1"] [class*="card"],
html[data-mp-a7="1"] .mp-a5-recipe{
  box-shadow:var(--a7-shadow)!important;
}

/* Navigation */
html[data-mp-a7="1"].a7-nav-pill header{border-radius:999px!important}
html[data-mp-a7="1"].a7-nav-line header{
  border-radius:0!important;border-width:0 0 1px!important;box-shadow:none!important
}
html[data-mp-a7="1"].a7-nav-glass header{
  background:color-mix(in srgb,var(--a7-surface) 76%,transparent)!important;
  border:1px solid rgba(255,255,255,.52)!important;
  box-shadow:0 18px 55px rgba(11,33,72,.12)!important;
}
html[data-mp-a7="1"].a7-nav-minimal header{
  background:transparent!important;border-color:transparent!important;box-shadow:none!important
}

/* Boutons */
html[data-mp-a7="1"] button,
html[data-mp-a7="1"] a[class*="btn"]{
  transition:all var(--a7-ms) cubic-bezier(.2,.8,.2,1)!important;
}
html[data-mp-a7="1"].a7-button-pill button,
html[data-mp-a7="1"].a7-button-pill a[class*="btn"]{border-radius:999px!important}
html[data-mp-a7="1"].a7-button-rounded button,
html[data-mp-a7="1"].a7-button-rounded a[class*="btn"]{border-radius:14px!important}
html[data-mp-a7="1"].a7-button-square button,
html[data-mp-a7="1"].a7-button-square a[class*="btn"]{border-radius:2px!important}
html[data-mp-a7="1"].a7-button-outline button,
html[data-mp-a7="1"].a7-button-outline a[class*="btn"]{
  background:transparent!important;color:var(--a7-accent)!important;
  border:1px solid var(--a7-accent)!important;box-shadow:none!important
}

/* Densité */
html[data-mp-a7="1"].a7-density-airy main{--a7-gap:38px}
html[data-mp-a7="1"].a7-density-balanced main{--a7-gap:24px}
html[data-mp-a7="1"].a7-density-dense main{--a7-gap:14px}
html[data-mp-a7="1"] #mp-layout-zone,
html[data-mp-a7="1"] .mp-layout-zone{
  gap:var(--a7-gap,24px)!important;
}

/* Images */
html[data-mp-a7="1"].a7-image-warm img{filter:saturate(1.08) sepia(.06) contrast(1.02)}
html[data-mp-a7="1"].a7-image-cinematic img{filter:saturate(.9) contrast(1.12) brightness(.94)}
html[data-mp-a7="1"].a7-image-contrast img{filter:saturate(1.12) contrast(1.18)}
html[data-mp-a7="1"].a7-image-monochrome img{filter:grayscale(1) contrast(1.08)}
html[data-mp-a7="1"] img{transition:filter var(--a7-ms) ease,transform var(--a7-ms) ease}

/* Arrière-plans */
html[data-mp-a7="1"].a7-bg-clean body{background:var(--a7-bg)!important}
html[data-mp-a7="1"].a7-bg-gradient body{
  background:linear-gradient(135deg,var(--a7-bg),color-mix(in srgb,var(--a7-accent) 8%,var(--a7-bg)))!important
}
html[data-mp-a7="1"].a7-bg-glow body{
  background:
    radial-gradient(circle at 80% 8%,color-mix(in srgb,var(--a7-accent2) 20%,transparent),transparent 27%),
    radial-gradient(circle at 8% 35%,color-mix(in srgb,var(--a7-accent) 13%,transparent),transparent 29%),
    var(--a7-bg)!important;
}
html[data-mp-a7="1"].a7-bg-mesh body{
  background:
    radial-gradient(at 12% 18%,color-mix(in srgb,var(--a7-accent) 17%,transparent) 0,transparent 30%),
    radial-gradient(at 82% 12%,color-mix(in srgb,var(--a7-accent2) 20%,transparent) 0,transparent 28%),
    radial-gradient(at 70% 80%,rgba(255,255,255,.6) 0,transparent 36%),
    var(--a7-bg)!important;
}
html[data-mp-a7="1"].a7-bg-dark-luxe body{
  background:
    radial-gradient(circle at 74% 18%,color-mix(in srgb,var(--a7-accent2) 28%,transparent),transparent 24%),
    linear-gradient(145deg,#041126,#071b3c 52%,#0a2d64)!important;
  color:#fff!important;
}

/* Micro-interactions */
html[data-mp-a7="1"].a7-motion-premium article,
html[data-mp-a7="1"].a7-motion-premium [class*="card"],
html[data-mp-a7="1"].a7-motion-premium .mp-a5-recipe{
  transition:transform var(--a7-ms) cubic-bezier(.2,.8,.2,1),
             box-shadow var(--a7-ms) cubic-bezier(.2,.8,.2,1)!important;
}
html[data-mp-a7="1"].a7-motion-premium article:hover,
html[data-mp-a7="1"].a7-motion-premium [class*="card"]:hover,
html[data-mp-a7="1"].a7-motion-premium .mp-a5-recipe:hover{
  transform:translateY(-6px) scale(1.005)!important;
}

/* ---------------- 10 architectures réellement différenciées --------------- */

/* 01 Luxury */
html[data-mp-a7="1"].a7-mode-luxury{
  --a7-bg:#f4efe6;--a7-surface:#fffaf3;
}
html[data-mp-a7="1"].a7-mode-luxury h1,
html[data-mp-a7="1"].a7-mode-luxury h2{
  font-family:Georgia,"Times New Roman",serif!important;
}
html[data-mp-a7="1"].a7-mode-luxury #mp-layout-zone > *{
  border:1px solid rgba(165,125,55,.16)!important;
}

/* 02 Editorial */
html[data-mp-a7="1"].a7-mode-editorial main{
  max-width:1080px!important;margin-inline:auto!important
}
html[data-mp-a7="1"].a7-mode-editorial #mp-layout-zone{
  display:grid!important;grid-template-columns:1.15fr .85fr!important;gap:28px!important
}
html[data-mp-a7="1"].a7-mode-editorial #mp-layout-zone > *:nth-child(3n+1){
  grid-column:1/-1!important
}

/* 03 Immersive */
html[data-mp-a7="1"].a7-mode-immersive #mp-layout-zone > *:first-child{
  min-height:72vh!important;
  display:flex!important;align-items:flex-end!important;
  background-size:cover!important;
}
html[data-mp-a7="1"].a7-mode-immersive main{max-width:1440px!important}

/* 04 Culinary */
html[data-mp-a7="1"].a7-mode-culinary{
  --a7-bg:#fbf7ef;--a7-accent2:#b07a2b
}
html[data-mp-a7="1"].a7-mode-culinary .mp-a5-recipes{
  display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,.9fr)!important;
  gap:18px!important
}
html[data-mp-a7="1"].a7-mode-culinary .mp-a5-recipe{
  grid-column:2!important
}

/* 05 Technical */
html[data-mp-a7="1"].a7-mode-technical{
  --a7-bg:#edf2f7;--a7-surface:#f8fbff
}
html[data-mp-a7="1"].a7-mode-technical article,
html[data-mp-a7="1"].a7-mode-technical [class*="card"]{
  border-radius:8px!important;border:1px solid #cbd5e1!important;box-shadow:none!important
}
html[data-mp-a7="1"].a7-mode-technical h1,
html[data-mp-a7="1"].a7-mode-technical h2{
  font-family:Inter,ui-sans-serif,sans-serif!important
}

/* 06 Minimal */
html[data-mp-a7="1"].a7-mode-minimal body{background:#fff!important}
html[data-mp-a7="1"].a7-mode-minimal article,
html[data-mp-a7="1"].a7-mode-minimal [class*="card"]{
  box-shadow:none!important;border:0!important;border-top:1px solid #e5e7eb!important;border-radius:0!important
}
html[data-mp-a7="1"].a7-mode-minimal main{max-width:980px!important;margin-inline:auto!important}

/* 07 Storytelling */
html[data-mp-a7="1"].a7-mode-storytelling #mp-layout-zone{
  display:flex!important;flex-direction:column!important;gap:72px!important
}
html[data-mp-a7="1"].a7-mode-storytelling #mp-layout-zone > *{
  min-height:50vh!important;display:flex!important;align-items:center!important
}
html[data-mp-a7="1"].a7-mode-storytelling #mp-layout-zone > *:nth-child(even){
  margin-left:12%!important
}

/* 08 Bold */
html[data-mp-a7="1"].a7-mode-bold{
  --a7-bg:#0a0a0a;--a7-surface:#161616;--a7-ink:#fff
}
html[data-mp-a7="1"].a7-mode-bold body{background:#0a0a0a!important;color:#fff!important}
html[data-mp-a7="1"].a7-mode-bold h1,
html[data-mp-a7="1"].a7-mode-bold h2{
  font-family:Inter,ui-sans-serif,sans-serif!important;
  font-weight:900!important;text-transform:uppercase!important;letter-spacing:-.06em!important
}
html[data-mp-a7="1"].a7-mode-bold article{
  border:2px solid var(--a7-accent2)!important
}

/* 09 Natural */
html[data-mp-a7="1"].a7-mode-natural{
  --a7-bg:#eef2e9;--a7-surface:#f8faf5;--a7-accent:#3b6951
}
html[data-mp-a7="1"].a7-mode-natural article{
  border:1px solid rgba(59,105,81,.16)!important
}

/* 10 Catalog */
html[data-mp-a7="1"].a7-mode-catalog #mp-layout-zone{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important
}
html[data-mp-a7="1"].a7-mode-catalog #mp-layout-zone > *{
  min-height:260px!important
}

/* Mobile */
@media(max-width:800px){
  html[data-mp-a7="1"].a7-mode-editorial #mp-layout-zone,
  html[data-mp-a7="1"].a7-mode-catalog #mp-layout-zone,
  html[data-mp-a7="1"].a7-mode-culinary .mp-a5-recipes{
    grid-template-columns:1fr!important;
  }
  html[data-mp-a7="1"].a7-mode-editorial #mp-layout-zone > *,
  html[data-mp-a7="1"].a7-mode-culinary .mp-a5-recipe{
    grid-column:auto!important;
  }
  html[data-mp-a7="1"].a7-mode-storytelling #mp-layout-zone > *:nth-child(even){
    margin-left:0!important
  }
}

/* MP-V981-A7-R1-CONTRAST-START */

/* Header réellement fixe : il reste visible même si un parent a overflow. */
html.mp-a7-commercial.mp-a7-r1 header.mp-a7-fixed-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  z-index:2147480000!important;
  margin:0!important;
  border-radius:0!important;
  background:rgba(251,248,242,.92)!important;
  backdrop-filter:blur(22px) saturate(1.12)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.12)!important;
  box-shadow:0 10px 36px rgba(7,26,58,.10)!important;
}

html.mp-a7-commercial.mp-a7-r1 body{
  padding-top:var(--a7-fixed-header-h,82px)!important;
}

/* Hero : échelle plus maîtrisée, sans couper la lecture. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type h1{
  font-size:clamp(46px,5.4vw,88px)!important;
  line-height:.96!important;
  max-width:13ch!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* Couleur de base du hero sombre. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type{
  color:#fff!important;
}
html.mp-a7-commercial.mp-a7-r1 section:first-of-type p,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type li,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type small{
  color:#e7edf8!important;
}

/*
 * Les surfaces sont classées par le runtime selon leur couleur calculée.
 * Cela évite le bug A7 : le parent sombre imposait du blanc dans les cartes blanches.
 */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface{
  color:#102044!important;
}
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface h1,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface h2,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface h3,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface h4,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface h5,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface p,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface li,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface strong,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface span,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface small{
  color:#102044!important;
}
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface p,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface small{
  color:#627087!important;
}

/* Les micro-labels restent or. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface [class*="ey"],
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface [class*="kicker"],
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface [class*="label"]{
  color:#a66c08!important;
}

/* Boutons : contraste explicite, même à l'intérieur d'une surface claire. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface button,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface button *,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface a[class*="btn"],
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface a[class*="btn"] *{
  color:#fff!important;
}

/* Surface foncée reconnue. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface h1,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface h2,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface h3,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface h4,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface p,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface li,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface strong,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface span,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-dark-surface small{
  color:#fff!important;
}

/* Cartes claires du hero : un peu plus de relief et de lisibilité. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type .mp-a7-light-surface{
  background:rgba(255,255,255,.97)!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:0 22px 64px rgba(2,16,42,.18)!important;
}

/* Empêche un héritage de couleur de tuer la phrase commerciale principale. */
html.mp-a7-commercial.mp-a7-r1 section:first-of-type > div > p,
html.mp-a7-commercial.mp-a7-r1 section:first-of-type > div > div > p:not(.mp-a7-light-surface p){
  color:#edf3ff!important;
}

/* Responsive : header toujours utilisable et hero moins massif. */
@media(max-width:820px){
  html.mp-a7-commercial.mp-a7-r1 section:first-of-type h1{
    font-size:clamp(42px,12vw,66px)!important;
    max-width:11ch!important;
  }
  html.mp-a7-commercial.mp-a7-r1 header.mp-a7-fixed-header{
    min-height:64px!important;
  }
}

/* MP-V981-A7-R1-CONTRAST-END */

/* MP-V981-A7-R5-SURFACE-CONTRAST-START */

/*
 * Les variables sont définies sur la SURFACE réellement peinte.
 * Une surface imbriquée remplace naturellement celles du parent.
 */

html.mp-a7-commercial.mp-a7-r5 [data-mp-r5-surface="dark"]{
  --mp-r5-fg:#ffffff;
  --mp-r5-muted:rgba(255,255,255,.80);
}

html.mp-a7-commercial.mp-a7-r5 [data-mp-r5-surface="light"]{
  --mp-r5-fg:#0b1733;
  --mp-r5-muted:#5c6980;
}

/* R5 ne force que les textes que le moteur a réellement identifiés comme insuffisants. */
html.mp-a7-commercial.mp-a7-r5 .mp-r5-contrast-fix{
  color:var(--mp-r5-fg)!important;
  -webkit-text-fill-color:var(--mp-r5-fg)!important;
  text-shadow:none!important;
}

html.mp-a7-commercial.mp-a7-r5 .mp-r5-contrast-fix.mp-r5-muted{
  color:var(--mp-r5-muted)!important;
  -webkit-text-fill-color:var(--mp-r5-muted)!important;
}

/*
 * Cas important observé dans le hero :
 * si un parent textuel porte lui-même une couleur forcée, ses enfants doivent
 * pouvoir recevoir leur propre correction sans hériter d'un !important ancien.
 */
html.mp-a7-commercial.mp-a7-r5 .mp-r5-contrast-fix > strong,
html.mp-a7-commercial.mp-a7-r5 .mp-r5-contrast-fix > b,
html.mp-a7-commercial.mp-a7-r5 .mp-r5-contrast-fix > em,
html.mp-a7-commercial.mp-a7-r5 .mp-r5-contrast-fix > span{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}

/* Aucune image ou logo n'est recoloré. */
html.mp-a7-commercial.mp-a7-r5 img,
html.mp-a7-commercial.mp-a7-r5 picture,
html.mp-a7-commercial.mp-a7-r5 video{
  -webkit-text-fill-color:initial;
}

/* MP-V981-A7-R5-SURFACE-CONTRAST-END */

/* MP-V981-A7-R6-HERO-FIX-START */

html.mp-a7-commercial.mp-a7-r6 .mp-r6-chip-fix,
html.mp-a7-commercial.mp-a7-r6 .mp-r6-chip-fix *{
  color:#0b1733 !important;
  -webkit-text-fill-color:#0b1733 !important;
  font-weight:700 !important;
}

html.mp-a7-commercial.mp-a7-r6 .mp-r6-mini-card{
  min-height:132px !important;
}
html.mp-a7-commercial.mp-a7-r6 .mp-r6-mini-card,
html.mp-a7-commercial.mp-a7-r6 .mp-r6-mini-card *{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

html.mp-a7-commercial.mp-a7-r6 .mp-r6-mini-cards-wrap{
  overflow:visible !important;
}

html.mp-a7-commercial.mp-a7-r6 .mp-r6-visual-panel{
  min-height:690px !important;
  padding-bottom:26px !important;
}

html.mp-a7-commercial.mp-a7-r6 .mp-r6-visual-panel .mp-r6-mini-cards-wrap{
  padding-bottom:10px !important;
}

/* MP-V981-A7-R6-HERO-FIX-END */

/* MP-V981-A7-R7-HERO-KICKER-START */

html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;

  width:auto !important;
  max-width:min(100%, 760px) !important;
  min-height:54px !important;

  padding:14px 28px !important;
  margin-bottom:24px !important;

  border-radius:999px !important;
  border:1px solid rgba(182,128,20,.24) !important;

  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,242,231,.98)) !important;

  color:#a66b00 !important;
  -webkit-text-fill-color:#a66b00 !important;

  font-size:clamp(17px,1.15vw,20px) !important;
  line-height:1.08 !important;
  font-weight:800 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;

  box-shadow:
    0 14px 35px rgba(6,25,60,.12),
    inset 0 1px 0 rgba(255,255,255,.9) !important;

  white-space:normal !important;
}

html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker::before{
  content:"" !important;
  display:block !important;
  flex:0 0 auto !important;
  width:34px !important;
  height:2px !important;
  border-radius:99px !important;
  background:linear-gradient(90deg,#1d5eb9 0 42%,#d7a52e 42% 100%) !important;
  box-shadow:none !important;
}

html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker,
html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker *{
  color:#a66b00 !important;
  -webkit-text-fill-color:#a66b00 !important;
}

/* Desktop large : davantage de présence mais sans concurrencer le H1. */
@media (min-width:1280px){
  html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker{
    min-height:58px !important;
    padding:16px 32px !important;
    font-size:20px !important;
    margin-bottom:26px !important;
  }
}

/* Tablette */
@media (max-width:900px){
  html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker{
    max-width:100% !important;
    min-height:48px !important;
    padding:12px 20px !important;
    gap:10px !important;
    font-size:15px !important;
    letter-spacing:.11em !important;
    margin-bottom:20px !important;
  }

  html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker::before{
    width:24px !important;
  }
}

/* Mobile */
@media (max-width:560px){
  html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker{
    display:flex !important;
    width:100% !important;
    min-height:44px !important;
    padding:11px 15px !important;
    border-radius:18px !important;

    font-size:13px !important;
    line-height:1.22 !important;
    letter-spacing:.075em !important;

    margin-bottom:18px !important;
  }

  html.mp-a7-commercial.mp-a7-r7 .mp-r7-hero-kicker::before{
    width:18px !important;
  }
}

/* MP-V981-A7-R7-HERO-KICKER-END */
