/* Ajustements propres à l’accueil; les autres pages conservent leur composition. */
:root body.home-page .hero-home > .wrap {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
:root body.home-page .hero-visual:has(> img[src*="portrait"]) {
  max-width: 500px;
  width: 100%;
  box-shadow: none;
}
:root body.home-page .hero-home h1 .title-script,
:root body.home-page .editorial-intro h2 .title-script {
  font-size: 1.2em;
  line-height: .95;
}
:root body.home-page .editorial-intro > .wrap {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
:root body.home-page .editorial-intro .section-head { padding-top: 0; }
:root body.home-page .editorial-intro .section-head h2 { max-width: 30ch; }
:root body.home-page .editorial-copy {
  max-width: 82ch;
  padding-top: 0;
  gap: 18px;
}
:root body.home-page .parcours-note {
  max-width: none;
  margin-inline: 0;
  align-items: flex-start;
}
:root body.home-page main .parcours-note p:not(.eyebrow),
:root body.home-page main .section-method p:not(.eyebrow),
:root body.home-page #cas-reels .case-story {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: none;
}
.home-page .parcours-summary { display: block; }
:root body.home-page #cas-reels .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
:root body.home-page #cas-reels .case-visual { align-self: center; }
:root body.home-page #cas-reels .case-visual img { object-fit: contain; }
:root body.home-page .contact-form-section {
  background: var(--beige);
  color: var(--ink);
  --gold: var(--ink);
  --text-light-mute: var(--ink);
}
:root body.home-page .contact-form-section > .wrap {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px 72px;
}
:root body.home-page .contact-form-section .section-head { grid-row: auto; }
:root body.home-page .contact-form-section h2 { max-width: 14ch; }
:root body.home-page .contact-invitation {
  display: grid;
  gap: 22px;
  border-inline-start: 1px solid var(--gold);
  padding-inline-start: 40px;
}
:root body.home-page .contact-invitation p { margin: 0; }
:root body.home-page .contact-invitation a:not(.btn) { color: var(--ink); text-underline-offset: 4px; }
:root body.home-page .contact-invitation .contact-form-note { color: var(--ink); opacity: .8; }
:root body.home-page .home-final > .wrap {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.home-page .final-copy, .home-page .final-action { display: grid; gap: 24px; min-width: 0; }
:root body.home-page .home-final h2 { max-width: 19ch; }
:root body.home-page .home-final .eyebrow { line-height: 1.7; }
:root body.home-page .home-final .btn { width: 100%; padding: 22px 24px; }
:root body.home-page .home-final .trustline { gap: 8px 18px; font-size: 12px; }
@media (max-width: 960px) {
  :root body.home-page .hero-home > .wrap { grid-template-columns: minmax(0, 1fr); }
  :root body.home-page .hero-visual:has(> img[src*="portrait"]) { max-width: 440px; width: calc(100% - 22px); }
  :root body.home-page .contact-form-section > .wrap,
  :root body.home-page .home-final > .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  :root body.home-page .contact-form-section > .wrap > .contact-invitation { grid-column: 1; }
  :root body.home-page .contact-invitation { border: 0; padding: 0; max-width: 56ch; }
  :root body.home-page .home-final .final-action { width: 100%; max-width: 520px; }
  :root body.home-page #cas-reels .case { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 600px) {
  .home-page .parcours-summary { white-space: nowrap; }
}
@media (max-width: 560px) {
  :root body.home-page .hero-visual:has(> img[src*="portrait"]) { max-width: 440px; }
  :root body.home-page .hero-home h1 { font-size: clamp(28px, 7.4vw, 40px); }
  :root body.home-page .editorial-intro .section-head h2 { font-size: clamp(27px, 7.5vw, 40px); }
  :root body.home-page .home-final .btn { font-size: 16px; padding-inline: 16px; }
}

/* Même composition des cas réels que le Diagnostic 197 $. */
  :root body.home-page #cas-reels .case{display:grid; grid-template-columns:1fr 1.1fr; gap:56px; align-items:center; margin-top:56px;}
  :root body.home-page #cas-reels .case + .case{border-top:1px solid var(--line-dark); padding-top:56px;}
  :root body.home-page #cas-reels .case .eyebrow{color:var(--text-light-mute); font-weight:600;}
  :root body.home-page #cas-reels .case h3{font-size:clamp(24px,2.6vw,32px); margin-bottom:18px;}
  :root body.home-page #cas-reels .case p{font-size:15px; color:var(--text-light-mute); margin-bottom:16px;}
  :root body.home-page #cas-reels .flow{display:grid; grid-template-columns:1fr auto 1fr; gap:10px; align-items:stretch; margin-top:22px;}
  :root body.home-page #cas-reels .stat{background:var(--ink-2); border:1px solid var(--line-dark); border-radius:12px; padding:14px 16px;}
  :root body.home-page #cas-reels .stat b{display:block; font-size:22px; color:var(--gold-light);}
  :root body.home-page #cas-reels .stat b small{font-size:12px; font-weight:600;}
  :root body.home-page #cas-reels .stat span{font-size:12px; color:var(--text-light-mute);}
  :root body.home-page #cas-reels .flow .arrow{display:grid; place-items:center; color:var(--gold); font-size:22px; font-weight:700;}
  :root body.home-page #cas-reels .roi{
    margin-top:12px; border:1px solid var(--gold); border-radius:14px; padding:16px 20px;
    background:var(--ink); display:flex; align-items:baseline; gap:14px; flex-wrap:wrap;
  }
  :root body.home-page #cas-reels .roi b{font-size:clamp(34px,4vw,46px); font-weight:800; color:var(--gold-light); line-height:1;}
  :root body.home-page #cas-reels .roi span{font-size:13px; color:var(--text-light-mute);}
  :root body.home-page #cas-reels .collage{background:var(--cream); border-radius:18px; padding:10px;}
  :root body.home-page #cas-reels .collage img{border-radius:10px; width:100%;}
  :root body.home-page #cas-reels .disclaimer{font-size:12px; color:var(--gold); margin-top:48px; line-height:1.6; max-width:80ch;}


/* Trois phrases complètes, chacune sur sa ligne. */
:root body.home-page .hero-home h1 {
  font-size: clamp(28px, 3.25vw, 47px);
}
:root body.home-page .hero-home h1 .title-line {
  white-space: nowrap;
}
:root body.home-page .editorial-intro h2 .title-script {
  display: inline-block;
  font-size: 1.45em;
  line-height: 1.1;
}
:root body.home-page .about-gallery-head :is(h3, p) {
  text-align: center !important;
  text-align-last: center !important;
  margin-inline: auto;
}
:root body.home-page .about-gallery-head .title-script {
  color: var(--gold);
}
:root body.home-page .about-gallery-head :is(h3, .title-script) {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
}
:root body.home-page #cas-reels {
  --line-dark: color-mix(in srgb, var(--cream) 10%, transparent);
}
:root body.home-page #cas-reels .case { padding-block: 0; }
:root body.home-page #cas-reels .case + .case { padding-top: 56px; }
:root body.home-page #cas-reels .stat { min-width: 0; }
:root body.home-page #cas-reels .collage img { display: block; height: auto; }
:root body.home-page #cas-reels p {
  text-align: left !important;
  text-align-last: left !important;
  line-height: 1.85;
}
@media (max-width: 960px) {
  :root body.home-page #cas-reels .case { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  :root body.home-page .hero-home h1 { font-size: clamp(22px, 6.2vw, 34px); }
  :root body.home-page #cas-reels .flow { grid-template-columns: minmax(0, 1fr); }
  :root body.home-page #cas-reels .flow .arrow { transform: rotate(90deg); }
}
:root body.home-page .about-gallery-head p:not(.eyebrow):not(.case-kicker):not(.aa-label) {
  text-align: center !important;
  text-align-last: center !important;
}
:root body.home-page #cas-reels p:not(.eyebrow):not(.case-kicker):not(.aa-label) {
  text-align: left !important;
  text-align-last: left !important;
}


/* Surfaces claires et accents taupe communs au Diagnostic 197 $. */
:root body.home-page #appel-diagnostic {
  background: var(--beige);
}
:root body.home-page .home-faq {
  background: var(--cream);
}
:root body.home-page :is(#appel-diagnostic, .home-faq) p:not(.eyebrow) {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: none;
  -webkit-hyphens: none;
}
:root body.home-page .home-faq .faq-wrap {
  margin-top: 0;
}
:root body.home-page :is(#appel-diagnostic, .home-faq) .eyebrow {
  color: var(--text-dark);
}
:root body.home-page #appel-diagnostic .benefit-grid {
  border-color: var(--line);
  background: var(--line);
}
:root body.home-page #appel-diagnostic .benefit-card {
  border-top: 1px solid var(--line);
}
:root body.home-page #appel-diagnostic .benefit-card > svg {
  box-sizing: content-box;
  padding: 12px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--ink);
}
:root body.home-page .home-faq .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
}
:root body.home-page .home-faq .faq-item h3 svg {
  color: var(--ink);
}
:root body.home-page #appel-diagnostic .duration-bar .icon-circle {
  background: var(--beige);
}

/* Des cadres taupe et des flèches discrètes pour guider la lecture. */
:root body.home-page .home-framed-section {
  position: relative;
}
:root body.home-page .home-framed-section:not(#services) > .wrap {
  width: calc(100% - clamp(32px, 6vw, 80px));
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--accent-403);
  border-top-width: 3px;
  border-radius: 14px;
}
:root body.home-page .home-framed-section .service-card {
  border: 1px solid var(--accent-403);
  border-inline-start-width: 3px;
}
:root body.home-page .home-section-connector::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset-inline-start: calc(50% - 8px);
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-inline-end: 2px solid var(--accent-403);
  border-bottom: 2px solid var(--accent-403);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Même contraste que les titres de section clairs du Diagnostic 197 $. */
:root body.home-page .section-method > .wrap > .section-head .eyebrow {
  color: var(--text-dark);
}

/* Encadrés de rendement : fond beige et écriture foncée. */
:root body.home-page #cas-reels .roi {
  background: var(--beige);
  border-color: var(--beige);
  color: var(--ink);
}
:root body.home-page #cas-reels .roi :is(b, span) {
  color: var(--ink);
}
