/* Page d'accueil du blog. */
body.blog-page { --blog-ink: #0c101d; --blog-muted: #697180; background: #fff; }
.blog-page .container { width: min(90%, 1380px); margin-inline: auto; box-sizing: border-box; }
.blog-page .mock-main { color: var(--blog-ink); }
.blog-page .mock-main *, .blog-page .mock-main *::before, .blog-page .mock-main *::after { box-sizing: border-box; }
.blog-page .mock-main a:focus-visible, .blog-page .mock-main button:focus-visible { outline: 3px solid #a51e35; outline-offset: 5px; }
.blog-page .mock-main [hidden] { display: none !important; }
.blog-page .mock-main .ml-icon { flex-shrink: 0; }
.blog-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.blog-hero { padding: 30px 0 34px; }
.blog-hero__inner { display: grid; grid-template-columns: .94fr 1.25fr; gap: 38px; align-items: center; }
.blog-hero__copy { position: relative; z-index: 1; padding-block: 24px; }
.blog-hero__badge { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--blog-muted); font-size: 12px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.blog-hero__badge-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--ml-red); }
.blog-hero h1 { margin: 0 0 20px; font-size: clamp(36px, 3.65vw, 56px); font-weight: 850; letter-spacing: -.055em; line-height: 1.08; }
.blog-hero h1 span { display: block; color: var(--ml-red); }
.blog-hero__desc { max-width: 470px; margin: 0 0 24px; color: var(--blog-muted); font-size: 18px; line-height: 1.55; letter-spacing: -.02em; }
.blog-hero__actions { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.btn-hero-red, .btn-hero-outline, .btn-rdv-white { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 750; text-align: center; transition: background .2s, box-shadow .2s; }
.btn-hero-red { background: var(--ml-red); color: #fff; }
.btn-hero-red:hover { background: #c91f25; box-shadow: 0 6px 18px #dd26281a; }
.btn-hero-outline { background: #fff; border-color: #cdd1d9; color: var(--blog-ink); }
.btn-hero-outline:hover { border-color: var(--ml-red); background: #fff8f9; }
.featured-card { display: block; position: relative; isolation: isolate; min-width: 0; height: 430px; color: var(--blog-ink); }
.featured-card::before, .featured-card::after { content: ''; position: absolute; z-index: -1; background: #fce8ec; }
.featured-card::before { inset: 8px 15% 22px 0; border-radius: 38% 55% 35% 60% / 48% 33% 60% 48%; transform: rotate(-13deg); }
.featured-card::after { width: 35%; height: 48%; right: -2%; bottom: 14px; border-radius: 50% 45% 54% 38%; transform: rotate(22deg); }
.featured-card__photos { display: block; position: absolute; inset: 15px 0 2px 22px; overflow: hidden; border-radius: 52% 46% 22% 24% / 45% 36% 56% 30%; background: #f5f0ea; }
.featured-card__photos img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 28% 35%; }
.featured-card__body { position: absolute; right: 4%; bottom: -4px; left: 16%; display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 6px 20px; padding: 18px 24px; border-radius: 22px; background: #fff; box-shadow: 0 8px 28px #1220330c; }
.featured-card__une, .article-card__cat { width: fit-content; display: block; border-radius: 10px; background: #ffe5e9; color: #c91f25; padding: 5px 10px; font-size: 10px; font-weight: 650; line-height: 1.3; text-transform: uppercase; }
.featured-card__title { grid-column: 1; margin: 0; font-size: clamp(18px, 1.55vw, 23px); font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.blog-arrow { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; border-radius: 50%; background: #ffecef; color: var(--ml-red); flex-shrink: 0; transition: background .2s; }
.featured-card__body > .blog-arrow { width: 42px; height: 42px; grid-column: 2; grid-row: 1 / 3; }
.featured-card:hover .blog-arrow, .article-card:hover .blog-arrow { background: #ffd8df; }
.blog-rays { position: absolute; width: 56px; height: 62px; top: 36px; left: 3%; color: var(--ml-red); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.blog-search { padding-bottom: 22px; }
.blog-search__bar { display: flex; align-items: center; gap: 14px; padding: 8px 10px; min-height: 64px; border: 1px solid #f2f2f5; border-radius: 22px; background: #fff; box-shadow: 0 6px 20px #12203308; }
.blog-search__bar:focus-within { border-color: #dd8096; }
.blog-search__avatar { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; background: #f4f4f5; color: #455063; }
.blog-search__avatar .ml-icon { width: 21px; height: 21px; }
.blog-search__input { width: 100%; min-width: 0; padding: 8px 0; flex: 1; border: 0; outline: none; background: transparent; color: var(--blog-ink); font: inherit; font-size: 14px; }
.blog-search__input::placeholder { color: #828a99; opacity: 1; }
.blog-search__submit { min-height: 44px; padding: 10px 32px; border: 0; border-radius: 999px; background: var(--ml-red); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.blog-search__submit:hover { background: #c91f25; }
.blog-rubriques { padding-bottom: 44px; scroll-margin-top: 100px; }
.rubriques-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.rubrique-card { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 74px; padding: 10px; border: 1px solid transparent; border-radius: 20px; background: linear-gradient(120deg, #fffafb, #f9f9fa); color: var(--blog-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.rubrique-card:hover, .rubrique-card.is-active { border-color: #f5c7d0; background: #fff3f5; }
.rubrique-card__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 44px; border-radius: 15px; background: #ffedf0; color: var(--ml-red); }
.rubrique-card__icon .ml-icon { width: 27px; height: 27px; stroke-width: 1.8; }
.rubrique-card__name { display: block; font-size: 11px; font-weight: 600; line-height: 1.55; letter-spacing: -.025em; }
.rubrique-card__sub { display: block; font-size: 9px; color: var(--blog-muted); margin-top: 2px; }
.section-hd { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-hd h2 { margin: 0; color: var(--blog-ink); font-size: 27px; font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.articles-all-link { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; border: 0; background: none; color: var(--ml-red); font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.articles-all-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog-popular { margin-bottom: 56px; padding: 32px; border: 1px solid #f3ccd5; border-radius: 28px; background: linear-gradient(120deg, #ffedf1, #fff7f8); }
.blog-popular .section-hd { margin-bottom: 26px; }
.blog-popular .section-hd h2 { font-size: 34px; }
.blog-popular .section-hd h2 span { color: #c91f25; }
.section-hd .articles-all-link { justify-content: center; min-height: 42px; padding: 10px 18px; border: 1px solid var(--ml-red); border-radius: 999px; background: var(--ml-red); color: #fff; font-weight: 700; }
.section-hd .articles-all-link:hover { background: #c91f25; border-color: #c91f25; text-decoration: none; }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { display: grid; grid-template-columns: 57% 43%; min-height: 224px; overflow: hidden; border: 1px solid #eef0f3; border-radius: 20px; background: #fff; color: var(--blog-ink); box-shadow: 0 1px 3px #12203304; transition: box-shadow .2s, border-color .2s, transform .2s; }
.article-card:hover { transform: translateY(-3px); border-color: #f1ccd4; box-shadow: 0 8px 24px #12203309; }
.article-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 22px 0 18px 24px; z-index: 1; min-width: 0; }
.article-card__title { margin: 0; color: var(--blog-ink); font-size: 16px; font-weight: 650; letter-spacing: -.035em; line-height: 1.45; }
.article-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; margin-top: auto; padding-top: 4px; }
.article-card__time { display: flex; align-items: center; gap: 7px; color: var(--blog-muted); font-size: 11px; }
.article-card__time .ml-icon { width: 18px; height: 18px; stroke-width: 1.8; }
.article-card__footer .blog-arrow { width: 34px; height: 34px; margin-right: 8px; }
.article-card__media { align-self: stretch; display: block; position: relative; min-width: 0; overflow: hidden; border-radius: 58% 0 0 48% / 45% 0 0 55%; background: #fff7f8; }
.article-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--article-photo-position, center); }
.blog-popular .article-card { min-height: 248px; border-color: #efd7dd; box-shadow: 0 8px 20px #591e2d12; }
.blog-popular .article-card:hover { border-color: #d88b9c; box-shadow: 0 12px 24px #591e2d1a; }
.blog-popular .article-card__title { font-size: 18px; font-weight: 750; }
.blog-popular .article-card__cat, .blog-popular .blog-arrow { background: var(--ml-red); color: #fff; }
.blog-popular .article-card:hover .blog-arrow { background: #c91f25; }
.blog-articles { padding-bottom: 56px; scroll-margin-top: 105px; }
.articles-status { margin: -8px 0 20px; color: var(--blog-muted); font-size: 13px; }
.articles-empty { padding: 28px; margin: 0; background: #fff5f7; border-radius: 20px; color: var(--blog-muted); }
.blog-resources { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
.mini-test__title { margin: 0 0 16px; font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.mini-test { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-radius: 24px; padding: 28px; background: #fff0f3; }
.mini-test__desc { color: var(--blog-muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.btn-mini { border: 0; border-radius: 999px; padding: 12px 22px; background: var(--ml-yellow); color: var(--ml-ink); font: inherit; font-weight: 750; font-size: 14px; cursor: pointer; }
.blog-cta-bottom { padding-bottom: 70px; }
.blog-cta-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 44px 48px; border-radius: 28px; background: var(--ml-red); }
.blog-cta-bottom__text h2 { margin: 0 0 12px; color: #fff; font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.blog-cta-bottom__text p { max-width: 690px; margin: 0; color: #fff; font-size: 15px; line-height: 1.65; }
.btn-rdv-white { background: #fff; color: #c91f25; flex-shrink: 0; }
@media (max-width: 1200px) {
  .blog-hero__inner { grid-template-columns: 1fr 1.1fr; gap: 22px; }
  .blog-hero__desc { font-size: 16px; }
  .featured-card { height: 400px; }
  .blog-hero__actions { gap: 10px; }
  .btn-hero-red, .btn-hero-outline { padding-inline: 17px; font-size: 13px; }
  .rubrique-card__name { font-size: 12px; }
  .article-card__body { padding-left: 18px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .featured-card__body { left: 4%; right: 0; padding: 16px; gap: 6px 12px; grid-template-columns: minmax(0, 1fr) 34px; }
  .featured-card__body > .blog-arrow { width: 34px; height: 34px; }
}
@media (max-width: 1000px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-grid--popular > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .blog-hero { padding: 20px 0 26px; }
  .blog-hero__inner { grid-template-columns: 1fr; gap: 16px; }
  .blog-hero__copy { padding: 0; }
  .blog-hero h1 { font-size: clamp(33px, 7.5vw, 48px); max-width: 570px; letter-spacing: -.045em; }
  .blog-hero__badge { font-size: 11px; }
  .blog-hero__desc { max-width: 100%; margin-bottom: 22px; }
  .blog-hero__actions { gap: 10px; }
  .btn-hero-red, .btn-hero-outline { flex: 1 1 145px; min-height: 48px; padding-inline: 12px; font-size: 12px; }
  .featured-card { height: clamp(300px, 70vw, 400px); }
  .featured-card__photos { inset: 14px 0 16px 8px; }
  .featured-card__body { left: 7%; right: 2%; bottom: -12px; padding: 16px; gap: 6px 12px; border-radius: 18px; }
  .featured-card__title { font-size: 18px; }
  .featured-card__body > .blog-arrow { width: 36px; height: 36px; }
  .blog-rays { top: 20px; left: 0; width: 42px; }
  .blog-search__bar { gap: 8px; padding: 8px; flex-wrap: wrap; border-radius: 18px; }
  .blog-search__avatar { width: 34px; height: 34px; }
  .blog-search__input { font-size: 12px; }
  .blog-search__submit { width: 100%; min-height: 40px; }
  .blog-rubriques { padding-bottom: 32px; }
  .rubriques-grid { gap: 10px; }
  .rubrique-card { min-height: 68px; padding: 8px; border-radius: 16px; }
  .rubrique-card__icon { flex-basis: 36px; width: 36px; height: 40px; }
  .rubrique-card__icon .ml-icon { width: 25px; height: 25px; }
  .rubrique-card__name { font-size: 11px; }
  .section-hd { align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
  .section-hd h2 { font-size: 24px; }
  .articles-all-link { font-size: 12px; }
  .articles-grid { grid-template-columns: 1fr; gap: 16px; }
  .articles-grid--popular > :last-child { grid-column: auto; }
  .article-card { min-height: 220px; grid-template-columns: 58% 42%; }
  .article-card__body { padding: 20px 0 16px 18px; gap: 12px; }
  .article-card__title { font-size: 15px; }
  .article-card__time { font-size: 10px; gap: 5px; }
  .article-card__footer .blog-arrow { width: 28px; height: 28px; margin-right: 5px; }
  .blog-popular { padding: 24px 16px; margin-bottom: 38px; border-radius: 24px; }
  .blog-popular .section-hd { margin-bottom: 20px; }
  .blog-popular .section-hd h2 { font-size: 28px; }
  .blog-popular .article-card { min-height: 240px; }
  .blog-popular .article-card__body { padding-left: 14px; }
  .blog-popular .article-card__title { font-size: 17px; }
  .blog-articles, .blog-resources { padding-bottom: 38px; }
  .mini-test { padding: 24px; }
  .blog-cta-bottom { padding-bottom: 48px; }
  .blog-cta-bottom__inner { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .blog-cta-bottom__text h2 { font-size: 25px; }
  .blog-cta-bottom .btn-rdv-white { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-page .mock-main a, .blog-page .mock-main button, .blog-arrow { transition: none; }
  .article-card:hover { transform: none; }
}
