.profile-editorial { padding: 64px 0; background: linear-gradient(120deg, #fff5f7, #fff 70%); }
.profile-editorial__grid { display: grid; grid-template-columns: .85fr 1.4fr; align-items: start; gap: 72px; }
.profile-kicker { color: var(--ml-muted); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.profile-editorial__intro h2 span { color: var(--ml-red); }
.profile-editorial__intro > p:not(.profile-kicker) { font-size: 18px; line-height: 1.6; color: var(--ml-muted); max-width: 360px; }
.profile-editorial .profile-text-link { display: inline-flex; margin-top: 12px; padding: 10px 0; color: var(--ml-red); font-weight: 700; font-size: 14px; }
.profile-editorial__text h3 { margin: 28px 0 14px; font-size: 22px; letter-spacing: -.025em; line-height: 1.3; }
.profile-editorial__text h3:first-child { margin-top: 0; }
.profile-editorial__text p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: #3e4c5d; }
.profile-editorial__text .profile-source, .profile-faq .profile-source { font-size: 12px; line-height: 1.6; margin-top: 18px; color: #586273; }
.profile-source a { color: #9d1e36; text-decoration: underline; text-underline-offset: 3px; }
.profile-faq { padding: 52px 0 60px; scroll-margin-top: 100px; }
.profile-faq__inner { max-width: 940px; }
.profile-faq .section-head { text-align: center; margin-bottom: 28px; }
.profile-faq .section-head > p { margin-inline: auto; }
.profile-faq .section-head .profile-kicker { color: var(--ml-muted); font-size: 12px; }
.profile-faq__list { display: grid; gap: 12px; }
.profile-faq__item { background: #fff8fa; border: 1px solid #f1dce3; border-radius: 18px; }
.profile-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; line-height: 1.45; }
.profile-faq__item summary::-webkit-details-marker { display: none; }
.profile-faq__item summary > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #ffe6ed; color: #ac2039; font-size: 22px; font-weight: 400; transition: transform .2s; }
.profile-faq__item[open] { background: #fff; border-color: #e7b3c1; }
.profile-faq__item[open] summary { color: #ac2039; }
.profile-faq__item[open] summary > span { transform: rotate(45deg); }
.profile-faq__answer { padding: 0 24px 22px; }
.profile-faq__answer > p { margin: 0; font-size: 15px; line-height: 1.75; color: #3e4c5d; }
.profile-faq summary:focus-visible, .profile-faq a:focus-visible, .profile-editorial a:focus-visible { outline: 3px solid #ac2039; outline-offset: 4px; border-radius: 12px; }
@media (max-width: 900px) {
  .profile-editorial__grid { grid-template-columns: 1fr; gap: 28px; }
  .profile-editorial__intro > p:not(.profile-kicker) { max-width: 620px; }
}
@media (max-width: 760px) {
  .profile-editorial { padding-block: 36px; }
  .profile-editorial__text h3 { font-size: 20px; }
  .profile-editorial__text p { font-size: 15px; }
  .profile-faq { padding-block: 36px; }
  .profile-faq__item summary { padding: 18px; font-size: 15px; gap: 12px; }
  .profile-faq__answer { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { .profile-faq__item summary > span { transition: none; } }

/* Mise en page commune aux neuf profils. */
.profile-page { --ml-ink: #101923; --ml-soft: #fff1f4; }
.profile-page .mock-header__inner { grid-template-columns: auto 1fr; }
.profile-page main *, .profile-page main *::before, .profile-page main *::after { box-sizing: border-box; }
.profile-page main h2 { font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
.profile-page .cta-final-card .mock-btn { font-weight: 650; min-height: 48px; font-size: 14px; }
.profile-page main .mock-btn--red { box-shadow: none; }
.profile-page .hero-section { position: relative; padding: 58px 0 30px; }
.profile-page .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 38px; align-items: center; }
.profile-page .hero-copy { animation: profile-enter .6s ease both; }
.profile-page .hero-copy h1 { font-size: clamp(34px, 3.35vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.05em; }
.profile-page .profile-hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 11px; }
.profile-page .profile-hero-kicker::before { content: ''; width: 8px; height: 18px; border-radius: 8px; background: #ff9aae; }
.profile-page .hero-lead { font-size: 16px; line-height: 1.65; margin-top: 22px; max-width: 520px; font-weight: 450; }
.profile-page .hero-ctas { gap: 12px; margin-top: 26px; }
.profile-page .hero-media { min-height: 0; animation: profile-enter .7s .08s ease both; }
.profile-page .hero-media img { width: 100%; }
.profile-page .hand-note--hero { top: auto; left: auto; bottom: 9%; right: 0; font-family: "Onest", sans-serif; font-size: 15px; line-height: 1.4; font-weight: 650; padding: 12px 18px; border-radius: 18px; background: #fff; box-shadow: 0 4px 18px #12203309; transform: rotate(-5deg); }
.profile-page .hand-note--hero::after { display: none; }
.profile-page .proof-section { padding: 64px 0; }
.profile-page .proof-strip { background: linear-gradient(110deg, #fffafa, #fff5f7); border: 0; border-radius: 22px; box-shadow: none; overflow: hidden; }
.profile-page .proof-strip article { padding: 24px 18px; gap: 12px; border-color: #f2dfe5; }
.profile-page .proof-strip .ml-icon { width: 30px; height: 30px; stroke-width: 1.7; }
.profile-page .proof-strip strong { font-size: 13px; font-weight: 650; line-height: 1.45; }
.profile-page .profile-editorial { background: #fff; padding: 64px 0; }
.profile-page .profile-editorial__grid { grid-template-columns: .85fr 1.3fr; gap: 42px; }
.profile-page .profile-editorial__aside { position: sticky; top: 112px; display: grid; gap: 24px; }
.profile-page .profile-editorial__intro { position: relative; isolation: isolate; padding: 34px; border-radius: 24px; background: linear-gradient(135deg, #fff0f4, #fff9fa); }
.profile-page .profile-editorial__photo { display: block; width: 100%; max-width: 500px; height: auto; margin: 24px auto 0; border-radius: 24px; mix-blend-mode: multiply; }
.profile-page .profile-editorial__intro > p:not(.profile-kicker) { font-size: 16px; }
.profile-page .profile-editorial__text { padding-top: 8px; }
.profile-page .profile-editorial__text h3 { font-size: 21px; font-weight: 800; }
.profile-page .profile-editorial__text h3:not(:first-child) { padding-top: 22px; border-top: 1px solid #f0e3e7; }
.profile-page .support-section { position: relative; padding: 64px 0; }
.profile-page .section-head { max-width: 820px; margin-bottom: 26px; }
/* Masque aussi les anciennes illustrations dans les onglets déjà ouverts. */
.profile-page .profile-title-illustration,
.profile-page .profile-rays { display: none !important; }
.profile-page .section-head h2,
.profile-page .profile-editorial__intro h2 { font-size: clamp(28px, 2.7vw, 36px); }
.profile-page .section-head p { font-size: 15px; line-height: 1.6; font-weight: 450; }
.profile-page .section-head .profile-kicker { color: var(--ml-muted); font-size: 11px; font-weight: 750; margin-bottom: 12px; }
.profile-page .why-grid { gap: 18px; }
.profile-page .why-card { padding: 22px 24px; border: 1px solid #f5dce4; border-radius: 18px; background: linear-gradient(145deg, #fff, #fff8fa); box-shadow: 0 6px 22px #12203305; }
.profile-page .why-card:hover { box-shadow: 0 8px 24px #12203308; }
.profile-page .why-card__icon { width: 52px; height: 52px; background: #ffeaf0; border-radius: 50%; margin-bottom: 16px; }
.profile-page .why-card__icon .ml-icon { width: 28px; height: 28px; stroke-width: 1.7; }
.profile-page .why-card h3 { font-weight: 800; font-size: 18px; }
.profile-page .why-card p { font-size: 14px; font-weight: 450; line-height: 1.65; }
.profile-page #classes { background: #fff; margin-top: 0; padding-block: 64px; }
.profile-page .class-grid { gap: 16px; }
.profile-page .class-card { padding: 22px; min-height: 240px; border: 1px solid #f0dce3; border-radius: 16px; box-shadow: 0 4px 14px #12203305; gap: 10px; }
.profile-page .profile-class-grid .class-card--seconde { --profile-class-bg: #f2f7ff; --profile-class-tint: #dceaff; --profile-class-line: #dce9fc; --profile-class-accent: #075de0; }
.profile-page .profile-class-grid .class-card--generale { --profile-class-bg: #f2faf5; --profile-class-tint: #d6f0e0; --profile-class-line: #deefe4; --profile-class-accent: #07653f; }
.profile-page .profile-class-grid .class-card--stmg { --profile-class-bg: #fffbec; --profile-class-tint: #ffe9a9; --profile-class-line: #f8edcc; --profile-class-accent: #996300; --class-rays-color: var(--ml-red); }
.profile-page .class-card__icon { position: relative; display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; margin-bottom: 2px; border-radius: 50%; background: var(--profile-class-tint); color: var(--profile-class-accent); }
.profile-page .class-card__icon > .ml-icon { width: 30px; height: 30px; stroke-width: 2; }
.profile-page .class-card__rays { position: absolute; top: -4px; right: -24px; width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; color: var(--class-rays-color, var(--profile-class-accent)); transform: rotate(45deg); }
.profile-page .class-card__type { background: #fff0f4; color: #ad2039; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.profile-page .class-card__name { font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.profile-page .class-card__btn { margin-top: auto; padding-top: 6px; border-top: 0; justify-content: space-between; font-size: 13px; font-weight: 650; }
.profile-page .class-card:hover { border-color: #df8197; box-shadow: 0 8px 20px #12203306; }
.profile-page .profile-faq { padding-block: 64px; }
.profile-page .profile-faq__inner { max-width: 1200px; }
.profile-page .profile-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; margin-inline: auto; gap: 32px; }
.profile-page .profile-faq .section-head { margin-inline: auto; }
.profile-page .profile-faq__item { background: #fff8fa; border-color: #f5dce4; border-radius: 14px; }
.profile-page .profile-faq__item summary { padding: 12px 16px; gap: 12px; font-size: 16px; font-weight: 800; min-height: 50px; }
.profile-page .profile-faq__item[open] { border-color: #e7b3c1; background: #fff; }
.profile-page .cta-final-section { padding: 64px 0; overflow: hidden; }
.profile-page .cta-final-card { display: flex; align-items: center; position: relative; isolation: isolate; gap: 26px; padding: 36px 48px; border: 0; background: #ef1035; border-radius: 32px; box-shadow: none; text-align: left; }
.profile-page .profile-final-copy { flex: 1; }
.profile-page .cta-final-card h2 { color: #fff; font-size: 23px; line-height: 1.2; }
.profile-page .profile-final-copy p { color: #fff; font-size: 15px; line-height: 1.65; margin: 14px 0 0; max-width: 690px; }
.profile-page .cta-final-card .mock-btn { border-radius: 999px; flex-shrink: 0; color: #171d25; background: #fff; border-color: #fff; }
.profile-page .cta-final-card .mock-btn:hover { background: #fff0f4; }
.profile-page main a:focus-visible { outline: 3px solid #a31e3d; outline-offset: 4px; }
.profile-page .cta-final-card a:focus-visible { outline-color: #fff; }
@keyframes profile-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* Finitions communes aux profils. */
.profile-page .profile-benefits { background: linear-gradient(110deg, #fff5f7, #fff9fa); }
.profile-page .profile-benefits .section-head { max-width: 100%; }
.profile-page .profile-benefits .section-head > p:not(.profile-kicker) { max-width: none; }
.profile-page .profile-editorial__icon { position: absolute; right: 30px; top: 28px; width: 32px; height: 32px; color: var(--ml-red); transform: rotate(12deg); }
.profile-page .profile-editorial__intro .profile-kicker { padding-right: 26px; font-size: 11px; }
.profile-page .profile-editorial__text p { line-height: 1.55; font-size: 15px; }
.profile-page .profile-editorial__text h3 { margin-bottom: 12px; }
.profile-page .profile-editorial__text .profile-source { font-size: 12px; }
.profile-page .hand-note--hero { display: block; padding-right: 46px; }
.profile-page .hand-note--hero > .ml-icon { position: absolute; right: 15px; top: 12px; width: 24px; height: 24px; color: var(--ml-red); }
.profile-page .class-card { background: linear-gradient(145deg, #fff, #fffbfc); }
.profile-page .class-card__btn::after { content: '➜'; font-size: 18px; }
.profile-page .profile-faq__inner { position: relative; }
.profile-page .profile-faq .section-head { max-width: 100%; }
.profile-page .profile-faq__column { display: grid; gap: 10px; min-width: 0; }
.profile-page .profile-faq__item summary > span { flex-basis: 26px; width: 26px; height: 26px; }
.profile-page .cta-final-section > .mock-container { width: min(calc(100% - 48px), 1340px); }
.profile-page .profile-final-icon { flex: 0 0 88px; height: 88px; display: grid; place-items: center; background: #fff; border-radius: 50%; color: var(--ml-red); }
.profile-page .profile-final-icon .ml-icon { width: 40px; height: 40px; }
.profile-page .cta-final-card h2 span { color: inherit; }
@media (max-width: 1100px) {
  .profile-page .hero-grid { gap: 22px; }
  .profile-page .profile-editorial__grid { gap: 30px; }
  .profile-page .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-page .class-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .profile-page .class-card { grid-column: span 2; }
  .profile-page .class-card:nth-child(n+4) { grid-column: span 3; }
  .profile-page .cta-final-card { gap: 24px; padding: 30px; }
}
@media (max-width: 900px) {
  .profile-page .hero-grid { grid-template-columns: 1fr; }
  .profile-page .hero-copy { max-width: 650px; }
  .profile-page .hero-copy h1 { font-size: clamp(34px, 5.6vw, 46px); }
  .profile-page .hero-media { width: min(100%, 500px); justify-self: center; }
  .profile-page .profile-editorial__grid { grid-template-columns: 1fr; }
  .profile-page .profile-editorial__aside { position: static; }
  .profile-page .cta-final-card { display: block; }
  .profile-page .cta-final-card .mock-btn { margin-top: 24px; }
}
@media (max-width: 760px) {
  .profile-page .hero-section { padding: 26px 0 8px; }
  .profile-page .hero-grid { gap: 10px; }
  .profile-page .hero-copy h1 { font-size: 34px; }
  .profile-page .hero-lead { font-size: 15px; }
  .profile-page .profile-hero-kicker { font-size: 10px; letter-spacing: .09em; }
  .profile-page .hero-media { max-width: 400px; }
  .profile-page .proof-section { padding-block: 48px; }
  .profile-page .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-page .proof-strip article { padding: 18px 12px; }
  .profile-page .proof-strip article:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .profile-page .proof-strip article:nth-child(2n) { border-right: 0; }
  .profile-page .profile-editorial { padding: 48px 0; }
  .profile-page .profile-editorial__intro { padding: 24px; }
  .profile-page .support-section, .profile-page #classes { padding-block: 48px; }
  .profile-page .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .profile-page .why-card { padding: 22px; }
  .profile-page .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .profile-page .class-card, .profile-page .class-card:nth-child(n+4) { grid-column: auto; }
  .profile-page .class-card { padding: 18px 16px; min-height: 230px; }
  .profile-page .class-card--seconde { grid-column: 1 / -1; display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "icon type" "icon name" "icon link"; gap: 4px 24px; min-height: 0; }
  .profile-page .class-card--seconde .class-card__icon { grid-area: icon; align-self: center; margin: 0; }
  .profile-page .class-card--seconde .class-card__type { grid-area: type; justify-self: start; }
  .profile-page .class-card--seconde .class-card__name { grid-area: name; }
  .profile-page .class-card--seconde .class-card__name br { display: none; }
  .profile-page .class-card--seconde .class-card__btn { grid-area: link; margin-top: 2px; padding-top: 0; }
  .profile-page .class-card__name { font-size: 19px; }
  .profile-page .profile-faq { padding-block: 48px; }
  .profile-page .cta-final-card { padding: 28px 24px; }
  .profile-page .cta-final-card h2 { font-size: 25px; }
  .profile-page .cta-final-section { padding-block: 48px; }
}
@media (max-width: 370px) {
  .profile-page .mock-header__inner, .profile-page .mock-actions { gap: 8px; }
  .profile-page .mock-header .mock-actions .mock-btn--red { padding-inline: 10px; font-size: 13px; gap: 6px; }
  .profile-page .mock-logo img { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-page .hero-copy, .profile-page .hero-media { animation: none; }
  .profile-page main *, .profile-page main *::after { transition: none; }
}

@media (max-width: 900px) {
  .profile-page .profile-final-icon { width: 64px; height: 64px; margin-bottom: 20px; }
}
@media (max-width: 760px) {
  .profile-page .profile-faq__list { grid-template-columns: 1fr; gap: 10px; }
  .profile-page .profile-faq__item summary { font-size: 16px; min-height: 54px; }
  .profile-page .cta-final-section > .mock-container { width: 90%; }
  .profile-page .cta-final-card { border-radius: 32px; }
  .profile-page .hero-ctas .mock-btn { white-space: normal; }
}

.profile-page .profile-text-link { align-items: center; gap: 6px; }
.profile-faq__answer .profile-faq__source { margin-top: 16px; font-size: 12px; }
.profile-faq__source a { color: #9d1e36; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
