/* =========================================================
   ModeShabbat — style.css
   ========================================================= */

:root {
  --color-primary: #101a33;
  --color-secondary: #c99a3d;
  --color-accent: #5cc8ff;
  --color-dark: #0b1020;
  --color-light: #fffaf0;
  --color-card: #ffffff;
  --color-muted: #667085;
  --color-border: rgba(16, 26, 51, .14);

  --font-title: "Fraunces", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(16, 26, 51, .10);
  --shadow-card: 0 10px 30px rgba(16, 26, 51, .08);
  --container: 1180px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-text);
  color: var(--color-primary);
  background: var(--color-light);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .9rem; }
h3 { font-size: 1.3rem; margin-bottom: .6rem; }

.ms-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.ms-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.ms-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
}

.ms-logo { display: flex; align-items: center; gap: .6rem; }
.ms-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: var(--color-secondary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .85rem;
}
.ms-logo-text { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: var(--color-dark); }

.ms-nav-list { display: flex; gap: 1.6rem; align-items: center; }
.ms-nav-list a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-primary);
  position: relative;
  padding: .3rem 0;
}
.ms-nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.ms-nav-list a:hover::after { transform: scaleX(1); }

.ms-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.ms-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.ms-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ms-hamburger.is-open span:nth-child(2) { opacity: 0; }
.ms-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.ms-hero {
  position: relative;
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-dark) 60%);
  color: var(--color-light);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.ms-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,61,.35), transparent 70%);
}

.ms-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ms-hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.ms-hero h1 { color: #fff; margin-bottom: 1rem; }
.ms-hero p.ms-hero-lead { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 1.6rem; max-width: 540px; }

.ms-hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1rem; }

.ms-hero-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}
.ms-hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: msSlide 12s infinite;
}
.ms-hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.ms-hero-slideshow img:nth-child(2) { animation-delay: 4s; }
.ms-hero-slideshow img:nth-child(3) { animation-delay: 8s; }

@keyframes msSlide {
  0% { opacity: 0; }
  4% { opacity: 1; }
  30% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Boutons / CTA affiliés ---------- */
.ms-cta-aff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  cursor: pointer;
  user-select: none;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  padding: .9rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ms-cta-aff::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.ms-cta-aff:hover::after { left: 130%; }

.ms-cta-aff--primary,
.ms-cta-aff--wide {
  background: linear-gradient(135deg, var(--color-secondary), #ffd783);
  color: var(--color-dark);
  box-shadow: 0 18px 45px rgba(201,154,61,.28);
}

.ms-cta-aff--secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.ms-cta-aff--secondary:hover { background: rgba(255,255,255,.16); }

.ms-cta-aff--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.ms-cta-aff--inline {
  background: var(--color-primary);
  color: #fff;
  padding: .6rem 1.2rem;
  font-size: .88rem;
}

.ms-cta-aff--wide {
  width: 100%;
  padding: 1.1rem 1.4rem;
}

.ms-cta-aff:hover { transform: translateY(-2px); }
.ms-cta-aff:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.ms-cta-zone {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.ms-buy-panel {
  background: linear-gradient(160deg, #fff, #fff4e2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin: 2rem 0;
}
.ms-buy-panel h3 { margin-bottom: .5rem; }
.ms-buy-panel p { color: var(--color-muted); margin-bottom: 1.2rem; }

.ms-aff-disclaimer {
  font-size: .8rem;
  color: var(--color-muted);
  margin-top:20px;
}

/* ---------- Badges ---------- */
.ms-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(92, 200, 255, .12);
  color: #0c6e96;
}

.ms-badge--check {
  background: rgba(201,154,61,.14);
  color: #8a661f;
}

/* ---------- Cards & grilles ---------- */
.ms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ms-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ms-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ms-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.ms-card-media { aspect-ratio: 16/10; background: var(--color-border); overflow: hidden; }
.ms-card-media img { width: 100%; height: 100%; object-fit: cover; }

.ms-card-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.ms-card-body h3 { font-size: 1.15rem; }
.ms-card-body p { color: var(--color-muted); font-size: .95rem; }
.ms-card-link { margin-top: auto; font-weight: 700; color: var(--color-primary); }

/* ---------- Tableaux ---------- */
.ms-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
table.ms-table { width: 100%; border-collapse: collapse; min-width: 480px; }
table.ms-table th, table.ms-table td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: .92rem;
}
table.ms-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-title);
}
table.ms-table tbody tr:nth-child(even) { background: rgba(16,26,51,.03); }

/* ---------- Contenu éditorial ---------- */
.ms-content { font-size: 1.02rem; }
.ms-content h2 { margin-top: 2.2rem; }
.ms-content h3 { margin-top: 1.6rem; }
.ms-content p { margin-bottom: 1rem; }
.ms-content ul, .ms-content ol { margin: 1rem 0 1.2rem 1.3rem; list-style: disc; }
.ms-content ol { list-style: decimal; }
.ms-content li { margin-bottom: .4rem; }

.ms-callout {
  background: rgba(92,200,255,.08);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.ms-callout strong { color: var(--color-primary); }

/* ---------- Sommaire ---------- */
.ms-toc {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0 2rem;
}
.ms-toc h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.ms-toc ul { list-style: none; margin: 0; }
.ms-toc li { margin-bottom: .4rem; }
.ms-toc a { color: var(--color-primary); font-weight: 600; }
.ms-toc a:hover { color: var(--color-secondary); }

/* ---------- FAQ accordéon ---------- */
.ms-faq { margin: 2rem 0; }
.ms-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.ms-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 1.02rem;
  text-align: left;
}
.ms-faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-secondary);
  transition: transform .2s ease;
}
.ms-faq-item.is-open .ms-faq-question::after { transform: rotate(45deg); }
.ms-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--color-muted);
}
.ms-faq-item.is-open .ms-faq-answer { max-height: 600px; padding-bottom: 1.1rem; }

/* ---------- Layout principal + sidebar ---------- */
.ms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.ms-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.ms-sidebar-block {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
}
.ms-sidebar-title { font-size: 1.02rem; margin-bottom: .7rem; }
.ms-sidebar-list { display: flex; flex-direction: column; gap: .5rem; }
.ms-sidebar-list a { font-weight: 600; font-size: .92rem; }
.ms-sidebar-list a:hover { color: var(--color-secondary); }
.ms-sidebar-date { display: block; font-size: .76rem; color: var(--color-muted); }

/* ---------- Blog ---------- */
.ms-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.ms-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.ms-pagination a, .ms-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: .9rem;
}
.ms-pagination .is-current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- Article / Pilier ---------- */
.ms-article-hero { padding: 2.5rem 0 1rem; }
.ms-article-meta { display: flex; gap: 1rem; color: var(--color-muted); font-size: .88rem; margin-bottom: 1rem; }
.ms-article-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; aspect-ratio: 16/9; }
.ms-article-image img { width: 100%; height: 100%; object-fit: cover; }

.ms-related { margin-top: 3rem; }

/* ---------- Author block ---------- */
.ms-authorblock {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 2.5rem 0;
}
.ms-authorblock-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  flex-shrink: 0;
}
.ms-authorblock-name { font-weight: 800; }
.ms-authorblock-role { color: var(--color-muted); font-size: .85rem; margin-bottom: .5rem; }
.ms-authorblock-text { font-size: .92rem; color: var(--color-primary); margin-bottom: .6rem; }
.ms-authorblock-link { font-weight: 700; color: var(--color-secondary); }

/* ---------- Contact ---------- */
.ms-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; }
.ms-form label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; display: block; }
.ms-form input, .ms-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: .95rem;
}
.ms-form input:focus, .ms-form textarea:focus { outline: 2px solid var(--color-accent); }
.ms-form-hp { position: absolute; left: -9999px; opacity: 0; }
.ms-form-success { background: rgba(92,200,255,.12); border-radius: var(--radius-md); padding: 1rem; color: #0c6e96; }
.ms-form-error { background: rgba(220,80,80,.1); border-radius: var(--radius-md); padding: 1rem; color: #9b2c2c; }

/* ---------- Erreur ---------- */
.ms-error-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  gap: 1rem;
}
.ms-error-code { font-family: var(--font-title); font-size: 4rem; color: var(--color-secondary); }
.ms-error-actions { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.ms-footer { background: var(--color-primary); color: rgba(255,255,255,.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.ms-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}
.ms-footer-brand p { font-size: .88rem; margin-top: .8rem; color: rgba(255,255,255,.7); max-width: 420px; }
.ms-footer-brand .ms-aff-disclaimer { color: rgba(255,255,255,.55); }
.ms-footer-links { display: flex; flex-direction: column; gap: .6rem; }
.ms-footer-links a { font-size: .9rem; color: rgba(255,255,255,.78); }
.ms-footer-links a:hover { color: var(--color-secondary); }
.ms-footer-bottom { text-align: center; font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 2rem; }

/* ---------- Sections homepage génériques ---------- */
.ms-section { padding: 3.5rem 0; }
.ms-section--alt { background: #fff; }
.ms-section-head { max-width: 680px; margin: 0 auto 2.2rem; text-align: center; }
.ms-section-head p { color: var(--color-muted); }

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

/* ---------- Responsive tablette ---------- */
@media (max-width: 1100px) {
  .ms-nav { position: fixed; top: 64px; left: 0; right: 0; background: var(--color-light); border-bottom: 1px solid var(--color-border); transform: translateY(-110%); transition: transform .25s ease; max-height: calc(100vh - 64px); overflow-y: auto; }
  .ms-nav.is-open { transform: translateY(0); }
  .ms-nav-list { flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1rem; }
  .ms-hamburger { display: flex; }

  .ms-hero-inner { grid-template-columns: 1fr; }
  .ms-layout { grid-template-columns: 1fr; }
  .ms-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive mobile ---------- */
@media (max-width: 720px) {
  .ms-grid, .ms-grid--3, .ms-blog-grid { grid-template-columns: 1fr; }
  .ms-footer-inner { grid-template-columns: 1fr; }
  .ms-cta-aff:not(.ms-cta-aff--inline) { width: 100%; }
  .ms-hero { padding: 3rem 0; }
  h1 { font-size: 1.9rem; }
}


.ms-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  padding: .35rem .75rem;
  border: 1px solid rgba(201, 154, 61, .35);
  border-radius: 999px;
  background: rgba(201, 154, 61, .08);
  color: var(--color-secondary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ms-section-head--left {
  text-align: left;
  max-width: 860px;
  margin-left: 0;
  margin-right: 0;
}

.ms-home-hero {
  position: relative;
  overflow: hidden;
}

.ms-home-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 154, 61, .22), transparent 65%);
  pointer-events: none;
}

.ms-home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.ms-home-hero-copy {
  max-width: 780px;
}

.ms-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}

.ms-hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 700;
}

.ms-home-hero-panel {
  position: relative;
}

.ms-home-hero-panel .ms-hero-slideshow {
  min-height: 440px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .18);
}

.ms-home-hero-panel .ms-hero-slideshow img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.ms-hero-panel-card {
  position: absolute;
  left: -1.4rem;
  right: 1.4rem;
  bottom: -1.4rem;
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: rgba(255, 250, 240, .94);
  border: 1px solid rgba(201, 154, 61, .28);
  box-shadow: 0 24px 60px rgba(16, 26, 51, .20);
  backdrop-filter: blur(16px);
}

.ms-panel-kicker {
  display: block;
  margin-bottom: .45rem;
  color: var(--color-secondary);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ms-hero-panel-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.ms-hero-panel-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: .95rem;
}

.ms-home-fast {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.ms-fast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ms-fast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    radial-gradient(circle at top right, rgba(92, 200, 255, .13), transparent 42%);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 48px rgba(16, 26, 51, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ms-fast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(16, 26, 51, .13);
  border-color: rgba(201, 154, 61, .34);
}

.ms-fast-card--gold {
  background:
    linear-gradient(145deg, rgba(255, 250, 240, .98), rgba(255, 239, 202, .72)),
    radial-gradient(circle at top right, rgba(201, 154, 61, .22), transparent 44%);
}

.ms-fast-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(16, 26, 51, .06);
  font-size: 1.35rem;
}

.ms-fast-card h3 {
  margin: 0 0 .65rem;
  color: var(--color-primary);
  font-size: 1.12rem;
  line-height: 1.2;
}

.ms-fast-card p {
  flex: 1;
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  line-height: 1.65;
  font-size: .96rem;
}

.ms-buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(92, 200, 255, .14), transparent 38%),
    linear-gradient(135deg, rgba(16, 26, 51, .98), rgba(11, 16, 32, .96));
  color: #fff;
  box-shadow: 0 24px 70px rgba(16, 26, 51, .20);
}

.ms-buy-panel h3 {
  margin: 0 0 .5rem;
  color: #fff;
}

.ms-buy-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.ms-buy-panel-cta {
  min-width: 240px;
}

.ms-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ms-choice-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 920px;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 26, 51, .08);
}

.ms-choice-table th,
.ms-choice-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.ms-choice-table th {
  background: var(--color-primary);
  color: #fff;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ms-choice-table td {
  color: var(--color-dark);
  line-height: 1.5;
}

.ms-choice-table tr:last-child td {
  border-bottom: 0;
}

.ms-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.ms-check-card {
  position: relative;
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 45px rgba(16, 26, 51, .07);
}

.ms-check-card span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
}

.ms-check-card h3 {
  margin: 0 0 .55rem;
  color: var(--color-primary);
  font-size: 1.02rem;
}

.ms-check-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: .94rem;
}

.ms-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ms-word-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.ms-word-grid > div {
  padding: 1.15rem;
  border-radius: 1.25rem;
  background: rgba(16, 26, 51, .045);
  border: 1px solid var(--color-border);
}

.ms-word-grid strong {
  display: block;
  margin-bottom: .45rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.ms-word-grid p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.ms-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: route;
}

.ms-route-step {
  position: relative;
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 50px rgba(16, 26, 51, .07);
}

.ms-route-step span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-weight: 900;
  letter-spacing: .08em;
}

.ms-route-step h3 {
  margin: 0 0 .55rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.ms-route-step p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.ms-cta-zone--center,
.ms-final-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.5rem;
}

.ms-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ms-mini-card {
  padding: 1.2rem;
  border-radius: 1.3rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 45px rgba(16, 26, 51, .065);
}

.ms-mini-card h3 {
  margin: 0 0 .5rem;
  color: var(--color-primary);
}

.ms-mini-card p {
  margin: 0 0 .95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.ms-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.ms-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 26, 51, .055);
}

.ms-card-date {
  display: inline-flex;
  margin-bottom: .55rem;
  color: var(--color-secondary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ms-final-buy {
  background:
    radial-gradient(circle at 20% 20%, rgba(201,154,61,.20), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(92,200,255,.15), transparent 35%),
    linear-gradient(135deg, var(--color-primary), var(--color-dark));
}

.ms-final-buy-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 2rem;
  text-align: center;
  background: rgba(255, 250, 240, .94);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.ms-final-buy-card h2 {
  margin: .25rem 0 .8rem;
  color: var(--color-primary);
}

.ms-final-buy-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-muted);
  line-height: 1.7;
}

.ms-final-buy-card .ms-aff-disclaimer {
  margin-top: 1.4rem;
}

@media (max-width: 1180px) {
  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .ms-home-hero-panel {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 320px;
    min-height: 320px;
  }

  .ms-hero-panel-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
  }

  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid,
  .ms-word-grid {
    grid-template-columns: 1fr;
  }

  .ms-buy-panel {
    grid-template-columns: 1fr;
  }

  .ms-buy-panel-cta {
    min-width: 0;
  }

  .ms-hero-proof,
  .ms-proof-strip,
  .ms-final-ctas,
  .ms-cta-zone--center {
    align-items: stretch;
    flex-direction: column;
  }

  .ms-hero-proof span,
  .ms-proof-strip span,
  .ms-final-ctas .ms-cta-aff,
  .ms-cta-zone--center .ms-cta-aff {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   ModeShabbat - Premium polish V2
   À coller tout en bas de /assets/style.css
   ========================================================= */

/* ---------- Base premium / bugs overflow ---------- */
:root {
  --ms-cream: #fff8ea;
  --ms-cream-2: #f7eedf;
  --ms-gold-soft: rgba(201, 154, 61, .14);
  --ms-blue-soft: rgba(92, 200, 255, .12);
  --ms-ink: #101a33;
  --ms-panel: rgba(255, 255, 255, .88);
  --ms-line: rgba(16, 26, 51, .11);
  --ms-shadow-premium: 0 22px 70px rgba(16, 26, 51, .10);
  --ms-shadow-hover: 0 28px 90px rgba(16, 26, 51, .16);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 154, 61, .10), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(92, 200, 255, .08), transparent 26rem),
    var(--color-light);
}

.ms-main,
.ms-section,
.ms-container,
.ms-hero,
.ms-hero-inner {
  max-width: 100%;
}

/* ---------- Header plus net ---------- */
.ms-header {
  background: rgba(255, 250, 240, .96);
  box-shadow: 0 10px 35px rgba(16, 26, 51, .045);
}

.ms-header-inner {
  min-height: 72px;
}

.ms-logo-mark {
  box-shadow: 0 10px 28px rgba(16, 26, 51, .18);
}

.ms-logo-text {
  letter-spacing: -.015em;
}

.ms-nav-list {
  gap: 1.15rem;
}

.ms-nav-list a {
  white-space: nowrap;
  font-size: .9rem;
  letter-spacing: -.01em;
}

/* ---------- Sections : rythme plus premium ---------- */
.ms-section {
  position: relative;
  padding: clamp(3.8rem, 6vw, 6.5rem) 0;
}

.ms-section--alt {
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 154, 61, .07), transparent 24rem),
    linear-gradient(180deg, #fff, #fffaf0);
}

.ms-section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ms-section-head h2 {
  letter-spacing: -.025em;
}

.ms-section-head p {
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ms-section-head--left p {
  margin-left: 0;
}

/* ---------- Hero : plus premium, moins étriqué ---------- */
.ms-hero {
  padding: clamp(4.2rem, 7vw, 7rem) 0 clamp(4rem, 6vw, 6.5rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 154, 61, .24), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(92, 200, 255, .14), transparent 22rem),
    linear-gradient(140deg, #101a33 0%, #0b1020 72%);
}

.ms-home-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.ms-hero-eyebrow,
.ms-section-kicker {
  box-shadow: 0 8px 24px rgba(201, 154, 61, .08);
}

.ms-hero h1 {
  max-width: 850px;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.ms-hero p.ms-hero-lead {
  max-width: 690px;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.72;
}

.ms-hero-ctas {
  gap: .85rem;
  align-items: center;
}

.ms-hero-proof {
  margin-top: 1.55rem;
}

.ms-hero-proof span {
  backdrop-filter: blur(8px);
}

.ms-home-hero-panel {
  padding-bottom: 2.2rem;
}

.ms-home-hero-panel .ms-hero-slideshow {
  min-height: 470px;
  aspect-ratio: 4 / 3;
  border-radius: 2.2rem;
  transform: rotate(.6deg);
}

.ms-home-hero-panel .ms-hero-slideshow img {
  height: 100%;
}

.ms-hero-panel-card {
  left: -1.8rem;
  right: 2rem;
  bottom: 0;
  padding: 1.35rem 1.45rem;
  border-radius: 1.55rem;
}

/* ---------- CTA : bug fonds clairs / fonds sombres ---------- */
.ms-cta-aff {
  min-height: 46px;
  letter-spacing: -.01em;
  isolation: isolate;
}

.ms-cta-aff--primary,
.ms-cta-aff--wide {
  color: #101a33 !important;
  border: 1px solid rgba(255, 215, 131, .55);
  background:
    linear-gradient(135deg, #f3bd55 0%, #ffe08f 52%, #d49a35 100%) !important;
  box-shadow:
    0 16px 38px rgba(201, 154, 61, .26),
    inset 0 1px 0 rgba(255, 255, 255, .50);
}

.ms-cta-aff--secondary {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, #101a33, #172647) !important;
  border: 1px solid rgba(16, 26, 51, .20) !important;
  box-shadow: 0 14px 34px rgba(16, 26, 51, .16);
}

.ms-hero .ms-cta-aff--secondary,
.ms-buy-panel .ms-cta-aff--secondary,
.ms-final-buy .ms-cta-aff--secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  box-shadow: none;
}

.ms-final-buy-card .ms-cta-aff--secondary {
  color: #fff !important;
  background: linear-gradient(135deg, #101a33, #172647) !important;
  border: 1px solid rgba(16, 26, 51, .20) !important;
  box-shadow: 0 14px 34px rgba(16, 26, 51, .16);
}

.ms-cta-aff--inline {
  min-height: 34px;
  padding: .48rem .86rem;
  border-radius: 999px;
  white-space: nowrap;
  background: #101a33 !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(16, 26, 51, .14);
}

.ms-cta-aff:hover {
  transform: translateY(-3px);
}

.ms-cta-aff:active {
  transform: translateY(-1px);
}

/* ---------- Cards : moins template, plus premium ---------- */
.ms-card,
.ms-fast-card,
.ms-mini-card,
.ms-check-card,
.ms-route-step {
  border-color: rgba(16, 26, 51, .10);
  box-shadow: var(--ms-shadow-premium);
}

.ms-card {
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
}

.ms-card:hover,
.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-check-card:hover,
.ms-route-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--ms-shadow-hover);
  border-color: rgba(201, 154, 61, .28);
}

.ms-card-media {
  aspect-ratio: 16 / 11;
  position: relative;
}

.ms-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(16, 26, 51, .08));
  pointer-events: none;
}

.ms-card-media img {
  transition: transform .45s ease;
}

.ms-card:hover .ms-card-media img {
  transform: scale(1.045);
}

.ms-card-body {
  padding: 1.35rem 1.35rem 1.45rem;
}

.ms-card-body h3 {
  font-size: clamp(1.06rem, 1.2vw, 1.24rem);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.ms-card-body p {
  line-height: 1.65;
}

.ms-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  width: fit-content;
  margin-top: .55rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(201, 154, 61, .12);
  color: #78561a;
  font-weight: 850;
  font-size: .88rem;
}

.ms-card-link::after {
  content: "→";
  transition: transform .2s ease;
}

.ms-card-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Grilles mieux équilibrées ---------- */
.ms-grid {
  align-items: stretch;
}

.ms-grid--3 {
  gap: clamp(1.1rem, 2vw, 1.65rem);
}

.ms-grid--4 {
  gap: clamp(1rem, 1.6vw, 1.35rem);
}

.ms-fast-grid {
  gap: clamp(1rem, 1.8vw, 1.45rem);
}

.ms-fast-card {
  padding: clamp(1.2rem, 2vw, 1.55rem);
}

.ms-fast-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.ms-fast-card h3,
.ms-mini-card h3,
.ms-check-card h3,
.ms-route-step h3 {
  letter-spacing: -.018em;
}

/* ---------- Buy panel : ancienne règle écrasée, rendu stabilisé ---------- */
.ms-buy-panel {
  text-align: left !important;
  overflow: hidden;
}

.ms-buy-panel::before {
  content: "";
  position: absolute;
  inset: auto -5rem -7rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(201,154,61,.16);
  pointer-events: none;
}

.ms-buy-panel {
  position: relative;
}

.ms-buy-panel-cta {
  position: relative;
  z-index: 1;
}

.ms-buy-panel .ms-panel-kicker {
  color: #ffd783;
}

/* ---------- Table desktop : plus lisible ---------- */
.ms-table-wrap {
  border: 0;
  border-radius: 1.4rem;
  box-shadow: 0 18px 55px rgba(16, 26, 51, .07);
  background: transparent;
}

.ms-choice-table {
  border: 1px solid rgba(16, 26, 51, .10);
}

.ms-choice-table th {
  padding: 1.05rem 1rem;
  background:
    linear-gradient(135deg, #101a33, #172647);
}

.ms-choice-table td {
  background: rgba(255,255,255,.96);
}

.ms-choice-table tbody tr:hover td {
  background: #fff8ea;
}

/* ---------- Méthode : cards plus lisibles ---------- */
.ms-check-grid {
  counter-reset: checks;
}

.ms-check-card span {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(135deg, #101a33, #172647);
  box-shadow: 0 10px 28px rgba(16, 26, 51, .16);
}

.ms-check-card {
  overflow: hidden;
}

.ms-check-card::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(201,154,61,.08);
}

/* ---------- Mini cards : éviter rendu plat ---------- */
.ms-mini-card {
  position: relative;
  overflow: hidden;
}

.ms-mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-secondary), rgba(92,200,255,.55));
  opacity: .85;
}

.ms-mini-card h3,
.ms-mini-card p,
.ms-mini-card .ms-cta-aff {
  position: relative;
  z-index: 1;
}

/* ---------- FAQ : bug lisibilité / rendu plus premium ---------- */
.ms-faq {
  border: 1px solid rgba(16, 26, 51, .10);
  border-radius: 1.35rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 26, 51, .07);
}

.ms-faq-item {
  border-bottom: 1px solid rgba(16, 26, 51, .09);
}

.ms-faq-item:last-child {
  border-bottom: 0;
}

.ms-faq-question {
  padding: 1.15rem 1.3rem;
}

.ms-faq-answer {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

.ms-faq-item.is-open {
  background: linear-gradient(180deg, #fff, #fffaf0);
}

/* ---------- Final CTA : plus impactant ---------- */
.ms-final-buy {
  margin-top: 0;
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.ms-final-buy-card {
  position: relative;
  overflow: hidden;
}

.ms-final-buy-card::before {
  content: "";
  position: absolute;
  inset: -8rem auto auto -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(201,154,61,.13);
}

.ms-final-buy-card > * {
  position: relative;
  z-index: 1;
}

/* ---------- Footer plus propre ---------- */
.ms-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(201,154,61,.10), transparent 22rem),
    linear-gradient(135deg, #101a33, #0b1020);
}

.ms-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.2rem;
}

.ms-footer-links a {
  width: fit-content;
}

/* ---------- Desktop : container plus généreux ---------- */
@media (min-width: 1181px) {
  :root {
    --container: 1240px;
  }

  .ms-fast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ms-check-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ms-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Tablette : éviter cards trop serrées ---------- */
@media (max-width: 1180px) {
  .ms-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .ms-home-hero-copy {
    max-width: 860px;
  }

  .ms-home-hero-panel {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .ms-home-hero-panel .ms-hero-slideshow {
    transform: none;
  }

  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Mobile : gros fix rendu + tableau en cards ---------- */
@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .ms-header-inner {
    min-height: 64px;
    padding: .75rem 1rem;
  }

  .ms-logo-text {
    font-size: 1.1rem;
  }

  .ms-logo-mark {
    width: 34px;
    height: 34px;
  }

  .ms-nav {
    top: 64px;
    box-shadow: 0 20px 55px rgba(16, 26, 51, .13);
  }

  .ms-nav-list a {
    white-space: normal;
    line-height: 1.3;
  }

  .ms-container,
  .ms-hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ms-section {
    padding: 3.35rem 0;
  }

  .ms-section-head {
    text-align: left;
    margin-bottom: 1.65rem;
  }

  .ms-section-head p {
    margin-left: 0;
  }

  .ms-hero {
    padding: 3.2rem 0 3rem;
  }

  .ms-hero h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
    line-height: 1.02;
  }

  .ms-hero p.ms-hero-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .ms-hero-ctas,
  .ms-final-ctas,
  .ms-cta-zone--center,
  .ms-hero-proof,
  .ms-proof-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-hero-proof span,
  .ms-proof-strip span,
  .ms-hero-ctas .ms-cta-aff,
  .ms-final-ctas .ms-cta-aff,
  .ms-cta-zone--center .ms-cta-aff {
    width: 100%;
    justify-content: center;
  }

  .ms-home-hero-panel {
    padding-bottom: 0;
  }

  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 300px;
    min-height: 300px;
  }

  .ms-hero-panel-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    padding: 1.05rem;
  }

  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid,
  .ms-grid--3,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid,
  .ms-word-grid,
  .ms-blog-grid {
    grid-template-columns: 1fr !important;
  }

  .ms-fast-card,
  .ms-card,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step {
    border-radius: 1.15rem;
  }

  .ms-card-body {
    padding: 1.1rem;
  }

  .ms-buy-panel {
    grid-template-columns: 1fr;
    text-align: left !important;
    padding: 1.25rem;
  }

  .ms-buy-panel-cta {
    min-width: 0;
  }

  /* Tableau converti en cards mobiles */
  .ms-table-wrap {
    overflow: visible;
    box-shadow: none;
  }

  .ms-choice-table {
    min-width: 0 !important;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .ms-choice-table thead {
    display: none;
  }

  .ms-choice-table,
  .ms-choice-table tbody,
  .ms-choice-table tr,
  .ms-choice-table td {
    display: block;
    width: 100%;
  }

  .ms-choice-table tr {
    margin-bottom: .9rem;
    border: 1px solid rgba(16, 26, 51, .10);
    border-radius: 1.15rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 26, 51, .07);
  }

  .ms-choice-table td {
    position: relative;
    padding: .85rem 1rem .85rem 1rem;
    border-bottom: 1px solid rgba(16, 26, 51, .08);
    background: #fff !important;
  }

  .ms-choice-table td:last-child {
    border-bottom: 0;
  }

  .ms-choice-table td::before {
    display: block;
    margin-bottom: .18rem;
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .ms-choice-table td:nth-child(1)::before {
    content: "Besoin";
  }

  .ms-choice-table td:nth-child(2)::before {
    content: "Catégorie";
  }

  .ms-choice-table td:nth-child(3)::before {
    content: "À vérifier";
  }

  .ms-choice-table td:nth-child(4)::before {
    content: "Accès rapide";
  }

  .ms-choice-table .ms-cta-aff--inline {
    width: 100%;
    justify-content: center;
    margin-top: .2rem;
  }

  .ms-faq-question {
    padding: 1rem;
    font-size: .98rem;
    gap: 1rem;
  }

  .ms-faq-answer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ms-final-buy-card {
    padding: 1.3rem;
    border-radius: 1.35rem;
  }

  .ms-footer {
    padding-top: 2.5rem;
  }

  .ms-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .ms-footer-links {
    grid-template-columns: 1fr;
  }
}

/* ---------- Très petits mobiles ---------- */
@media (max-width: 390px) {
  .ms-cta-aff {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: .9rem;
  }

  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 250px;
    min-height: 250px;
  }

  .ms-section-kicker {
    font-size: .68rem;
  }
}

/* =========================================================
   ModeShabbat - Patch HP 1200px + bleu Israël + cards images
   ========================================================= */

:root {
  --color-primary: #0038B8;
  --color-dark: #001B5D;
  --color-secondary: #c99a3d;
  --color-accent: #5cc8ff;
  --color-light: #fffaf0;
  --color-card: #ffffff;
  --color-muted: #667085;
  --color-border: rgba(0, 56, 184, .15);
  --container: 1200px;
}

/* Largeur lisible desktop */
@media (min-width: 1181px) {
  :root {
    --container: 1200px;
  }

  body.page-home .ms-container,
  body.page-home .ms-hero-inner,
  body.page-home .ms-header-inner,
  body.page-home .ms-footer-inner {
    max-width: 1200px;
  }

  body.page-home .ms-content {
    max-width: 980px;
  }

  body.page-home .ms-section-head {
    max-width: 760px;
  }

  body.page-home .ms-section-head--left {
    max-width: 920px;
  }
}

/* Bleu Israël sur les fonds forts */
.ms-logo-mark,
.ms-check-card span {
  background: linear-gradient(135deg, #0038B8, #001B5D) !important;
}

.ms-hero,
.ms-final-buy,
.ms-footer {
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 154, 61, .20), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(92, 200, 255, .16), transparent 22rem),
    linear-gradient(140deg, #0038B8 0%, #001B5D 78%) !important;
}

.ms-buy-panel {
  background:
    radial-gradient(circle at top left, rgba(92, 200, 255, .16), transparent 38%),
    linear-gradient(135deg, #0038B8, #001B5D) !important;
}

/* Premier grid : 4 colonnes nettes desktop */
.ms-fast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem;
}

/* Cards rapides avec photo */
.ms-fast-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 1.55rem;
  background: #fff !important;
}

.ms-fast-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 56, 184, .08);
}

.ms-fast-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.ms-fast-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 27, 93, .30));
  pointer-events: none;
}

.ms-fast-card:hover .ms-fast-media img {
  transform: scale(1.055);
}

.ms-fast-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.18rem;
}

.ms-fast-body .ms-fast-icon {
  margin-top: -2.7rem;
  margin-bottom: .85rem;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(0, 56, 184, .12);
  box-shadow: 0 14px 34px rgba(0, 27, 93, .16);
}

.ms-fast-body h3 {
  margin: 0 0 .55rem;
  color: #001B5D;
}

.ms-fast-body p {
  flex: 1;
  margin: 0 0 1rem;
}

/* CTA secondaires sur fonds clairs en bleu Israël */
.ms-final-buy-card .ms-cta-aff--secondary,
.ms-section:not(.ms-hero):not(.ms-final-buy) .ms-cta-aff--secondary,
.ms-fast-card .ms-cta-aff--secondary {
  color: #fff !important;
  background: linear-gradient(135deg, #0038B8, #001B5D) !important;
  border-color: rgba(0, 56, 184, .28) !important;
}

/* Liens internes / accents */
.ms-card-link {
  color: #0038B8;
  background: rgba(0, 56, 184, .08);
}

.ms-nav-list a::after {
  background: #0038B8;
}

.ms-section-kicker {
  border-color: rgba(0, 56, 184, .22);
  background: rgba(0, 56, 184, .07);
  color: #0038B8;
}

/* Responsive : 2 colonnes tablette, 1 mobile */
@media (max-width: 1180px) {
  .ms-fast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .ms-fast-grid {
    grid-template-columns: 1fr !important;
  }

  .ms-fast-media {
    aspect-ratio: 16 / 9;
  }
}

/* =========================================================
   ModeShabbat - Final mobile overflow fix
   À coller tout en bas de style.css
   ========================================================= */

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body * {
    min-width: 0;
  }

  .ms-main,
  .ms-section,
  .ms-container,
  .ms-hero,
  .ms-hero-inner,
  .ms-home-hero-grid,
  .ms-layout,
  .ms-content,
  .ms-grid,
  .ms-grid--3,
  .ms-grid--4,
  .ms-fast-grid,
  .ms-mini-grid,
  .ms-check-grid,
  .ms-route,
  .ms-word-grid,
  .ms-blog-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip;
  }

  .ms-container,
  .ms-hero-inner,
  .ms-header-inner,
  .ms-footer-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .ms-card,
  .ms-fast-card,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step,
  .ms-word-grid > div,
  .ms-buy-panel,
  .ms-final-buy-card,
  .ms-sidebar-block,
  .ms-faq,
  .ms-choice-table tr {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  .ms-card-body,
  .ms-fast-body,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step,
  .ms-buy-panel,
  .ms-final-buy-card,
  .ms-hero-panel-card {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  td,
  th,
  strong,
  a,
  span {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .ms-section-kicker {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  /* CTA : le vrai correctif des débordements */
  .ms-cta-aff,
  .ms-cta-aff--primary,
  .ms-cta-aff--secondary,
  .ms-cta-aff--wide,
  .ms-cta-aff--inline,
  .ms-cta-aff--ghost {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
    padding-left: .9rem !important;
    padding-right: .9rem !important;
  }

  .ms-cta-aff--inline {
    display: inline-flex;
    min-height: 36px;
    font-size: .82rem;
  }

  .ms-hero-ctas,
  .ms-final-ctas,
  .ms-cta-zone,
  .ms-cta-zone--center,
  .ms-proof-strip,
  .ms-hero-proof {
    width: 100%;
    max-width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .ms-proof-strip span,
  .ms-hero-proof span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero image/card */
  .ms-home-hero-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }

  .ms-home-hero-panel .ms-hero-slideshow {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 260px !important;
    height: 260px !important;
    border-radius: 1.3rem !important;
  }

  .ms-home-hero-panel .ms-hero-slideshow img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
  }

  .ms-hero-panel-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1rem !important;
    border-radius: 1.15rem !important;
  }

  /* Cards images */
  .ms-card-media,
  .ms-fast-media,
  .ms-article-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .ms-card-media img,
  .ms-fast-media img,
  .ms-article-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
  }

  /* Mini cards : CTA courts mais jamais hors cadre */
  .ms-mini-card .ms-cta-aff--inline,
  .ms-choice-table .ms-cta-aff--inline {
    display: flex;
    width: 100% !important;
    justify-content: center;
    margin-top: .35rem;
  }

  /* Tableau mobile en cards, sans fuite latérale */
  .ms-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .ms-choice-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .ms-choice-table td {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  /* Footer */
  .ms-footer,
  .ms-footer-inner,
  .ms-footer-brand,
  .ms-footer-links {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
}

@media (max-width: 390px) {
  .ms-container,
  .ms-hero-inner,
  .ms-header-inner,
  .ms-footer-inner {
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }

  .ms-card-body,
  .ms-fast-body,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step,
  .ms-buy-panel,
  .ms-final-buy-card,
  .ms-hero-panel-card {
    padding-left: .9rem !important;
    padding-right: .9rem !important;
  }

  .ms-cta-aff {
    font-size: .84rem !important;
  }

  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 230px !important;
    min-height: 230px !important;
  }
}

/* =========================================================
   ModeShabbat - Fix hamburger mobile définitif
   ========================================================= */

@media (max-width: 1100px) {
  .ms-header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .ms-header-inner {
    position: relative;
    min-height: 64px;
    overflow: visible !important;
  }

  .ms-logo {
    position: relative;
    z-index: 3;
    min-width: 0;
  }

  .ms-logo-text {
    white-space: nowrap;
  }

  .ms-hamburger {
    position: relative;
    z-index: 4;
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    background: rgba(0, 56, 184, .06);
    border: 1px solid rgba(0, 56, 184, .12);
  }

  .ms-hamburger span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #001B5D;
    transform-origin: center;
    transition: transform .22s ease, opacity .18s ease;
  }

  .ms-hamburger span:nth-child(1) {
    top: 14px;
  }

  .ms-hamburger span:nth-child(2) {
    top: 21px;
  }

  .ms-hamburger span:nth-child(3) {
    top: 28px;
  }

  .ms-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ms-hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .ms-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .ms-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + .7rem) !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 2;
    width: auto !important;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    transform: none !important;
    background: rgba(255, 250, 240, .98);
    border: 1px solid rgba(0, 56, 184, .14);
    border-radius: 1.2rem;
    box-shadow: 0 24px 70px rgba(0, 27, 93, .20);
    backdrop-filter: blur(14px);
  }

  .ms-nav.is-open {
    display: block !important;
  }

  .ms-nav-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: .25rem !important;
    padding: .75rem !important;
  }

  .ms-nav-list li {
    width: 100%;
  }

  .ms-nav-list a {
    display: flex;
    width: 100%;
    padding: .85rem .95rem;
    border-radius: .9rem;
    color: #001B5D;
    font-weight: 800;
    white-space: normal !important;
    line-height: 1.25;
  }

  .ms-nav-list a:hover,
  .ms-nav-list a:focus-visible {
    background: rgba(0, 56, 184, .08);
    outline: none;
  }

  .ms-nav-list a::after {
    display: none;
  }
}

@media (max-width: 390px) {
  .ms-logo-text {
    font-size: 1rem;
  }

  .ms-logo-mark {
    width: 32px;
    height: 32px;
  }

  .ms-hamburger {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .ms-hamburger span {
    left: 10px;
    width: 20px;
  }
}

/* =========================================================
   ModeShabbat - Mobile CTA polish + sections compactes
   À coller tout en bas de style.css
   ========================================================= */

@media (max-width: 760px) {
  /* Sections moins creuses sur mobile */
  .ms-section {
    padding-top: 2.35rem !important;
    padding-bottom: 2.35rem !important;
  }

  .ms-section + .ms-section {
    margin-top: 0 !important;
  }

  .ms-section-head {
    margin-bottom: 1.25rem !important;
  }

  .ms-section-head h2 {
    margin-bottom: .55rem !important;
  }

  .ms-section-head p {
    line-height: 1.55;
  }

  .ms-content h2 {
    margin-top: 1.35rem !important;
    margin-bottom: .55rem !important;
  }

  .ms-content h3 {
    margin-top: 1.05rem !important;
    margin-bottom: .45rem !important;
  }

  .ms-content p {
    margin-bottom: .78rem !important;
  }

  .ms-callout,
  .ms-buy-panel,
  .ms-faq,
  .ms-table-wrap {
    margin-top: 1.15rem !important;
    margin-bottom: 1.15rem !important;
  }

  .ms-home-fast {
    padding-top: 2.45rem !important;
  }

  .ms-final-buy {
    padding-top: 2.8rem !important;
    padding-bottom: 2.8rem !important;
  }

  /* CTA mobile plus visibles et plus premium */
  .ms-cta-aff {
    position: relative;
    min-height: 48px !important;
    padding: .92rem 2.85rem .92rem 1.05rem !important;
    border-radius: 1rem !important;
    font-size: .92rem !important;
    line-height: 1.22 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    box-shadow:
      0 12px 30px rgba(0, 27, 93, .16),
      inset 0 1px 0 rgba(255, 255, 255, .35);
  }

  .ms-cta-aff::before {
    content: "";
    flex: 0 0 auto;
    width: .5rem;
    height: .5rem;
    margin-right: .35rem;
    border-radius: 999px;
    background: currentColor;
    opacity: .72;
  }

  .ms-cta-aff::after {
    content: "→" !important;
    position: absolute !important;
    top: 50% !important;
    right: .95rem !important;
    left: auto !important;
    width: 1.7rem !important;
    height: 1.7rem !important;
    display: grid !important;
    place-items: center !important;
    transform: translateY(-50%) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .28) !important;
    color: currentColor !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    transition: transform .18s ease, background .18s ease !important;
  }

  .ms-cta-aff:hover::after,
  .ms-cta-aff:focus-visible::after {
    transform: translateY(-50%) translateX(2px) !important;
    background: rgba(255, 255, 255, .42) !important;
  }

  .ms-cta-aff--primary,
  .ms-cta-aff--wide {
    background: linear-gradient(135deg, #f2b94d 0%, #ffe29a 55%, #d99a2e 100%) !important;
    color: #001B5D !important;
  }

  .ms-cta-aff--secondary,
  .ms-cta-aff--inline {
    background: linear-gradient(135deg, #0038B8, #001B5D) !important;
    color: #fff !important;
  }

  .ms-hero .ms-cta-aff--secondary {
    background: rgba(255, 255, 255, .12) !important;
    border-color: rgba(255, 255, 255, .28) !important;
  }

  .ms-cta-aff--inline {
    min-height: 42px !important;
    padding: .72rem 2.65rem .72rem .95rem !important;
    font-size: .86rem !important;
  }

  .ms-mini-card .ms-cta-aff--inline,
  .ms-choice-table .ms-cta-aff--inline {
    margin-top: .45rem !important;
  }

  /* Grilles/cards moins espacées verticalement */
  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid,
  .ms-grid--3,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid,
  .ms-word-grid,
  .ms-blog-grid {
    gap: .85rem !important;
  }

  .ms-fast-body,
  .ms-card-body,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step {
    padding-top: .95rem !important;
    padding-bottom: 1rem !important;
  }

  .ms-fast-card p,
  .ms-card-body p,
  .ms-mini-card p,
  .ms-check-card p,
  .ms-route-step p {
    line-height: 1.48 !important;
  }

  /* Hero plus compact après image */
  .ms-hero {
    padding-top: 2.6rem !important;
    padding-bottom: 2.45rem !important;
  }

  .ms-home-hero-grid {
    gap: 1.35rem !important;
  }

  .ms-hero-proof {
    margin-top: .9rem !important;
    gap: .45rem !important;
  }

  .ms-hero-proof span {
    min-height: 2.15rem !important;
    padding: .35rem .65rem !important;
  }

  .ms-hero-panel-card {
    margin-top: .75rem !important;
  }

  /* Final CTA plus compact */
  .ms-final-buy-card {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .ms-final-ctas {
    gap: .6rem !important;
    margin-top: 1rem !important;
  }

  .ms-final-buy-card .ms-aff-disclaimer {
    margin-top: .85rem !important;
  }
}

@media (max-width: 390px) {
  .ms-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .ms-cta-aff {
    font-size: .86rem !important;
    padding-left: .9rem !important;
    padding-right: 2.65rem !important;
  }

  .ms-cta-aff::after {
    right: .75rem !important;
  }
}

/* =========================================================
   ModeShabbat - Desktop section premium + hero anchors
   ========================================================= */

@media (min-width: 761px) {
  .ms-section {
    position: relative;
    padding-top: clamp(4.8rem, 6vw, 7rem) !important;
    padding-bottom: clamp(4.8rem, 6vw, 7rem) !important;
  }

  .ms-section:not(.ms-final-buy)::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(1.5rem, calc((100vw - 1200px) / 2));
    right: max(1.5rem, calc((100vw - 1200px) / 2));
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 56, 184, .16),
      rgba(201, 154, 61, .22),
      transparent
    );
    pointer-events: none;
  }

  .ms-section:nth-of-type(even):not(.ms-final-buy) {
    background:
      radial-gradient(circle at 10% 8%, rgba(0, 56, 184, .045), transparent 28rem),
      radial-gradient(circle at 88% 4%, rgba(201, 154, 61, .075), transparent 24rem),
      #fff;
  }

  .ms-section:nth-of-type(odd):not(.ms-hero):not(.ms-final-buy) {
    background:
      radial-gradient(circle at 85% 10%, rgba(0, 56, 184, .04), transparent 26rem),
      linear-gradient(180deg, #fffaf0, #fff6e7);
  }

  .ms-section-head {
    position: relative;
  }

  .ms-section-head::after {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0038B8, #c99a3d);
    opacity: .85;
  }

  .ms-section-head--left::after {
    margin-left: 0;
  }

  .ms-content {
    position: relative;
  }

  .ms-content > p {
    max-width: 920px;
  }
}

/* Badges hero cliquables */
.ms-hero-proof a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ms-hero-proof a:hover,
.ms-hero-proof a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .32);
  outline: none;
}

.ms-hero-proof a::after {
  content: "↓";
  margin-left: .35rem;
  font-weight: 900;
  color: #ffd783;
}

/* Offset propre quand on clique depuis le hero */
#guide-four,
#guide-refrigerateur,
#guide-cave,
#guide-congelateur {
  scroll-margin-top: 96px;
}

@media (max-width: 760px) {
  .ms-hero-proof a {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 2.25rem;
    padding: .42rem .7rem;
  }

  .ms-hero-proof a::after {
    content: "↓";
  }

  #guide-four,
  #guide-refrigerateur,
  #guide-cave,
  #guide-congelateur {
    scroll-margin-top: 84px;
  }
}

/* =========================================================
   ModeShabbat - Scroll reveal premium
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
  .ms-has-reveal .ms-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity .7s ease,
      transform .7s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
  }

  .ms-has-reveal .ms-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .ms-has-reveal .ms-fast-card.ms-reveal,
  .ms-has-reveal .ms-card.ms-reveal,
  .ms-has-reveal .ms-mini-card.ms-reveal,
  .ms-has-reveal .ms-check-card.ms-reveal,
  .ms-has-reveal .ms-route-step.ms-reveal {
    transition:
      opacity .65s ease,
      transform .65s cubic-bezier(.2, .7, .2, 1),
      box-shadow .22s ease,
      border-color .22s ease;
  }

  .ms-has-reveal .ms-fast-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-mini-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-check-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-route-step.ms-reveal:nth-child(2) {
    transition-delay: .06s;
  }

  .ms-has-reveal .ms-fast-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-mini-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-check-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-route-step.ms-reveal:nth-child(3) {
    transition-delay: .12s;
  }

  .ms-has-reveal .ms-fast-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-mini-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-check-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-route-step.ms-reveal:nth-child(4) {
    transition-delay: .18s;
  }
}


/* =========================================================
   ModeShabbat - Cards entièrement clickables avec 1 seul lien
   ========================================================= */

.ms-fast-card,
.ms-mini-card,
.ms-card {
  position: relative;
}

.ms-stretched-link {
  position: relative;
  z-index: 3;
}

.ms-stretched-link::before {
  content: "";
  position: absolute;
  inset: -999rem;
  z-index: 1;
}

.ms-fast-card .ms-fast-media,
.ms-fast-card .ms-fast-body,
.ms-mini-card > *:not(.ms-stretched-link),
.ms-card .ms-card-media,
.ms-card .ms-card-body > *:not(.ms-stretched-link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ms-fast-card .ms-stretched-link,
.ms-mini-card .ms-stretched-link,
.ms-card .ms-stretched-link {
  pointer-events: auto;
}

.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-card:hover {
  cursor: pointer;
}

/* Le CTA reste visuellement le CTA */
.ms-fast-card .ms-cta-aff,
.ms-mini-card .ms-cta-aff,
.ms-card .ms-card-link {
  z-index: 4;
}

/* CTA large plus propre */
.ms-fast-card .ms-cta-aff--wide {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 48px;
}

.ms-mini-card .ms-cta-aff--inline {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Évite que l'overlay gêne les effets images */
.ms-fast-card:hover .ms-fast-media img,
.ms-card:hover .ms-card-media img {
  transform: scale(1.045);
}

/* =========================================================
   ModeShabbat - Fix tableaux mobile scrollables définitif
   ========================================================= */

@media (max-width: 760px) {
  .ms-content,
  .ms-layout,
  .ms-main,
  .ms-section,
  .ms-container {
    overflow-x: visible !important;
  }

  .ms-table-wrap,
  .content-table-wrap,
  .table-wrap,
  div[style*="overflow-x"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
  }

  .ms-table-wrap table,
  .content-table-wrap table,
  .table-wrap table,
  div[style*="overflow-x"] table {
    width: max-content !important;
    min-width: 720px !important;
    max-width: none !important;
  }

  .ms-table-wrap::after,
  .content-table-wrap::after,
  .table-wrap::after {
    content: "← Faites défiler le tableau →";
    display: block;
    margin-top: .45rem;
    color: #667085;
    font-size: .78rem;
    text-align: center;
  }
}

/* =========================================================
   ModeShabbat - Cards entièrement clickables avec 1 seul lien
   ========================================================= */

.ms-fast-card,
.ms-mini-card,
.ms-card {
  position: relative;
}

.ms-stretched-link {
  position: relative;
  z-index: 3;
}

.ms-stretched-link::before {
  content: "";
  position: absolute;
  inset: -999rem;
  z-index: 1;
}

.ms-fast-card .ms-fast-media,
.ms-fast-card .ms-fast-body,
.ms-mini-card > *:not(.ms-stretched-link),
.ms-card .ms-card-media,
.ms-card .ms-card-body > *:not(.ms-stretched-link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ms-fast-card .ms-stretched-link,
.ms-mini-card .ms-stretched-link,
.ms-card .ms-stretched-link {
  pointer-events: auto;
}

.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-card:hover {
  cursor: pointer;
}

.ms-fast-card .ms-cta-aff,
.ms-mini-card .ms-cta-aff,
.ms-card .ms-card-link {
  z-index: 4;
}

.ms-fast-card .ms-cta-aff--wide {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 48px;
}

.ms-mini-card .ms-cta-aff--inline {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

.ms-fast-card:hover .ms-fast-media img,
.ms-card:hover .ms-card-media img {
  transform: scale(1.045);
}

/* =========================================================
   ModeShabbat - Cards obfusquées clickables JS
   ========================================================= */

.ms-fast-card:has(.js-route),
.ms-mini-card:has(.js-route),
.ms-final-buy-card:has(.js-route),
.ms-buy-panel:has(.js-route) {
  cursor: pointer;
}

.ms-fast-card:has(.js-route):hover,
.ms-mini-card:has(.js-route):hover {
  transform: translateY(-5px);
  box-shadow: var(--ms-shadow-hover, 0 28px 90px rgba(16, 26, 51, .16));
  border-color: rgba(201, 154, 61, .28);
}

.ms-fast-card:focus-visible,
.ms-mini-card:focus-visible,
.ms-final-buy-card:focus-visible,
.ms-buy-panel:focus-visible {
  outline: 3px solid #5cc8ff;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .ms-fast-card:has(.js-route),
  .ms-mini-card:has(.js-route),
  .ms-final-buy-card:has(.js-route),
  .ms-buy-panel:has(.js-route) {
    -webkit-tap-highlight-color: rgba(0, 56, 184, .12);
  }
}

/* =========================================================
   ModeShabbat - Correctif propre tableau HP mobile
   Garde .ms-choice-table en cards mobile sans tronquer le texte
   ========================================================= */

@media (max-width: 760px) {
  body.page-home .ms-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.page-home .ms-table-wrap::after {
    display: none !important;
    content: none !important;
  }

  body.page-home .ms-choice-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.page-home .ms-choice-table thead {
    display: none !important;
  }

  body.page-home .ms-choice-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.page-home .ms-choice-table tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 56, 184, .12) !important;
    border-radius: 1.25rem !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(0, 27, 93, .07) !important;
    overflow: visible !important;
  }

  body.page-home .ms-choice-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .95rem 1rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 56, 184, .09) !important;
    background: #fff !important;
    color: #001B5D !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }

  body.page-home .ms-choice-table td:last-child {
    border-bottom: 0 !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
  }

  body.page-home .ms-choice-table td::before {
    display: block !important;
    margin: 0 0 .35rem !important;
    color: #c99a3d !important;
    font-size: .74rem !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
  }

  body.page-home .ms-choice-table td:nth-child(1)::before {
    content: "Besoin";
  }

  body.page-home .ms-choice-table td:nth-child(2)::before {
    content: "Catégorie";
  }

  body.page-home .ms-choice-table td:nth-child(3)::before {
    content: "À vérifier";
  }

  body.page-home .ms-choice-table td:nth-child(4)::before {
    content: "Accès rapide";
  }

  body.page-home .ms-choice-table td * {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.page-home .ms-choice-table .ms-cta-aff,
  body.page-home .ms-choice-table .ms-cta-aff--inline {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: .35rem 0 0 !important;
    padding: .82rem 2.7rem .82rem 1rem !important;
    border-radius: 1rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: hidden !important;
  }
}

@media (max-width: 760px) {
  body.page-home .ms-choice-table td,
  body.page-home .ms-choice-table td * {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

/* =========================================================
   ModeShabbat - Premium finish visuel
   Patch safe : hero, cards, sections, footer, détails UI
   ========================================================= */

:root {
  --ms-navy: #001B5D;
  --ms-blue: #0038B8;
  --ms-gold: #c99a3d;
  --ms-gold-light: #f2c96d;
  --ms-cream: #fffaf0;
  --ms-cream-deep: #f6eddd;
  --ms-card-glow: 0 22px 70px rgba(0, 27, 93, .11);
  --ms-card-glow-hover: 0 30px 90px rgba(0, 27, 93, .17);
}

/* Fond global plus premium, moins plat */
body {
  background:
    radial-gradient(circle at 12% 3%, rgba(201, 154, 61, .105), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(0, 56, 184, .075), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #fbf3e6 46%, #fffaf0 100%) !important;
}

/* Header plus "marque" */
.ms-header {
  background: rgba(255, 250, 240, .88) !important;
  border-bottom: 1px solid rgba(0, 56, 184, .10) !important;
  box-shadow: 0 12px 38px rgba(0, 27, 93, .055) !important;
}

.ms-logo-mark {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(135deg, var(--ms-blue), var(--ms-navy)) !important;
  color: var(--ms-gold-light) !important;
  border: 1px solid rgba(242, 201, 109, .45);
}

.ms-logo-text {
  color: var(--ms-navy) !important;
  letter-spacing: -.025em;
}

/* Hero plus proche du visuel OG */
.ms-hero {
  background:
    radial-gradient(circle at 10% 15%, rgba(242, 201, 109, .18), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(92, 200, 255, .16), transparent 26rem),
    linear-gradient(135deg, #0038B8 0%, #001B5D 68%, #000f38 100%) !important;
}

.ms-hero::before {
  background:
    radial-gradient(circle, rgba(242, 201, 109, .32), transparent 68%) !important;
  opacity: .85;
}

.ms-hero h1 {
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.ms-hero p.ms-hero-lead {
  color: rgba(255,255,255,.84) !important;
}

.ms-hero-eyebrow,
.ms-section-kicker {
  color: var(--ms-blue) !important;
  background: rgba(0, 56, 184, .065) !important;
  border-color: rgba(0, 56, 184, .18) !important;
}

.ms-hero .ms-hero-eyebrow {
  color: var(--ms-gold-light) !important;
  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(242, 201, 109, .28) !important;
}

/* Image hero plus éditoriale */
.ms-home-hero-panel .ms-hero-slideshow {
  border: 1px solid rgba(242, 201, 109, .28) !important;
  box-shadow:
    0 34px 95px rgba(0, 10, 45, .34),
    0 0 0 1px rgba(255,255,255,.08) inset !important;
}

.ms-hero-panel-card {
  border: 1px solid rgba(242, 201, 109, .36) !important;
  background: rgba(255, 250, 240, .95) !important;
  box-shadow: 0 24px 70px rgba(0, 27, 93, .20) !important;
}

/* Sections : séparation luxe mais discrète */
.ms-section {
  position: relative;
}

@media (min-width: 761px) {
  .ms-section:not(.ms-hero):not(.ms-final-buy)::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(1.25rem, calc((100vw - 1200px) / 2));
    right: max(1.25rem, calc((100vw - 1200px) / 2));
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 56, 184, .11),
      rgba(201, 154, 61, .24),
      rgba(0, 56, 184, .11),
      transparent
    );
    pointer-events: none;
  }

  .ms-section:nth-of-type(even):not(.ms-hero):not(.ms-final-buy) {
    background:
      radial-gradient(circle at 12% 0%, rgba(0, 56, 184, .035), transparent 25rem),
      radial-gradient(circle at 88% 12%, rgba(201, 154, 61, .07), transparent 22rem),
      rgba(255,255,255,.62);
  }
}

/* Titres plus éditoriaux */
.ms-section-head h2,
.ms-content h2 {
  color: var(--ms-navy) !important;
  text-wrap: balance;
}

.ms-section-head p {
  color: #667085 !important;
}

/* Cards premium */
.ms-card,
.ms-fast-card,
.ms-mini-card,
.ms-check-card,
.ms-route-step,
.ms-word-grid > div {
  border-color: rgba(0, 56, 184, .105) !important;
  box-shadow: var(--ms-card-glow) !important;
}

.ms-card:hover,
.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-check-card:hover,
.ms-route-step:hover {
  box-shadow: var(--ms-card-glow-hover) !important;
  border-color: rgba(201, 154, 61, .30) !important;
}

/* Fast cards : rendu catalogue premium */
.ms-fast-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.94)) !important;
}

.ms-fast-card--gold {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 201, 109, .20), transparent 16rem),
    linear-gradient(180deg, #fffaf0, #ffffff) !important;
}

.ms-fast-body h3,
.ms-mini-card h3,
.ms-card-body h3,
.ms-check-card h3,
.ms-route-step h3 {
  color: var(--ms-navy) !important;
}

.ms-fast-icon {
  color: var(--ms-navy);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.85), transparent 45%),
    linear-gradient(135deg, #fffaf0, #ffffff) !important;
  border: 1px solid rgba(201, 154, 61, .22) !important;
}

/* CTA plus luxueux */
.ms-cta-aff--primary,
.ms-cta-aff--wide {
  background:
    linear-gradient(135deg, #f4bd55 0%, #ffe19a 48%, #d59a31 100%) !important;
  color: var(--ms-navy) !important;
  border: 1px solid rgba(255, 226, 154, .58) !important;
  box-shadow:
    0 16px 38px rgba(201, 154, 61, .25),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.ms-cta-aff--secondary,
.ms-cta-aff--inline {
  background:
    linear-gradient(135deg, var(--ms-blue), var(--ms-navy)) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 56, 184, .18) !important;
}

.ms-cta-aff:hover {
  filter: saturate(1.03);
}

/* Mini cards plus "sélection" */
.ms-mini-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,240,.72)) !important;
}

.ms-mini-card::before {
  background: linear-gradient(180deg, var(--ms-blue), var(--ms-gold)) !important;
}

/* Blocs méthode plus statut premium */
.ms-check-card span {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(135deg, var(--ms-blue), var(--ms-navy)) !important;
}

/* FAQ plus finie */
.ms-faq {
  border-color: rgba(0, 56, 184, .12) !important;
  box-shadow: 0 22px 70px rgba(0, 27, 93, .09) !important;
}

.ms-faq-question {
  color: var(--ms-navy) !important;
}

/* Footer cohérent OG */
.ms-footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(242, 201, 109, .13), transparent 23rem),
    radial-gradient(circle at 90% 16%, rgba(92, 200, 255, .10), transparent 24rem),
    linear-gradient(135deg, #0038B8, #001B5D 72%, #000f38) !important;
  border-top: 1px solid rgba(242, 201, 109, .18);
}

/* Blog cards : lien plus premium */
.ms-card-link {
  color: var(--ms-navy) !important;
  background: rgba(0, 56, 184, .07) !important;
  border: 1px solid rgba(0, 56, 184, .10);
}

/* Mobile : plus premium sans casser */
@media (max-width: 760px) {
  .ms-section {
    padding-top: 2.55rem !important;
    padding-bottom: 2.55rem !important;
  }

  .ms-hero {
    padding-top: 2.9rem !important;
    padding-bottom: 2.7rem !important;
  }

  .ms-hero h1 {
    text-shadow: 0 10px 30px rgba(0,0,0,.16);
  }

  .ms-fast-card,
  .ms-mini-card,
  .ms-card,
  .ms-check-card,
  .ms-route-step {
    box-shadow: 0 16px 46px rgba(0, 27, 93, .10) !important;
  }

  .ms-section-head h2 {
    line-height: 1.08;
  }

  .ms-home-hero-panel .ms-hero-slideshow {
    box-shadow: 0 24px 70px rgba(0, 27, 93, .22) !important;
  }

  /* évite les effets reveal trop vides dans les captures longues mobile */
  .ms-has-reveal .ms-section.ms-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .ms-has-reveal .ms-section.ms-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   ModeShabbat — style.css
   ========================================================= */

:root {
  --color-primary: #101a33;
  --color-secondary: #c99a3d;
  --color-accent: #5cc8ff;
  --color-dark: #0b1020;
  --color-light: #fffaf0;
  --color-card: #ffffff;
  --color-muted: #667085;
  --color-border: rgba(16, 26, 51, .14);

  --font-title: "Fraunces", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(16, 26, 51, .10);
  --shadow-card: 0 10px 30px rgba(16, 26, 51, .08);
  --container: 1180px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-text);
  color: var(--color-primary);
  background: var(--color-light);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .9rem; }
h3 { font-size: 1.3rem; margin-bottom: .6rem; }

.ms-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
.ms-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.ms-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
}

.ms-logo { display: flex; align-items: center; gap: .6rem; }
.ms-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: var(--color-secondary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .85rem;
}
.ms-logo-text { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: var(--color-dark); }

.ms-nav-list { display: flex; gap: 1.6rem; align-items: center; }
.ms-nav-list a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-primary);
  position: relative;
  padding: .3rem 0;
}
.ms-nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.ms-nav-list a:hover::after { transform: scaleX(1); }

.ms-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.ms-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.ms-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ms-hamburger.is-open span:nth-child(2) { opacity: 0; }
.ms-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.ms-hero {
  position: relative;
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-dark) 60%);
  color: var(--color-light);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.ms-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,61,.35), transparent 70%);
}

.ms-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ms-hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.ms-hero h1 { color: #fff; margin-bottom: 1rem; }
.ms-hero p.ms-hero-lead { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 1.6rem; max-width: 540px; }

.ms-hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1rem; }

.ms-hero-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
}
.ms-hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: msSlide 12s infinite;
}
.ms-hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.ms-hero-slideshow img:nth-child(2) { animation-delay: 4s; }
.ms-hero-slideshow img:nth-child(3) { animation-delay: 8s; }

@keyframes msSlide {
  0% { opacity: 0; }
  4% { opacity: 1; }
  30% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Boutons / CTA affiliés ---------- */
.ms-cta-aff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  cursor: pointer;
  user-select: none;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  padding: .9rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ms-cta-aff::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.ms-cta-aff:hover::after { left: 130%; }

.ms-cta-aff--primary,
.ms-cta-aff--wide {
  background: linear-gradient(135deg, var(--color-secondary), #ffd783);
  color: var(--color-dark);
  box-shadow: 0 18px 45px rgba(201,154,61,.28);
}

.ms-cta-aff--secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.ms-cta-aff--secondary:hover { background: rgba(255,255,255,.16); }

.ms-cta-aff--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}

.ms-cta-aff--inline {
  background: var(--color-primary);
  color: #fff;
  padding: .6rem 1.2rem;
  font-size: .88rem;
}

.ms-cta-aff--wide {
  width: 100%;
  padding: 1.1rem 1.4rem;
}

.ms-cta-aff:hover { transform: translateY(-2px); }
.ms-cta-aff:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.ms-cta-zone {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.ms-buy-panel {
  background: linear-gradient(160deg, #fff, #fff4e2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin: 2rem 0;
}
.ms-buy-panel h3 { margin-bottom: .5rem; }
.ms-buy-panel p { color: var(--color-muted); margin-bottom: 1.2rem; }

.ms-aff-disclaimer {
  font-size: .8rem;
  color: var(--color-muted);
}

/* ---------- Badges ---------- */
.ms-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(92, 200, 255, .12);
  color: #0c6e96;
}

.ms-badge--check {
  background: rgba(201,154,61,.14);
  color: #8a661f;
}

/* ---------- Cards & grilles ---------- */
.ms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ms-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ms-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ms-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.ms-card-media { aspect-ratio: 16/10; background: var(--color-border); overflow: hidden; }
.ms-card-media img { width: 100%; height: 100%; object-fit: cover; }

.ms-card-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.ms-card-body h3 { font-size: 1.15rem; }
.ms-card-body p { color: var(--color-muted); font-size: .95rem; }
.ms-card-link { margin-top: auto; font-weight: 700; color: var(--color-primary); }

/* ---------- Tableaux ---------- */
.ms-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
table.ms-table { width: 100%; border-collapse: collapse; min-width: 480px; }
table.ms-table th, table.ms-table td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: .92rem;
}
table.ms-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-title);
}
table.ms-table tbody tr:nth-child(even) { background: rgba(16,26,51,.03); }

/* ---------- Contenu éditorial ---------- */
.ms-content { font-size: 1.02rem; }
.ms-content h2 { margin-top: 2.2rem; }
.ms-content h3 { margin-top: 1.6rem; }
.ms-content p { margin-bottom: 1rem; }
.ms-content ul, .ms-content ol { margin: 1rem 0 1.2rem 1.3rem; list-style: disc; }
.ms-content ol { list-style: decimal; }
.ms-content li { margin-bottom: .4rem; }

.ms-callout {
  background: rgba(92,200,255,.08);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.ms-callout strong { color: var(--color-primary); }

/* ---------- Sommaire ---------- */
.ms-toc {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0 2rem;
}
.ms-toc h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.ms-toc ul { list-style: none; margin: 0; }
.ms-toc li { margin-bottom: .4rem; }
.ms-toc a { color: var(--color-primary); font-weight: 600; }
.ms-toc a:hover { color: var(--color-secondary); }

/* ---------- FAQ accordéon ---------- */
.ms-faq { margin: 2rem 0; }
.ms-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.ms-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 1.02rem;
  text-align: left;
}
.ms-faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-secondary);
  transition: transform .2s ease;
}
.ms-faq-item.is-open .ms-faq-question::after { transform: rotate(45deg); }
.ms-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--color-muted);
}
.ms-faq-item.is-open .ms-faq-answer { max-height: 600px; padding-bottom: 1.1rem; }

/* ---------- Layout principal + sidebar ---------- */
.ms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.ms-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.ms-sidebar-block {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
}
.ms-sidebar-title { font-size: 1.02rem; margin-bottom: .7rem; }
.ms-sidebar-list { display: flex; flex-direction: column; gap: .5rem; }
.ms-sidebar-list a { font-weight: 600; font-size: .92rem; }
.ms-sidebar-list a:hover { color: var(--color-secondary); }
.ms-sidebar-date { display: block; font-size: .76rem; color: var(--color-muted); }

/* ---------- Blog ---------- */
.ms-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.ms-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.ms-pagination a, .ms-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: .9rem;
}
.ms-pagination .is-current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- Article / Pilier ---------- */
.ms-article-hero { padding: 2.5rem 0 1rem; }
.ms-article-meta { display: flex; gap: 1rem; color: var(--color-muted); font-size: .88rem; margin-bottom: 1rem; }
.ms-article-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; aspect-ratio: 16/9; }
.ms-article-image img { width: 100%; height: 100%; object-fit: cover; }

.ms-related { margin-top: 3rem; }

/* ---------- Author block ---------- */
.ms-authorblock {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin: 2.5rem 0;
}
.ms-authorblock-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
  color: var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  flex-shrink: 0;
}
.ms-authorblock-name { font-weight: 800; }
.ms-authorblock-role { color: var(--color-muted); font-size: .85rem; margin-bottom: .5rem; }
.ms-authorblock-text { font-size: .92rem; color: var(--color-primary); margin-bottom: .6rem; }
.ms-authorblock-link { font-weight: 700; color: var(--color-secondary); }

/* ---------- Contact ---------- */
.ms-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; }
.ms-form label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; display: block; }
.ms-form input, .ms-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: .95rem;
}
.ms-form input:focus, .ms-form textarea:focus { outline: 2px solid var(--color-accent); }
.ms-form-hp { position: absolute; left: -9999px; opacity: 0; }
.ms-form-success { background: rgba(92,200,255,.12); border-radius: var(--radius-md); padding: 1rem; color: #0c6e96; }
.ms-form-error { background: rgba(220,80,80,.1); border-radius: var(--radius-md); padding: 1rem; color: #9b2c2c; }

/* ---------- Erreur ---------- */
.ms-error-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  gap: 1rem;
}
.ms-error-code { font-family: var(--font-title); font-size: 4rem; color: var(--color-secondary); }
.ms-error-actions { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.ms-footer { background: var(--color-primary); color: rgba(255,255,255,.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.ms-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}
.ms-footer-brand p { font-size: .88rem; margin-top: .8rem; color: rgba(255,255,255,.7); max-width: 420px; }
.ms-footer-brand .ms-aff-disclaimer { color: rgba(255,255,255,.55); }
.ms-footer-links { display: flex; flex-direction: column; gap: .6rem; }
.ms-footer-links a { font-size: .9rem; color: rgba(255,255,255,.78); }
.ms-footer-links a:hover { color: var(--color-secondary); }
.ms-footer-bottom { text-align: center; font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 2rem; }

/* ---------- Sections homepage génériques ---------- */
.ms-section { padding: 3.5rem 0; }
.ms-section--alt { background: #fff; }
.ms-section-head { max-width: 680px; margin: 0 auto 2.2rem; text-align: center; }
.ms-section-head p { color: var(--color-muted); }

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

/* ---------- Responsive tablette ---------- */
@media (max-width: 1100px) {
  .ms-nav { position: fixed; top: 64px; left: 0; right: 0; background: var(--color-light); border-bottom: 1px solid var(--color-border); transform: translateY(-110%); transition: transform .25s ease; max-height: calc(100vh - 64px); overflow-y: auto; }
  .ms-nav.is-open { transform: translateY(0); }
  .ms-nav-list { flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1rem; }
  .ms-hamburger { display: flex; }

  .ms-hero-inner { grid-template-columns: 1fr; }
  .ms-layout { grid-template-columns: 1fr; }
  .ms-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive mobile ---------- */
@media (max-width: 720px) {
  .ms-grid, .ms-grid--3, .ms-blog-grid { grid-template-columns: 1fr; }
  .ms-footer-inner { grid-template-columns: 1fr; }
  .ms-cta-aff:not(.ms-cta-aff--inline) { width: 100%; }
  .ms-hero { padding: 3rem 0; }
  h1 { font-size: 1.9rem; }
}


.ms-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .75rem;
  padding: .35rem .75rem;
  border: 1px solid rgba(201, 154, 61, .35);
  border-radius: 999px;
  background: rgba(201, 154, 61, .08);
  color: var(--color-secondary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ms-section-head--left {
  text-align: left;
  max-width: 860px;
  margin-left: 0;
  margin-right: 0;
}

.ms-home-hero {
  position: relative;
  overflow: hidden;
}

.ms-home-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 154, 61, .22), transparent 65%);
  pointer-events: none;
}

.ms-home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.ms-home-hero-copy {
  max-width: 780px;
}

.ms-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.35rem;
}

.ms-hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 700;
}

.ms-home-hero-panel {
  position: relative;
}

.ms-home-hero-panel .ms-hero-slideshow {
  min-height: 440px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .18);
}

.ms-home-hero-panel .ms-hero-slideshow img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.ms-hero-panel-card {
  position: absolute;
  left: -1.4rem;
  right: 1.4rem;
  bottom: -1.4rem;
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: rgba(255, 250, 240, .94);
  border: 1px solid rgba(201, 154, 61, .28);
  box-shadow: 0 24px 60px rgba(16, 26, 51, .20);
  backdrop-filter: blur(16px);
}

.ms-panel-kicker {
  display: block;
  margin-bottom: .45rem;
  color: var(--color-secondary);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ms-hero-panel-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.ms-hero-panel-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: .95rem;
}

.ms-home-fast {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}

.ms-fast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ms-fast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    radial-gradient(circle at top right, rgba(92, 200, 255, .13), transparent 42%);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 48px rgba(16, 26, 51, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ms-fast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(16, 26, 51, .13);
  border-color: rgba(201, 154, 61, .34);
}

.ms-fast-card--gold {
  background:
    linear-gradient(145deg, rgba(255, 250, 240, .98), rgba(255, 239, 202, .72)),
    radial-gradient(circle at top right, rgba(201, 154, 61, .22), transparent 44%);
}

.ms-fast-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(16, 26, 51, .06);
  font-size: 1.35rem;
}

.ms-fast-card h3 {
  margin: 0 0 .65rem;
  color: var(--color-primary);
  font-size: 1.12rem;
  line-height: 1.2;
}

.ms-fast-card p {
  flex: 1;
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  line-height: 1.65;
  font-size: .96rem;
}

.ms-buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(92, 200, 255, .14), transparent 38%),
    linear-gradient(135deg, rgba(16, 26, 51, .98), rgba(11, 16, 32, .96));
  color: #fff;
  box-shadow: 0 24px 70px rgba(16, 26, 51, .20);
}

.ms-buy-panel h3 {
  margin: 0 0 .5rem;
  color: #fff;
}

.ms-buy-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.ms-buy-panel-cta {
  min-width: 240px;
}

.ms-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ms-choice-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 920px;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 26, 51, .08);
}

.ms-choice-table th,
.ms-choice-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.ms-choice-table th {
  background: var(--color-primary);
  color: #fff;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ms-choice-table td {
  color: var(--color-dark);
  line-height: 1.5;
}

.ms-choice-table tr:last-child td {
  border-bottom: 0;
}

.ms-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.ms-check-card {
  position: relative;
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 45px rgba(16, 26, 51, .07);
}

.ms-check-card span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
}

.ms-check-card h3 {
  margin: 0 0 .55rem;
  color: var(--color-primary);
  font-size: 1.02rem;
}

.ms-check-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: .94rem;
}

.ms-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ms-word-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.ms-word-grid > div {
  padding: 1.15rem;
  border-radius: 1.25rem;
  background: rgba(16, 26, 51, .045);
  border: 1px solid var(--color-border);
}

.ms-word-grid strong {
  display: block;
  margin-bottom: .45rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.ms-word-grid p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.ms-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: route;
}

.ms-route-step {
  position: relative;
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 50px rgba(16, 26, 51, .07);
}

.ms-route-step span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  font-weight: 900;
  letter-spacing: .08em;
}

.ms-route-step h3 {
  margin: 0 0 .55rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.ms-route-step p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.ms-cta-zone--center,
.ms-final-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.5rem;
}

.ms-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ms-mini-card {
  padding: 1.2rem;
  border-radius: 1.3rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 45px rgba(16, 26, 51, .065);
}

.ms-mini-card h3 {
  margin: 0 0 .5rem;
  color: var(--color-primary);
}

.ms-mini-card p {
  margin: 0 0 .95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.ms-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.ms-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 26, 51, .055);
}

.ms-card-date {
  display: inline-flex;
  margin-bottom: .55rem;
  color: var(--color-secondary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ms-final-buy {
  background:
    radial-gradient(circle at 20% 20%, rgba(201,154,61,.20), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(92,200,255,.15), transparent 35%),
    linear-gradient(135deg, var(--color-primary), var(--color-dark));
}

.ms-final-buy-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 2rem;
  text-align: center;
  background: rgba(255, 250, 240, .94);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.ms-final-buy-card h2 {
  margin: .25rem 0 .8rem;
  color: var(--color-primary);
}

.ms-final-buy-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-muted);
  line-height: 1.7;
}

.ms-final-buy-card .ms-aff-disclaimer {
  margin-top: 1.4rem;
}

@media (max-width: 1180px) {
  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .ms-home-hero-panel {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 320px;
    min-height: 320px;
  }

  .ms-hero-panel-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
  }

  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid,
  .ms-word-grid {
    grid-template-columns: 1fr;
  }

  .ms-buy-panel {
    grid-template-columns: 1fr;
  }

  .ms-buy-panel-cta {
    min-width: 0;
  }

  .ms-hero-proof,
  .ms-proof-strip,
  .ms-final-ctas,
  .ms-cta-zone--center {
    align-items: stretch;
    flex-direction: column;
  }

  .ms-hero-proof span,
  .ms-proof-strip span,
  .ms-final-ctas .ms-cta-aff,
  .ms-cta-zone--center .ms-cta-aff {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   ModeShabbat - Premium polish V2
   À coller tout en bas de /assets/style.css
   ========================================================= */

/* ---------- Base premium / bugs overflow ---------- */
:root {
  --ms-cream: #fff8ea;
  --ms-cream-2: #f7eedf;
  --ms-gold-soft: rgba(201, 154, 61, .14);
  --ms-blue-soft: rgba(92, 200, 255, .12);
  --ms-ink: #101a33;
  --ms-panel: rgba(255, 255, 255, .88);
  --ms-line: rgba(16, 26, 51, .11);
  --ms-shadow-premium: 0 22px 70px rgba(16, 26, 51, .10);
  --ms-shadow-hover: 0 28px 90px rgba(16, 26, 51, .16);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 154, 61, .10), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(92, 200, 255, .08), transparent 26rem),
    var(--color-light);
}

.ms-main,
.ms-section,
.ms-container,
.ms-hero,
.ms-hero-inner {
  max-width: 100%;
}

/* ---------- Header plus net ---------- */
.ms-header {
  background: rgba(255, 250, 240, .96);
  box-shadow: 0 10px 35px rgba(16, 26, 51, .045);
}

.ms-header-inner {
  min-height: 72px;
}

.ms-logo-mark {
  box-shadow: 0 10px 28px rgba(16, 26, 51, .18);
}

.ms-logo-text {
  letter-spacing: -.015em;
}

.ms-nav-list {
  gap: 1.15rem;
}

.ms-nav-list a {
  white-space: nowrap;
  font-size: .9rem;
  letter-spacing: -.01em;
}

/* ---------- Sections : rythme plus premium ---------- */
.ms-section {
  position: relative;
  padding: clamp(3.8rem, 6vw, 6.5rem) 0;
}

.ms-section--alt {
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 154, 61, .07), transparent 24rem),
    linear-gradient(180deg, #fff, #fffaf0);
}

.ms-section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ms-section-head h2 {
  letter-spacing: -.025em;
}

.ms-section-head p {
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ms-section-head--left p {
  margin-left: 0;
}

/* ---------- Hero : plus premium, moins étriqué ---------- */
.ms-hero {
  padding: clamp(4.2rem, 7vw, 7rem) 0 clamp(4rem, 6vw, 6.5rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 154, 61, .24), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(92, 200, 255, .14), transparent 22rem),
    linear-gradient(140deg, #101a33 0%, #0b1020 72%);
}

.ms-home-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.ms-hero-eyebrow,
.ms-section-kicker {
  box-shadow: 0 8px 24px rgba(201, 154, 61, .08);
}

.ms-hero h1 {
  max-width: 850px;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.ms-hero p.ms-hero-lead {
  max-width: 690px;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.72;
}

.ms-hero-ctas {
  gap: .85rem;
  align-items: center;
}

.ms-hero-proof {
  margin-top: 1.55rem;
}

.ms-hero-proof span {
  backdrop-filter: blur(8px);
}

.ms-home-hero-panel {
  padding-bottom: 2.2rem;
}

.ms-home-hero-panel .ms-hero-slideshow {
  min-height: 470px;
  aspect-ratio: 4 / 3;
  border-radius: 2.2rem;
  transform: rotate(.6deg);
}

.ms-home-hero-panel .ms-hero-slideshow img {
  height: 100%;
}

.ms-hero-panel-card {
  left: -1.8rem;
  right: 2rem;
  bottom: 0;
  padding: 1.35rem 1.45rem;
  border-radius: 1.55rem;
}

/* ---------- CTA : bug fonds clairs / fonds sombres ---------- */
.ms-cta-aff {
  min-height: 46px;
  letter-spacing: -.01em;
  isolation: isolate;
}

.ms-cta-aff--primary,
.ms-cta-aff--wide {
  color: #101a33 !important;
  border: 1px solid rgba(255, 215, 131, .55);
  background:
    linear-gradient(135deg, #f3bd55 0%, #ffe08f 52%, #d49a35 100%) !important;
  box-shadow:
    0 16px 38px rgba(201, 154, 61, .26),
    inset 0 1px 0 rgba(255, 255, 255, .50);
}

.ms-cta-aff--secondary {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, #101a33, #172647) !important;
  border: 1px solid rgba(16, 26, 51, .20) !important;
  box-shadow: 0 14px 34px rgba(16, 26, 51, .16);
}

.ms-hero .ms-cta-aff--secondary,
.ms-buy-panel .ms-cta-aff--secondary,
.ms-final-buy .ms-cta-aff--secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  box-shadow: none;
}

.ms-final-buy-card .ms-cta-aff--secondary {
  color: #fff !important;
  background: linear-gradient(135deg, #101a33, #172647) !important;
  border: 1px solid rgba(16, 26, 51, .20) !important;
  box-shadow: 0 14px 34px rgba(16, 26, 51, .16);
}

.ms-cta-aff--inline {
  min-height: 34px;
  padding: .48rem .86rem;
  border-radius: 999px;
  white-space: nowrap;
  background: #101a33 !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(16, 26, 51, .14);
}

.ms-cta-aff:hover {
  transform: translateY(-3px);
}

.ms-cta-aff:active {
  transform: translateY(-1px);
}

/* ---------- Cards : moins template, plus premium ---------- */
.ms-card,
.ms-fast-card,
.ms-mini-card,
.ms-check-card,
.ms-route-step {
  border-color: rgba(16, 26, 51, .10);
  box-shadow: var(--ms-shadow-premium);
}

.ms-card {
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
}

.ms-card:hover,
.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-check-card:hover,
.ms-route-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--ms-shadow-hover);
  border-color: rgba(201, 154, 61, .28);
}

.ms-card-media {
  aspect-ratio: 16 / 11;
  position: relative;
}

.ms-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(16, 26, 51, .08));
  pointer-events: none;
}

.ms-card-media img {
  transition: transform .45s ease;
}

.ms-card:hover .ms-card-media img {
  transform: scale(1.045);
}

.ms-card-body {
  padding: 1.35rem 1.35rem 1.45rem;
}

.ms-card-body h3 {
  font-size: clamp(1.06rem, 1.2vw, 1.24rem);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.ms-card-body p {
  line-height: 1.65;
}

.ms-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  width: fit-content;
  margin-top: .55rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(201, 154, 61, .12);
  color: #78561a;
  font-weight: 850;
  font-size: .88rem;
}

.ms-card-link::after {
  content: "→";
  transition: transform .2s ease;
}

.ms-card-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Grilles mieux équilibrées ---------- */
.ms-grid {
  align-items: stretch;
}

.ms-grid--3 {
  gap: clamp(1.1rem, 2vw, 1.65rem);
}

.ms-grid--4 {
  gap: clamp(1rem, 1.6vw, 1.35rem);
}

.ms-fast-grid {
  gap: clamp(1rem, 1.8vw, 1.45rem);
}

.ms-fast-card {
  padding: clamp(1.2rem, 2vw, 1.55rem);
}

.ms-fast-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.ms-fast-card h3,
.ms-mini-card h3,
.ms-check-card h3,
.ms-route-step h3 {
  letter-spacing: -.018em;
}

/* ---------- Buy panel : ancienne règle écrasée, rendu stabilisé ---------- */
.ms-buy-panel {
  text-align: left !important;
  overflow: hidden;
}

.ms-buy-panel::before {
  content: "";
  position: absolute;
  inset: auto -5rem -7rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(201,154,61,.16);
  pointer-events: none;
}

.ms-buy-panel {
  position: relative;
}

.ms-buy-panel-cta {
  position: relative;
  z-index: 1;
}

.ms-buy-panel .ms-panel-kicker {
  color: #ffd783;
}

/* ---------- Table desktop : plus lisible ---------- */
.ms-table-wrap {
  border: 0;
  border-radius: 1.4rem;
  box-shadow: 0 18px 55px rgba(16, 26, 51, .07);
  background: transparent;
}

.ms-choice-table {
  border: 1px solid rgba(16, 26, 51, .10);
}

.ms-choice-table th {
  padding: 1.05rem 1rem;
  background:
    linear-gradient(135deg, #101a33, #172647);
}

.ms-choice-table td {
  background: rgba(255,255,255,.96);
}

.ms-choice-table tbody tr:hover td {
  background: #fff8ea;
}

/* ---------- Méthode : cards plus lisibles ---------- */
.ms-check-grid {
  counter-reset: checks;
}

.ms-check-card span {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(135deg, #101a33, #172647);
  box-shadow: 0 10px 28px rgba(16, 26, 51, .16);
}

.ms-check-card {
  overflow: hidden;
}

.ms-check-card::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(201,154,61,.08);
}

/* ---------- Mini cards : éviter rendu plat ---------- */
.ms-mini-card {
  position: relative;
  overflow: hidden;
}

.ms-mini-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-secondary), rgba(92,200,255,.55));
  opacity: .85;
}

.ms-mini-card h3,
.ms-mini-card p,
.ms-mini-card .ms-cta-aff {
  position: relative;
  z-index: 1;
}

/* ---------- FAQ : bug lisibilité / rendu plus premium ---------- */
.ms-faq {
  border: 1px solid rgba(16, 26, 51, .10);
  border-radius: 1.35rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 26, 51, .07);
}

.ms-faq-item {
  border-bottom: 1px solid rgba(16, 26, 51, .09);
}

.ms-faq-item:last-child {
  border-bottom: 0;
}

.ms-faq-question {
  padding: 1.15rem 1.3rem;
}

.ms-faq-answer {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

.ms-faq-item.is-open {
  background: linear-gradient(180deg, #fff, #fffaf0);
}

/* ---------- Final CTA : plus impactant ---------- */
.ms-final-buy {
  margin-top: 0;
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.ms-final-buy-card {
  position: relative;
  overflow: hidden;
}

.ms-final-buy-card::before {
  content: "";
  position: absolute;
  inset: -8rem auto auto -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(201,154,61,.13);
}

.ms-final-buy-card > * {
  position: relative;
  z-index: 1;
}

/* ---------- Footer plus propre ---------- */
.ms-footer {
  margin-top: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(201,154,61,.10), transparent 22rem),
    linear-gradient(135deg, #101a33, #0b1020);
}

.ms-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.2rem;
}

.ms-footer-links a {
  width: fit-content;
}

/* ---------- Desktop : container plus généreux ---------- */
@media (min-width: 1181px) {
  :root {
    --container: 1240px;
  }

  .ms-fast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ms-check-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ms-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Tablette : éviter cards trop serrées ---------- */
@media (max-width: 1180px) {
  .ms-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .ms-home-hero-copy {
    max-width: 860px;
  }

  .ms-home-hero-panel {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .ms-home-hero-panel .ms-hero-slideshow {
    transform: none;
  }

  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Mobile : gros fix rendu + tableau en cards ---------- */
@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .ms-header-inner {
    min-height: 64px;
    padding: .75rem 1rem;
  }

  .ms-logo-text {
    font-size: 1.1rem;
  }

  .ms-logo-mark {
    width: 34px;
    height: 34px;
  }

  .ms-nav {
    top: 64px;
    box-shadow: 0 20px 55px rgba(16, 26, 51, .13);
  }

  .ms-nav-list a {
    white-space: normal;
    line-height: 1.3;
  }

  .ms-container,
  .ms-hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ms-section {
    padding: 3.35rem 0;
  }

  .ms-section-head {
    text-align: left;
    margin-bottom: 1.65rem;
  }

  .ms-section-head p {
    margin-left: 0;
  }

  .ms-hero {
    padding: 3.2rem 0 3rem;
  }

  .ms-hero h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
    line-height: 1.02;
  }

  .ms-hero p.ms-hero-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .ms-hero-ctas,
  .ms-final-ctas,
  .ms-cta-zone--center,
  .ms-hero-proof,
  .ms-proof-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-hero-proof span,
  .ms-proof-strip span,
  .ms-hero-ctas .ms-cta-aff,
  .ms-final-ctas .ms-cta-aff,
  .ms-cta-zone--center .ms-cta-aff {
    width: 100%;
    justify-content: center;
  }

  .ms-home-hero-panel {
    padding-bottom: 0;
  }

  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 300px;
    min-height: 300px;
  }

  .ms-hero-panel-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    padding: 1.05rem;
  }

  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid,
  .ms-grid--3,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid,
  .ms-word-grid,
  .ms-blog-grid {
    grid-template-columns: 1fr !important;
  }

  .ms-fast-card,
  .ms-card,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step {
    border-radius: 1.15rem;
  }

  .ms-card-body {
    padding: 1.1rem;
  }

  .ms-buy-panel {
    grid-template-columns: 1fr;
    text-align: left !important;
    padding: 1.25rem;
  }

  .ms-buy-panel-cta {
    min-width: 0;
  }

  /* Tableau converti en cards mobiles */
  .ms-table-wrap {
    overflow: visible;
    box-shadow: none;
  }

  .ms-choice-table {
    min-width: 0 !important;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .ms-choice-table thead {
    display: none;
  }

  .ms-choice-table,
  .ms-choice-table tbody,
  .ms-choice-table tr,
  .ms-choice-table td {
    display: block;
    width: 100%;
  }

  .ms-choice-table tr {
    margin-bottom: .9rem;
    border: 1px solid rgba(16, 26, 51, .10);
    border-radius: 1.15rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 26, 51, .07);
  }

  .ms-choice-table td {
    position: relative;
    padding: .85rem 1rem .85rem 1rem;
    border-bottom: 1px solid rgba(16, 26, 51, .08);
    background: #fff !important;
  }

  .ms-choice-table td:last-child {
    border-bottom: 0;
  }

  .ms-choice-table td::before {
    display: block;
    margin-bottom: .18rem;
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .ms-choice-table td:nth-child(1)::before {
    content: "Besoin";
  }

  .ms-choice-table td:nth-child(2)::before {
    content: "Catégorie";
  }

  .ms-choice-table td:nth-child(3)::before {
    content: "À vérifier";
  }

  .ms-choice-table td:nth-child(4)::before {
    content: "Accès rapide";
  }

  .ms-choice-table .ms-cta-aff--inline {
    width: 100%;
    justify-content: center;
    margin-top: .2rem;
  }

  .ms-faq-question {
    padding: 1rem;
    font-size: .98rem;
    gap: 1rem;
  }

  .ms-faq-answer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ms-final-buy-card {
    padding: 1.3rem;
    border-radius: 1.35rem;
  }

  .ms-footer {
    padding-top: 2.5rem;
  }

  .ms-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .ms-footer-links {
    grid-template-columns: 1fr;
  }
}

/* ---------- Très petits mobiles ---------- */
@media (max-width: 390px) {
  .ms-cta-aff {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: .9rem;
  }

  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 250px;
    min-height: 250px;
  }

  .ms-section-kicker {
    font-size: .68rem;
  }
}

/* =========================================================
   ModeShabbat - Patch HP 1200px + bleu Israël + cards images
   ========================================================= */

:root {
  --color-primary: #0038B8;
  --color-dark: #001B5D;
  --color-secondary: #c99a3d;
  --color-accent: #5cc8ff;
  --color-light: #fffaf0;
  --color-card: #ffffff;
  --color-muted: #667085;
  --color-border: rgba(0, 56, 184, .15);
  --container: 1200px;
}

/* Largeur lisible desktop */
@media (min-width: 1181px) {
  :root {
    --container: 1200px;
  }

  body.page-home .ms-container,
  body.page-home .ms-hero-inner,
  body.page-home .ms-header-inner,
  body.page-home .ms-footer-inner {
    max-width: 1200px;
  }

  body.page-home .ms-content {
    max-width: 980px;
  }

  body.page-home .ms-section-head {
    max-width: 760px;
  }

  body.page-home .ms-section-head--left {
    max-width: 920px;
  }
}

/* Bleu Israël sur les fonds forts */
.ms-logo-mark,
.ms-check-card span {
  background: linear-gradient(135deg, #0038B8, #001B5D) !important;
}

.ms-hero,
.ms-final-buy,
.ms-footer {
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 154, 61, .20), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(92, 200, 255, .16), transparent 22rem),
    linear-gradient(140deg, #0038B8 0%, #001B5D 78%) !important;
}

.ms-buy-panel {
  background:
    radial-gradient(circle at top left, rgba(92, 200, 255, .16), transparent 38%),
    linear-gradient(135deg, #0038B8, #001B5D) !important;
}

/* Premier grid : 4 colonnes nettes desktop */
.ms-fast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem;
}

/* Cards rapides avec photo */
.ms-fast-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 1.55rem;
  background: #fff !important;
}

.ms-fast-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 56, 184, .08);
}

.ms-fast-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.ms-fast-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 27, 93, .30));
  pointer-events: none;
}

.ms-fast-card:hover .ms-fast-media img {
  transform: scale(1.055);
}

.ms-fast-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.18rem;
}

.ms-fast-body .ms-fast-icon {
  margin-top: -2.7rem;
  margin-bottom: .85rem;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(0, 56, 184, .12);
  box-shadow: 0 14px 34px rgba(0, 27, 93, .16);
}

.ms-fast-body h3 {
  margin: 0 0 .55rem;
  color: #001B5D;
}

.ms-fast-body p {
  flex: 1;
  margin: 0 0 1rem;
}

/* CTA secondaires sur fonds clairs en bleu Israël */
.ms-final-buy-card .ms-cta-aff--secondary,
.ms-section:not(.ms-hero):not(.ms-final-buy) .ms-cta-aff--secondary,
.ms-fast-card .ms-cta-aff--secondary {
  color: #fff !important;
  background: linear-gradient(135deg, #0038B8, #001B5D) !important;
  border-color: rgba(0, 56, 184, .28) !important;
}

/* Liens internes / accents */
.ms-card-link {
  color: #0038B8;
  background: rgba(0, 56, 184, .08);
}

.ms-nav-list a::after {
  background: #0038B8;
}

.ms-section-kicker {
  border-color: rgba(0, 56, 184, .22);
  background: rgba(0, 56, 184, .07);
  color: #0038B8;
}

/* Responsive : 2 colonnes tablette, 1 mobile */
@media (max-width: 1180px) {
  .ms-fast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .ms-fast-grid {
    grid-template-columns: 1fr !important;
  }

  .ms-fast-media {
    aspect-ratio: 16 / 9;
  }
}

/* =========================================================
   ModeShabbat - Final mobile overflow fix
   À coller tout en bas de style.css
   ========================================================= */

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body * {
    min-width: 0;
  }

  .ms-main,
  .ms-section,
  .ms-container,
  .ms-hero,
  .ms-hero-inner,
  .ms-home-hero-grid,
  .ms-layout,
  .ms-content,
  .ms-grid,
  .ms-grid--3,
  .ms-grid--4,
  .ms-fast-grid,
  .ms-mini-grid,
  .ms-check-grid,
  .ms-route,
  .ms-word-grid,
  .ms-blog-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip;
  }

  .ms-container,
  .ms-hero-inner,
  .ms-header-inner,
  .ms-footer-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .ms-card,
  .ms-fast-card,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step,
  .ms-word-grid > div,
  .ms-buy-panel,
  .ms-final-buy-card,
  .ms-sidebar-block,
  .ms-faq,
  .ms-choice-table tr {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  .ms-card-body,
  .ms-fast-body,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step,
  .ms-buy-panel,
  .ms-final-buy-card,
  .ms-hero-panel-card {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  td,
  th,
  strong,
  a,
  span {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .ms-section-kicker {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  /* CTA : le vrai correctif des débordements */
  .ms-cta-aff,
  .ms-cta-aff--primary,
  .ms-cta-aff--secondary,
  .ms-cta-aff--wide,
  .ms-cta-aff--inline,
  .ms-cta-aff--ghost {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
    padding-left: .9rem !important;
    padding-right: .9rem !important;
  }

  .ms-cta-aff--inline {
    display: inline-flex;
    min-height: 36px;
    font-size: .82rem;
  }

  .ms-hero-ctas,
  .ms-final-ctas,
  .ms-cta-zone,
  .ms-cta-zone--center,
  .ms-proof-strip,
  .ms-hero-proof {
    width: 100%;
    max-width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .ms-proof-strip span,
  .ms-hero-proof span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero image/card */
  .ms-home-hero-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }

  .ms-home-hero-panel .ms-hero-slideshow {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 260px !important;
    height: 260px !important;
    border-radius: 1.3rem !important;
  }

  .ms-home-hero-panel .ms-hero-slideshow img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
  }

  .ms-hero-panel-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1rem !important;
    border-radius: 1.15rem !important;
  }

  /* Cards images */
  .ms-card-media,
  .ms-fast-media,
  .ms-article-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .ms-card-media img,
  .ms-fast-media img,
  .ms-article-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
  }

  /* Mini cards : CTA courts mais jamais hors cadre */
  .ms-mini-card .ms-cta-aff--inline,
  .ms-choice-table .ms-cta-aff--inline {
    display: flex;
    width: 100% !important;
    justify-content: center;
    margin-top: .35rem;
  }

  /* Tableau mobile en cards, sans fuite latérale */
  .ms-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .ms-choice-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
  }

  .ms-choice-table td {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  /* Footer */
  .ms-footer,
  .ms-footer-inner,
  .ms-footer-brand,
  .ms-footer-links {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
}

@media (max-width: 390px) {
  .ms-container,
  .ms-hero-inner,
  .ms-header-inner,
  .ms-footer-inner {
    padding-left: .85rem !important;
    padding-right: .85rem !important;
  }

  .ms-card-body,
  .ms-fast-body,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step,
  .ms-buy-panel,
  .ms-final-buy-card,
  .ms-hero-panel-card {
    padding-left: .9rem !important;
    padding-right: .9rem !important;
  }

  .ms-cta-aff {
    font-size: .84rem !important;
  }

  .ms-home-hero-panel .ms-hero-slideshow,
  .ms-home-hero-panel .ms-hero-slideshow img {
    height: 230px !important;
    min-height: 230px !important;
  }
}

/* =========================================================
   ModeShabbat - Fix hamburger mobile définitif
   ========================================================= */

@media (max-width: 1100px) {
  .ms-header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .ms-header-inner {
    position: relative;
    min-height: 64px;
    overflow: visible !important;
  }

  .ms-logo {
    position: relative;
    z-index: 3;
    min-width: 0;
  }

  .ms-logo-text {
    white-space: nowrap;
  }

  .ms-hamburger {
    position: relative;
    z-index: 4;
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    background: rgba(0, 56, 184, .06);
    border: 1px solid rgba(0, 56, 184, .12);
  }

  .ms-hamburger span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #001B5D;
    transform-origin: center;
    transition: transform .22s ease, opacity .18s ease;
  }

  .ms-hamburger span:nth-child(1) {
    top: 14px;
  }

  .ms-hamburger span:nth-child(2) {
    top: 21px;
  }

  .ms-hamburger span:nth-child(3) {
    top: 28px;
  }

  .ms-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ms-hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .ms-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .ms-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + .7rem) !important;
    left: 1rem !important;
    right: 1rem !important;
    z-index: 2;
    width: auto !important;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    transform: none !important;
    background: rgba(255, 250, 240, .98);
    border: 1px solid rgba(0, 56, 184, .14);
    border-radius: 1.2rem;
    box-shadow: 0 24px 70px rgba(0, 27, 93, .20);
    backdrop-filter: blur(14px);
  }

  .ms-nav.is-open {
    display: block !important;
  }

  .ms-nav-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: .25rem !important;
    padding: .75rem !important;
  }

  .ms-nav-list li {
    width: 100%;
  }

  .ms-nav-list a {
    display: flex;
    width: 100%;
    padding: .85rem .95rem;
    border-radius: .9rem;
    color: #001B5D;
    font-weight: 800;
    white-space: normal !important;
    line-height: 1.25;
  }

  .ms-nav-list a:hover,
  .ms-nav-list a:focus-visible {
    background: rgba(0, 56, 184, .08);
    outline: none;
  }

  .ms-nav-list a::after {
    display: none;
  }
}

@media (max-width: 390px) {
  .ms-logo-text {
    font-size: 1rem;
  }

  .ms-logo-mark {
    width: 32px;
    height: 32px;
  }

  .ms-hamburger {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .ms-hamburger span {
    left: 10px;
    width: 20px;
  }
}

/* =========================================================
   ModeShabbat - Mobile CTA polish + sections compactes
   À coller tout en bas de style.css
   ========================================================= */

@media (max-width: 760px) {
  /* Sections moins creuses sur mobile */
  .ms-section {
    padding-top: 2.35rem !important;
    padding-bottom: 2.35rem !important;
  }

  .ms-section + .ms-section {
    margin-top: 0 !important;
  }

  .ms-section-head {
    margin-bottom: 1.25rem !important;
  }

  .ms-section-head h2 {
    margin-bottom: .55rem !important;
  }

  .ms-section-head p {
    line-height: 1.55;
  }

  .ms-content h2 {
    margin-top: 1.35rem !important;
    margin-bottom: .55rem !important;
  }

  .ms-content h3 {
    margin-top: 1.05rem !important;
    margin-bottom: .45rem !important;
  }

  .ms-content p {
    margin-bottom: .78rem !important;
  }

  .ms-callout,
  .ms-buy-panel,
  .ms-faq,
  .ms-table-wrap {
    margin-top: 1.15rem !important;
    margin-bottom: 1.15rem !important;
  }

  .ms-home-fast {
    padding-top: 2.45rem !important;
  }

  .ms-final-buy {
    padding-top: 2.8rem !important;
    padding-bottom: 2.8rem !important;
  }

  /* CTA mobile plus visibles et plus premium */
  .ms-cta-aff {
    position: relative;
    min-height: 48px !important;
    padding: .92rem 2.85rem .92rem 1.05rem !important;
    border-radius: 1rem !important;
    font-size: .92rem !important;
    line-height: 1.22 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    box-shadow:
      0 12px 30px rgba(0, 27, 93, .16),
      inset 0 1px 0 rgba(255, 255, 255, .35);
  }

  .ms-cta-aff::before {
    content: "";
    flex: 0 0 auto;
    width: .5rem;
    height: .5rem;
    margin-right: .35rem;
    border-radius: 999px;
    background: currentColor;
    opacity: .72;
  }

  .ms-cta-aff::after {
    content: "→" !important;
    position: absolute !important;
    top: 50% !important;
    right: .95rem !important;
    left: auto !important;
    width: 1.7rem !important;
    height: 1.7rem !important;
    display: grid !important;
    place-items: center !important;
    transform: translateY(-50%) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .28) !important;
    color: currentColor !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    transition: transform .18s ease, background .18s ease !important;
  }

  .ms-cta-aff:hover::after,
  .ms-cta-aff:focus-visible::after {
    transform: translateY(-50%) translateX(2px) !important;
    background: rgba(255, 255, 255, .42) !important;
  }

  .ms-cta-aff--primary,
  .ms-cta-aff--wide {
    background: linear-gradient(135deg, #f2b94d 0%, #ffe29a 55%, #d99a2e 100%) !important;
    color: #001B5D !important;
  }

  .ms-cta-aff--secondary,
  .ms-cta-aff--inline {
    background: linear-gradient(135deg, #0038B8, #001B5D) !important;
    color: #fff !important;
  }

  .ms-hero .ms-cta-aff--secondary {
    background: rgba(255, 255, 255, .12) !important;
    border-color: rgba(255, 255, 255, .28) !important;
  }

  .ms-cta-aff--inline {
    min-height: 42px !important;
    padding: .72rem 2.65rem .72rem .95rem !important;
    font-size: .86rem !important;
  }

  .ms-mini-card .ms-cta-aff--inline,
  .ms-choice-table .ms-cta-aff--inline {
    margin-top: .45rem !important;
  }

  /* Grilles/cards moins espacées verticalement */
  .ms-fast-grid,
  .ms-check-grid,
  .ms-grid,
  .ms-grid--3,
  .ms-grid--4,
  .ms-route,
  .ms-mini-grid,
  .ms-word-grid,
  .ms-blog-grid {
    gap: .85rem !important;
  }

  .ms-fast-body,
  .ms-card-body,
  .ms-mini-card,
  .ms-check-card,
  .ms-route-step {
    padding-top: .95rem !important;
    padding-bottom: 1rem !important;
  }

  .ms-fast-card p,
  .ms-card-body p,
  .ms-mini-card p,
  .ms-check-card p,
  .ms-route-step p {
    line-height: 1.48 !important;
  }

  /* Hero plus compact après image */
  .ms-hero {
    padding-top: 2.6rem !important;
    padding-bottom: 2.45rem !important;
  }

  .ms-home-hero-grid {
    gap: 1.35rem !important;
  }

  .ms-hero-proof {
    margin-top: .9rem !important;
    gap: .45rem !important;
  }

  .ms-hero-proof span {
    min-height: 2.15rem !important;
    padding: .35rem .65rem !important;
  }

  .ms-hero-panel-card {
    margin-top: .75rem !important;
  }

  /* Final CTA plus compact */
  .ms-final-buy-card {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .ms-final-ctas {
    gap: .6rem !important;
    margin-top: 1rem !important;
  }

  .ms-final-buy-card .ms-aff-disclaimer {
    margin-top: .85rem !important;
  }
}

@media (max-width: 390px) {
  .ms-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .ms-cta-aff {
    font-size: .86rem !important;
    padding-left: .9rem !important;
    padding-right: 2.65rem !important;
  }

  .ms-cta-aff::after {
    right: .75rem !important;
  }
}

/* =========================================================
   ModeShabbat - Desktop section premium + hero anchors
   ========================================================= */

@media (min-width: 761px) {
  .ms-section {
    position: relative;
    padding-top: clamp(4.8rem, 6vw, 7rem) !important;
    padding-bottom: clamp(4.8rem, 6vw, 7rem) !important;
  }

  .ms-section:not(.ms-final-buy)::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(1.5rem, calc((100vw - 1200px) / 2));
    right: max(1.5rem, calc((100vw - 1200px) / 2));
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 56, 184, .16),
      rgba(201, 154, 61, .22),
      transparent
    );
    pointer-events: none;
  }

  .ms-section:nth-of-type(even):not(.ms-final-buy) {
    background:
      radial-gradient(circle at 10% 8%, rgba(0, 56, 184, .045), transparent 28rem),
      radial-gradient(circle at 88% 4%, rgba(201, 154, 61, .075), transparent 24rem),
      #fff;
  }

  .ms-section:nth-of-type(odd):not(.ms-hero):not(.ms-final-buy) {
    background:
      radial-gradient(circle at 85% 10%, rgba(0, 56, 184, .04), transparent 26rem),
      linear-gradient(180deg, #fffaf0, #fff6e7);
  }

  .ms-section-head {
    position: relative;
  }

  .ms-section-head::after {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    margin: 1.2rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0038B8, #c99a3d);
    opacity: .85;
  }

  .ms-section-head--left::after {
    margin-left: 0;
  }

  .ms-content {
    position: relative;
  }

  .ms-content > p {
    max-width: 920px;
  }
}

/* Badges hero cliquables */
.ms-hero-proof a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.ms-hero-proof a:hover,
.ms-hero-proof a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .32);
  outline: none;
}

.ms-hero-proof a::after {
  content: "↓";
  margin-left: .35rem;
  font-weight: 900;
  color: #ffd783;
}

/* Offset propre quand on clique depuis le hero */
#guide-four,
#guide-refrigerateur,
#guide-cave,
#guide-congelateur {
  scroll-margin-top: 96px;
}

@media (max-width: 760px) {
  .ms-hero-proof a {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 2.25rem;
    padding: .42rem .7rem;
  }

  .ms-hero-proof a::after {
    content: "↓";
  }

  #guide-four,
  #guide-refrigerateur,
  #guide-cave,
  #guide-congelateur {
    scroll-margin-top: 84px;
  }
}

/* =========================================================
   ModeShabbat - Scroll reveal premium
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
  .ms-has-reveal .ms-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity .7s ease,
      transform .7s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
  }

  .ms-has-reveal .ms-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .ms-has-reveal .ms-fast-card.ms-reveal,
  .ms-has-reveal .ms-card.ms-reveal,
  .ms-has-reveal .ms-mini-card.ms-reveal,
  .ms-has-reveal .ms-check-card.ms-reveal,
  .ms-has-reveal .ms-route-step.ms-reveal {
    transition:
      opacity .65s ease,
      transform .65s cubic-bezier(.2, .7, .2, 1),
      box-shadow .22s ease,
      border-color .22s ease;
  }

  .ms-has-reveal .ms-fast-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-mini-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-check-card.ms-reveal:nth-child(2),
  .ms-has-reveal .ms-route-step.ms-reveal:nth-child(2) {
    transition-delay: .06s;
  }

  .ms-has-reveal .ms-fast-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-mini-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-check-card.ms-reveal:nth-child(3),
  .ms-has-reveal .ms-route-step.ms-reveal:nth-child(3) {
    transition-delay: .12s;
  }

  .ms-has-reveal .ms-fast-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-mini-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-check-card.ms-reveal:nth-child(4),
  .ms-has-reveal .ms-route-step.ms-reveal:nth-child(4) {
    transition-delay: .18s;
  }
}


/* =========================================================
   ModeShabbat - Cards entièrement clickables avec 1 seul lien
   ========================================================= */

.ms-fast-card,
.ms-mini-card,
.ms-card {
  position: relative;
}

.ms-stretched-link {
  position: relative;
  z-index: 3;
}

.ms-stretched-link::before {
  content: "";
  position: absolute;
  inset: -999rem;
  z-index: 1;
}

.ms-fast-card .ms-fast-media,
.ms-fast-card .ms-fast-body,
.ms-mini-card > *:not(.ms-stretched-link),
.ms-card .ms-card-media,
.ms-card .ms-card-body > *:not(.ms-stretched-link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ms-fast-card .ms-stretched-link,
.ms-mini-card .ms-stretched-link,
.ms-card .ms-stretched-link {
  pointer-events: auto;
}

.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-card:hover {
  cursor: pointer;
}

/* Le CTA reste visuellement le CTA */
.ms-fast-card .ms-cta-aff,
.ms-mini-card .ms-cta-aff,
.ms-card .ms-card-link {
  z-index: 4;
}

/* CTA large plus propre */
.ms-fast-card .ms-cta-aff--wide {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 48px;
}

.ms-mini-card .ms-cta-aff--inline {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Évite que l'overlay gêne les effets images */
.ms-fast-card:hover .ms-fast-media img,
.ms-card:hover .ms-card-media img {
  transform: scale(1.045);
}

/* =========================================================
   ModeShabbat - Fix tableaux mobile scrollables définitif
   ========================================================= */

@media (max-width: 760px) {
  .ms-content,
  .ms-layout,
  .ms-main,
  .ms-section,
  .ms-container {
    overflow-x: visible !important;
  }

  .ms-table-wrap,
  .content-table-wrap,
  .table-wrap,
  div[style*="overflow-x"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
  }

  .ms-table-wrap table,
  .content-table-wrap table,
  .table-wrap table,
  div[style*="overflow-x"] table {
    width: max-content !important;
    min-width: 720px !important;
    max-width: none !important;
  }

  .ms-table-wrap::after,
  .content-table-wrap::after,
  .table-wrap::after {
    content: "← Faites défiler le tableau →";
    display: block;
    margin-top: .45rem;
    color: #667085;
    font-size: .78rem;
    text-align: center;
  }
}

/* =========================================================
   ModeShabbat - Cards entièrement clickables avec 1 seul lien
   ========================================================= */

.ms-fast-card,
.ms-mini-card,
.ms-card {
  position: relative;
}

.ms-stretched-link {
  position: relative;
  z-index: 3;
}

.ms-stretched-link::before {
  content: "";
  position: absolute;
  inset: -999rem;
  z-index: 1;
}

.ms-fast-card .ms-fast-media,
.ms-fast-card .ms-fast-body,
.ms-mini-card > *:not(.ms-stretched-link),
.ms-card .ms-card-media,
.ms-card .ms-card-body > *:not(.ms-stretched-link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.ms-fast-card .ms-stretched-link,
.ms-mini-card .ms-stretched-link,
.ms-card .ms-stretched-link {
  pointer-events: auto;
}

.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-card:hover {
  cursor: pointer;
}

.ms-fast-card .ms-cta-aff,
.ms-mini-card .ms-cta-aff,
.ms-card .ms-card-link {
  z-index: 4;
}

.ms-fast-card .ms-cta-aff--wide {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 48px;
}

.ms-mini-card .ms-cta-aff--inline {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

.ms-fast-card:hover .ms-fast-media img,
.ms-card:hover .ms-card-media img {
  transform: scale(1.045);
}

/* =========================================================
   ModeShabbat - Cards obfusquées clickables JS
   ========================================================= */

.ms-fast-card:has(.js-route),
.ms-mini-card:has(.js-route),
.ms-final-buy-card:has(.js-route),
.ms-buy-panel:has(.js-route) {
  cursor: pointer;
}

.ms-fast-card:has(.js-route):hover,
.ms-mini-card:has(.js-route):hover {
  transform: translateY(-5px);
  box-shadow: var(--ms-shadow-hover, 0 28px 90px rgba(16, 26, 51, .16));
  border-color: rgba(201, 154, 61, .28);
}

.ms-fast-card:focus-visible,
.ms-mini-card:focus-visible,
.ms-final-buy-card:focus-visible,
.ms-buy-panel:focus-visible {
  outline: 3px solid #5cc8ff;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .ms-fast-card:has(.js-route),
  .ms-mini-card:has(.js-route),
  .ms-final-buy-card:has(.js-route),
  .ms-buy-panel:has(.js-route) {
    -webkit-tap-highlight-color: rgba(0, 56, 184, .12);
  }
}

/* =========================================================
   ModeShabbat - Correctif propre tableau HP mobile
   Garde .ms-choice-table en cards mobile sans tronquer le texte
   ========================================================= */

@media (max-width: 760px) {
  body.page-home .ms-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.page-home .ms-table-wrap::after {
    display: none !important;
    content: none !important;
  }

  body.page-home .ms-choice-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.page-home .ms-choice-table thead {
    display: none !important;
  }

  body.page-home .ms-choice-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.page-home .ms-choice-table tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 56, 184, .12) !important;
    border-radius: 1.25rem !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(0, 27, 93, .07) !important;
    overflow: visible !important;
  }

  body.page-home .ms-choice-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .95rem 1rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 56, 184, .09) !important;
    background: #fff !important;
    color: #001B5D !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }

  body.page-home .ms-choice-table td:last-child {
    border-bottom: 0 !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
  }

  body.page-home .ms-choice-table td::before {
    display: block !important;
    margin: 0 0 .35rem !important;
    color: #c99a3d !important;
    font-size: .74rem !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
  }

  body.page-home .ms-choice-table td:nth-child(1)::before {
    content: "Besoin";
  }

  body.page-home .ms-choice-table td:nth-child(2)::before {
    content: "Catégorie";
  }

  body.page-home .ms-choice-table td:nth-child(3)::before {
    content: "À vérifier";
  }

  body.page-home .ms-choice-table td:nth-child(4)::before {
    content: "Accès rapide";
  }

  body.page-home .ms-choice-table td * {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.page-home .ms-choice-table .ms-cta-aff,
  body.page-home .ms-choice-table .ms-cta-aff--inline {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: .35rem 0 0 !important;
    padding: .82rem 2.7rem .82rem 1rem !important;
    border-radius: 1rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: hidden !important;
  }
}

@media (max-width: 760px) {
  body.page-home .ms-choice-table td,
  body.page-home .ms-choice-table td * {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

/* =========================================================
   ModeShabbat - Premium finish visuel
   Patch safe : hero, cards, sections, footer, détails UI
   ========================================================= */

:root {
  --ms-navy: #001B5D;
  --ms-blue: #0038B8;
  --ms-gold: #c99a3d;
  --ms-gold-light: #f2c96d;
  --ms-cream: #fffaf0;
  --ms-cream-deep: #f6eddd;
  --ms-card-glow: 0 22px 70px rgba(0, 27, 93, .11);
  --ms-card-glow-hover: 0 30px 90px rgba(0, 27, 93, .17);
}

/* Fond global plus premium, moins plat */
body {
  background:
    radial-gradient(circle at 12% 3%, rgba(201, 154, 61, .105), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(0, 56, 184, .075), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #fbf3e6 46%, #fffaf0 100%) !important;
}

/* Header plus "marque" */
.ms-header {
  background: rgba(255, 250, 240, .88) !important;
  border-bottom: 1px solid rgba(0, 56, 184, .10) !important;
  box-shadow: 0 12px 38px rgba(0, 27, 93, .055) !important;
}

.ms-logo-mark {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(135deg, var(--ms-blue), var(--ms-navy)) !important;
  color: var(--ms-gold-light) !important;
  border: 1px solid rgba(242, 201, 109, .45);
}

.ms-logo-text {
  color: var(--ms-navy) !important;
  letter-spacing: -.025em;
}

/* Hero plus proche du visuel OG */
.ms-hero {
  background:
    radial-gradient(circle at 10% 15%, rgba(242, 201, 109, .18), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(92, 200, 255, .16), transparent 26rem),
    linear-gradient(135deg, #0038B8 0%, #001B5D 68%, #000f38 100%) !important;
}

.ms-hero::before {
  background:
    radial-gradient(circle, rgba(242, 201, 109, .32), transparent 68%) !important;
  opacity: .85;
}

.ms-hero h1 {
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.ms-hero p.ms-hero-lead {
  color: rgba(255,255,255,.84) !important;
}

.ms-hero-eyebrow,
.ms-section-kicker {
  color: var(--ms-blue) !important;
  background: rgba(0, 56, 184, .065) !important;
  border-color: rgba(0, 56, 184, .18) !important;
}

.ms-hero .ms-hero-eyebrow {
  color: var(--ms-gold-light) !important;
  background: rgba(255,255,255,.075) !important;
  border: 1px solid rgba(242, 201, 109, .28) !important;
}

/* Image hero plus éditoriale */
.ms-home-hero-panel .ms-hero-slideshow {
  border: 1px solid rgba(242, 201, 109, .28) !important;
  box-shadow:
    0 34px 95px rgba(0, 10, 45, .34),
    0 0 0 1px rgba(255,255,255,.08) inset !important;
}

.ms-hero-panel-card {
  border: 1px solid rgba(242, 201, 109, .36) !important;
  background: rgba(255, 250, 240, .95) !important;
  box-shadow: 0 24px 70px rgba(0, 27, 93, .20) !important;
}

/* Sections : séparation luxe mais discrète */
.ms-section {
  position: relative;
}

@media (min-width: 761px) {
  .ms-section:not(.ms-hero):not(.ms-final-buy)::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(1.25rem, calc((100vw - 1200px) / 2));
    right: max(1.25rem, calc((100vw - 1200px) / 2));
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 56, 184, .11),
      rgba(201, 154, 61, .24),
      rgba(0, 56, 184, .11),
      transparent
    );
    pointer-events: none;
  }

  .ms-section:nth-of-type(even):not(.ms-hero):not(.ms-final-buy) {
    background:
      radial-gradient(circle at 12% 0%, rgba(0, 56, 184, .035), transparent 25rem),
      radial-gradient(circle at 88% 12%, rgba(201, 154, 61, .07), transparent 22rem),
      rgba(255,255,255,.62);
  }
}

/* Titres plus éditoriaux */
.ms-section-head h2,
.ms-content h2 {
  color: var(--ms-navy) !important;
  text-wrap: balance;
}

.ms-section-head p {
  color: #667085 !important;
}

/* Cards premium */
.ms-card,
.ms-fast-card,
.ms-mini-card,
.ms-check-card,
.ms-route-step,
.ms-word-grid > div {
  border-color: rgba(0, 56, 184, .105) !important;
  box-shadow: var(--ms-card-glow) !important;
}

.ms-card:hover,
.ms-fast-card:hover,
.ms-mini-card:hover,
.ms-check-card:hover,
.ms-route-step:hover {
  box-shadow: var(--ms-card-glow-hover) !important;
  border-color: rgba(201, 154, 61, .30) !important;
}

/* Fast cards : rendu catalogue premium */
.ms-fast-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.94)) !important;
}

.ms-fast-card--gold {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 201, 109, .20), transparent 16rem),
    linear-gradient(180deg, #fffaf0, #ffffff) !important;
}

.ms-fast-body h3,
.ms-mini-card h3,
.ms-card-body h3,
.ms-check-card h3,
.ms-route-step h3 {
  color: var(--ms-navy) !important;
}

.ms-fast-icon {
  color: var(--ms-navy);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.85), transparent 45%),
    linear-gradient(135deg, #fffaf0, #ffffff) !important;
  border: 1px solid rgba(201, 154, 61, .22) !important;
}

/* CTA plus luxueux */
.ms-cta-aff--primary,
.ms-cta-aff--wide {
  background:
    linear-gradient(135deg, #f4bd55 0%, #ffe19a 48%, #d59a31 100%) !important;
  color: var(--ms-navy) !important;
  border: 1px solid rgba(255, 226, 154, .58) !important;
  box-shadow:
    0 16px 38px rgba(201, 154, 61, .25),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.ms-cta-aff--secondary,
.ms-cta-aff--inline {
  background:
    linear-gradient(135deg, var(--ms-blue), var(--ms-navy)) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 56, 184, .18) !important;
}

.ms-cta-aff:hover {
  filter: saturate(1.03);
}

/* Mini cards plus "sélection" */
.ms-mini-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,240,.72)) !important;
}

.ms-mini-card::before {
  background: linear-gradient(180deg, var(--ms-blue), var(--ms-gold)) !important;
}

/* Blocs méthode plus statut premium */
.ms-check-card span {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(135deg, var(--ms-blue), var(--ms-navy)) !important;
}

/* FAQ plus finie */
.ms-faq {
  border-color: rgba(0, 56, 184, .12) !important;
  box-shadow: 0 22px 70px rgba(0, 27, 93, .09) !important;
}

.ms-faq-question {
  color: var(--ms-navy) !important;
}

/* Footer cohérent OG */
.ms-footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(242, 201, 109, .13), transparent 23rem),
    radial-gradient(circle at 90% 16%, rgba(92, 200, 255, .10), transparent 24rem),
    linear-gradient(135deg, #0038B8, #001B5D 72%, #000f38) !important;
  border-top: 1px solid rgba(242, 201, 109, .18);
}

/* Blog cards : lien plus premium */
.ms-card-link {
  color: var(--ms-navy) !important;
  background: rgba(0, 56, 184, .07) !important;
  border: 1px solid rgba(0, 56, 184, .10);
}

/* Mobile : plus premium sans casser */
@media (max-width: 760px) {
  .ms-section {
    padding-top: 2.55rem !important;
    padding-bottom: 2.55rem !important;
  }

  .ms-hero {
    padding-top: 2.9rem !important;
    padding-bottom: 2.7rem !important;
  }

  .ms-hero h1 {
    text-shadow: 0 10px 30px rgba(0,0,0,.16);
  }

  .ms-fast-card,
  .ms-mini-card,
  .ms-card,
  .ms-check-card,
  .ms-route-step {
    box-shadow: 0 16px 46px rgba(0, 27, 93, .10) !important;
  }

  .ms-section-head h2 {
    line-height: 1.08;
  }

  .ms-home-hero-panel .ms-hero-slideshow {
    box-shadow: 0 24px 70px rgba(0, 27, 93, .22) !important;
  }

  /* évite les effets reveal trop vides dans les captures longues mobile */
  .ms-has-reveal .ms-section.ms-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .ms-has-reveal .ms-section.ms-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* =========================================================
   ModeShabbat - Fix iPad tableau HP + CTA visibles
   ========================================================= */

/* iPad portrait / petites tablettes : tableau HP en cartes, aucun CTA masqué */
@media (min-width: 761px) and (max-width: 900px) {
  body.page-home .ms-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.page-home .ms-table-wrap::after {
    display: none !important;
    content: none !important;
  }

  body.page-home .ms-choice-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.page-home .ms-choice-table thead {
    display: none !important;
  }

  body.page-home .ms-choice-table tbody,
  body.page-home .ms-choice-table tr,
  body.page-home .ms-choice-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.page-home .ms-choice-table tr {
    margin: 0 0 1rem !important;
    border: 1px solid rgba(0, 56, 184, .12) !important;
    border-radius: 1.25rem !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(0, 27, 93, .07) !important;
    overflow: hidden !important;
  }

  body.page-home .ms-choice-table td {
    padding: .95rem 1rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 56, 184, .09) !important;
    background: #fff !important;
    color: #001B5D !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }

  body.page-home .ms-choice-table td:last-child {
    border-bottom: 0 !important;
  }

  body.page-home .ms-choice-table td::before {
    display: block !important;
    margin: 0 0 .35rem !important;
    color: #c99a3d !important;
    font-size: .74rem !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    line-height: 1.25 !important;
  }

  body.page-home .ms-choice-table td:nth-child(1)::before { content: "Besoin"; }
  body.page-home .ms-choice-table td:nth-child(2)::before { content: "Catégorie"; }
  body.page-home .ms-choice-table td:nth-child(3)::before { content: "À vérifier"; }
  body.page-home .ms-choice-table td:nth-child(4)::before { content: "Accès rapide"; }

  body.page-home .ms-choice-table .ms-cta-aff,
  body.page-home .ms-choice-table .ms-cta-aff--inline {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    margin: .35rem 0 0 !important;
  }
}

/* iPad paysage / tablettes larges : le tableau reste en tableau, mais il rentre */
@media (min-width: 901px) and (max-width: 1180px) {
  body.page-home .ms-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body.page-home .ms-table-wrap::after {
    display: none !important;
    content: none !important;
  }

  body.page-home .ms-choice-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  body.page-home .ms-choice-table th,
  body.page-home .ms-choice-table td {
    padding: .75rem .65rem !important;
    font-size: .84rem !important;
    line-height: 1.35 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  body.page-home .ms-choice-table th:nth-child(1),
  body.page-home .ms-choice-table td:nth-child(1) {
    width: 22%;
  }

  body.page-home .ms-choice-table th:nth-child(2),
  body.page-home .ms-choice-table td:nth-child(2) {
    width: 24%;
  }

  body.page-home .ms-choice-table th:nth-child(3),
  body.page-home .ms-choice-table td:nth-child(3) {
    width: 34%;
  }

  body.page-home .ms-choice-table th:nth-child(4),
  body.page-home .ms-choice-table td:nth-child(4) {
    width: 20%;
  }

  body.page-home .ms-choice-table .ms-cta-aff,
  body.page-home .ms-choice-table .ms-cta-aff--inline {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: .58rem .65rem !important;
    font-size: .78rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
  }
}
