/* =========================================================
   OUIRGANE — pages intérieures (non chargé sur l'accueil)
   Préfixes : oa- approche · ock- clé en main · osv- services
              opf-/opj- réalisations · oab- à propos · oct- contact
   ========================================================= */

:root {
  --o-sec: clamp(3.5rem, 2.25rem + 4.5vw, 7.5rem);
  --o-sec-s: clamp(2.5rem, 1.75rem + 3vw, 5rem);
  /* Bord gauche du contenu (aligné sur le logo) */
  --o-edge: max(var(--o-pad), calc((100vw - 88rem) / 2));
}

.o-main--editorial .wp-block-post-content > *,
.o-main--editorial > * {
  margin-block: 0;
}
.o-main--editorial em {
  font-style: italic;
  font-weight: 300;
}
.o-main--editorial h1 em,
.o-main--editorial h2 em {
  color: var(--o-gold-deep);
}

/* Titre d'écran commun aux pages (taille entre l'accueil et les titres de section) */
.oa-hero__title,
.oct-hero__title,
.ock-hero__title {
  margin: 0.9rem 0 0;
  font-size: clamp(2.25rem, 0.9rem + 2.55vw, 3.5rem) !important;
  font-weight: 330;
  line-height: 1.06;
  letter-spacing: -0.018em;
}

/* ---------- Bandeau de fin partagé ---------- */
.o-closing {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'eyebrow actions' 'title actions';
  align-items: center;
  column-gap: var(--o-sec-s);
  padding: var(--o-sec-s) var(--o-edge) !important;
}
.o-closing > * {
  max-width: none !important;
  margin: 0 !important;
}
.o-closing__eyebrow {
  grid-area: eyebrow;
  color: var(--o-gold-deep);
}
.o-closing__title {
  grid-area: title;
  margin-top: 0.6rem !important;
  font-size: clamp(1.75rem, 1.1rem + 1.8vw, 2.75rem) !important;
}
.o-closing__actions {
  grid-area: actions;
  gap: 0.75rem 1rem;
}
.o-closing--sand {
  background:
    radial-gradient(120% 140% at 0% 0%, #efe6d8 0%, rgb(239 230 216 / 0) 55%),
    linear-gradient(100deg, var(--o-limestone) 0%, var(--o-sand) 100%);
}
.o-closing--stone {
  background: var(--o-limestone);
  border-top: 1px solid var(--o-line);
}
.o-closing--palm {
  background: var(--o-palm);
  color: var(--o-ivory);
}
.o-closing--palm .o-closing__eyebrow {
  color: var(--o-gold);
}
@media (max-width: 781px) {
  .o-closing {
    grid-template-columns: 1fr;
    grid-template-areas: 'eyebrow' 'title' 'actions';
  }
  .o-closing__actions {
    margin-top: 1.5rem !important;
  }
}

/* Listes éditoriales à filets (réutilisées) */
.oa-commit__list,
.ock-remote__list,
.oab-values__list,
.osv-index {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================================================
   01 — NOTRE APPROCHE
   ========================================================= */
.oa-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(calc(100svh - var(--o-header-h)), 52rem);
  background: var(--o-ivory);
}
.oa-hero__text {
  align-self: center;
  max-width: calc(40rem + var(--o-edge));
  padding: var(--o-sec-s) var(--o-sec-s) var(--o-sec-s) var(--o-edge);
}
.oa-hero__text > * {
  margin: 0;
}
.oa-hero__lead {
  max-width: 30rem;
  margin-top: 1.5rem !important;
  font-size: var(--wp--preset--font-size--lead);
  color: var(--o-ink-soft);
}
.oa-hero .wp-block-buttons {
  margin-top: 2rem !important;
}
.oa-hero__img {
  position: relative;
  margin: 0 !important;
  min-height: 24rem;
}
.oa-hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.oa-philo {
  padding-block: var(--o-sec);
}
.oa-philo__intro {
  gap: var(--o-sec-s) !important;
  align-items: center !important;
}
.oa-philo__statement {
  margin-top: 1rem !important;
  font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem) !important;
  line-height: 1.18;
}
.oa-philo__img {
  margin: 0;
}
.oa-philo__img img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.oa-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: var(--o-sec-s) !important;
}
.oa-principles > * {
  margin: 0 !important;
}
.oa-principle {
  padding-top: 1.25rem;
  border-top: 1px solid var(--o-line);
}
.oa-principle > * {
  margin: 0 !important;
}
.oa-principle__num {
  font-family: var(--wp--preset--font-family--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--o-gold-deep);
}
.oa-principle__title {
  margin-top: 0.75rem !important;
  font-size: 1.375rem !important;
  line-height: 1.25;
}
.oa-principle p:last-child {
  margin-top: 0.6rem !important;
  font-size: 0.9375rem;
  color: var(--o-ink-soft);
}

/* Interlocuteur unique */
.oa-hub {
  padding-block: var(--o-sec) !important;
}
.oa-hub__layout {
  gap: var(--o-sec-s) !important;
  align-items: center !important;
}
.oa-hub__eyebrow {
  color: var(--o-gold);
}
.oa-hub__title {
  margin-top: 1rem !important;
  font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem) !important;
  line-height: 1.15;
}
.oa-hub__intro p:not(.o-label) {
  color: rgb(247 243 235 / 0.82);
}
.oa-hub__note {
  margin-top: 1.5rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--o-line-light);
  font-size: 0.875rem;
}
.oa-hub__map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(9rem, 0.8fr) 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 1.25rem;
  align-items: center;
}
/* Fils d'or reliant les métiers au centre */
.oa-hub__map::before,
.oa-hub__map::after {
  content: '';
  position: absolute;
  background: rgb(199 169 110 / 0.45);
}
.oa-hub__map::before {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
}
.oa-hub__map::after {
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
}
.oa-hub__core {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  display: grid;
  place-content: center;
  width: clamp(8.5rem, 12vw, 11rem);
  aspect-ratio: 1;
  margin: 0 !important;
  border: 1px solid var(--o-gold);
  border-radius: 50%;
  background: var(--o-palm);
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}
.oa-hub__core span {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--o-gold);
}
.oa-hub__nodes {
  display: contents;
  list-style: none;
}
.oa-hub__nodes li {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem;
  border: 1px solid var(--o-line-light);
  background: var(--o-palm);
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(247 243 235 / 0.75);
}
.oa-hub__nodes strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--o-ivory);
}
.oa-hub__nodes li:nth-child(1) { grid-column: 1; grid-row: 1; }
.oa-hub__nodes li:nth-child(2) { grid-column: 3; grid-row: 1; }
.oa-hub__nodes li:nth-child(3) { grid-column: 1; grid-row: 2; }
.oa-hub__nodes li:nth-child(4) { grid-column: 3; grid-row: 2; }
.oa-hub__nodes li:nth-child(5) { grid-column: 1; grid-row: 3; }
.oa-hub__nodes li:nth-child(6) { grid-column: 3; grid-row: 3; }

/* Méthode */
.oa-method {
  padding-block: var(--o-sec);
}
.oa-method__intro {
  max-width: 24rem;
  color: var(--o-ink-soft);
}
.oa-steps {
  counter-reset: oa-step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin: var(--o-sec-s) 0 0 !important;
  padding: 0;
  position: relative;
}
.oa-steps::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 3.15rem;
  height: 1px;
  background: var(--o-gold);
  opacity: 0.6;
}
.oa-steps li {
  counter-increment: oa-step;
  position: relative;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--o-ink-soft);
}
.oa-steps li::before {
  content: counter(oa-step, decimal-leading-zero);
  display: block;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--o-gold-deep);
}
.oa-steps li::after {
  content: '';
  position: absolute;
  left: 0;
  top: calc(3.15rem - 4px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--o-ivory);
  border: 1px solid var(--o-gold-deep);
}
.oa-steps strong {
  display: block;
  margin: 2rem 0 0.4rem;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--o-ink);
}

/* Engagements */
.oa-commit {
  padding-bottom: var(--o-sec);
}
.oa-commit__layout {
  gap: var(--o-sec-s) !important;
}
.oa-commit__img {
  margin: 0;
}
.oa-commit__img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.oa-commit__title {
  margin-top: 1rem !important;
  font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem) !important;
}
.oa-commit__list {
  margin-top: 2rem !important;
  border-bottom: 1px solid var(--o-line);
}
.oa-commit__list li {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) 1.2fr;
  gap: 1.5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--o-line);
  font-size: 0.9375rem;
  color: var(--o-ink-soft);
}
.oa-commit__list strong {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--o-ink);
}

/* Palier intermédiaire (portables étroits, tablettes paysage) */
@media (max-width: 1199px) {
  .oa-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oa-hub__layout {
    flex-wrap: wrap !important;
  }
  .oa-hub__layout > .wp-block-column {
    flex-basis: 100% !important;
  }
  .oa-hub__intro {
    max-width: 44rem;
  }
  .oa-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2.5rem;
  }
  .oa-steps::before,
  .oa-steps li::after {
    display: none;
  }
  .oa-steps strong {
    margin-top: 0.75rem;
  }
}
@media (max-width: 1023px) {
  .oa-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .oa-hero__text {
    padding: var(--o-sec-s) var(--o-pad);
  }
  .oa-hero__img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 70vh;
  }
  .oa-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oa-hub__map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oa-hub__map::before,
  .oa-hub__map::after {
    display: none;
  }
  .oa-hub__core {
    grid-column: 1 / -1;
    grid-row: auto;
    width: auto;
    aspect-ratio: auto;
    justify-self: stretch;
    padding: 1rem;
    border-radius: 0;
  }
  .oa-hub__nodes li:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .oa-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2.5rem;
  }
  .oa-steps::before {
    display: none;
  }
  .oa-steps li::after {
    display: none;
  }
  .oa-steps strong {
    margin-top: 0.75rem;
  }
}
@media (max-width: 599px) {
  .oa-principles,
  .oa-hub__map,
  .oa-steps {
    grid-template-columns: 1fr;
  }
  .oa-commit__list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* =========================================================
   02 — PROJET CLÉ EN MAIN
   ========================================================= */
.ock-hero.wp-block-cover {
  min-height: clamp(32rem, 78vh, 52rem) !important;
  padding: var(--o-sec-s) var(--o-pad) !important;
  color: var(--o-white);
}
.ock-hero .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 88rem;
  margin-inline: auto !important;
}
.ock-hero .wp-block-cover__inner-container > * {
  max-width: 44rem;
  margin-left: 0 !important;
}
.ock-hero .wp-block-cover__background {
  opacity: 1 !important;
  background:
    linear-gradient(0deg, rgb(37 27 18 / 0.88) 0%, rgb(48 36 24 / 0.6) 40%, rgb(48 36 24 / 0.1) 72%),
    linear-gradient(90deg, rgb(40 30 20 / 0.72) 0%, rgb(40 30 20 / 0.45) 38%, rgb(48 36 24 / 0) 66%) !important;
}
.ock-hero__eyebrow {
  color: rgb(250 249 245 / 0.82);
}
.ock-hero__title em {
  color: #e3cd9d !important;
}
.ock-hero__lead {
  max-width: 30rem !important;
  margin-top: 1.25rem !important;
  font-size: var(--wp--preset--font-size--lead);
  color: rgb(250 249 245 / 0.9);
}
.ock-hero .wp-block-buttons {
  margin-top: 2rem !important;
}

.ock-promise {
  padding-block: var(--o-sec);
  text-align: center;
}
.ock-promise__title {
  margin-top: 1.25rem !important;
  font-size: clamp(1.875rem, 1.1rem + 2.2vw, 3.25rem) !important;
  line-height: 1.12;
}
.ock-promise__text {
  max-width: 40rem;
  margin: 1.5rem auto 0 !important;
  color: var(--o-ink-soft);
}
.ock-promise__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0;
  margin: 2rem auto 0 !important;
  padding: 0;
  list-style: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ock-promise__points li + li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 1.25rem 0.15rem;
  border-radius: 50%;
  background: var(--o-gold);
}

.ock-journey {
  padding-bottom: var(--o-sec);
}
.ock-journey__intro {
  max-width: 26rem;
  color: var(--o-ink-soft);
}
.ock-step {
  gap: clamp(2rem, 6vw, 6rem) !important;
  margin: 0 !important;
  padding-block: clamp(2.5rem, 4vw, 4.5rem);
  border-top: 1px solid var(--o-line);
}
.ock-step:first-of-type {
  margin-top: var(--o-sec-s) !important;
}
.ock-step__img {
  margin: 0;
}
.ock-step__img img {
  width: 100%;
  object-fit: cover;
}
.ock-step--tall .ock-step__img img {
  aspect-ratio: 4 / 5;
  max-height: 34rem;
}
.ock-step--wide .ock-step__img img {
  aspect-ratio: 4 / 3;
}
.ock-step__body > * {
  margin: 0 !important;
}
.ock-step__body p:not([class]) {
  max-width: 34rem;
  margin-top: 1rem !important;
  color: var(--o-ink-soft);
}
.ock-step__num {
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(4rem, 2.5rem + 5vw, 8rem);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--o-gold);
}
.ock-step__title {
  margin-top: 0.75rem !important;
  font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.375rem) !important;
}
.ock-step__scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  max-width: 34rem;
  margin-top: 1.5rem !important;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--o-line);
  list-style: none;
  font-size: 0.875rem;
}
.ock-step__scope li {
  position: relative;
  padding-left: 1rem;
}
.ock-step__scope li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 1px;
  background: var(--o-gold-deep);
}

.ock-remote {
  padding-block: var(--o-sec) !important;
}
.ock-remote__layout {
  gap: var(--o-sec-s) !important;
}
.ock-remote__eyebrow {
  color: var(--o-gold);
}
.ock-remote__title {
  margin-top: 1rem !important;
  font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem) !important;
}
.ock-remote__text {
  margin-top: 1.25rem !important;
  color: rgb(247 243 235 / 0.82);
}
.ock-remote__list li {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) 1.2fr;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--o-line-light);
  font-size: 0.9375rem;
  color: rgb(247 243 235 / 0.78);
}
.ock-remote__list li:last-child {
  border-bottom: 1px solid var(--o-line-light);
}
.ock-remote__list strong {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--o-ivory);
}

.ock-tri {
  padding-block: var(--o-sec);
}
.ock-tri__title {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem) !important;
  text-align: center;
}
.ock-tri__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-top: var(--o-sec-s) !important;
  align-items: start;
}
.ock-tri__grid > * {
  margin: 0 !important;
}
.ock-tri__item:nth-child(2) {
  margin-top: clamp(2rem, 5vw, 5rem) !important;
}
.ock-tri__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.ock-tri__item figcaption {
  margin-top: 1rem;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  font-style: italic;
  font-weight: 300;
  text-align: left;
  color: var(--o-ink);
}
.ock-tri__note {
  margin-top: 1.5rem !important;
  font-size: 0.75rem;
  color: var(--o-ink-soft);
}

.ock-faq {
  padding-block: var(--o-sec);
  border-top: 1px solid var(--o-line);
}
.ock-faq__layout {
  gap: var(--o-sec-s) !important;
}
.ock-faq__title {
  margin-top: 1rem !important;
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem) !important;
}
.o-faq {
  margin: 0 !important;
  border-top: 1px solid var(--o-line);
}
.o-faq:last-child {
  border-bottom: 1px solid var(--o-line);
}
.o-faq summary {
  position: relative;
  list-style: none;
  padding: 1.25rem 3rem 1.25rem 0;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.35;
}
.o-faq summary::-webkit-details-marker {
  display: none;
}
.o-faq summary::before,
.o-faq summary::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--o-gold-deep);
  transition: transform 0.4s var(--o-ease);
}
.o-faq summary::after {
  transform: rotate(90deg);
}
.o-faq[open] summary::after {
  transform: rotate(0deg);
}
.o-faq p {
  max-width: 44rem;
  margin: 0 0 1.5rem !important;
  color: var(--o-ink-soft);
}
.o-faq p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 781px) {
  .ock-step--reverse {
    flex-direction: column-reverse;
  }
  .ock-step--tall .ock-step__img img {
    aspect-ratio: 4 / 3;
  }
  .ock-remote__list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .ock-tri__grid {
    grid-template-columns: 1fr;
  }
  .ock-tri__item:nth-child(2) {
    margin-top: 0 !important;
  }
  .ock-tri__item img {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 479px) {
  .ock-step__scope {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   03 — NOS SERVICES
   ========================================================= */
.osv-hero {
  padding-block: var(--o-sec) var(--o-sec-s);
}
.osv-hero > * {
  margin: 0;
}
.osv-hero__title {
  margin-top: 1rem !important;
  font-size: clamp(2.5rem, 1rem + 4.2vw, 5.25rem) !important;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.osv-hero__lead {
  max-width: 34rem;
  margin-top: 1.75rem !important;
  font-size: var(--wp--preset--font-size--lead);
  color: var(--o-ink-soft);
}
.osv-band {
  margin-block: 0 !important;
}
.osv-band img {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  object-fit: cover;
}

.osv-intro {
  padding-block: var(--o-sec-s);
}
.osv-intro__cols {
  gap: var(--o-sec-s) !important;
}
.osv-intro__cols > .wp-block-column + .wp-block-column {
  padding-left: var(--o-sec-s);
  border-left: 1px solid var(--o-line);
}
.osv-intro__title {
  margin-top: 0.75rem !important;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem) !important;
}
.osv-intro p:not([class]) {
  max-width: 30rem;
  color: var(--o-ink-soft);
}
.osv-index {
  margin-top: 1.5rem !important;
  border-top: 1px solid var(--o-line);
}
.osv-index li {
  border-bottom: 1px solid var(--o-line);
}
.osv-index a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.7rem;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.0625rem;
  transition: color 0.3s var(--o-ease), padding 0.4s var(--o-ease);
}
.osv-index a::after {
  content: '';
  width: 14px;
  height: 9px;
  background: currentColor;
  -webkit-mask: var(--o-arrow) center / contain no-repeat;
  mask: var(--o-arrow) center / contain no-repeat;
}
.osv-index a:hover {
  color: var(--o-gold-deep);
  padding-left: 0.5rem;
}

.osv-ch {
  margin-block: 0 !important;
  padding-block: var(--o-sec) !important;
  scroll-margin-top: calc(var(--o-header-h) + 1rem);
}
.osv-ch.wp-block-columns,
.osv-ch__cols {
  gap: clamp(2rem, 6vw, 6rem) !important;
}
.osv-ch--light + .osv-ch--light {
  border-top: 1px solid var(--o-line);
}
.osv-ch__body > *,
.osv-ch__panel > * {
  margin: 0 !important;
}
.osv-ch__num {
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(3.5rem, 2.25rem + 4vw, 6.5rem);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--o-gold);
}
.osv-ch__title {
  margin-top: 0.75rem !important;
  font-size: clamp(1.875rem, 1.2rem + 1.8vw, 3rem) !important;
}
.osv-ch__text {
  max-width: 34rem;
  margin-top: 1.25rem !important;
  color: var(--o-ink-soft);
}
.osv-ch__label {
  margin-top: 1.75rem !important;
  color: var(--o-gold-deep);
}
.osv-ch__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  max-width: 34rem;
  margin-top: 1rem !important;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}
.osv-ch__list li {
  position: relative;
  padding-left: 1rem;
}
.osv-ch__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 1px;
  background: var(--o-gold-deep);
}
.osv-ch .o-textlink {
  margin-top: 1.75rem !important;
}
.osv-ch__img {
  margin: 0;
}
.osv-ch__img img {
  width: 100%;
  object-fit: cover;
}
.osv-ch__img--tall img {
  aspect-ratio: 3 / 4;
  max-height: 40rem;
}
.osv-ch__img--portrait img {
  aspect-ratio: 4 / 5;
}
.osv-ch__img--wide img {
  aspect-ratio: 4 / 3;
}
.osv-ch__quote {
  max-width: 30rem;
  margin-top: 1.25rem !important;
  padding-left: 1.25rem;
  border-left: 1px solid var(--o-gold);
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
}
/* Chapitre sombre plein cadre */
.osv-ch--dark.wp-block-cover {
  min-height: clamp(30rem, 42vw, 40rem) !important;
  padding: var(--o-sec-s) var(--o-pad) !important;
}
.osv-ch--dark .wp-block-cover__background {
  opacity: 1 !important;
  background: linear-gradient(270deg, rgb(23 21 15 / 0.82) 0%, rgb(23 21 15 / 0.55) 45%, rgb(23 21 15 / 0.1) 75%) !important;
}
.osv-ch--dark .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 88rem;
  margin-inline: auto !important;
}
.osv-ch__panel {
  max-width: 32rem;
  margin-left: auto !important;
  color: var(--o-ivory);
}
.osv-ch--dark .osv-ch__text,
.osv-ch--palm .osv-ch__text {
  color: rgb(247 243 235 / 0.84);
}
.osv-ch--dark .osv-ch__num,
.osv-ch--palm .osv-ch__num,
.osv-ch--palm .osv-ch__label {
  color: var(--o-gold);
}
.osv-ch--dark .osv-ch__list li::before,
.osv-ch--palm .osv-ch__list li::before {
  background: var(--o-gold);
}
.osv-ch--dark .o-textlink a,
.osv-ch--palm .o-textlink a {
  color: var(--o-ivory);
}
.osv-ch--dark .osv-ch__list {
  margin-top: 1.5rem !important;
}

@media (max-width: 781px) {
  .osv-band img {
    aspect-ratio: 16 / 10;
  }
  .osv-intro__cols > .wp-block-column + .wp-block-column {
    padding-left: 0;
    padding-top: var(--o-sec-s);
    border-left: 0;
    border-top: 1px solid var(--o-line);
  }
  /* Image toujours après le texte sur mobile, pour un rythme régulier */
  .osv-ch.wp-block-columns,
  .osv-ch__cols {
    flex-direction: column;
  }
  .osv-ch--stone .osv-ch__cols,
  .osv-ch--palm .osv-ch__cols {
    flex-direction: column-reverse;
  }
  .osv-ch__img--tall img {
    aspect-ratio: 4 / 3;
  }
  .osv-ch--dark.wp-block-cover {
    align-items: flex-end;
  }
  .osv-ch--dark .wp-block-cover__background {
    background: linear-gradient(0deg, rgb(23 21 15 / 0.9) 0%, rgb(23 21 15 / 0.6) 55%, rgb(23 21 15 / 0.2) 100%) !important;
  }
}
@media (max-width: 479px) {
  .osv-ch__list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   04 — RÉALISATIONS (archive + fiche)
   ========================================================= */
.opf-hero {
  padding-block: var(--o-sec) var(--o-sec-s);
}
.opf-hero > * {
  margin-block: 0;
}
.opf-hero__title {
  margin-top: 1rem !important;
  font-size: clamp(2.5rem, 1rem + 4.2vw, 5.25rem) !important;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.opf-hero__text {
  max-width: 36rem !important;
  margin-top: 1.75rem !important;
  margin-left: 0 !important;
  font-size: var(--wp--preset--font-size--lead);
  color: var(--o-ink-soft);
}
.opf-portfolio {
  padding-bottom: var(--o-sec-s);
}
.opf-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--o-sec-s) clamp(1rem, 2.5vw, 2.5rem) !important;
  list-style: none;
  padding: 0;
}
.opf-grid > li:nth-child(3n + 1) {
  grid-column: 1 / -1;
}
.opf-grid > li:nth-child(3n + 1) .opf-card__img img {
  aspect-ratio: 21 / 9 !important;
}
.opf-card__img {
  overflow: hidden;
  margin: 0 !important;
}
.opf-card__img img {
  transition: transform 1.2s var(--o-ease);
}
.opf-card__img:hover img {
  transform: scale(1.04);
}
.opf-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 2rem;
  margin-top: 1rem !important;
}
.opf-card__body > * {
  margin: 0 !important;
}
.opf-card__title {
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem) !important;
}
.opf-card__loc,
.opf-card__loc p {
  font-size: 0.875rem;
  color: var(--o-ink-soft);
}
.opf-card__terms {
  grid-column: 1 / -1;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--o-gold-deep);
}
.opf-empty {
  padding-block: var(--o-sec-s);
  border-block: 1px solid var(--o-line);
}
.opf-empty > * {
  margin: 0 !important;
}
.opf-empty__text {
  max-width: 40rem;
  margin-top: 0.75rem !important;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  font-weight: 300;
  line-height: 1.35;
}
.opf-pagination {
  margin-top: var(--o-sec-s) !important;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.opf-insp {
  padding-block: var(--o-sec-s) var(--o-sec);
}
.opf-insp__note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--o-ink-soft);
}
.opf-insp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin-top: clamp(1.25rem, 2vw, 2rem) !important;
  align-items: start;
}
.opf-insp__grid > * {
  margin: 0 !important;
}
.opf-insp__img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.opf-insp__img:nth-child(even) {
  margin-top: clamp(1.5rem, 4vw, 4rem) !important;
}

/* Fiche projet */
.opj-hero.wp-block-cover {
  padding: var(--o-sec-s) var(--o-pad) !important;
  color: var(--o-white);
}
.opj-hero .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 88rem;
  margin-inline: auto !important;
}
.opj-hero .wp-block-cover__background {
  background: linear-gradient(0deg, rgb(23 21 15 / 0.8), rgb(23 21 15 / 0.1) 60%) !important;
  opacity: 1 !important;
}
.opj-hero__eyebrow a {
  color: rgb(250 249 245 / 0.82);
}
.opj-hero__title {
  margin-top: 0.75rem !important;
  font-size: clamp(2.25rem, 1rem + 3vw, 4rem) !important;
}
.opj-hero__loc p {
  margin: 0.5rem 0 0;
  color: rgb(250 249 245 / 0.85);
}
.opj-meta {
  padding-block: var(--o-sec-s) 0;
}
.opj-meta__terms {
  margin-top: 0.5rem !important;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.25rem;
}
.opj-content {
  padding-block: var(--o-sec-s);
}
.opj-content .wp-block-gallery {
  gap: clamp(0.75rem, 1.5vw, 1.25rem) !important;
}
.opj-nav {
  padding: var(--o-sec-s) var(--o-edge);
  border-top: 1px solid var(--o-line);
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.125rem;
}
@media (max-width: 781px) {
  .opf-grid {
    grid-template-columns: 1fr;
  }
  .opf-grid > li:nth-child(3n + 1) .opf-card__img img {
    aspect-ratio: 4 / 3 !important;
  }
  .opf-insp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   05 — À PROPOS
   ========================================================= */
.oab-hero {
  padding-block: var(--o-sec) var(--o-sec-s);
  text-align: center;
}
.oab-hero > * {
  margin-inline: auto !important;
  margin-block: 0;
}
.oab-hero__title {
  margin-top: 1.25rem !important;
  font-size: clamp(2.5rem, 1rem + 4.2vw, 5rem) !important;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.oab-band {
  margin-block: 0 !important;
}
.oab-band img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}
.oab-band figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--o-ink-soft);
  text-align: right;
}
.oab-story {
  gap: var(--o-sec-s) !important;
  margin-block: 0 !important;
  padding-block: var(--o-sec);
}
.oab-story__lead {
  margin-top: 0 !important;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.375rem);
  font-weight: 330;
  line-height: 1.22;
}
.oab-story p:not([class]) {
  max-width: 42rem;
  margin-top: 1.25rem !important;
  color: var(--o-ink-soft);
}
.oab-heritage {
  padding-block: var(--o-sec) !important;
}
.oab-heritage__layout {
  gap: var(--o-sec-s) !important;
  align-items: center !important;
}
.oab-heritage__title {
  margin-top: 1rem !important;
  font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem) !important;
}
.oab-heritage__text p:not([class]) {
  margin-top: 1.25rem !important;
  color: var(--o-ink-soft);
}
.oab-heritage__images {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}
.oab-heritage__images > * {
  margin: 0 !important;
}
.oab-heritage__img img {
  width: 100%;
  object-fit: cover;
}
.oab-heritage__img--a {
  grid-column: 1 / 9;
  grid-row: 1;
}
.oab-heritage__img--a img {
  aspect-ratio: 5 / 4;
}
.oab-heritage__img--b {
  grid-column: 8 / 13;
  grid-row: 1;
  position: relative;
  top: 4rem;
  box-shadow: -1rem -1rem 0 var(--o-limestone);
}
.oab-heritage__img--b img {
  aspect-ratio: 4 / 5;
}
.oab-values {
  padding-block: calc(var(--o-sec) + 2rem) var(--o-sec);
}
.oab-values__list {
  margin-top: 1.5rem !important;
  border-bottom: 1px solid var(--o-line);
}
.oab-values__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 2rem;
  padding-block: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--o-line);
  color: var(--o-ink-soft);
}
.oab-values__list strong {
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--o-ink);
  transition: color 0.4s var(--o-ease), padding 0.5s var(--o-ease);
}
.oab-values__list li:hover strong {
  color: var(--o-gold-deep);
  padding-left: 0.5rem;
}
@media (max-width: 781px) {
  .oab-hero {
    text-align: left;
  }
  .oab-hero > * {
    margin-inline: 0 !important;
  }
  .oab-band img {
    aspect-ratio: 4 / 3;
  }
  .oab-heritage__img--b {
    top: 0;
    box-shadow: none;
    grid-column: 6 / 13;
    grid-row: 2;
    margin-top: -3rem !important;
  }
  .oab-heritage__img--a {
    grid-column: 1 / 11;
  }
  .oab-values__list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* =========================================================
   06 — CONTACT
   ========================================================= */
.oct-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(26rem, 58vh, 40rem);
  background: var(--o-limestone);
}
.oct-hero__img {
  position: relative;
  margin: 0 !important;
}
.oct-hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.oct-hero__text {
  align-self: center;
  padding: var(--o-sec-s) var(--o-edge) var(--o-sec-s) var(--o-sec-s);
}
.oct-hero__text > * {
  margin: 0;
}
.oct-hero__lead {
  max-width: 28rem;
  margin-top: 1.25rem !important;
  font-size: var(--wp--preset--font-size--lead);
  color: var(--o-ink-soft);
}
.oct-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1vw, 1rem);
  padding-top: var(--o-sec-s);
}
.oct-paths > * {
  margin: 0 !important;
}
.oct-path {
  position: relative;
  padding: clamp(1.75rem, 3vw, 3rem) !important;
}
.oct-path > * {
  margin: 0 !important;
}
.oct-path--palm .oct-path__label {
  color: var(--o-gold);
}
.oct-path--sand .oct-path__label {
  color: var(--o-gold-deep);
}
.oct-path__title {
  margin-top: 0.75rem !important;
  font-size: clamp(1.625rem, 1.2rem + 1vw, 2.25rem) !important;
}
.oct-path__text {
  max-width: 26rem;
  margin-top: 0.75rem !important;
  opacity: 0.85;
}
.oct-path__cta {
  margin-top: 1.75rem !important;
}
.oct-path__cta a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.oct-path__cta a::before {
  content: '';
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--oct-arrow) center / 15px auto no-repeat;
  transition: background-color 0.45s var(--o-ease), border-color 0.45s var(--o-ease);
}
.oct-path--palm {
  --oct-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23F7F3EB' stroke-width='1.1'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E");
}
.oct-path--sand {
  --oct-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%232A231C' stroke-width='1.1'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E");
}
.oct-path:hover .oct-path__cta a::before {
  background-color: var(--o-gold);
  border-color: var(--o-gold);
}
.oct-path__cta a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.oct-path:hover .oct-path__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.oct-main {
  gap: var(--o-sec-s) !important;
  margin-block: 0 !important;
  padding-block: var(--o-sec-s) var(--o-sec);
}
.oct-main__title {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem) !important;
  margin-bottom: 1.5rem !important;
}
.oct-main__aside {
  padding-left: var(--o-sec-s);
  border-left: 1px solid var(--o-line);
}
.oct-main__note {
  margin-top: 2rem !important;
  font-size: 0.875rem;
  color: var(--o-ink-soft);
}
.oct-closing {
  margin-block: 0 !important;
}
.oct-closing img {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
}

/* Formulaire */
.o-form,
.o-form *,
.o-form-wrap * {
  box-sizing: border-box;
}
.o-form {
  display: grid;
  gap: 1.5rem;
}
.o-form p {
  margin: 0;
}
.o-form__trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.o-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.o-form label,
.o-form legend {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.o-form__opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--o-ink-soft);
}
.o-form input[type='text'],
.o-form input[type='email'],
.o-form input[type='tel'],
.o-form select,
.o-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(42 35 28 / 0.25);
  border-radius: 2px;
  background: var(--o-white);
  font: inherit;
  font-size: 1rem;
  color: var(--o-ink);
  transition: border-color 0.3s var(--o-ease), box-shadow 0.3s var(--o-ease);
}
.o-form textarea {
  resize: vertical;
}
.o-form input:focus,
.o-form select:focus,
.o-form textarea:focus {
  outline: none;
  border-color: var(--o-palm);
  box-shadow: 0 0 0 3px rgb(46 59 50 / 0.15);
}
.o-form [aria-invalid='true'] {
  border-color: var(--wp--preset--color--terracotta) !important;
}
.o-form__types {
  margin: 0;
  padding: 0;
  border: 0;
}
.o-form__choice {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem !important;
  padding: 0.85rem 1rem;
  border: 1px solid rgb(42 35 28 / 0.2);
  background: var(--o-white);
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
}
.o-form__choice:has(input:checked) {
  border-color: var(--o-palm);
  box-shadow: inset 3px 0 0 var(--o-palm);
}
.o-form__choice input,
.o-form__consent input {
  accent-color: var(--o-palm);
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}
.o-form__consent label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--o-ink-soft);
}
.o-form__consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.o-form__error {
  margin-top: 0.4rem !important;
  font-size: 0.875rem;
  color: #8f4a33;
}
.o-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.o-form__button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--o-palm);
  border-radius: 2px;
  background: var(--o-palm);
  color: var(--o-ivory);
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s var(--o-ease);
}
.o-form__button::after {
  content: '';
  width: 14px;
  height: 9px;
  background: currentColor;
  -webkit-mask: var(--o-arrow) center / contain no-repeat;
  mask: var(--o-arrow) center / contain no-repeat;
}
.o-form__button:hover:not(:disabled) {
  background: var(--o-palm-deep);
}
.o-form__button:disabled,
.o-form [disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}
.o-form__required {
  font-size: 0.75rem;
  color: var(--o-ink-soft);
}
/* Mention d'information (loi 09-08, article 5) */
.o-form__info {
  margin-top: 1.25rem !important;
  max-width: 46rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--o-ink-soft);
}
.o-form__notice {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--o-gold-deep);
  background: var(--o-white);
  font-size: 0.9375rem;
}
.o-form__notice--success {
  border-color: var(--o-palm);
}
.o-form__notice--error {
  border-color: #8f4a33;
}

@media (max-width: 1023px) {
  .oct-hero {
    grid-template-columns: 1fr;
  }
  .oct-hero__img {
    aspect-ratio: 16 / 9;
    order: 2;
  }
  .oct-hero__text {
    padding: var(--o-sec-s) var(--o-pad);
  }
}
@media (max-width: 781px) {
  .oct-paths {
    grid-template-columns: 1fr;
  }
  .oct-main__aside {
    padding-left: 0;
    padding-top: var(--o-sec-s);
    border-left: 0;
    border-top: 1px solid var(--o-line);
  }
  .o-form__grid {
    grid-template-columns: 1fr;
  }
  .oct-closing img {
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   1.2.0 — Raffinement des pages intérieures
   Mêmes sections, mêmes contenus : seules l'échelle typographique,
   les contrastes et les ors sont alignés sur l'accueil.
   ========================================================= */

/* Titres d'écran : même ampleur que le hero de l'accueil */
.oa-hero__title,
.oct-hero__title,
.ock-hero__title {
  font-size: clamp(2.375rem, 0.85rem + 3vw, 4rem) !important;
  font-weight: 320;
  letter-spacing: -0.02em;
}
.osv-hero__title,
.opf-hero__title,
.oab-hero__title {
  font-weight: 320;
  letter-spacing: -0.022em;
}

/* Surtitre des écrans d'ouverture : filet or, comme sur l'accueil */
.oa-hero__text > .o-eyebrow,
.oct-hero__text > .o-eyebrow,
.osv-hero > .o-eyebrow,
.opf-hero > .o-eyebrow,
.oab-hero > .o-eyebrow,
.ock-hero__eyebrow {
  display: flex !important;
  align-items: center;
  gap: 0.9rem;
}
.oa-hero__text > .o-eyebrow::before,
.oct-hero__text > .o-eyebrow::before,
.osv-hero > .o-eyebrow::before,
.opf-hero > .o-eyebrow::before,
.oab-hero > .o-eyebrow::before,
.ock-hero__eyebrow::before {
  content: '';
  flex: none;
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.oab-hero > .o-eyebrow {
  justify-content: center;
}
.ock-hero__eyebrow {
  color: var(--o-gold-light) !important;
}

/* Chapôs : plus grands, plus contrastés */
.oa-hero__lead,
.oct-hero__lead,
.osv-hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem) !important;
  line-height: 1.7;
  color: var(--o-ink);
  opacity: 0.86;
}

/* Ors sur fonds sombres : or clair (contraste ≥ 6,6:1) */
.o-closing--palm .o-closing__eyebrow,
.oa-hub__eyebrow,
.ock-remote__eyebrow,
.osv-ch--palm .osv-ch__label,
.osv-ch--dark .osv-ch__num,
.osv-ch--palm .osv-ch__num,
.oct-path--palm .oct-path__label {
  color: var(--o-gold-light) !important;
}
.o-closing--palm h2 em,
.oa-hub h2 em,
.ock-remote h2 em,
.osv-ch--palm h2 em,
.osv-ch--dark h2 em {
  color: var(--o-gold-light);
}

/* Bandeaux de fin : vert forêt et grès uni, comme l'accueil */
.o-closing--palm {
  background: var(--o-forest);
}
.o-closing--sand {
  background: var(--o-limestone);
  border-top: 1px solid var(--o-line);
}

/* Images éditoriales : léger zoom au survol, comme sur l'accueil */
.osv-ch__img,
.ock-step__img,
.oab-heritage__img,
.opf-insp__img {
  overflow: hidden;
}
.osv-ch__img img,
.ock-step__img img,
.oab-heritage__img img,
.opf-insp__img img {
  transition: transform 1.4s var(--o-ease-out);
}
.osv-ch__img:hover img,
.ock-step__img:hover img,
.oab-heritage__img:hover img,
.opf-insp__img:hover img {
  transform: scale(1.03);
}
/* Écrans partagés texte / image : colonne plus étroite, titre un peu plus contenu */
.oa-hero__title,
.oct-hero__title {
  font-size: clamp(2.25rem, 0.9rem + 2.6vw, 3.625rem) !important;
  text-wrap: balance !important;
}
.oa-hero__title em,
.oct-hero__title em,
.ock-hero__title em {
  display: inline-block;
  text-wrap: balance;
}

/* Fiche réalisation : rythme éditorial du texte saisi dans l'éditeur */
.opj-content > * + * {
  margin-block-start: 1.25rem !important;
}
.opj-content > h2,
.opj-content > h3 {
  margin-block-start: clamp(2.5rem, 2rem + 2vw, 3.5rem) !important;
  font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem) !important;
}
.opj-content > h2 + *,
.opj-content > h3 + * {
  margin-block-start: 0.9rem !important;
}
.opj-content > p.has-small-font-size {
  margin-block-start: 2.5rem !important;
  color: var(--o-ink-soft);
}
/* Aucune intervention cochée : on masque le libellé vide */
.opj-meta:not(:has(.opj-meta__terms a, .opj-meta__terms span)) {
  display: none;
}

/* =========================================================
   1.2.1 — Accessibilité (contrastes WCAG AA, audit axe-core du 21/10)
   Teintes à peine plus soutenues, sur fonds clairs uniquement.
   ========================================================= */
/* Petits libellés or sur grès / sable : 4,6 à 5,1:1 (au lieu de 3,65 à 4,01:1) */
.o-closing--sand .o-closing__eyebrow,
.o-closing--stone .o-closing__eyebrow,
.osv-ch--stone .osv-ch__label,
.oab-heritage .o-eyebrow,
.oct-hero .o-eyebrow,
.oct-path--sand .oct-path__label {
  color: var(--o-gold-text-sand);
}
/* Grands numéros 01–06 sur fond clair : 3,1 à 3,7:1 (seuil 3:1 des grands textes ; 2,3:1 auparavant) */
.ock-step__num,
.osv-ch:not(.osv-ch--dark):not(.osv-ch--palm) .osv-ch__num {
  color: #9e7633;
}

/* =========================================================
   1.3.0 — Réalisations réelles : archive éditoriale, galerie, repères
   ========================================================= */
/* Archive : un chapitre par projet, image et texte en alternance */
.opf-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  row-gap: clamp(3.5rem, 7vw, 7.5rem) !important;
  counter-reset: opf;
}
.opf-grid > li {
  counter-increment: opf;
}
.opf-card__body::before {
  content: counter(opf, decimal-leading-zero);
  grid-column: 1 / -1;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(2.5rem, 1.5rem + 2.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  color: #9e7633;
}
.opf-card__body {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
}
.opf-card__title {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem) !important;
  font-weight: 300;
  line-height: 1.1;
}
.opf-card__title a {
  text-decoration: none;
}
.opf-card__more {
  justify-self: start;
  margin-top: 1rem !important;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--o-gold-text-sand);
}
.opf-card__more:hover {
  color: var(--o-ink);
}
@media (min-width: 900px) {
  .opf-grid > li {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: end;
  }
  .opf-grid > li > .opf-card__img {
    grid-column: 1 / span 8;
    grid-row: 1;
  }
  .opf-grid > li > .opf-card__body {
    grid-column: 9 / span 4;
    grid-row: 1;
    margin: 0 0 clamp(0.5rem, 2vw, 2rem) !important;
  }
  .opf-grid > li:nth-child(even) > .opf-card__img {
    grid-column: 5 / span 8;
  }
  .opf-grid > li:nth-child(even) > .opf-card__body {
    grid-column: 1 / span 4;
  }
  .opf-grid > li .opf-card__img img,
  .opf-grid > li:nth-child(3n + 1) .opf-card__img img {
    aspect-ratio: 3 / 2 !important;
  }
}
@media (max-width: 899px) {
  .opf-grid > li .opf-card__img img,
  .opf-grid > li:nth-child(3n + 1) .opf-card__img img {
    aspect-ratio: 4 / 3 !important;
  }
  .opf-card__body {
    margin-top: 1.25rem !important;
  }
}

/* Fiche : titre et lieu */
.opj-hero__loc p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.opj-hero__title {
  font-size: clamp(2.5rem, 1rem + 4vw, 5.5rem) !important;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Repères factuels (informations publiques de l'établissement) */
.opj-content > .opj-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1.5rem clamp(1rem, 3vw, 2.5rem);
  margin-block-start: 2.5rem !important;
  padding-block: 1.5rem;
  border-block: 1px solid var(--o-line);
}
.opj-facts > * {
  margin: 0 !important;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--o-ink-soft);
}
.opj-facts strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--o-ink);
}

/* Galerie asymétrique (rythme de 6 images : 7/5, pleine largeur, 5/7, pleine largeur) */
.opj-content > .wp-block-gallery.opj-gallery {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.5rem) !important;
  margin-block: clamp(3rem, 6vw, 5.5rem) !important;
}
.opj-gallery.wp-block-gallery > figure.wp-block-image {
  grid-column: span 12;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
}
.opj-gallery.wp-block-gallery > figure.wp-block-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover !important;
}
@media (min-width: 782px) {
  .opj-gallery > figure:nth-child(6n + 1),
  .opj-gallery > figure:nth-child(6n + 5) {
    grid-column: span 7 !important;
  }
  .opj-gallery > figure:nth-child(6n + 2),
  .opj-gallery > figure:nth-child(6n + 4) {
    grid-column: span 5 !important;
  }
  .opj-gallery > figure:nth-child(6n + 1) img,
  .opj-gallery > figure:nth-child(6n + 5) img {
    aspect-ratio: 4 / 3 !important;
  }
  /* même hauteur que la voisine 7/12 au format 4:3 */
  .opj-gallery > figure:nth-child(6n + 2) img,
  .opj-gallery > figure:nth-child(6n + 4) img {
    aspect-ratio: 20 / 21 !important;
  }
  .opj-gallery > figure:nth-child(3n) img {
    aspect-ratio: 2 / 1 !important;
  }
  /* dernière ligne incomplète : l'image restante prend toute la largeur */
  .opj-gallery > figure:nth-child(6n + 1):last-child,
  .opj-gallery > figure:nth-child(6n + 4):last-child {
    grid-column: span 12 !important;
  }
  .opj-gallery > figure:nth-child(6n + 1):last-child img,
  .opj-gallery > figure:nth-child(6n + 4):last-child img {
    aspect-ratio: 2 / 1 !important;
  }
}
.opj-gallery figure img {
  transition: transform 1.2s var(--o-ease);
}
.opj-gallery figure:hover img {
  transform: scale(1.025);
}
.opj-content > .opj-credit {
  margin-block-start: -2rem !important;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--o-ink-soft);
}
/* Lightbox WordPress (Interactivity API) aux couleurs du site */
.wp-lightbox-overlay .scrim {
  background-color: rgb(23 21 15 / 0.96) !important;
}
.wp-lightbox-overlay .close-button {
  color: #faf9f5;
}

/* Navigation entre projets */
.opj-nav {
  align-items: center;
  gap: 1.5rem;
}
.opj-nav__all {
  margin: 0 !important;
  font-family: var(--wp--preset--font-family--sans);
}
@media (max-width: 781px) {
  .opj-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .opj-nav__all {
    order: 3;
  }
}

/* Inspirations : bande secondaire, plus discrète que le portfolio réel */
.opf-insp {
  padding-block: clamp(3rem, 5vw, 4.5rem) var(--o-sec-s);
}
.opf-insp > .o-section-head {
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid var(--o-line);
}
.opf-insp .o-section-title {
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem) !important;
  font-weight: 300;
  color: var(--o-ink-soft);
}
.opf-insp__note {
  font-size: 0.8125rem;
}
.opf-insp__grid {
  max-width: 60rem;
  margin-left: 0 !important;
  gap: clamp(0.5rem, 1vw, 1rem);
  margin-top: clamp(1rem, 1.5vw, 1.5rem) !important;
}
.opf-insp__img img {
  aspect-ratio: 4 / 5;
}
.opf-insp__img:nth-child(even) {
  margin-top: clamp(0.75rem, 2vw, 1.75rem) !important;
}
@media (max-width: 781px) {
  .opf-insp__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
