/* Editorial restoration: scoped below the home Hero and to public interiors. */
.v34-page .inner-hero .editorial-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .48fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.editorial-hero-copy { min-width: 0; }
.editorial-hero-copy > p { max-width: 64ch; }
.editorial-hero-grid .editorial-intent { border-left: 2px solid var(--brand); padding: .5rem 0 .5rem 1.5rem; align-self: center; }
.editorial-intent > p:first-child { font: 600 1.4rem/1.35 var(--display); margin: 0 0 1.2rem; }
.editorial-intent dl { margin: 0; }
.editorial-intent dt { color: var(--brand); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .075em; margin-top: 1rem; }
.editorial-intent dd { margin: .25rem 0 0; font-size: .94rem; line-height: 1.7; }
.editorial-kicker { color: var(--brand); font: 700 .76rem/1.5 var(--font); text-transform: uppercase; letter-spacing: .08em; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 3rem; margin-block: 2rem; }
.editorial-grid > article { min-width: 0; border-top: 1px solid var(--line); padding-block: 1.35rem .75rem; }
.editorial-grid h3 { margin: 0 0 .6rem; }
.editorial-grid p { max-width: 62ch; }
.editorial-grid ul { margin-block: .6rem; padding-left: 1.25rem; }
.editorial-note { max-width: 76ch; padding: 1.25rem 1.5rem; border-left: 3px solid var(--brand); background: var(--sage); }
.editorial-note p:last-child { margin-bottom: 0; }
.editorial-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin-block: 2rem; counter-reset: editorial-step; }
.editorial-sequence > li { counter-increment: editorial-step; padding-top: 1.2rem; border-top: 1px solid var(--line); min-width: 0; }
.editorial-sequence > li::before { content: '0' counter(editorial-step); display: block; color: var(--brand); font: 500 2.1rem/1.2 var(--display); margin-bottom: 1rem; }
.editorial-sequence strong { display: block; font-size: 1.04rem; margin-bottom: .6rem; }
.editorial-sequence p { margin: .4rem 0; }
.editorial-proof { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; }
.editorial-proof > div { min-width: 0; }
.editorial-proof figure { margin: 0; }
.editorial-proof img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.editorial-proof figcaption { color: var(--muted); font-size: .8rem; padding-top: .6rem; }
.editorial-scope { margin-block: 1.5rem; border-block: 1px solid var(--line); }
.editorial-scope > summary { padding: 1rem 0; font-weight: 700; color: var(--brand); cursor: pointer; }
.editorial-scope ul { max-width: 76ch; padding-left: 1.4rem; }
.editorial-scope li { margin-block: .5rem; }
.editorial-method { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: 2rem; align-items: start; }
.editorial-method .editorial-note { margin-top: 0; }
.editorial-cta { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.25rem; min-height: 48px; background: var(--brand); color: #fff !important; border-radius: 5px; font-weight: 700; text-decoration: none !important; }
.editorial-cta:hover { background: var(--brand-hover); }
.editorial-home-intro, .editorial-home-followup { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.editorial-home-intro { padding-block: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.editorial-home-intro h2 { font: 500 clamp(1.8rem, 3.4vw, 2.6rem)/1.2 var(--display); max-width: 22ch; margin: .75rem 0 1rem; }
.editorial-home-intro > div { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.editorial-home-intro p { max-width: 62ch; line-height: 1.85; }
.editorial-home-followup { padding-block: clamp(2rem, 5vw, 4rem); }
.editorial-home-followup > h2 { font: 500 clamp(1.8rem, 3.4vw, 2.6rem)/1.2 var(--display); max-width: 28ch; }
.editorial-home-followup .editorial-grid { margin-bottom: 0; }
.editorial-home-followup h3 { font: 500 1.45rem/1.3 var(--display); }
.editorial-home-followup p { line-height: 1.85; }
.editorial-home-followup a { color: var(--brand); text-underline-offset: 4px; }
.editorial-home-followup .editorial-grid > article { padding: 1.5rem 0; }
.contact-next-steps { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--sage); }
.contact-next-steps h2 { font: 600 1.5rem/1.3 var(--display); margin: 0 0 1rem; }
.contact-next-steps ol { padding-left: 1.3rem; }
.contact-next-steps li { padding-left: .25rem; margin-block: .75rem; }
.contact-next-steps p:last-child { margin-bottom: 0; }
.editorial-features { padding-left: 1.2rem; margin: .5rem 0 1rem; font-size: .9rem; }
.editorial-features li { margin-block: .4rem; }
.method-overview li strong { display: block; font-weight: 650; }
.method-overview li span { display: block; font-size: .88rem; line-height: 1.7; margin-top: .4rem; }
.editorial-method-timeline { display: block; list-style: none; }
.editorial-method-timeline li h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.editorial-home-faq { padding-top: 1rem; }
.editorial-home-faq details { border-block: 1px solid var(--line); margin: 0; padding: 0; }
.editorial-home-faq details + details { border-top: 0; }
.editorial-home-faq summary { padding: 1.2rem 0; cursor: pointer; font-weight: 650; }
.editorial-home-faq details p { max-width: 76ch; margin: 0 0 1.25rem; }
/* Finitions: explanatory flows, not simulated product interfaces. */
.v34-page figure.editorial-example { margin-block: 2rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--sage); border-block: 1px solid var(--line); }
.editorial-example figcaption { margin: 0 0 1.5rem; color: var(--ink); }
.editorial-example figcaption > span { display: block; margin-bottom: .5rem; }
.editorial-example figcaption > strong { display: block; font: 500 clamp(1.35rem, 2.3vw, 1.8rem)/1.3 var(--display); }
.editorial-example .editorial-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; list-style: none; }
.editorial-flow > li { min-width: 0; padding: 1.25rem; border: 0; background: var(--white); }
.editorial-flow > li + li { border-left: 1px solid var(--line); }
.editorial-flow > li::before { content: none; }
.editorial-flow .flow-role { display: block; min-height: 2.8em; margin-bottom: .75rem; font: 700 .72rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.editorial-flow > li > strong { display: block; margin-bottom: .65rem; font: 600 1.2rem/1.3 var(--display); }
.editorial-flow > li > p { margin: 0; font-size: .94rem; line-height: 1.75; }
.editorial-example .example-caption { margin: 1rem 0 0; font-size: .85rem; line-height: 1.6; color: var(--muted); }
.about-journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.about-journey > div { min-width: 0; }
.about-journey h2 { margin-top: .5rem; }
.about-working-note { padding: clamp(1.5rem, 3vw, 2rem); border-top: 3px solid var(--brand); background: var(--sage); }
.about-working-note h3 { margin-top: 0; }
.about-working-note p:last-child { margin-bottom: 0; }
.editorial-reading { max-width: 72ch; margin-block: 2rem; }
.editorial-reading > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 1.5rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.editorial-reading dt { font-weight: 650; }
.editorial-reading dd { margin: 0; }
.hosting-options > article { border-top: 3px solid var(--brand); }
@media (max-width: 900px) {
    .v34-page .inner-hero .editorial-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .editorial-hero-grid .editorial-intent { border-left: 0; border-top: 1px solid var(--line); padding: 1.25rem 0 0; }
    .editorial-intent dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .editorial-intent dl > div { min-width: 0; }
    .editorial-intent dt { margin-top: 0; }
    .editorial-proof { gap: 1.5rem; }
}
@media (max-width: 600px) {
    .editorial-method-timeline > li { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .editorial-method-timeline > li > div { min-width: 0; }
    .editorial-grid, .editorial-sequence, .editorial-proof, .editorial-method, .editorial-home-intro > div { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .v34-page .inner-hero { padding-block: 2rem; }
    .v34-page .inner-hero .editorial-hero-grid { gap: 1.25rem; }
    .editorial-hero-grid .editorial-intent { padding-top: 1rem; }
    .editorial-intent > p:first-child { font-size: 1.1rem; margin-bottom: .6rem; }
    .editorial-intent dl { display: block; }
    .editorial-intent dl > div { display: grid; grid-template-columns: minmax(5.5rem, .38fr) minmax(0, 1fr); gap: .75rem; align-items: baseline; padding-block: .45rem; border-top: 1px solid var(--line); }
    .editorial-intent dt { font-size: .72rem; line-height: 1.5; letter-spacing: .035em; }
    .editorial-intent dd { margin: 0; font-size: .9rem; line-height: 1.55; }
    .editorial-example .editorial-flow, .about-journey, .editorial-reading > div { grid-template-columns: minmax(0, 1fr); }
    .editorial-flow > li + li { border-left: 0; border-top: 1px solid var(--line); }
    .editorial-flow .flow-role { min-height: 0; margin-bottom: .4rem; }
    .editorial-example figcaption { margin-bottom: 1rem; }
    .editorial-reading > div { gap: .35rem; }
    .about-journey { gap: 1.5rem; }
    .editorial-grid { margin-block: 1rem; }
    .editorial-home-intro, .editorial-home-followup { width: calc(100% - 2rem); }
    .editorial-home-intro > div { gap: 0; }
    .editorial-cta { max-width: 100%; text-align: center; }
    .contact-next-steps { padding: 1.2rem; }
}

/* Service bands and original format comparison, following the approved visual direction. */
#services { width: 100%; margin: 0; color: var(--ink); }
#services, #services * { box-sizing: border-box; }
#services .service-section { min-width: 0; padding: clamp(40px, 5vw, 64px) max(16px, calc((100% - 1120px) / 2)); scroll-margin-top: 90px; }
#services .service-section--sage { background: var(--sage); }
#services .service-section--white { background: var(--white); }
#services .service-section--connections { border-top: 1px solid var(--line); }
#services .service-section__body { min-width: 0; }
#services .service-section__copy { min-width: 0; }
#services .service-section__copy h2 { max-width: 24ch; margin: 0 0 18px; font: 500 clamp(28px, 3vw, 42px)/1.15 var(--display); letter-spacing: -.025em; }
#services .service-section__copy p:not(.eyebrow) { max-width: 68ch; margin: 0 0 12px; line-height: 1.65; }
#services .service-section__detail, #services .service-section__price-note { color: var(--muted); font-size: 14px; }
#services .service-section__link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 12px; color: var(--ink); font-weight: 650; text-underline-offset: 4px; }
#services .service-section--symfony .service-section__body { display: grid; grid-template-columns: minmax(160px, .48fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 5vw, 68px); }
#services .service-section--symfony .service-section__copy { grid-column: 2; grid-row: 1; }
#services .service-section__code { grid-column: 1; grid-row: 1; display: grid; max-width: 260px; width: 100%; color: var(--ink); }
#services .service-section__code span { padding: 12px 14px; border-left: 2px solid var(--brand); border-bottom: 1px solid var(--dark-line); font-size: 14px; }
#services .service-section__code span:nth-child(2) { margin-left: 18px; }
#services .service-section__code span:nth-child(3) { margin-left: 36px; }

:is(#services, .service-formats) .format-arrival-slot { display: grid; min-width: 0; overflow: clip; overflow-clip-margin: 24px; }
:is(#services, .service-formats) .service-section__formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 48px); }
:is(#services, .service-formats) .format-card { --format-ink: #193746; --format-muted: #4a5d66; --format-line: #d7e1e5; display: flex; flex-direction: column; min-width: 0; padding: 12px 12px 20px; border: 1px solid var(--format-line); border-radius: 18px; background: var(--white); color: var(--format-ink); box-shadow: 0 3px 6px #15394a05, 0 12px 24px #15394a08; }
:is(#services, .service-formats) .format-card__header { min-height: 164px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px 18px; border: 1px solid #dce6ea; border-radius: 10px; background: #f7fafb; box-shadow: 0 2px 3px #15394a06, inset 0 1px 0 #fff; }
:is(#services, .service-formats) .format-card__header h3 { margin: 0; font: 500 clamp(23px, 2vw, 27px)/1.12 var(--display); letter-spacing: -.025em; }
:is(#services, .service-formats) .format-card__header p { margin: 0; max-width: 26ch; color: var(--format-muted); font-size: 14px; line-height: 1.5; }
:is(#services, .service-formats) .format-card__price { margin: 26px 18px 24px; line-height: 1.1; white-space: nowrap; }
:is(#services, .service-formats) .format-card__from { display: block; margin-bottom: 9px; color: var(--format-muted); font: 500 13px/1.4 var(--font); }
:is(#services, .service-formats) .format-card__price strong { font: 500 clamp(36px, 3.3vw, 46px)/1.1 var(--display); letter-spacing: -.04em; }
:is(#services, .service-formats) .format-card__tax { margin-left: 2px; color: var(--format-muted); font: 500 13px/1.4 var(--font); }
:is(#services, .service-formats) .format-card__features { display: grid; gap: 14px; list-style: none; margin: 0 18px 28px; padding: 24px 0 0; border-top: 1px dashed var(--format-line); }
:is(#services, .service-formats) .format-card__features li { position: relative; padding-left: 17px; margin: 0; font-size: 14px; line-height: 1.5; }
:is(#services, .service-formats) .format-card__features li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
:is(#services, .service-formats) .format-card > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin: auto 6px 0; padding: 12px 16px; border: 1px solid #cad8df; border-radius: 7px 7px 16px 7px; background: var(--white); color: var(--format-ink); text-decoration: none; font-size: 14px; line-height: 1.4; font-weight: 650; }
:is(#services, .service-formats) .format-card > a > span { flex: none; font-size: 20px; line-height: 1; }
:is(#services, .service-formats) .format-card > a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
:is(#services, .service-formats) .format-card--featured { --format-ink: #fff; --format-muted: #d5e6ee; --format-line: #4c7184; background: #123c51; border-color: #123c51; box-shadow: 0 4px 8px #15394a12, 0 16px 30px #15394a1a; }
:is(#services, .service-formats) .format-card--featured .format-card__header { border-color: #55798a; background: #1b4c63; box-shadow: 0 3px 5px #0002, inset 0 1px 0 #ffffff14; }
:is(#services, .service-formats) .format-card--featured > a { background: var(--white); color: #123c51; border-color: var(--white); }
:is(#services, .service-formats) .format-card--featured > a:focus-visible { outline-color: #fff; }
:is(#services, .service-formats) .format-card--tailored .format-card__header { background: #eff5f7; }
#services .service-section__price-note { max-width: 90ch; margin: 24px 0 0; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
    :is(#services, .service-formats) .format-card > a { transition: background-color 160ms ease, border-color 160ms ease; }
    :is(#services, .service-formats) .format-card > a > span { transition: transform 160ms ease; }
    :is(#services, .service-formats) .format-card > a:hover { background: #e8f2f6; border-color: var(--brand); }
    :is(#services, .service-formats) .format-card > a:hover > span { transform: translate(2px, -2px); }
}
@media (max-width: 900px) and (min-width: 701px) {
    :is(#services, .service-formats) .service-section__formats { gap: 12px; }
    :is(#services, .service-formats) .format-card { padding-inline: 9px; }
    :is(#services, .service-formats) .format-card__header { padding-inline: 13px; }
    :is(#services, .service-formats) .format-card__price { margin-inline: 12px; }
    :is(#services, .service-formats) .format-card__features { margin-inline: 12px; }
    :is(#services, .service-formats) .format-card > a { margin-inline: 0; padding-inline: 12px; }
}
@media (max-width: 700px) {
    #services .service-section { padding: 36px 20px; }
    :is(#services, .service-formats) .service-section__formats { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 470px; margin-inline: auto; }
    :is(#services, .service-formats) .format-card { padding: 12px 12px 20px; }
    :is(#services, .service-formats) .format-card__header { min-height: 140px; padding: 22px 18px; }
    :is(#services, .service-formats) .format-card__header h3 { font-size: 27px; max-width: 15ch; }
    :is(#services, .service-formats) .format-card__price strong { font-size: 44px; }
    #services .service-section--symfony .service-section__body { display: block; }
    #services .service-section__code { max-width: 230px; margin-top: 24px; }
}

/* Keep the reference Hero silhouette; the inherited 2-column tablet grid must
   not turn its three papers into a 2 + 1 layout. Natural card heights are retained. */
@media (min-width: 601px) and (max-width: 850px) {
    [data-lot="hero-profondeur"] .path-composition > ul { display: block; }
    [data-lot="hero-profondeur"] .path-composition li:not(:last-child) { margin-bottom: 17px; }
}
/* Original Hero geometry stays owned by hero-a-drop.css and index.css. */
[data-lot="hero-profondeur"] .path-composition li:first-child,
[data-lot="hero-profondeur"] .path-composition li:last-child { background: var(--white); }
[data-lot="hero-profondeur"] .path-composition li:nth-child(2) { background: var(--sage); }

/* Page arrival runs on the real document; no overlay or captured page. */
@view-transition { navigation: none; }
.service-formats .format-card__description { margin: 0 18px 24px; color: var(--format-muted); font-size: 14px; line-height: 1.65; }
.service-formats .format-card__detail { margin: 0 18px 24px; padding-top: 16px; border-top: 1px solid var(--format-line); font-size: 14px; line-height: 1.65; }
.service-formats .format-card__detail summary { min-height: 44px; cursor: pointer; font-weight: 650; color: var(--format-ink); }
.service-formats .format-card__detail summary:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.service-formats .format-card__detail p { margin: 8px 0 0; color: var(--format-muted); }
/* Clip does not depend on transforms, including reduced-motion fallbacks. */
.skip-link:not(:focus) { clip-path: inset(50%); }
/* Stable mobile header; native navigation remains available when modules fail. */
@media (max-width: 1100px) {
    .site-header { min-height: 88px; }
    html.navigation-pending .site-header #primary-nav { display: none; }
}
