@font-face {
  font-family: 'Blessrosa';
  src: url('./fonts/Blessrosa.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Magonda';
  src: url('./fonts/Magonda.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Palette et typographie communes du brandboard. */
:root {
  --font-heading: 'Blessrosa', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Magonda', Georgia, serif;
  --ink: #322f2d;
  --ink-2: #322f2d;
  --accent-403: #8c857b;
  --warm-gray-1: #d7d2cb;
  --gold: var(--accent-403);
  --gold-light: #e0dcd8;
  --cream: #f7f7f5;
  --beige: var(--warm-gray-1);
  --paper: #f7f7f5;
  --white: #fff;
  --text-dark: #322f2d;
  --text-mute: #322f2d;
  --text-light: #f7f7f5;
  --text-light-mute: #e0dcd8;
  /* Sur un portrait 2:3, le rayon vertical vaut le tiers de la hauteur :
     il égale ainsi la moitié de la largeur et dessine un demi-cercle. */
  --portrait-arch: 50% 50% 0 0 / 33.333333% 33.333333% 0 0;
}

/* Respecter le dessin original des fontes, sans faux gras ni fausse italique. */
:root body :is(h1, h2) {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}

:root body :is(h3, h4, h5, h6) {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  line-height: 1.45;
}

:root body :is(h1, h2, h3, h4, h5, h6) :is(.accent, em, .title-script) {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: normal;
}

:root body :is(h1, h2) .title-script {
  letter-spacing: normal;
}

/* Accents clairs sur les fonds charbon, pour préserver leur lisibilité. */
.hero, .nav, .service-card.dark, .cases, .final, .duration-bar,
.booking-card, .contact-form-section, .temoignages, footer,
.confirmation-page, .mobile-cta {
  --gold: var(--gold-light);
}

:root body .btn-gold,
:root body.diagnostic-page .btn:not(.btn-dark):not(.btn-dark-outline),
:root body.diagnostic-page .crossnav .btn-dark-outline,
:root body.home-page #cas-reels .btn,
.temoignages .google-cta a {
  background: var(--beige);
  border-color: var(--beige);
  color: var(--ink);
  box-shadow: none;
}
:root body .btn-gold:hover,
:root body.diagnostic-page .btn:not(.btn-dark):not(.btn-dark-outline):hover,
:root body.diagnostic-page .crossnav .btn-dark-outline:hover,
:root body.home-page #cas-reels .btn:hover,
.temoignages .google-cta a:hover {
  background: var(--cream);
  border-color: var(--beige);
  color: var(--ink);
  box-shadow: none;
}

/* Prochaines étapes : fond blanc et encadrés beiges. */
:root body.diagnostic-page .crossnav { background: var(--white); }
:root body.diagnostic-page .crossnav .service-card {
  background: var(--beige);
  color: var(--text-dark);
}
:root body.diagnostic-page .crossnav .btn-dark-outline {
  background: var(--white);
  border-color: var(--white);
}

/* Comparaison des stratégies : encadré beige et appel à l’action blanc. */
:root body.diagnostic-page .risk-sec .cmp.without {
  background: var(--beige);
}
:root body.diagnostic-page .risk-sec .cmp.with .btn {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
:root body.diagnostic-page .risk-sec .cmp.with .btn:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* Encadrés de rendement et prix de l’aperçu dans la palette beige et charbon. */
:root body.diagnostic-page #resultats .roi,
:root body.diagnostic-page .diag-info-bar .price-pill {
  background: var(--beige);
  border-color: var(--beige);
  color: var(--ink);
}
:root body.diagnostic-page #resultats .roi :is(b, span) {
  color: var(--ink);
}

/* Bouton de contact sur fond charbon : conserver un contraste franc. */
.contact-form-alt a.btn {
  background: var(--ink);
  border-color: var(--beige);
  color: var(--cream);
  text-decoration: none;
}
.contact-form-alt a.btn:hover {
  background: var(--ink);
  border-color: var(--cream);
  color: var(--cream);
}

/* Une arche uniquement pour les portraits de Caroline. */
.hero-visual:has(> img[src*="portrait"]),
.hero-media:has(> img[src*="portrait"]),
.about-photo:has(> img[src*="portrait"]),
.about img.photo[src*="portrait"] {
  border-radius: var(--portrait-arch);
  overflow: hidden;
}

/* Des portraits plus élancés, sur ordinateur comme sur mobile. */
.hero-visual:has(> img[src*="portrait"]),
.hero-media:has(> img[src*="portrait"]),
.about-photo:has(> img[src*="portrait"]) {
  aspect-ratio: 2 / 3;
}
.about img.photo[src*="portrait"],
.about-sec img.photo[src*="portrait"] {
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--portrait-arch);
}

/* Alterner les bandes sans modifier les couleurs des cartes qu’elles contiennent. */
section.section-beige { background: var(--beige); }
section.section-cream { background: var(--cream); }
section.section-method { color: var(--text-dark); }
.section-method > .wrap > .section-head .eyebrow { color: var(--text-mute); }
section.section-final-light {
  --text-light: var(--text-dark);
  --text-light-mute: var(--text-mute);
  --gold: var(--text-dark);
  --gold-light: var(--text-dark);
  color: var(--text-dark);
}
.section-final-light .btn:not(.btn-gold) { color: var(--cream); }

/* Faire ressortir les messages clés sans surcharger les textes courants. */
:root body .section-head h2,
:root body .h2 {
  line-height: 1.2;
  text-wrap: balance;
}
:root body :is(.hero-sub, .hero .question, .punch-line, .closing-line, .stat-cta-line, .parcours-note .strong) {
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-align-last: auto;
}
:root body .punch-line {
  padding: 20px 24px;
  border-inline-start: 4px solid var(--gold);
  background: var(--beige);
  border-radius: 0 12px 12px 0;
}
:root body .contact-form-alt {
  text-align: center;
  text-align-last: center;
  text-wrap: balance;
  margin-inline: auto;
}
:root body .hero-notes {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
:root body .hero-notes .fine {
  margin: 0;
  max-width: none;
  font-size: 11px;
  color: var(--text-light-mute);
  text-align: center;
  text-align-last: auto;
}
:root body .section-priority {
  background: var(--cream);
  border-block: 2px solid var(--beige);
}
:root body .section-priority > .wrap > .eyebrow {
  display: inline-block;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 6px;
}
:root body .big-stat {
  margin-block: 22px 12px;
  padding: clamp(20px, 3vw, 30px);
  border: 2px solid var(--gold-light);
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
}
:root body .big-stat b {
  color: var(--ink);
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.1;
}
:root body .big-stat span {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-align-last: center;
}
:root body .diag-final-box .quote {
  text-align: center;
  text-align-last: center;
  justify-self: center;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  text-wrap: balance;
}

/* Composition éditoriale : grands titres, espace et lignes architecturales. */
:root body :is(h1, h2, h3, h4, h5, h6) :is(.accent, em, .title-script) {
  font-size: 1em;
  line-height: inherit;
  letter-spacing: normal;
  color: inherit;
  display: inline-block;
  vertical-align: middle;
}
:root body .hero {
  border-bottom: 1px solid var(--gold-light);
  background: var(--ink);
}
:root body .hero > .wrap {
  max-width: 1380px;
  padding-block: clamp(48px, 7vw, 104px);
  gap: clamp(36px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
}
:root body .hero-copy { min-width: 0; gap: 26px; padding-block: 0; }
:root body .hero h1 {
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.19;
  letter-spacing: -.025em;
  max-width: 23ch;
  text-wrap: balance;
}
:root body .hero-home h1 { font-size: clamp(36px, 4.35vw, 62px); max-width: none; }
.hero-home .title-line { display: block; }
:root body .hero .eyebrow {
  font-size: 11px;
  letter-spacing: .19em;
  line-height: 1.7;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero .eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; flex: none; }
:root body .hero-body { font-size: 15px; line-height: 1.85; text-align: center; text-align-last: auto; max-width: 51ch; }
:root body .hero-actions { gap: 18px; margin-top: 10px; }
:root body .hero-visual:has(> img[src*="portrait"]) {
  max-width: 390px;
  box-shadow: 0 0 0 10px var(--ink), 0 0 0 11px var(--gold);
}
:root body .hero-badge {
  inset: auto 0 0;
  border: 0;
  border-radius: 0;
  padding: 22px 26px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  line-height: 1.7;
}
:root body .hero-badge strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
}
:root body .btn { border-radius: 2px; padding: 16px 23px; }
:root body .trustline { border-top: 1px solid var(--gold); padding-top: 20px; gap: 14px 20px; }
:root body .trustline span { font-size: 11px; }
:root body .section-head .eyebrow { font-size: 11px; letter-spacing: .17em; line-height: 1.7; }
:root body .service-card { border-radius: 2px; box-shadow: none; border-color: var(--gold-light); padding: 30px 24px; }
:root body .service-card h3 { line-height: 1.3; }
:root body .service-card p { text-align: center; text-align-last: auto; }

/* Le plan prend la place d’une pièce maîtresse dans un portfolio. */
section.plan-preview-sec { background: var(--beige); padding: clamp(48px, 7vw, 100px) clamp(16px, 4vw, 56px); }
.plan-preview-sec > .wrap {
  max-width: 1268px;
  padding: clamp(24px, 5vw, 68px);
  background: var(--cream);
  border-top: 4px solid var(--gold);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  column-gap: 48px;
  align-items: start;
}
.plan-preview-head { grid-column: 1 / -1; margin-bottom: 28px; }
.plan-preview-sec .plan-preview-head .eyebrow { font-size: 11px; letter-spacing: .16em; line-height: 1.8; }
:root body .plan-preview-sec h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.2; }
.plan-preview-sec .lead-plan { margin-top: 0; font-size: 14px; line-height: 1.9; text-align: center; }
.plan-preview-sec .plan-preview-image {
  grid-column: 1 / -1;
  padding: clamp(8px, 1.5vw, 18px);
  margin-top: 40px;
  background: var(--beige);
  border: 1px solid var(--gold-light);
  box-shadow: var(--shadow);
}
.plan-preview-sec .plan-caption-grid { grid-column: 1 / -1; counter-reset: plan-step; gap: 28px; margin-top: 40px; }
.plan-preview-sec .plan-caption { border-top: 1px solid var(--gold); padding-top: 20px; counter-increment: plan-step; }
.plan-preview-sec .plan-caption::before { content: '0' counter(plan-step); font-family: var(--font-body); font-size: 26px; color: var(--gold); }
.plan-preview-sec .plan-caption .icon-circle-sm { display: none; }
:root body .plan-preview-sec .plan-caption h3 { font-size: 18px; line-height: 1.4; }
.plan-preview-sec .plan-final-box { grid-column: 1 / -1; border-radius: 0; border-top: 1px solid var(--gold); background: var(--beige); }
:root body .plan-final-box .quote { font-family: var(--font-body); font-size: 24px; font-weight: 600; font-style: normal; }
@media (max-width: 960px) {
  :root body .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  :root body .hero h1 { max-width: 25ch; }
  :root body .hero-visual:has(> img[src*="portrait"]) { max-width: 340px; }
  .plan-preview-sec > .wrap { grid-template-columns: minmax(0, 1fr); }
  .plan-preview-sec .lead-plan { margin-top: 22px; }
}
@media (max-width: 560px) {
  :root body .hero > .wrap { padding-block: 42px 48px; }
  :root body .hero-home h1 { font-size: clamp(31px, 7.4vw, 40px); }
  :root body .hero h1 { font-size: clamp(30px, 7.6vw, 40px); }
  :root body .hero-visual:has(> img[src*="portrait"]) { width: calc(100% - 22px); max-width: 300px; }
  .plan-preview-sec .plan-final-box { padding: 24px 18px; }
  .plan-preview-sec .plan-caption-grid { gap: 24px; }
}
:root body :is(.temoignages, .contact-form-section) > .wrap > .section-head :is(h1, h2) {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.2;
}
@media (min-width: 1100px) {
  #services .card-grid.cols-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  #services .card-grid.cols-5 > .service-card { grid-column: span 2; }
  #services .card-grid.cols-5 > .service-card:nth-child(-n+2) { grid-column: span 3; }
}

/* Composition éditoriale commune : titres à gauche et paragraphes justifiés. */
:root body :is(main, .hero, section) { text-align: left; }
:root body :is(h1, h2, h3, h4, h5, h6, li, blockquote, figcaption, .quote, .two-eyes > div) {
  text-align: left;
  text-align-last: auto;
}
:root body :is(h1, h2) { margin-inline: 0; text-wrap: balance; }
/* Les pages historiques contiennent aussi des alignements en style inline. */
:root body p:not(.eyebrow):not(.case-kicker):not(.aa-label) {
  text-align: justify !important;
  text-align-last: left !important;
  line-height: 1.85;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}
:root body :is(.eyebrow, .case-kicker, .aa-label) {
  text-align: left;
  text-align-last: left;
  hyphens: none;
}
:root body :is(.section-head, .hero-copy, .hero-actions) {
  align-items: flex-start;
  text-align: left;
}
:root body .section-head { width: 100%; }
:root body .hero-copy { width: 100%; min-width: 0; }
:root body :is(.hero-body, .hero .lead, .lead-p, .lead-plan, .hero-notes, .fine, .disclaimer) {
  margin-inline: 0;
  max-width: 65ch;
}
:root body :is(.hero .eyebrow, .hero-offer, .trustline, .secure, .google-cta, .faq-item h3) {
  justify-content: flex-start;
}
:root body .hero .eyebrow::before { display: block; }
:root body :is(.hero-list, .list, .bullets) { margin-inline: 0; }
:root body :is(.hero-list, .list, .bullets, .cmp ul) li { justify-content: flex-start; }
:root body :is(.service-card, .plan-caption) > :is(.num-badge, .icon-circle, .icon-circle-sm) {
  margin-inline: 0;
}
:root body :is(.contact-form, .consent-form) :is(input, textarea, select) {
  font-family: var(--font-body);
  text-align: start;
}
:root body :is(.contact-form, .consent-form) label { line-height: 1.65; }
:root body :is(.hero-notes .fine, .stat-fine, .disclaimer, .legal) {
  font-size: max(12px, .8rem);
  line-height: 1.75;
}
:root body .privacy-section > .wrap { justify-items: start; }
:root body .plan-preview-sec > .wrap > div:last-child { grid-column: 1 / -1; justify-self: start; }

/* Textes des encadrés : éviter les mots espacés sur les lignes courtes. */
:root body.selling-page .service-card p,
:root body.diagnostic-page :is(.service-card, .card, .guarantee-card, .deliverables) p {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Acheter et vendre : lecture à gauche dans les trois sections de conclusion. */
:root body:is(.buying-page, .selling-page) :is(.services, .temoignages, .crossnav) p:not(.eyebrow) {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Rythme de magazine : filets, repères et surfaces ouvertes. */
:root body .section-head {
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: clamp(18px, 2.5vw, 30px);
  margin-bottom: clamp(30px, 4vw, 52px);
}
:root body .hero > .wrap { position: relative; }
:root body .hero h1 { line-height: 1.14; }
:root body .hero-home h1 { font-size: clamp(36px, 4.5vw, 65px); }
:root body .hero-actions { margin-inline: 0; }
:root body .hero-visual { order: 0; }
:root body .hero-visual:has(> img[src*="portrait"]) {
  transform: translateY(14px);
  box-shadow: 0 0 0 12px var(--ink), 0 0 0 13px var(--gold);
}
:root body .hero-badge {
  text-align: left;
  border-top: 1px solid var(--gold);
  padding: 20px 26px;
}
:root body .hero-badge strong { font-size: 32px; letter-spacing: -.04em; }
:root body .service-card {
  border: 0;
  border-top: 1px solid var(--gold);
  border-radius: 0;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: none;
}
:root body .service-card .eyebrow { line-height: 1.7; }
:root body .service-card h3 { margin-block: 8px 16px; }
:root body .punch-line {
  border-inline-start: 3px solid var(--gold);
  border-radius: 0;
}
:root body .plan-preview-sec > .wrap { border-top-width: 1px; }
:root body .plan-preview-head { border-bottom: 1px solid var(--gold); padding-bottom: 28px; }
:root body .plan-preview-sec .plan-caption-grid { gap: 32px; }
:root body .final > .wrap { display: grid; justify-items: start; gap: 24px; }
:root body .final h2 { max-width: 22ch; }
:root body .final .trustline { margin-inline: 0; }

/* Introduction de l’accueil : un manifeste en deux colonnes. */
.editorial-intro > .wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
:root body .editorial-intro .section-head {
  border-inline-start: 0;
  border-top: 1px solid var(--gold);
  padding: 24px 0 0;
  margin: 0;
}
:root body .editorial-intro .section-head h2 {
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.2;
}
.editorial-copy { display: grid; gap: 20px; padding-top: 24px; }
.editorial-copy strong {
  display: block;
  border-block: 1px solid var(--gold-light);
  padding-block: 24px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.6;
}
@media (min-width: 1100px) {
  :root body #services .card-grid.cols-5 { gap: 0; border-bottom: 1px solid var(--gold); }
  :root body #services .service-card { padding: 36px; border-inline-end: 1px solid var(--gold-light); }
  :root body #services .service-card:nth-child(2),
  :root body #services .service-card:last-child { border-inline-end: 0; }
  :root body #services .service-card:first-child { background: var(--ink); color: var(--cream); --text-mute: var(--beige); --gold: var(--beige); }
  :root body #services .service-card:first-child .btn { border-color: var(--beige); color: var(--cream); }
}
@media (max-width: 960px) {
  .editorial-intro > .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :root body .hero-visual:has(> img[src*="portrait"]) { transform: none; }
  :root body .hero > .wrap { gap: 44px; }
}
@media (max-width: 560px) {
  :root body p { font-size: max(13px, .875rem); line-height: 1.8; }
  :root body .hero-home h1 { font-size: clamp(30px, 7.4vw, 40px); }
  :root body .service-card { padding: 26px 22px; }
  :root body .section-head { padding-inline-start: 18px; }
}

:root body.confirmation-page { min-width: 0; grid-template-columns: minmax(0, 1fr); }
:root body.confirmation-page .card {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 650px;
  margin: 24px auto;
  padding: clamp(24px, 6vw, 56px);
}

/* Alignements épurés : aucun filet devant les titres. */
:root body .hero .eyebrow::before { content: none; display: none; }
:root body .section-head,
:root body .editorial-intro .section-head,
:root body .plan-preview-head {
  border: 0;
  padding-inline: 0;
}
:root body :is(.section-head, .faq-head, .diag-preview-head) {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}
:root body :is(h2, h3, h4, h5, h6, .eyebrow) {
  text-align: left;
  text-align-last: auto;
}
:root body .eyebrow-line { justify-content: flex-start; }
:root body .eyebrow-line .line { display: none; }

/* Les cinq étapes partagent une même ligne de chiffres, même sur mobile. */
:root body.home-page .parcours {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 28px);
  align-items: start;
}
/* Les flèches restent centrées entre les numéros, au-dessus des libellés. */
:root body.home-page .parcours-arrow {
  display: flex;
  position: absolute;
  top: 0;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}
:root body.home-page .parcours-arrow:nth-child(2) { left: calc(20% - clamp(6px, 2vw, 28px) * .3); }
:root body.home-page .parcours-arrow:nth-child(4) { left: calc(40% - clamp(6px, 2vw, 28px) * .1); }
:root body.home-page .parcours-arrow:nth-child(6) { left: calc(60% + clamp(6px, 2vw, 28px) * .1); }
:root body.home-page .parcours-arrow:nth-child(8) { left: calc(80% + clamp(6px, 2vw, 28px) * .3); }
:root body.home-page .parcours-step {
  min-width: 0;
  gap: 14px;
  justify-content: flex-start;
}
:root body.home-page .parcours-step .num-badge { flex: none; margin: 0; }
:root body.home-page .parcours-step span { width: 100%; text-align: center; line-height: 1.5; }
:root body.home-page .section-method p {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: none;
}
:root body.home-page .about-gallery-head h3 { text-align: center; }

/* Réservation : une invitation compacte et un bouton clairement détaché. */
:root body:is(.home-page, .call-page) { min-width: 0; }
:root body .booking-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 14px;
  align-items: center;
  text-align: left;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 2px;
  box-shadow: none;
  scroll-margin-top: 110px;
}
:root body .booking-card > .icon-circle { display: none; }
:root body .booking-card h3 { grid-column: 1; max-width: none; margin: 0; }
:root body .booking-card p {
  grid-column: 1;
  margin: 0;
  max-width: 60ch;
  text-align: left !important;
  text-align-last: left !important;
}
:root body .booking-card .booking-btn {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  max-width: 320px;
  padding: 22px 28px;
  text-align: center;
  line-height: 1.6;
}

/* Contact : introduction à gauche, action ou formulaire à droite. */
:root body:is(.home-page, .call-page) .contact-form-section > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px clamp(32px, 6vw, 80px);
  align-items: start;
}
:root body:is(.home-page, .call-page) .contact-form-section .section-head {
  grid-column: 1;
  grid-row: 1 / span 4;
  margin: 0;
}
:root body:is(.home-page, .call-page) .contact-form-section .icon-circle { display: none; }
:root body:is(.home-page, .call-page) .contact-form-section h2 {
  margin: 0 0 20px;
  max-width: 15ch;
}
:root body:is(.home-page, .call-page) .contact-form-section .lead {
  margin: 0;
  text-align: left !important;
  text-align-last: left !important;
}
:root body:is(.home-page, .call-page) .contact-form-section > .wrap > :not(.section-head) {
  grid-column: 2;
  min-width: 0;
  width: 100%;
  margin: 0;
  text-align: left !important;
  text-align-last: left !important;
}
:root body.call-page .contact-form { padding: 0; }
:root body.home-page .contact-form-alt .btn { padding: 22px 30px; }

/* Aperçu : le titre et les repères de l’offre accompagnent le document. */
:root body.diagnostic-page .hero-notes p.fine {
  font-size: 11px;
  line-height: 1.65;
}
:root body.diagnostic-page .diag-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px clamp(28px, 5vw, 64px);
  align-items: start;
}
:root body.diagnostic-page .diag-preview-head .eyebrow-line { grid-column: 1 / -1; margin: 0; }
:root body.diagnostic-page .diag-preview-head h2 { grid-column: 1; grid-row: 2 / span 2; }
:root body.diagnostic-page .diag-preview-head .lead-plan {
  grid-column: 2;
  margin: 0;
  text-align: left !important;
  text-align-last: left !important;
}
:root body.diagnostic-page .diag-info-bar { grid-column: 2; justify-content: flex-start; margin: 0; flex-wrap: wrap; }
:root body.diagnostic-page .final > .wrap { justify-items: center; gap: 22px; }
:root body.diagnostic-page .final .final-signature {
  width: min(100%, 320px);
  height: auto;
}
:root body.diagnostic-page .diag-final-box .btn:not(.btn-dark):not(.btn-dark-outline) {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
:root body.diagnostic-page .diag-final-box .btn:not(.btn-dark):not(.btn-dark-outline):hover {
  background: var(--cream);
  border-color: var(--cream);
}
:root body.diagnostic-page .final .eyebrow {
  width: 100%;
  max-width: 34ch;
  text-align: center;
  text-align-last: center;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}
:root body.diagnostic-page .final h2 { max-width: none; text-align: left; }
:root body.diagnostic-page .final p {
  text-align: center !important;
  text-align-last: center !important;
}
:root body.diagnostic-page .final :is(.secure, .guarantee-line) { justify-content: center; }

@media (max-width: 960px) {
  :root body .booking-card { grid-template-columns: minmax(0, 1fr); }
  :root body .booking-card .booking-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  :root body:is(.home-page, .call-page) .contact-form-section > .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  :root body:is(.home-page, .call-page) .contact-form-section .section-head { grid-row: auto; }
  :root body:is(.home-page, .call-page) .contact-form-section > .wrap > :not(.section-head) { grid-column: 1; }
  :root body.diagnostic-page .diag-preview-head { grid-template-columns: minmax(0, 1fr); }
  :root body.diagnostic-page .diag-preview-head :is(h2, .lead-plan, .diag-info-bar) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
  :root body.home-page .parcours-step span { font-size: 10px; overflow-wrap: anywhere; }
  :root body.home-page .parcours-step .num-badge { width: 38px; height: 38px; font-size: 14px; }
  :root body.home-page .parcours-arrow { height: 38px; font-size: 12px; }
  :root body .booking-card .booking-btn { width: 100%; max-width: none; padding: 20px 16px; }
  :root body.home-page .contact-form-alt .btn { width: 100%; padding-inline: 16px; }
}

/* Priorité aux alignements demandés, y compris les anciens styles inline. */
:root body :is(h2, h3, h4, h5, h6, .eyebrow) { text-align: left !important; text-align-last: auto !important; }
:root body .section-head { margin-inline: 0 !important; }
:root body.home-page .about-gallery-head h3 { text-align: center !important; }
:root body.diagnostic-page .final .eyebrow { text-align: center !important; text-align-last: center !important; }
:root body:is(.home-page, .call-page) .contact-form-section > .wrap p {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: none;
}
:root body.diagnostic-page .diag-preview-head p.lead-plan {
  text-align: left !important;
  text-align-last: left !important;
  hyphens: none;
}
:root body.diagnostic-page .diag-info-bar .sep { display: none; }
@media (max-width: 560px) {
  :root body.home-page .parcours-step span {
    font-size: clamp(8px, 2.3vw, 11px);
    overflow-wrap: normal;
    hyphens: auto;
  }
  :root body .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  :root body .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  :root body.diagnostic-page .urgency .cta-col .btn { min-width: 0; width: 100%; }
}

/* Contour clair commun à tous les portraits de Caroline. */
:root body :is(.hero-visual, .hero-media, .about-photo):has(> img[src*="portrait"]),
:root body :is(.about, .about-sec) img.photo[src*="portrait"] {
  border: 1px solid var(--cream);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px var(--cream);
}
/* Le même cartouche d’expérience que sur le Diagnostic 197 $. */
:root body :is(.hero-visual .hero-badge, .hero-media .badge) {
  position: absolute;
  inset: auto auto 18px 18px;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--ink);
  color: var(--text-light-mute);
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}
:root body :is(.hero-badge strong, .hero-media .badge b) {
  display: block;
  font-family: var(--font-body);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
}

/* Retouches de palette et de mise en page communes. */
:root body :is(.hero-visual, .hero-media, .about-photo):has(> img[src*="portrait"]),
:root body :is(.about, .about-sec) img.photo[src*="portrait"] {
  border: 1px solid var(--warm-gray-1);
  box-shadow: 0 0 0 5px var(--warm-gray-1);
}
:root body .section-head > .eyebrow,
:root body .service-card { border-color: var(--accent-403); }
:root body.call-page .hero-actions .trustline {
  border-top: 0;
  padding-top: 0;
}
:root body.diagnostic-page .hero-notes {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
}
:root body.diagnostic-page .hero-notes p.fine {
  display: inline;
  font-size: 11px;
  line-height: 1.65;
  text-align: center !important;
  text-align-last: auto !important;
  hyphens: none;
}
@media (min-width: 1200px) {
  :root body.diagnostic-page .hero-notes {
    white-space: nowrap;
  }
  :root body.diagnostic-page .hero-notes p.fine {
    font-size: 9px;
  }
}
:root body.diagnostic-page .faq-head .h2 {
  margin-inline: 0;
  max-width: none;
  text-align: left !important;
}
:root body.about-page .professional-title {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.45;
}
/* Empêcher le portrait de grandir au-delà de sa colonne avec le texte. */
:root body.about-page .about-wrap {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
}
:root body.about-page .about-photo {
  width: 100%;
  min-width: 0;
  max-width: 420px;
  justify-self: start;
  box-sizing: border-box;
}
:root body.about-page .about-copy { min-width: 0; }
@media (max-width: 960px) {
  :root body.about-page .about-wrap { grid-template-columns: minmax(0, 1fr); }
  :root body.about-page .about-photo { max-width: 340px; justify-self: center; }
}

/* Beige pâle pour l’en-tête et charbon pour la signature blanche. */
:root body .nav {
  background: var(--cream);
  color: var(--ink);
}
:root body .nav :is(.nav-links, .brand-caption, .nav-separator) {
  color: var(--ink);
}
:root body .nav-links a:is(:hover, .active) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
:root body .nav-links a:focus-visible {
  outline-color: var(--ink);
}
:root body footer :is(.footer-brand-caption, .nav-separator) {
  color: var(--text-light);
}
:root body footer nav a:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
:root body footer nav:focus-visible,
:root body footer nav a:focus-visible {
  outline-color: var(--text-light);
}

/* Signature et prise de contact sous la présentation du diagnostic. */
:root body.diagnostic-page .about-sec .signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 408px);
  margin-top: 32px;
}
:root body.diagnostic-page .about-sec .signature img {
  width: min(100%, 380px);
  height: auto;
}
:root body.diagnostic-page .about-sec .signature .btn {
  width: 100%;
  margin-top: 36px;
  padding: 26px 20px;
  background: var(--beige);
  border-color: var(--beige);
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.3;
}
:root body.diagnostic-page .about-sec .signature .btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Garder la signature et son bouton dans la hauteur du portrait. */
@media (min-width: 961px) {
  :root body.diagnostic-page .about-sec .about {
    align-items: stretch;
  }
  :root body.diagnostic-page .about-sec img.photo {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
  }
  :root body.diagnostic-page .about-sec .signature {
    width: min(100%, 340px);
    margin-top: 20px;
  }
  :root body.diagnostic-page .about-sec .signature img {
    width: min(100%, 280px);
  }
  :root body.diagnostic-page .about-sec .signature .btn {
    margin-top: 20px;
    padding: 18px 20px;
    font-size: 24px;
  }
}
