/* Un seul niveau de verre : navigation légère au-dessus du fond blanc. */
.site-header { position: sticky; top: 12px; z-index: 30; margin-top: 12px; padding-inline: var(--gutter); }
.nav-pill { width: min(var(--width), 100%); margin-inline: auto; display: flex; align-items: center; gap: 30px; min-height: 68px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 24px; background: rgb(255 255 255 / 92%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 4px 18px rgb(0 0 0 / 3%); }
.site-header.is-compact .nav-pill { max-width: var(--width); }
.brand { color: var(--text); font-size: 1.5rem; font-weight: 720; letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; margin-inline: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .86rem; font-weight: 450; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); text-decoration: underline; text-underline-offset: 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font-size: .88rem; font-weight: 550; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.button:hover { text-decoration: none; }
.button--primary { background: var(--button-bg); color: var(--button-text); }
.button--primary:hover { background: var(--button-hover); }
.button--secondary { background: var(--bg); border-color: var(--line); color: var(--text); }
.button--secondary:hover { border-color: var(--text); }
.button--tertiary { padding-inline: 0; color: var(--link); text-decoration: underline; text-align: left; }
.button--small { min-height: 44px; padding: 10px 17px; font-size: .8rem; }
.button:disabled { opacity: .6; cursor: wait; }
.menu-toggle { display: none; padding: 10px; min-width: 44px; }
.mobile-menu { color: var(--text); background: var(--bg); }
.mobile-menu::backdrop { background: rgb(0 0 0 / 25%); }
.menu-close { display: flex; margin-left: auto; }
.mobile-menu nav { display: grid; padding-block: 22px; }
.mobile-menu nav a { display: block; padding: 19px 8px; border-bottom: 1px solid var(--line); font-size: 1.55rem; font-weight: 500; color: var(--text); text-decoration: none; }
/* Accueil éditorial. La photo et le projet réel portent l'identité visuelle. */
.editorial-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.editorial-intro { padding-bottom: 0; max-width: 650px; }
.editorial-intro > .eyebrow { color: var(--accent); margin-bottom: 26px; }
.editorial-intro h1 { font-family: var(--font-display); font-size: clamp(3rem, 4.65vw, 4.25rem); font-weight: 700; letter-spacing: -.052em; line-height: 1.08; margin-bottom: 28px; }
.editorial-intro h1 em { font-weight: inherit; color: var(--accent); font-style: normal; }
.editorial-intro > p:not(.eyebrow) { max-width: 510px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.editorial-intro .actions { margin-top: 31px; }
.editorial-intro .actions .button { white-space: nowrap; }
.editorial-photo { align-self: center; position: relative; margin: 0; min-width: 0; background: transparent; }
.editorial-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border-radius: 24px; }
.editorial-photo figcaption { margin-top: 18px; font-size: .78rem; color: var(--muted); }
.tool-stack { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; padding-block: 30px; color: var(--muted); }
.tool-stack > p { margin: 0 18px 0 0; font-size: .82rem; }
.tool-stack > div, .tool-stack ul { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin: 0; padding: 0; list-style: none; }
.tool-stack span, .tool-stack a, .tool-stack li { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: .8rem; text-decoration: none; }
.tool-stack img { width: 25px; height: 25px; object-fit: contain; }
.work-list, .offer-list { display: grid; border-top: 1px solid var(--line); }
.work-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: start; gap: 35px; padding-block: 35px; border-bottom: 1px solid var(--line); }
.work-row > span, .work-row > .eyebrow { font-size: .83rem; color: var(--muted); margin: 5px 0 0; }
.work-row h3 { margin-bottom: 10px; font-size: 1.6rem; }
.work-row p { color: var(--muted); max-width: 650px; margin-bottom: 0; font-size: .97rem; }
.work-row > a { align-self: center; }
.project-feature { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 66px; padding-block: 0; }
.project-feature h2 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.035em; font-size: clamp(2.1rem, 3.3vw, 3.2rem); }
.project-feature p { color: var(--muted); }
.project-feature figure { min-width: 0; }
.project-feature img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 20px; }
.project-feature figcaption { margin-top: 13px; color: var(--muted); font-size: .77rem; }
.offer-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.offer-row h3 { font-size: 1.45rem; margin: 0 0 10px; }
.offer-row p { color: var(--muted); font-size: .94rem; margin: 0; }
.offer-row .badge { margin-top: 12px; }
.editorial-newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding: 48px; margin-block: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-soft); }
.editorial-newsletter h2 { max-width: 730px; font-family: var(--font-display); font-weight: 650; font-size: clamp(2rem, 3.5vw, 3.4rem); letter-spacing: -.035em; }
.editorial-newsletter > p { max-width: 650px; color: var(--muted); }
.editorial-newsletter .signup-form { margin-top: 0; }
.editorial-newsletter > div > p { color: var(--muted); max-width: 520px; }
.editorial-newsletter h2 { font-size: clamp(2rem, 2.7vw, 2.6rem); }
/* Anciennes pages réinterprétées sans vernis décoratif. */
.hero { display: grid; gap: 48px; align-items: center; padding-block: 70px; }
.hero-copy { max-width: 660px; }
.hero-copy .badge { margin-bottom: 25px; }
.hero-visual { position: relative; max-width: 440px; margin-inline: auto; }
.portrait-placeholder { position: relative; width: 100%; border: 0; border-radius: 24px; background: transparent; overflow: hidden; }
.portrait-placeholder img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.portrait-placeholder::before, .portrait-placeholder::after { content: none; }
.portrait-caption { border: 0; border-radius: 0; padding: 20px 0 0; background: transparent; font-size: .83rem; }
.portrait-caption strong { display: block; font-size: 1rem; }
.tool-pill { display: inline-flex; align-items: center; gap: 8px; margin: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: .8rem; }
.tool-pill img { width: 22px; height: 22px; object-fit: contain; }
.badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: .75rem; font-weight: 450; line-height: 1.5; }
.badge .icon { width: 16px; height: 16px; }
.proof-strip { display: flex; align-items: flex-start; gap: 32px; padding-block: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.proof-strip > * { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.proof-strip .icon { width: 18px; height: 18px; }
.card { padding: 27px 0; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .badge { margin-bottom: 20px; }
.card-icon { display: none; }
.card > a:last-child { margin-top: auto; }
.card > .button:last-child { margin-top: 12px; }
a.card { color: inherit; text-decoration: none; }
.card > ul { margin-top: 0; }
.bento { display: grid; gap: 32px; grid-template-columns: 1fr; }
.case-study { display: grid; gap: 40px; align-items: center; padding: 40px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.visual-placeholder { margin: 0; background: var(--surface-soft); padding: 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.visual-placeholder img { width: 100%; border-radius: 5px; }
.visual-placeholder figcaption { padding: 12px; font-size: .75rem; }
.visual-placeholder .icon { margin: 30px auto; width: 46px; height: 46px; }
.numbered { counter-reset: step; list-style: none; padding: 0; }
.numbered > li { position: relative; counter-increment: step; padding: 28px 0 28px 55px; border-top: 1px solid var(--line); }
.numbered > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 27px; color: var(--muted); font-size: .85rem; }
.numbered li p { color: var(--muted); margin-bottom: 0; }
.numbered li ul { margin-block: 14px 0; }
/* Formulaires et états */
.signup-form { width: 100%; max-width: 720px; }
.signup-form > label:not(.consent) { display: block; margin-block: 20px 10px; font-weight: 500; font-size: .9rem; }
input:not([type='checkbox']):not([type='radio']), select, textarea { width: 100%; min-height: 50px; padding: 13px 17px; background: var(--input); border: 1px solid var(--input-outline); border-radius: 8px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { display: block; resize: vertical; }
.email-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.email-pill input { flex: 1 1 200px; min-width: 0; width: auto; }
.email-pill .button { flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-grid label { display: grid; gap: 8px; font-size: .9rem; font-weight: 500; }
.consent { display: block; font-size: .76rem; color: var(--muted); margin-top: 15px; line-height: 1.75; min-height: 44px; padding-block: 8px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 0 7px 0 0; vertical-align: middle; accent-color: var(--accent); }
.form-note { font-size: .75rem; margin-top: 10px; color: var(--muted); }
.form-status { font-size: .88rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status[data-state='error'], .form-status.is-error, .field-error { color: var(--error); }
.form-status[data-state='success'], .form-status.is-success { color: var(--success); }
.field-error { display: block; margin: 6px 0 0; font-size: .8rem; line-height: 1.5; }
.email-pill > .field-error { order: 3; flex-basis: 100%; width: 100%; margin: 0; padding: 4px 0 8px; }
.signup-block { padding: 45px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.signup-block > .lead { max-width: 690px; }
.signup-block > .muted { font-size: .9rem; }
/* Articles, FAQ et ressources */
.faq { display: grid; max-width: 860px; }
.faq details { padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.faq summary { position: relative; padding: 24px 35px 24px 0; list-style: none; font-weight: 500; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 5px; top: 17px; color: var(--muted); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { padding-bottom: 12px; }
.faq details p { color: var(--muted); margin-bottom: 25px; max-width: 730px; font-size: .95rem; }
.article-layout { display: grid; gap: 40px; align-items: start; padding-bottom: var(--space-section); }
.article-body { min-width: 0; max-width: 760px; }
.article-body > h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 1.35em; }
.article-body h2, .article-body h3 { scroll-margin-top: 110px; }
.toc { padding: 0 0 0 25px; border: 0; border-left: 1px solid var(--line); border-radius: 0; font-size: .85rem; }
.toc ol, .toc ul { padding-left: 1.15rem; }
.toc a { display: inline-block; padding-block: 6px; }
.toc strong { display: block; margin-bottom: 12px; }
.callout { padding: 22px 25px; margin-block: 30px; background: var(--surface-soft); border: 0; border-left: 2px solid var(--accent); border-radius: 0; }
.callout p:last-child { margin-bottom: 0; }
.prompt-text { white-space: pre-wrap; font-family: var(--font); color: var(--text); font-size: .9rem; line-height: 1.7; padding: 22px; border-radius: 8px; background: var(--surface-soft); border: 1px solid var(--line); width: 100%; overflow-wrap: anywhere; }
.filters, .filter-bar, .filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 22px 30px; }
[data-category-filter], [data-resource-filter] { min-height: 44px; padding: 10px 18px; border-radius: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line); font-size: .85rem; }
[data-category-filter][aria-pressed='true'], [data-resource-filter][aria-pressed='true'], [data-category-filter].active, [data-resource-filter].active { background: var(--button-bg); color: var(--button-text); border-color: transparent; }
#prompt-search { max-width: 660px; }
#prompt-count { margin-block: 16px; font-size: .85rem; color: var(--muted); }
#prompt-empty { padding-block: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 9px; font-size: .9rem; font-weight: 500; text-decoration: underline; }
.text-link .icon { width: 18px; height: 18px; }
.hero-copy .hero-note { margin: 24px 0 0; font-size: .8rem; color: var(--muted); }
.case-steps { padding-left: 20px; margin-block: 25px; border-left: 1px solid var(--line); }
.case-steps p { font-size: .9rem; color: var(--muted); }
.case-steps strong { color: var(--text); }
/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding-block: 50px 25px; }
.footer-top { display: grid; gap: 35px; grid-template-columns: 1fr; }
.footer-top p { margin: 16px 0 0; color: var(--muted); font-size: .86rem; }
.footer-top nav { display: grid; align-content: start; }
.footer-top nav a { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; color: var(--muted); font-size: .85rem; text-decoration: none; }
.footer-top nav a:hover { color: var(--text); text-decoration: underline; }
.theme-control { width: 170px; }
.theme-control label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 9px; }
.theme-control select { font-size: .8rem; min-height: 44px; padding: 10px 12px; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 25px; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 20px; font-size: .73rem; color: var(--muted); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer-bottom > :last-child { margin-left: auto; }
/* Adaptations */
@media (min-width: 680px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.15fr 1fr; }
  .case-study { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 760px) minmax(200px, 1fr); gap: 60px; }
  .toc { position: sticky; top: 115px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 1023px) {
  .editorial-hero { gap: 28px; padding-top: 50px; }
  .editorial-intro { padding-bottom: 0; }
  .editorial-intro h1 { font-size: 3.1rem; }
  .editorial-intro .actions .button { white-space: normal; }
  .editorial-photo img { height: auto; aspect-ratio: 3 / 2; }
  .work-row { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .work-row > a { grid-column: 2; justify-self: start; }
  .offer-row { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; }
  .offer-row > a { grid-column: 2; justify-self: start; }
  .project-feature { gap: 35px; grid-template-columns: 1fr 1.15fr; }
  .nav-links { gap: 18px; }
  .nav-pill { gap: 18px; }
}
@media (max-width: 899px) {
  .nav-pill { flex-wrap: wrap; justify-content: space-between; min-height: 68px; }
  .nav-links { order: 3; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .nav-links a { justify-content: center; }
  .nav-cta { margin-left: auto; }
  .has-mobile-menu .nav-links { display: none; }
  .has-mobile-menu .menu-toggle:not([hidden]) { display: inline-flex; }
  .mobile-menu[open] { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); }
  .mobile-menu nav { padding-top: clamp(28px, 8vh, 80px); }
  .proof-strip { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .editorial-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 42px; padding-bottom: 36px; }
  .editorial-intro { padding-bottom: 0; }
  .editorial-intro h1 { max-width: 620px; font-size: clamp(2.85rem, 7.7vw, 4.2rem); }
  .editorial-intro > p:not(.eyebrow) { font-size: 1.05rem; max-width: 550px; }
  .editorial-photo { width: 100%; justify-self: center; }
  .editorial-photo img { height: auto; }
  .tool-stack { gap: 20px; }
  .tool-stack > p { flex-basis: 100%; }
  .project-feature { grid-template-columns: 1fr; gap: 30px; }
  .project-feature > div { max-width: 620px; }
  .work-row { grid-template-columns: 1fr; gap: 14px; }
  .work-row > a { grid-column: auto; }
  .offer-row { grid-template-columns: 1fr; gap: 14px; }
  .offer-row > a { grid-column: auto; }
  .work-row h3 { font-size: 1.45rem; }
  .editorial-newsletter { grid-template-columns: 1fr; gap: 22px; padding: 30px; margin-bottom: 0; }
}
@media (max-width: 599px) {
  .site-header { padding-inline: 14px; top: 8px; margin-top: 8px; }
  .nav-pill { gap: 10px; padding: 10px 12px; border-radius: 22px; }
  .brand { font-size: 1.35rem; }
  .nav-cta { min-height: 44px; padding: 10px 12px; font-size: .72rem; }
  .nav-cta .icon { display: none; }
  .editorial-intro > .eyebrow { margin-bottom: 21px; }
  .editorial-intro h1 { font-size: clamp(2.4rem, 9vw, 3.7rem); }
  .editorial-intro .actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .editorial-photo img { height: auto; }
  .tool-stack { column-gap: 23px; }
  .tool-stack > div, .tool-stack ul { gap: 22px; }
  .hero { padding-block: 45px; gap: 25px; }
  .hero .actions { align-items: stretch; flex-direction: column; }
  .hero .actions .button { width: 100%; }
  .grid { gap: 20px; }
  .email-pill { flex-direction: column; align-items: stretch; }
  .email-pill input { flex-basis: auto; width: 100%; }
  .email-pill .button { width: 100%; }
  .section-heading { margin-bottom: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-bottom > :last-child { margin-left: 0; }
}
@media (prefers-contrast: more) {
  .card p, .faq details p, .case-steps p, .form-note, .consent, .footer-top p, .footer-top nav a, .footer-bottom, .footer-bottom a, .nav-links a { color: var(--text); }
  .button--secondary, input:not([type='checkbox']):not([type='radio']), select, textarea { border-color: var(--text); }
}
@media print {
  .site-header, .site-footer, .signup-form, .actions, .filters { display: none; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .container { width: 100%; }
  .section, .page-hero { padding-block: 20px; }
  .article-layout { display: block; }
  a { color: #000; }
}

/* Vue de projet réelle : seule la barre Safari est exclue du cadre. */
.browser-crop { aspect-ratio: 2672 / 1568; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-soft); }
.project-feature .browser-crop img { display: block; width: 100%; max-width: none; height: auto; margin-top: -6.74%; border: 0; border-radius: 0; }
.project-feature--text { align-items: start; padding-block: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-row > .muted { font-size: .83rem; align-self: start; margin-top: 3px; }
.tool-stack img.tool-logo--dark { display: none; }
:root[data-theme='dark'] .tool-stack img.tool-logo--light { display: none; }
:root[data-theme='dark'] .tool-stack img.tool-logo--dark { display: block; }

:root[data-theme='dark'] .nav-pill { background: rgb(25 25 29 / 94%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav-pill { background: var(--bg); } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { .nav-pill { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 599px) { .editorial-newsletter { padding: 25px 22px; } }
/* Accueil studio : priorité au travail réel, présence humaine secondaire. */
.studio-hero { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(30px, 4vw, 58px); padding-block: 74px 62px; }
.studio-hero-copy { min-width: 0; max-width: 620px; }
.studio-hero .eyebrow { margin-bottom: 23px; font-size: .8rem; color: var(--muted); }
.studio-hero h1 { font-family: var(--font); font-size: clamp(3rem, 4.5vw, 4.15rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.075; margin-bottom: 26px; }
.studio-hero h1 em { font-style: normal; color: var(--accent); }
.studio-hero .lead { font-size: 1.09rem; line-height: 1.7; max-width: 520px; }
.studio-hero .actions { gap: 12px 22px; margin-top: 30px; }
.hero-project { margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-frost); box-shadow: var(--surface-shadow), inset 0 1px 0 var(--surface-reflection); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero-project > img, .hero-project > a > img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 16px; }
.hero-project figcaption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 7px 5px; font-size: .79rem; line-height: 1.55; color: var(--muted); }
.hero-project figcaption strong { display: block; color: var(--text); font-size: .92rem; font-weight: 600; }
.hero-project figcaption a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
.hero-project .browser-crop { border-radius: 16px; }
.hero-project .browser-crop img, .project-gallery .browser-crop img { display: block; width: 100%; max-width: none; height: auto; margin-top: -6.74%; border: 0; border-radius: 0; }
.hero-person { display: flex; align-items: center; gap: 16px; margin-top: 35px; max-width: 450px; }
.hero-person > img, .hero-person > a > img { width: 74px; height: 92px; flex-shrink: 0; border-radius: 15px; object-fit: cover; object-position: center 25%; border: 1px solid var(--line); }
.hero-person > div { min-width: 0; }
.hero-person strong { display: block; font-size: .88rem; line-height: 1.5; font-weight: 600; }
.hero-person p { margin: 4px 0 0; font-size: .79rem; line-height: 1.55; color: var(--muted); }
.hero-person a { font-size: .79rem; }
.hero-person .text-link { min-height: 36px; padding-block: 6px; }
/* Chaque service décrit ce qui est livré ; les séparateurs portent la grille. */
.studio-services { display: grid; border-top: 1px solid var(--line); }
.service-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: start; padding-block: 38px; border-bottom: 1px solid var(--line); }
.service-feature h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 12px; }
.service-feature p { color: var(--muted); font-size: .98rem; max-width: 550px; }
.service-feature .eyebrow { margin-bottom: 12px; font-size: .78rem; }
.service-feature .text-link { margin-top: 2px; }
.service-deliverables { margin: 2px 0 0; padding: 0 0 0 20px; list-style: disc; display: grid; gap: 15px; }
.service-deliverables > li { position: relative; padding-left: 4px; margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.55; }
.service-deliverables > li::marker { color: var(--accent); }
.service-deliverables strong { color: var(--text); font-weight: 550; }
/* Dossiers de projets : capture lisible, légende et description à bonne échelle. */
.project-story { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.project-story + .project-story { margin-top: 80px; padding-top: 70px; border-top: 1px solid var(--line); }
.project-story h3 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); line-height: 1.2; letter-spacing: -.035em; }
.project-story p { color: var(--muted); font-size: .95rem; }
.project-chapter { display: block; margin: 0 0 18px; color: var(--muted); font-size: .79rem; font-weight: 500; }
.project-chapter strong { color: var(--text); }
.project-gallery { min-width: 0; display: grid; gap: 20px; }
.project-gallery figure { min-width: 0; margin: 0; }
.project-gallery img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.project-gallery figcaption { padding: 12px 2px 0; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.project-gallery .browser-crop { border-radius: 18px; }
.project-story .text-link { margin-top: 5px; }
/* Méthode compacte, avec repères de lecture et sans cartes répétées. */
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-block: 15px 8px; counter-reset: method; }
.method-step { min-width: 0; counter-increment: method; border-top: 2px solid var(--line); padding-top: 23px; }
.method-step::before { content: counter(method, decimal-leading-zero); display: block; margin-bottom: 21px; color: var(--accent); font-size: .8rem; font-weight: 550; }
.method-step h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.method-step p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 0; }
.method-step > .eyebrow { display: none; }
/* Deux parcours seulement, regroupés dans des surfaces légèrement satinées. */
.entry-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.entry-paths > article, .entry-paths > div { position: relative; padding: clamp(26px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface-frost); box-shadow: inset 0 1px 0 var(--surface-reflection); }
.entry-paths h3 { max-width: 410px; font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.entry-paths p { max-width: 450px; color: var(--muted); font-size: .96rem; }
.entry-paths ul { color: var(--muted); font-size: .9rem; padding-left: 20px; margin-bottom: 25px; }
.entry-paths .eyebrow { font-size: .78rem; margin-bottom: 17px; }
.entry-paths .button { margin-top: 5px; }
/* Ressources réellement téléchargeables, regroupées et identifiables. */
.resource-download { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 20px; padding: 27px 30px; }
.resource-download + .resource-download { margin-top: 15px; }
.resource-download h3 { font-size: 1.2rem; margin-bottom: 8px; }
.resource-download p { color: var(--muted); font-size: .9rem; margin: 0; max-width: 700px; }
.resource-download .badge { display: block; margin-bottom: 10px; }
.resource-download > a { white-space: nowrap; }
.home-faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; }
.home-faq > .section-heading { margin-bottom: 0; }
.home-faq .faq { max-width: none; }
/* Portrait original de la page À propos, sans pose ou décor généré. */
.portrait-placeholder { width: min(100%, 400px); }
.portrait-placeholder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: 24px; }
@media (max-width: 1100px) {
  .studio-hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .studio-hero h1 { font-size: 3.15rem; }
  .service-feature { gap: 45px; }
  .project-story { grid-template-columns: .85fr 1.15fr; gap: 36px; }
  .home-faq { gap: 40px; }
}
@media (max-width: 979px) {
  .studio-hero { grid-template-columns: 1fr; padding-block: 52px 46px; gap: 42px; }
  .studio-hero-copy { max-width: 720px; }
  .studio-hero h1 { max-width: 700px; font-size: clamp(3rem, 6vw, 3.8rem); }
  .studio-hero .lead { max-width: 600px; }
  .hero-project { width: 100%; }
  .hero-project figcaption { padding: 16px 7px 3px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .project-story { grid-template-columns: 1fr; gap: 28px; }
  .project-story > div:first-child { max-width: 700px; }
  .project-story + .project-story { margin-top: 60px; padding-top: 55px; }
  .home-faq { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 679px) {
  .studio-hero { padding-top: 37px; gap: 32px; }
  .studio-hero h1 { font-size: clamp(2.5rem, 9.5vw, 3.4rem); letter-spacing: -.05em; }
  .studio-hero .lead { font-size: 1rem; }
  .studio-hero .actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-project { padding: 10px; border-radius: 21px; }
  .hero-project .browser-crop, .hero-project > img { border-radius: 12px; }
  .hero-project figcaption { align-items: flex-start; flex-direction: column; gap: 2px; padding: 12px 5px 2px; }
  .hero-person { gap: 13px; margin-top: 25px; }
  .hero-person > img, .hero-person > a > img { width: 64px; height: 80px; border-radius: 12px; }
  .service-feature { grid-template-columns: 1fr; gap: 20px; padding-block: 30px; }
  .service-feature h3 { font-size: 1.5rem; }
  .service-feature p { font-size: .95rem; }
  .service-deliverables { gap: 13px; }
  .entry-paths { grid-template-columns: 1fr; gap: 18px; }
  .entry-paths > article, .entry-paths > div { padding: 26px; }
  .resource-download { grid-template-columns: 1fr; gap: 18px; padding: 25px; }
  .resource-download > a { justify-self: start; white-space: normal; }
  .method-grid { grid-template-columns: 1fr; gap: 0; }
  .method-step { display: grid; grid-template-columns: 37px 1fr; gap: 0 15px; padding-block: 24px; border-top-width: 1px; }
  .method-step::before { grid-column: 1; grid-row: 1 / 3; margin: 3px 0 0; }
  .method-step h3, .method-step p { grid-column: 2; }
  .project-gallery img, .project-gallery .browser-crop { border-radius: 13px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hero-project, .entry-paths > article, .entry-paths > div { background: var(--surface-solid); } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .hero-project, .entry-paths > article, .entry-paths > div { background: var(--surface-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .hero-project, .entry-paths > article, .entry-paths > div, .resource-download { border-color: var(--text); }
  .hero-person p, .service-deliverables > li, .project-story p, .method-step p, .resource-download p { color: var(--text); }
}
/* Brief guidé : mêmes contrôles disponibles sans JavaScript. */
input[type='radio'], input[type='checkbox'] { accent-color: var(--button-bg); }
input[type='radio'] { appearance: auto; width: 19px; height: 19px; min-height: 0; flex: 0 0 19px; padding: 0; margin: 0; border: 0; border-radius: 50%; }
[data-brief].signup-form { max-width: 880px; }
[data-brief] > [data-brief-progress] { color: var(--muted); margin-bottom: 16px; font-size: .82rem; font-weight: 500; }
[data-brief-download] { margin-bottom: 3px; font-size: .8rem; min-height: 44px; padding: 10px 16px; }
[data-brief-download] + .form-note { max-width: 620px; margin-bottom: 24px; }
[data-brief] > .form-note:empty { display: none; }
[data-brief-step] { min-width: 0; margin: 28px 0 0; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-frost); box-shadow: inset 0 1px 0 var(--surface-reflection); }
[data-brief-step] > legend { padding: 0 8px; font-size: clamp(1.12rem, 2vw, 1.4rem); font-weight: 600; color: var(--text); letter-spacing: -.02em; }
[data-brief-step] > label, .brief-fields > label { display: grid; gap: 9px; margin-block: 21px; font-size: .92rem; font-weight: 500; }
[data-brief-step] > label.consent { display: block; font-size: .76rem; font-weight: 400; }
[data-brief-step] > .button { margin-top: 12px; }
[data-brief-step] .grid--3, .brief-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 10px 28px; }
[data-brief-step] label.card, .brief-choices > label { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 11px; min-height: 86px; padding: 20px 17px; border: 1px solid var(--input-outline); border-radius: 15px; background: var(--surface-solid); color: var(--text); font-size: .88rem; font-weight: 500; cursor: pointer; }
[data-brief-step] label.card:has(input:checked), .brief-choices > label:has(input:checked) { border-color: var(--accent); outline: 1px solid var(--accent); outline-offset: 0; background: var(--surface-soft); }
[data-brief-step] label.card:focus-within, .brief-choices > label:focus-within { outline: 3px solid var(--link); outline-offset: 4px; }
[data-brief-step] fieldset { min-width: 0; margin: 25px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 15px; }
[data-brief-step] fieldset legend { padding-inline: 7px; font-weight: 500; font-size: .92rem; }
[data-brief-step] fieldset label { display: flex; align-items: center; gap: 11px; min-height: 44px; margin: 0; padding-block: 9px; cursor: pointer; font-size: .89rem; }
[data-brief-step] fieldset input[type='checkbox'] { width: 19px; height: 19px; flex-shrink: 0; margin: 0; }
[data-brief-summary] { margin: 8px 0 28px; padding: 24px; border-radius: 15px; border: 1px solid var(--line); background: var(--surface-soft); }
[data-brief-summary] h3 { font-size: 1.12rem; margin-bottom: 17px; }
[data-brief-summary] p { color: var(--muted); font-size: .88rem; margin-bottom: 12px; overflow-wrap: anywhere; }
[data-brief-summary] p strong { color: var(--text); font-weight: 550; }
[data-brief-summary] p:last-child { margin-bottom: 0; }
[data-brief] [aria-invalid='true'] { border-color: var(--error); }
[data-brief] .field-error { font-weight: 400; }
[data-brief] .actions { margin-top: 24px; }
.brief-fields { display: grid; gap: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Lecture des leçons et des prompts, sans colonnes trop étroites. */
.prose blockquote, .article-body blockquote { margin: 28px 0; padding: 22px 25px; border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--surface-soft); font-size: .98rem; }
.prose blockquote > :last-child, .article-body blockquote > :last-child { margin-bottom: 0; }
.prose .callout h2:first-child { margin-top: 0; }
.prose h2[id^='jour-'] { margin-top: 58px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.prompt-controls { margin-top: 30px; }
.prompt-controls > label { display: block; margin-bottom: 10px; font-size: .9rem; font-weight: 500; }
.prompt-card h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; }
.copy-status { color: var(--muted); font-size: .8rem; margin: 12px 0 0; }
.copy-status:empty { display: none; }
.case-study > figure { min-width: 0; margin: 0; }
.case-study > figure > img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 18px; }
.case-study figcaption { margin-top: 12px; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.case-study .browser-crop img { display: block; width: 100%; height: auto; margin-top: -6.74%; border: 0; border-radius: 0; }
.faq details[open] { padding-bottom: 5px; }
.faq summary:focus-visible { border-radius: 6px; }
@media (max-width: 767px) {
  [data-brief-step] { padding: 23px; }
  [data-brief-step] .grid--3, .brief-choices { grid-template-columns: 1fr; gap: 10px; }
  [data-brief-step] label.card, .brief-choices > label { min-height: 60px; padding: 16px; }
  [data-brief-step] > .actions { gap: 10px; }
  .brief-fields { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  [data-brief-step] { padding: 21px 17px; border-radius: 20px; }
  [data-brief-step] > legend { max-width: calc(100% - 10px); padding-inline: 5px; font-size: 1.1rem; }
  [data-brief-step] fieldset { padding: 15px; }
  [data-brief-summary] { padding: 18px; }
  [data-brief-step] .actions > .button { flex: 1 1 auto; }
  .prose blockquote, .article-body blockquote { padding: 20px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { [data-brief-step] { background: var(--surface-solid); } }
@media (prefers-contrast: more) { [data-brief-step], [data-brief-summary], [data-brief-step] fieldset { border-color: var(--text); } }
/* Accueil apprentissage : expertise et accompagnement avant les réalisations. */
.learning-hero { display: grid; grid-template-columns: 1.18fr .82fr; gap: 64px; align-items: center; padding-block: 66px 56px; }
.learning-hero > * { min-width: 0; }
.learning-hero-copy { max-width: 710px; }
.learning-hero-copy > .eyebrow, .learning-hero-copy > .badge { margin-bottom: 25px; font-size: .79rem; color: var(--muted); letter-spacing: .01em; }
.learning-hero h1 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.055em; line-height: 1.06; font-size: clamp(3rem, 4.5vw, 4.15rem); margin-bottom: 26px; }
.learning-hero h1 em { font-style: normal; color: var(--accent); }
.learning-hero-copy .lead { font-size: 1.08rem; line-height: 1.7; max-width: 590px; }
.learning-hero-copy .actions { margin-top: 29px; gap: 12px 16px; }
.learning-hero-copy .actions .button { padding-inline: 20px; }
.learning-hero-copy > p:last-child:not(.lead) { font-size: .82rem; line-height: 1.65; color: var(--muted); margin-top: 22px; }
.expert-portrait { width: min(100%, 385px); margin: 0 0 0 auto; align-self: center; background: transparent; }
.expert-portrait > img, .expert-portrait > picture > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 24px; border: 1px solid var(--line); }
.expert-portrait figcaption { margin-top: 16px; padding: 0 2px; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.expert-portrait figcaption strong { color: var(--text); display: block; font-size: .88rem; font-weight: 550; margin-bottom: 3px; }
.expert-portrait .tool-stack, .expert-tools, .portrait-tools { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 13px 20px; width: 100%; padding-block: 20px 0; }
.expert-portrait .tool-stack ul, .expert-tools ul, .portrait-tools ul { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; margin: 0; }
.expert-tools li, .portrait-tools li, .expert-tools > span, .portrait-tools > span { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: .73rem; }
.expert-portrait .tool-stack li { font-size: .72rem; gap: 7px; }
.expert-tools img, .portrait-tools img, .expert-portrait .tool-stack img { width: 21px; height: 21px; object-fit: contain; }
.expert-tools .tool-logo--dark, .portrait-tools .tool-logo--dark { display: none; }
:root[data-theme='dark'] .expert-tools .tool-logo--light, :root[data-theme='dark'] .portrait-tools .tool-logo--light { display: none; }
:root[data-theme='dark'] .expert-tools .tool-logo--dark, :root[data-theme='dark'] .portrait-tools .tool-logo--dark { display: block; }
.expertise-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; padding-block: 29px; border-block: 1px solid var(--line); color: var(--muted); }
.expertise-strip > p, .expertise-strip > div, .expertise-strip > span { margin: 0; font-size: .85rem; line-height: 1.65; }
.expertise-strip strong { display: block; font-weight: 550; color: var(--text); margin-bottom: 3px; }
.audience-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.audience-paths > article, .audience-paths > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(28px, 3vw, 42px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface-frost); box-shadow: inset 0 1px 0 var(--surface-reflection); }
.audience-paths .eyebrow { margin-bottom: 18px; font-size: .79rem; }
.audience-paths h3, .audience-paths h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.03em; line-height: 1.2; margin-bottom: 18px; }
.audience-paths p { max-width: 480px; color: var(--muted); font-size: .95rem; }
.audience-paths ul { padding-left: 20px; margin-block: 0 24px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.audience-paths li + li { margin-top: 10px; }
.audience-paths > article > a:last-child, .audience-paths > div > a:last-child { margin-top: auto; }
.learning-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 52px; }
.learning-services > article, .learning-services > div { padding: 28px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.learning-services h3 { font-size: 1.45rem; margin-bottom: 12px; }
.learning-services p { color: var(--muted); font-size: .95rem; max-width: 500px; }
.learning-services .eyebrow { margin-bottom: 15px; font-size: .79rem; }
.training-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.training-preview > article, .training-preview > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-block: 27px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.training-preview h3 { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.28; }
.training-preview .badge, .training-preview .eyebrow { margin-bottom: 19px; font-size: .76rem; }
.training-preview p, .training-preview ul { color: var(--muted); font-size: .92rem; }
.training-preview ul { padding-left: 20px; margin-bottom: 22px; }
.training-preview > article > a:last-child { margin-top: auto; }
[data-brief-step] label.card { flex-wrap: wrap; }
[data-brief-step] label.card .field-error { flex-basis: 100%; margin-top: 0; }
@media (max-width: 1100px) {
  .learning-hero { gap: 38px; grid-template-columns: 1.2fr .8fr; }
  .learning-hero h1 { font-size: 3.25rem; }
  .training-preview { gap: 22px; }
  .training-preview h3 { font-size: 1.28rem; }
}
@media (max-width: 979px) {
  .learning-hero { grid-template-columns: 1fr; padding-top: 52px; gap: 38px; }
  .learning-hero-copy { max-width: 730px; }
  .learning-hero h1 { font-size: clamp(3rem, 6vw, 3.8rem); max-width: 700px; }
  .expert-portrait { width: min(100%, 470px); margin-inline: auto; }
  .expert-portrait > img, .expert-portrait > picture > img { height: 375px; aspect-ratio: auto; object-fit: cover; object-position: center 25%; }
  .expert-portrait .tool-stack { justify-content: center; }
  .training-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learning-services { gap: 26px 32px; }
  .expertise-strip { gap: 22px; }
}
@media (max-width: 679px) {
  .learning-hero { padding-top: 37px; padding-bottom: 40px; gap: 31px; }
  .learning-hero h1 { font-size: clamp(2.55rem, 9vw, 3.35rem); line-height: 1.09; }
  .learning-hero-copy .lead { font-size: 1rem; }
  .learning-hero-copy .actions { align-items: stretch; flex-direction: column; gap: 11px; }
  .learning-hero-copy .actions .button { width: 100%; }
  .expert-portrait { width: min(100%, 355px); }
  .expert-portrait > img, .expert-portrait > picture > img { height: 340px; border-radius: 20px; }
  .expert-portrait .tool-stack, .expert-tools, .portrait-tools { gap: 12px 16px; }
  .expertise-strip { grid-template-columns: 1fr; gap: 18px; padding-block: 25px; }
  .audience-paths, .learning-services, .training-preview { grid-template-columns: 1fr; }
  .audience-paths { gap: 19px; }
  .audience-paths > article, .audience-paths > div { padding: 27px; }
  .training-preview h3 { font-size: 1.45rem; }
  .learning-services { gap: 23px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { .audience-paths > article, .audience-paths > div { background: var(--surface-solid); } }
@media (prefers-contrast: more) { .audience-paths > article, .audience-paths > div { border-color: var(--text); } }
/* Raccords avec l'accueil définitif. */
.expert-portrait > .portrait-tools { margin: 0; padding: 20px 0 0; list-style: none; }
.expert-portrait figcaption span { display: block; }
.expertise-strip > div > p { margin: 0; }
.audience-paths > article > .button { margin-top: auto; max-width: 100%; }
.audience-paths > article > .button + .text-link { margin-top: 10px; font-size: .84rem; }
.learning-hero-copy > p:not(.eyebrow):not(.lead):not(.form-note) { max-width: 590px; font-size: .97rem; color: var(--muted); line-height: 1.7; }
.work-row h2 { font-size: clamp(1.65rem, 2.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 17px; }
.training-preview + .form-note { margin-top: 25px; }
@media (max-width: 679px) {
  .audience-paths > article > .button + .text-link { margin-top: 9px; }
  .work-row h2 { font-size: 1.7rem; }
}
/* Retours d'interaction : déplacement court et reflet, sans agrandir la mise en page. */
.button { position: relative; isolation: isolate; overflow: hidden; transition: transform .24s var(--ease), opacity .24s var(--ease); }
.button::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; background: linear-gradient(115deg, transparent 12%, rgb(255 255 255 / 6%) 48%, transparent 75%); transform: translateX(-30%); transition: transform .36s var(--ease), opacity .26s var(--ease); }
.button--primary { box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 3px 8px rgb(0 70 150 / 8%); }
.button--primary:hover { background: var(--button-bg); }
.button--secondary { box-shadow: inset 0 1px 0 var(--surface-reflection); }
.button:active { transform: translateY(0) scale(.98); }
.button:disabled { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .button:hover::after { opacity: 1; transform: translateX(25%); }
  .button:active { transform: translateY(0) scale(.98); }
  .button:disabled { transform: none; }
  .text-link .icon { transition: transform .24s var(--ease); }
  .text-link:hover .icon { transform: translateX(3px); }
}
.audience-paths { padding: 8px; border-radius: 30px; background: var(--surface-soft); gap: 17px; }
.audience-paths > article { background: var(--surface-frost); border-color: var(--line); box-shadow: inset 0 1px 0 var(--surface-reflection), 0 4px 14px rgb(29 29 31 / 3%); }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 5px 22px 22px 5px; box-shadow: inset 0 1px 0 var(--surface-reflection); }
@media (prefers-reduced-motion: reduce) {
  .button, .button:hover, .button:active, .text-link .icon, .text-link:hover .icon { transform: none !important; }
  .button::after { content: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .audience-paths > article { background: var(--surface-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .button::after { content: none; }
}
/* Démonstration pédagogique : le mouvement relie les étapes d'un même exemple. */
.ai-demo.section { padding: clamp(27px, 4vw, 52px); margin-bottom: var(--space-section); border-radius: 32px; background: linear-gradient(132deg, #f7f9fc 5%, #edf4fc 52%, #f7f9fc 100%); border: 1px solid #e0e7ef; }
.ai-demo .section-heading { margin-bottom: 28px; max-width: 750px; }
.ai-demo .section-heading h2 { max-width: 720px; }
.ai-demo .section-heading > p:last-child { margin-bottom: 0; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.demo-tabs [data-demo-case] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-frost); color: var(--text); font-size: .85rem; font-weight: 550; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.demo-tabs [aria-selected='true'] { background: var(--button-bg); color: var(--button-text); border-color: var(--button-bg); box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%); }
.demo-tabs [data-demo-case]:active { transform: scale(.98); }
.demo-panel { min-width: 0; }
.demo-panel + .demo-panel { margin-top: 32px; }
.demo-panel.is-entering { animation: demo-panel-enter .42s var(--ease) both; }
.demo-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface-frost); box-shadow: inset 0 1px 0 var(--surface-reflection), 0 9px 25px rgb(35 57 91 / 4%); }
.demo-layout > * { min-width: 0; }
.demo-input { padding: 7px 2px 0; }
.demo-input .eyebrow { margin-bottom: 17px; font-size: .77rem; color: var(--muted); }
.demo-input h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; margin-bottom: 24px; letter-spacing: -.025em; }
.demo-input blockquote { margin: 0; padding: 19px 20px; border-left: 2px solid var(--line); border-radius: 0 13px 13px 0; background: var(--surface-soft); font-size: .85rem; color: var(--muted); line-height: 1.65; }
.demo-input blockquote p:last-child, .demo-input blockquote ul:last-child { margin-bottom: 0; }
.demo-input blockquote > strong { color: var(--text); }
.demo-input blockquote ul { padding-left: 18px; margin-block: 0; }
.demo-flow { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.demo-flow::before { content: ''; position: absolute; top: 30px; bottom: 30px; left: 33px; width: 1px; background: var(--line); }
.demo-stage { position: relative; display: grid; grid-template-columns: 31px minmax(0, 1fr); align-items: start; gap: 14px; padding: 18px; margin: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-frost); box-shadow: inset 0 1px 0 var(--surface-reflection); }
.demo-stage-number { display: inline-flex; justify-content: center; align-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: .72rem; font-weight: 600; }
.demo-stage strong { display: block; margin: 2px 0 7px; color: var(--text); font-size: .9rem; line-height: 1.35; font-weight: 600; }
.demo-stage p { color: var(--muted); font-size: .82rem; line-height: 1.6; margin: 0; }
.demo-stage p + p { margin-top: 7px; }
.demo-stage.is-active { border-color: var(--accent); animation: demo-stage-focus .5s var(--ease) both; }
.demo-stage.is-active .demo-stage-number, .demo-stage.is-done .demo-stage-number { background: var(--button-bg); color: var(--button-text); }
.demo-stage.is-active::after { content: ''; pointer-events: none; position: absolute; inset: -3px; border: 2px solid var(--accent); border-radius: 20px; opacity: 0; animation: demo-stage-ring .75s ease-out both; }
.demo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 22px; padding: 22px 2px 0; }
.demo-controls .button { min-height: 46px; font-size: .85rem; }
.demo-status { color: var(--muted); font-size: .8rem; line-height: 1.65; min-height: 1.65em; max-width: 590px; margin: 0; }
@keyframes demo-panel-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes demo-stage-focus { from { transform: translateY(3px); } to { transform: translateY(0); } }
@keyframes demo-stage-ring { 0% { opacity: .22; transform: scale(.994); } 65% { opacity: .1; } 100% { opacity: 0; transform: scale(1.012); } }
:root[data-theme='dark'] .ai-demo { background: linear-gradient(132deg, #1b1e24, #202b39 52%, #1b1e24); border-color: var(--line); }
@media (max-width: 979px) {
  .demo-layout { grid-template-columns: 1fr; padding: 26px; gap: 27px; }
  .demo-input { padding: 0; }
  .demo-input h3 { max-width: 650px; margin-bottom: 18px; }
  .demo-input blockquote { max-width: 700px; }
  .demo-flow { gap: 12px; }
}
@media (max-width: 599px) {
  .ai-demo.section { width: calc(100% - 28px); padding: 26px 17px; border-radius: 24px; }
  .ai-demo .section-heading h2 { font-size: 1.85rem; }
  .demo-tabs { gap: 7px; }
  .demo-tabs [data-demo-case] { flex: 1 1 auto; padding: 10px 13px; font-size: .78rem; }
  .demo-layout { padding: 18px 13px; border-radius: 20px; gap: 23px; }
  .demo-input { padding-inline: 3px; }
  .demo-input blockquote { padding: 16px; }
  .demo-stage { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 15px 12px; border-radius: 15px; }
  .demo-stage-number { width: 28px; height: 28px; font-size: .69rem; }
  .demo-stage strong { font-size: .88rem; }
  .demo-stage p { font-size: .8rem; }
  .demo-flow::before { left: 26px; }
  .demo-controls { gap: 13px; padding-top: 18px; }
  .demo-controls .button { width: 100%; }
  .demo-stage.is-active::after { border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-panel.is-entering, .demo-stage.is-active { animation: none; transform: none; opacity: 1; }
  .demo-stage.is-active::after { content: none; }
  .demo-tabs [data-demo-case]:active { transform: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .demo-layout, .demo-stage { background: var(--surface-solid); } }
@media (prefers-reduced-transparency: reduce) {
  .demo-layout, .demo-stage { background: var(--surface-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .ai-demo.section { background: var(--bg); border-color: var(--text); }
  .demo-layout, .demo-stage { background: var(--surface-solid); border-color: var(--text); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .demo-stage p, .demo-input blockquote, .demo-status { color: var(--text); }
  .demo-stage.is-active { outline: 2px solid var(--accent); }
}
.demo-input .demo-context-label { margin: 23px 0 10px; font-size: .8rem; font-weight: 550; color: var(--text); }
.demo-input > ul { padding-left: 19px; margin-block: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.demo-input > ul > li + li { margin-top: 8px; }
.demo-note { margin: 24px 2px 0; max-width: 850px; color: var(--muted); font-size: .76rem; line-height: 1.65; }
.demo-tabs:not([hidden]) ~ .demo-panel { margin-top: 0; }
/* Commande placée avant le parcours : garder les étapes visibles pendant la lecture. */
.ai-demo .section-heading { margin-bottom: 22px; }
.ai-demo .section-heading h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.12; margin-bottom: 16px; }
.ai-demo .section-heading > p { max-width: 750px; }
.demo-controls { padding: 0 2px 18px; gap: 12px 20px; }
.demo-layout { padding: 23px; gap: 24px; }
.demo-flow { gap: 10px; }
.demo-stage { padding: 15px 17px; gap: 12px; }
.demo-stage strong { margin-bottom: 5px; }
.demo-input h3 { margin-bottom: 19px; }
.has-js .demo-panel + .demo-panel { margin-top: 0; }
@media (max-width: 979px) {
  .demo-layout { padding: 23px; gap: 24px; }
}
@media (max-width: 599px) {
  .ai-demo .section-heading h2 { font-size: 1.85rem; }
  .demo-controls { padding: 0 2px 17px; gap: 10px; }
  .demo-layout { padding: 17px 13px; gap: 22px; }
  .demo-stage { padding: 14px 12px; gap: 10px; }
}
/* Reflet de surface, raccordé aux coordonnées du pointeur sans intercepter les clics. */
[data-sheen] { position: relative; isolation: isolate; }
[data-sheen]::after { content: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (prefers-reduced-transparency: no-preference) and (prefers-contrast: no-preference) and (forced-colors: none) {
  [data-sheen]::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 15%), transparent 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%); opacity: 0; transition: opacity .25s var(--ease); }
  [data-sheen]:hover::after { opacity: 1; }
  :root[data-theme='dark'] [data-sheen]::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 3%), transparent 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%); }
}
@media (max-width: 768px) {
  .audience-paths > article, .demo-layout, .demo-stage { -webkit-backdrop-filter: blur(16px) saturate(135%); backdrop-filter: blur(16px) saturate(135%); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
  .audience-paths > article, .demo-layout, .demo-stage { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Portrait en chemise : photo entière au format naturel, sans recadrage du visage. */
.expert-portrait--headshot {
  width: min(100%, 385px);
}
.expert-portrait--headshot > img,
.expert-portrait--headshot > picture > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
  object-position: center;
}
.hero-visual--headshot {
  width: 100%;
  max-width: 440px;
}
.hero-visual--headshot .portrait-placeholder {
  width: 100%;
  max-width: none;
}
.hero-visual--headshot .portrait-placeholder img,
.hero-visual--headshot > img,
.hero-visual--headshot > picture > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}
@media (max-width: 679px) {
  .hero-visual--headshot .portrait-placeholder img,
  .hero-visual--headshot > img,
  .hero-visual--headshot > picture > img {
    border-radius: 20px;
  }
}
