/*
Theme Name: Domindo
Theme URI: https://domindo.fr
Description: Thème enfant pour un magazine de la maison : gros œuvre, finitions, extérieur et énergie, avec des fiches de référence chiffrées pour préparer son chantier.
Author: Margaux
Template: astra
Version: 0.1.5
Text Domain: toutpourlamaison
Tags: custom-colors, custom-logo, translation-ready, featured-images, threaded-comments, blog
*/

@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/sofia-sans-italic-400-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/sofia-sans-italic-400-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/sofia-sans-400-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/sofia-sans-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/sofia-sans-condensed-500-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sofia Sans Condensed';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/sofia-sans-condensed-500-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  
  --chaux: #ffffff;
  --espresso: #342b22;
  --ocre: #b5891c;          
  --ocre-ecrit: #7e5b0c;    
  --brun: #6b5d4f;          
  --ocre-clair: #c9a043;    
  --sable: #f3ecdd;
  --joint: rgba(52, 43, 34, 0.16);
  --joint-net: rgba(52, 43, 34, 0.42);

  --f-trace: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --plume: "Sofia Sans", "Segoe UI", system-ui, sans-serif;

  
  --tap: 44px;

  --plan: 1240px;
  --marge: clamp(16px, 4.2vw, 52px);
  --rayon: 4px;
}

:where(html) { box-sizing: border-box; -webkit-text-size-adjust: 100%; }

:where(html) *, :where(html) *::before, :where(html) *::after { box-sizing: inherit; }
body.dm {
  margin: 0;
  font-family: var(--plume);
}
:where(body.dm) :where(img, video, svg, iframe) { max-width: 100%; }
:where(body.dm) :where(img, video) { height: auto; }
:where(body.dm) :where(figure) { margin: 0; }
:where(body.dm) :where(input, textarea, select) { font: inherit; max-width: 100%; }
:where(body.dm) :where(textarea) { width: 100%; }
:where(body.dm) :where(table) { border-collapse: collapse; width: 100%; }
:where(body.dm) .screen-reader-text:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(body.dm) .alignleft { float: left; margin: 0 1.5em 1em 0; }
:where(body.dm) .alignright { float: right; margin: 0 0 1em 1.5em; }
:where(body.dm) .aligncenter { display: block; margin-inline: auto; }
.dm-container {
  max-width: calc(var(--plan) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
}
.dm-main { min-height: 60vh; }

:where(input[type="submit"], input[type="button"], input[type="reset"], .button, button) {
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.dm-searchform {
  display: flex;
  align-items: stretch;
}
.dm-searchform__input {
  flex: 1;
  min-width: 0;
  min-height: var(--tap);
}
.dm-searchform__submit {
  min-width: var(--tap);
  padding: 0 1rem;
}
.dm-drawer__close,
.dm-search-overlay__close,
.dm-header__hamburger,
.dm-header__search {
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dm-newsletter :is(input, button),
:where(body.dm) .form-submit #submit {
  min-height: var(--tap);
  padding: 0 1rem;
}

.dm-crumbs {
  display: flex;
  align-items: baseline;
  gap: .35em;
  min-width: 0;
  white-space: nowrap;
}
.dm-crumbs > * {
  flex: none;
}
.dm-crumbs > [aria-current] {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body.dm) :where(h1, h2, h3, h4, h5, h6, a) { color: inherit; }
:where(body.dm) :where(a) { text-decoration-color: currentColor; }

body.dm {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
}
.dm-main { padding-bottom: 1px; }
:where(body.dm) :where(a:focus-visible, button:focus-visible, input:focus-visible) {
  outline: 2px solid var(--ocre);
  outline-offset: 2px;
}
.dm-maison {
  flex: none;
  width: .95em;
  height: .95em;
  fill: none;
  stroke: var(--ocre);
  stroke-width: 2.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.dm-header {
  background: var(--espresso);
  color: var(--sable);
}
.dm-header__inner {
  max-width: calc(var(--plan) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 2rem;
}
.dm-header__brand {
  flex: none;
  display: block;
  padding-block: .75rem;
  line-height: 0;
}
.dm-header__brand img {
  width: auto;
  height: 60px;
}
.dm-header__nav-wrap {
  order: 3;
  flex: 1 0 100%;
  border-top: 1px solid rgba(243, 236, 221, .14);
}
.dm-header__nav {
  list-style: none;
  margin: 0 0 0 -.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 .25rem;
}
.dm-header__nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 .75rem;
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.dm-header__nav a::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 0;
  height: 3px;
  background: var(--ocre);
  transform: scaleX(0);
  transition: transform .2s;
}
.dm-header__nav a:hover { color: #fff; }
.dm-header__nav a:hover::after,
.dm-header__nav :is(.current-menu-item, .current-post-ancestor, .current-menu-parent) > a::after { transform: none; }

.dm-header__nav > li {
  position: relative;
  display: flex;
  align-items: center;
}
.dm-header__nav a.dm-menu-intitule { cursor: default; }
.dm-header__nav > .menu-item-has-children > a { padding-right: .2rem; }
.dm-header__nav > .menu-item-has-children > a::after { right: 0; }
.dm-sous-menu__bouton {
  display: inline-grid;
  place-items: center;
  width: 28px;
  min-height: 48px;
  margin-right: .3rem;
  color: var(--ocre-clair);
}
.dm-sous-menu__bouton::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .2s, margin .2s;
}
.dm-header__nav .is-open > .dm-sous-menu__bouton::before {
  margin-top: 4px;
  transform: rotate(225deg);
}
.dm-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: .75rem;
  z-index: 60;
  min-width: 15rem;
  margin: 0;
  padding: .35rem 0;
  list-style: none;
  background: var(--chaux);
  color: var(--espresso);
  border-top: 3px solid var(--ocre);
  border-radius: 0 0 var(--rayon) var(--rayon);
  box-shadow: 0 14px 30px rgba(52, 43, 34, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.dm-header__nav > li:hover > .sub-menu,
.dm-header__nav > li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .15s, transform .15s;
}
.dm-header__nav .sub-menu a {
  min-height: var(--tap);
  padding: .55rem 1.1rem;
  font-size: .95rem;
  white-space: normal;
}
.dm-header__nav .sub-menu a::after { display: none; }
.dm-header__nav .sub-menu a:hover,
.dm-header__nav .sub-menu .current-menu-item > a {
  color: var(--ocre-ecrit);
  background: var(--sable);
}
.dm-header__actions {
  flex: none;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.dm-header__search svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}
.dm-header__search:hover { color: var(--ocre-clair); }
.dm-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.dm-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.dm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(86vw, 360px);
  padding: 1rem 0 2rem;
  overflow-y: auto;
  background: var(--chaux);
  box-shadow: -12px 0 32px rgba(52, 43, 34, .18);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s .25s;
}
body.nav-open .dm-drawer {
  transform: none;
  visibility: visible;
  transition: transform .25s ease;
}
body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(52, 43, 34, .5);
}
.dm-drawer__close {
  display: flex;
  margin: 0 .75rem .5rem auto;
  font-size: 2rem;
  line-height: 1;
}
.dm-drawer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--joint);
}
.dm-drawer__nav a {
  display: block;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--joint);
  font-family: var(--f-trace);
  font-weight: 650;
  font-size: 1.2rem;
  text-decoration: none;
}
.dm-drawer__nav .current-menu-item > a { box-shadow: inset 4px 0 0 var(--ocre); }

.dm-drawer__nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dm-drawer__nav .sub-menu a {
  padding: .7rem 1.5rem .7rem 2.6rem;
  font-family: var(--plume);
  font-weight: 600;
  font-size: 1.05rem;
}
.dm-drawer__nav a.dm-menu-intitule {
  padding: 1.25rem 1.5rem .4rem;
  border-bottom: 0;
  color: var(--ocre-ecrit);
  font-family: var(--plume);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dm-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18vh var(--marge) 0;
  background: rgba(52, 43, 34, .96);
  color: var(--sable);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility 0s .2s;
}
body.search-open .dm-search-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s;
}
.dm-search-overlay__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.2rem;
  line-height: 1;
}
.dm-search-overlay__inner { width: min(100%, 640px); }
.dm-search-overlay .dm-searchform__input {
  min-height: 56px;
  font-size: 1.15rem;
}

.dm-searchform {
  border: 1.5px solid var(--espresso);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--chaux);
}
.dm-searchform__input {
  padding: 0 1rem;
  border: 0 !important;
  color: var(--espresso) !important;
}
.dm-searchform__submit {
  font-weight: 700;
  background: var(--ocre-clair);
  color: var(--espresso);
}
.dm-searchform__submit:hover { background: var(--espresso); color: var(--chaux); }

.dm-section-head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--joint);
}
.dm-section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 3px;
  background: var(--ocre);
}
.dm-section-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  line-height: 1.1;
}
.dm-section-title a { text-decoration: none; }
.dm-section-title a:hover { color: var(--ocre-ecrit); }
.dm-section-more {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ocre-ecrit);
  text-decoration: none;
}
.dm-section-more::after { content: "\00a0\2192"; }
.dm-section-more:hover { text-decoration: underline; }

.dm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.75rem;
}
.dm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dm-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.dm-photo {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--sable);
}
.dm-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.dm-card:hover .dm-photo img { transform: scale(1.03); }
.dm-card__cat {
  margin: .9rem 0 .3rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--ocre-ecrit);
}
.dm-card__title {
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.16;
  text-wrap: pretty;
}
.dm-card__title a { text-decoration: none; }
.dm-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.dm-card:hover .dm-card__title a {
  text-decoration: underline;
  text-decoration-color: var(--ocre);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.dm-card__deck {
  margin: .7rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--brun);
}
.dm-card__meta {
  margin: .5rem 0 0;
  font-size: .84rem;
  color: var(--brun);
}

.dm-card--une .dm-photo { aspect-ratio: 16 / 10; }
.dm-card--une .dm-card__cat { margin-top: 1.25rem; font-size: .88rem; }
.dm-card--une .dm-card__title {
  font-weight: 750;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.06;
}

.dm-card--ligne {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--joint);
}
.dm-card--ligne .dm-photo { aspect-ratio: 4 / 3; }
.dm-card--ligne .dm-card__title { font-size: 1.08rem; line-height: 1.2; }
.dm-card--ligne .dm-card__meta { margin-top: .35rem; font-size: .8rem; }

.dm-nl {
  margin-bottom: 2rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: var(--rayon);
  background: var(--espresso);
  color: var(--sable);
}
.dm-nl__kicker {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .35rem;
  font-weight: 700;
  font-size: .82rem;
  color: var(--ocre-clair);
}
.dm-nl__title {
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #fff;
}
.dm-nl__text {
  margin: .5rem 0 1rem;
  font-size: .95rem;
  line-height: 1.5;
}
.dm-nl__form :is(form, [class*="sib_signup_box_inside_"]) {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.dm-nl__form input[type="email"] {
  width: 100%;
  min-height: var(--tap);
  padding: 0 .9rem;
  border: 0 !important;
  border-radius: var(--rayon);
  background: var(--chaux) !important;
  color: var(--espresso) !important;
  font-size: 1rem;
}
.dm-nl__form :is(button, input[type="submit"]) {
  width: 100%;
  min-height: var(--tap);
  border-radius: var(--rayon);
  background: var(--ocre-clair);
  color: var(--espresso);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color .15s;
}
.dm-nl__form :is(button, input[type="submit"]):hover { background: #d8b158; }

.dm-nl-fin {
  max-width: calc(46rem + 2 * var(--marge));
  margin-top: 3rem;
}
.dm-nl--bandeau {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
  align-items: center;
  gap: 1.25rem 2rem;
  margin: 0;
  padding: 1.6rem 1.75rem;
  border-left: 4px solid var(--ocre);
}
.dm-nl--bandeau .dm-nl__text { margin-bottom: 0; }

.dm-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(480px, 78vh, 760px);
  overflow: hidden;
  background: var(--espresso);
  color: var(--sable);
}
.dm-hero__media,
.dm-hero__media::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.dm-hero__media::after {
  content: "";
  z-index: 0;
  background:
    linear-gradient(to top, rgba(52, 43, 34, .96) 0%, rgba(52, 43, 34, .78) 34%, rgba(52, 43, 34, .25) 68%, rgba(52, 43, 34, .55) 100%),
    linear-gradient(to right, rgba(52, 43, 34, .55) 0%, rgba(52, 43, 34, 0) 60%);
}
.dm-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dm-hero__inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2.5rem, 7vh, 5rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: calc(var(--chevauche) + clamp(2rem, 4vw, 3rem));
}
.dm-home { --chevauche: 9.5rem; }
.dm-hero__site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .8rem;
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #fff;
}
.dm-hero__site span {
  font-family: var(--plume);
  font-weight: 400;
  font-size: .92rem;
  color: var(--sable);
}
.dm-hero__content { max-width: 52rem; }
.dm-hero__cat {
  display: inline-block;
  margin: 0 0 .9rem;
  padding: .3rem .7rem;
  border-radius: var(--rayon);
  background: var(--ocre-clair);
  color: var(--espresso);
  font-weight: 700;
  font-size: .85rem;
}
.dm-hero__title {
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: #fff;
}
.dm-hero__title a {
  text-decoration: none;
  background: linear-gradient(var(--ocre), var(--ocre)) 0 100% / 0 3px no-repeat;
  transition: background-size .35s ease;
}
.dm-hero__title a:hover { background-size: 100% 3px; }
.dm-hero__deck {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--sable);
}
.dm-hero__meta {
  margin: .9rem 0 0;
  font-size: .9rem;
  color: var(--sable);
}

.dm-strip {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--chevauche) * -1);
}
.dm-strip__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.dm-strip .dm-card {
  padding: .75rem .75rem 1.1rem;
  border-radius: calc(var(--rayon) * 2);
  background: var(--chaux);
  box-shadow: 0 14px 34px rgba(52, 43, 34, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dm-strip .dm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(52, 43, 34, .28);
}
.dm-strip .dm-card__cat { margin-top: .75rem; }
.dm-strip .dm-card__title { font-size: 1.12rem; }

.dm-home__nl {
  margin-top: clamp(2.4rem, 5.2vw, 3.4rem);
}
.dm-home__nl .dm-nl--bandeau { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); }
.dm-home__nl .dm-nl__form :is(form, [class*="sib_signup_box_inside_"]) { flex-direction: row; }
.dm-home__nl .dm-nl__form :is(button, input[type="submit"]) { width: auto; padding: 0 1.4rem; flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .dm-hero__img { animation: dm-recul 7s cubic-bezier(.2, .6, .2, 1) both; }
  .dm-hero__content { animation: dm-monte .8s .15s ease-out both; }
  .dm-strip .dm-card { animation: dm-monte .7s ease-out both; }
  .dm-strip .dm-card:nth-child(1) { animation-delay: .35s; }
  .dm-strip .dm-card:nth-child(2) { animation-delay: .45s; }
  .dm-strip .dm-card:nth-child(3) { animation-delay: .55s; }
  .dm-strip .dm-card:nth-child(4) { animation-delay: .65s; }
}
@keyframes dm-recul {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
@keyframes dm-monte {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.dm-refs {
  margin-top: clamp(2.9rem, 6.2vw, 4.4rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--sable);
}
.dm-refs .dm-section-head { margin-bottom: .75rem; }
.dm-refs__intro {
  max-width: 44rem;
  margin: 0 0 2rem;
  color: var(--brun);
}
.dm-refs__groupes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 4vw, 3rem);
}
.dm-refs__hub {
  margin: 0 0 .9rem;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: 1.3rem;
}
.dm-refs__hub a { text-decoration: none; }
.dm-refs__hub a::after { content: "\00a0\2192"; color: var(--ocre-ecrit); }
.dm-refs__hub a:hover { color: var(--ocre-ecrit); }
.dm-refs__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.dm-refs__liste a {
  display: block;
  padding: .8rem 1rem .85rem;
  border-left: 3px solid var(--ocre);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  background: var(--chaux);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.dm-refs__liste a:hover {
  border-left-color: var(--espresso);
  box-shadow: 0 2px 10px rgba(52, 43, 34, .1);
}
.dm-refs__sujet {
  display: block;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}
.dm-refs__prec {
  display: block;
  margin-top: .15rem;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--brun);
}
.dm-refs__liste--ligne { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.dm-refs__liste--ligne a { background: var(--sable); height: 100%; }

.dm-rubrique { margin-top: clamp(2.9rem, 6.2vw, 4.4rem); }

.dm-single__header,
.dm-single__body,
.dm-author {
  max-width: calc(46rem + 2 * var(--marge));
}
.dm-single__header { padding-top: 1.5rem; }
.dm-crumbs {
  margin-bottom: 1.75rem;
  font-size: .85rem;
  color: var(--brun);
}
.dm-crumbs a { text-decoration: none; }
.dm-crumbs a:hover { text-decoration: underline; }
.dm-crumbs__sep { color: var(--ocre); }
.dm-single__cat {
  margin: 0 0 .6rem;
  font-weight: 700;
  font-size: .92rem;
}
.dm-single__cat a {
  color: var(--ocre-ecrit);
  text-decoration: none;
}
.dm-single__cat a:hover { text-decoration: underline; }
.dm-single__title {
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.06;
  text-wrap: balance;
}
.dm-single__deck {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--brun);
}
.dm-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 0;
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--joint);
  font-size: .9rem;
  color: var(--brun);
}
.dm-single__meta > span + span::before {
  content: "·";
  margin: 0 .6rem;
  color: var(--ocre);
}
.dm-single__author strong { color: var(--espresso); font-weight: 700; }
.dm-single__cover {
  max-width: calc(62rem + 2 * var(--marge));
  margin: 2rem auto 0;
}
.dm-single__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--rayon);
}
.dm-single__body { margin-top: 2.5rem; }

.dm-single__body > :first-child { margin-top: 0; }
.dm-single__body :where(p, ul, ol, dl, blockquote, figure, table, pre) { margin: 0 0 1.25em; }
.dm-single__body :where(h2, h3, h4) {
  font-family: var(--f-trace);
  line-height: 1.12;
  text-wrap: balance;
}
.dm-single__body h2 {
  margin: 2.3em 0 .7em;
  font-weight: 750;
  font-size: 1.9rem;
}
.dm-single__body h3 {
  margin: 1.8em 0 .5em;
  font-weight: 700;
  font-size: 1.4rem;
}
.dm-single__body h4 {
  margin: 1.5em 0 .4em;
  font-weight: 700;
  font-size: 1.15rem;
}
.dm-single__body a {
  color: var(--ocre-ecrit);
  text-underline-offset: 3px;
}
.dm-single__body a:hover { text-decoration-thickness: 2px; }
.dm-single__body :where(ul, ol) { padding-left: 1.35em; }
.dm-single__body li { margin-bottom: .45em; }
.dm-single__body li::marker { color: var(--ocre-ecrit); }
.dm-single__body blockquote {
  margin-inline: 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--ocre);
  font-size: 1.1rem;
  font-style: italic;
}
.dm-single__body img { height: auto; border-radius: var(--rayon); }
.dm-single__body figcaption {
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--brun);
}

.dm-single__body .wp-block-table { overflow-x: auto; }
.dm-single__body table {
  font-size: .95rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.dm-single__body :is(th, td) {
  padding: .6rem .8rem;
  border: 1px solid var(--joint);
  text-align: left;
  vertical-align: top;
}
.dm-single__body thead th,
.dm-single__body tr:first-child > th {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--sable);
  font-weight: 700;
}
.dm-single__body tbody tr:nth-child(even) { background: #faf7f0; }

.dm-author { margin-top: 2rem; }
.dm-author__box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--rayon);
  background: var(--sable);
}
.dm-author__avatar {
  flex: none;
  border-radius: 50%;
}
.dm-author__name {
  margin: 0 0 .3rem;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: 1.3rem;
}
.dm-author__bio {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--brun);
}

.dm-related { margin-top: clamp(2.9rem, 6.2vw, 4.4rem); }

.dm-lecture {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: var(--espresso);
  color: var(--sable);
  box-shadow: 0 6px 18px rgba(52, 43, 34, .16);
  transform: translateY(-110%);
  visibility: hidden;
}
.dm-lecture.is-visible { transform: none; visibility: visible; }
body.dm.admin-bar .dm-lecture { top: 32px; }
@media (max-width: 782px) { body.dm.admin-bar .dm-lecture { top: 46px; } }
@media (max-width: 600px) { body.dm.admin-bar .dm-lecture { top: 0; } }
.dm-lecture__inner {
  max-width: calc(var(--plan) + 2 * var(--marge));
  margin-inline: auto;
  padding: 4px var(--marge);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.dm-lecture__maison {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  margin-left: -7px;
}
.dm-lecture__maison svg { overflow: visible; }
.dm-lecture__maison path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dm-lecture__plan { stroke: rgba(243, 236, 221, .3); }
.dm-lecture__trait {
  stroke: var(--ocre-clair);
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - var(--lu, 0));
}
.dm-lecture.is-fini .dm-lecture__plan { fill: rgba(201, 160, 67, .28); }
.dm-lecture__titre {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--f-trace);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .01em;
}
.dm-lecture__btn {
  flex: none;
  width: var(--tap);
  height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.dm-lecture__btn:last-child { margin-right: -10px; }
.dm-lecture__btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}
.dm-lecture__btn:hover { color: var(--ocre-clair); }
.dm-lecture__filet {
  display: block;
  height: 3px;
  background: var(--ocre);
  transform-origin: left;
  transform: scaleX(var(--lu, 0));
}
@media (prefers-reduced-motion: no-preference) {
  .dm-lecture { transition: transform .3s ease-out, visibility .3s; }
  .dm-lecture__plan { transition: fill .6s ease-out; }
}
@media print { .dm-lecture { display: none; } }

.dm-yt-picto {
  flex: none;
  width: .95em;
  height: .95em;
  fill: none;
  stroke: var(--ocre);
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.dm-yt-picto path { fill: var(--ocre); stroke: none; }
.dm-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--espresso);
  border-radius: var(--rayon);
}
.dm-video--vertical { aspect-ratio: 9 / 16; }
.dm-video .dm-video__lancer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
}
.dm-video .dm-video__lancer img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border-radius: 0;
}
.dm-video__bouton {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--sable);
  box-shadow: 0 0 0 3px var(--ocre-clair), 0 8px 24px rgba(0, 0, 0, .35);
}
.dm-video__bouton svg { margin-left: 4px; fill: currentColor; }
.dm-video--vertical .dm-video__bouton {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
}
.dm-video--vertical .dm-video__bouton svg { width: 20px; height: 20px; margin-left: 3px; }
.dm-video__lancer:hover .dm-video__bouton,
.dm-video__lancer:focus-visible .dm-video__bouton { background: var(--ocre-ecrit); }
.dm-video__lancer:focus-visible { outline: 3px solid var(--ocre); outline-offset: -3px; }
.dm-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-block-embed__wrapper:has(> .dm-video)::before { content: none; }
@media (prefers-reduced-motion: no-preference) {
  .dm-video .dm-video__lancer img { transition: transform .5s ease-out; }
  .dm-video__lancer:hover img { transform: scale(1.03); }
}

.dm-single__vers-video {
  color: var(--ocre-ecrit);
  font-weight: 600;
}
.dm-guide-video {
  max-width: calc(46rem + 2 * var(--marge));
  margin-top: 2.25rem;
  scroll-margin-top: 4.5rem;
}
.dm-guide-video__tete {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ocre-ecrit);
}
.dm-guide-video__titre {
  margin: .2rem 0 .9rem;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  color: var(--espresso);
}
.dm-guide-video .dm-video { border-radius: var(--rayon) var(--rayon) 0 0; }
.dm-guide-video__chapitres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
  margin: 0;
  padding: .6rem .75rem;
  list-style: none;
  background: var(--sable);
  border-bottom: 3px solid var(--ocre);
  border-radius: 0 0 var(--rayon) var(--rayon);
}
.dm-guide-video__chapitres button {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  width: 100%;
  min-height: var(--tap);
  padding: .55rem .5rem;
  text-align: left;
  font-size: .93rem;
  line-height: 1.35;
  color: var(--espresso);
  cursor: pointer;
}
.dm-guide-video__chapitres button:hover { background: rgba(181, 137, 28, .14); }
.dm-guide-video__temps {
  flex: none;
  min-width: 2.6em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ocre-ecrit);
}
.dm-guide-video__pied {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  align-items: center;
  margin: .1rem 0 0;
  font-size: .88rem;
  color: var(--brun);
}
.dm-guide-video__pied a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--ocre-ecrit);
}

.dm-ecran {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--espresso);
  color: var(--sable);
}
.dm-ecran .dm-section-head { border-bottom-color: rgba(243, 236, 221, .16); }
.dm-ecran .dm-section-title { color: var(--sable); }
.dm-ecran .dm-section-more { color: var(--ocre-clair); }
.dm-ecran .dm-yt-picto { stroke: var(--ocre-clair); }
.dm-ecran .dm-yt-picto path { fill: var(--ocre-clair); }
.dm-ecran .dm-video { background: #241d17; }
.dm-ecran__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.dm-ecran__grille--seule { grid-template-columns: minmax(0, 52rem); }
.dm-ecran__titre {
  margin: 1rem 0 .35rem;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  line-height: 1.15;
  color: var(--chaux);
}
.dm-ecran__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
  margin: 0;
  font-size: .9rem;
  color: rgba(243, 236, 221, .8);
}
.dm-ecran__meta a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--ocre-clair);
}
.dm-ecran__meta a::after { content: "\00a0\2192"; }
.dm-ecran__shorts-tete {
  margin: 0 0 .8rem;
  font-family: var(--f-trace);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--ocre-clair);
}
.dm-ecran__liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dm-ecran__liste p {
  display: -webkit-box;
  margin: .55rem 0 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: .84rem;
  line-height: 1.35;
}

.dm-footer__reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
}
.dm-footer__reseaux a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--ocre-clair);
  text-decoration: none;
}
.dm-footer__reseaux a:hover { text-decoration: underline; }
.dm-drawer__yt {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: var(--tap);
  margin-top: 1rem;
  padding: .5rem 1.5rem;
  font-weight: 600;
  color: var(--ocre-ecrit);
  text-decoration: none;
}
.dm-drawer__yt .dm-yt-picto { width: 1.3em; height: 1.3em; }

.dm-archive__header {
  padding-top: 1.5rem;
  padding-bottom: 2.25rem;
}
.dm-archive__header > :not(.dm-crumbs) { max-width: 46rem; }
.dm-archive__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .4rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ocre-ecrit);
}
.dm-archive__title {
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.06;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.dm-archive__desc {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--brun);
}
.dm-archive__desc p { margin: 0; }
.dm-archive__desc p + p { margin-top: .75em; }
.dm-archive__count {
  position: relative;
  margin: 1.4rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--joint);
  font-size: .9rem;
  font-weight: 600;
  color: var(--brun);
}
.dm-archive__count::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--ocre);
}
.dm-archive__form { margin-top: 1.4rem; }
.dm-archive__vide { margin: 0 0 2rem; }

.dm-archive__header--autrice {
  display: grid;
  grid-template-columns: 96px minmax(0, 46rem);
  column-gap: 1.5rem;
  align-items: start;
}
.dm-archive__header--autrice > .dm-crumbs { grid-column: 1 / -1; }
.dm-archive__avatar {
  grid-row: span 4;
  border-radius: 50%;
}

.dm-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin: 3rem 0 0;
}
.dm-pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 .5rem;
  border: 1px solid var(--joint-net);
  border-radius: var(--rayon);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.dm-pager a.page-numbers:hover { border-color: var(--espresso); }
.dm-pager .page-numbers.current {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--chaux);
}
.dm-pager .page-numbers.dots { border-color: transparent; }
.dm-pager :is(.prev, .next) { font-size: 1.3rem; }

.dm-refs--rubrique { margin-top: clamp(2.9rem, 6.2vw, 4.4rem); }

.dm-repartir { max-width: 46rem; }
.dm-repartir__msg { margin: 0 0 1.5rem; font-size: 1.1rem; }
.dm-repartir__titre {
  margin: 1.75rem 0 .75rem;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: 1.25rem;
}
.dm-pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dm-pastilles a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 1rem;
  border: 1px solid var(--joint-net);
  border-left: 3px solid var(--ocre);
  border-radius: var(--rayon);
  font-weight: 600;
  text-decoration: none;
}
.dm-pastilles a:hover { border-color: var(--espresso); border-left-color: var(--ocre); }
.dm-404__msg { margin: 1rem 0 0; font-size: 1.1rem; color: var(--brun); }

.dm-voisins {
  max-width: calc(46rem + 2 * var(--marge));
  margin-top: 3rem;
}
.dm-voisins__titre {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .5rem;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: 1.4rem;
}
.dm-voisins__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--joint);
}
.dm-voisins__liste a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: .5rem 0;
  border-bottom: 1px solid var(--joint);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.dm-voisins__liste a::after {
  content: "\2192";
  margin-left: auto;
  padding-left: .75rem;
  color: var(--ocre-ecrit);
}
.dm-voisins__liste a:hover { color: var(--ocre-ecrit); }
.dm-voisins__parent a { color: var(--ocre-ecrit); }

.dm-tableau {
  margin: 0 0 1.25em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dm-tableau > table { margin: 0; min-width: 100%; border-collapse: collapse; }

.dm-est-ref .silo-nav { display: none; }
.dm-ref__header { padding-top: 1.5rem; }
.dm-ref__header > :not(.dm-crumbs) { max-width: 50rem; }
.dm-ref__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .5rem;
  margin: 0 0 .6rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ocre-ecrit);
}
.dm-ref__label a { text-decoration: none; }
.dm-ref__label a:hover { text-decoration: underline; }
.dm-ref__label-sep { color: var(--ocre); }
.dm-ref__title {
  margin: 0;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  line-height: 1.04;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.dm-ref__prec {
  display: block;
  margin-top: .45rem;
  font-family: var(--plume);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.35;
  color: var(--brun);
}
.dm-ref__maj {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.25rem;
  margin: 1.25rem 0 0;
  padding-top: .8rem;
  border-top: 1px solid var(--joint);
  font-size: .9rem;
  color: var(--brun);
}
.dm-ref__maj::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--ocre);
}
.dm-ref__saut {
  display: none;
  align-items: center;
  min-height: var(--tap);
  font-weight: 700;
  color: var(--ocre-ecrit);
}
.dm-ref__saut::after { content: "\00a0\2193"; }
.dm-ref__fiches { margin-top: 2rem; }
.dm-ref__fiches .dm-refs__liste { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.dm-ref__layout {
  display: grid;
  grid-template-columns: minmax(0, 50rem) 17rem;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 2.5rem;
}
.dm-ref--hub .dm-ref__layout { grid-template-columns: minmax(0, 50rem); }
.dm-ref__body { margin-top: 0; max-width: none; padding-inline: 0; }

.dm-ref__aside { align-self: start; position: sticky; top: 1.5rem; }
.dm-guide {
  padding: 1.25rem 1.25rem 1rem;
  border-top: 3px solid var(--ocre);
  border-radius: 0 0 var(--rayon) var(--rayon);
  background: var(--sable);
  font-size: .95rem;
}
.dm-guide__titre {
  margin: 0;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ocre-ecrit);
}
.dm-guide__hub {
  display: block;
  margin: .2rem 0 .6rem;
  font-family: var(--f-trace);
  font-weight: 750;
  font-size: 1.25rem;
  line-height: 1.15;
  text-decoration: none;
}
.dm-guide__hub:hover { color: var(--ocre-ecrit); }
.dm-guide__liste { margin: 0; padding: 0; list-style: none; }
.dm-guide__liste a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: .35rem 0 .35rem .8rem;
  border-left: 2px solid var(--joint-net);
  line-height: 1.25;
  text-decoration: none;
}
.dm-guide__liste a:hover { border-left-color: var(--ocre); }
.dm-guide__liste a[aria-current] {
  border-left: 3px solid var(--ocre);
  padding-left: calc(.8rem - 1px);
  font-weight: 700;
}
.dm-guide__autre {
  margin: .9rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid var(--joint-net);
  font-size: .85rem;
  color: var(--brun);
}
.dm-guide__autre a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 700;
  color: var(--espresso);
}

.dm-contact__body {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 36rem);
  gap: 2rem clamp(2rem, 5.5vw, 4.75rem);
  align-items: start;
}
.dm-contact__texte { font-size: 1.1rem; }
.dm-contact__texte > :first-child { margin-top: 0; }
.dm-contact__form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 3px solid var(--ocre);
  border-radius: 0 0 var(--rayon) var(--rayon);
  background: var(--sable);
}
.dm-contact .dm-contact__form .wpcf7-form p { margin: 0 0 1.1rem; }
.dm-contact .dm-contact__form .wpcf7-form label { font-weight: 600; font-size: .95rem; }
.dm-contact .dm-contact__form .wpcf7-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
  margin-top: .35rem;
  min-height: var(--tap);
  padding: .55rem .75rem;
  border: 1px solid var(--joint-net);
  border-radius: var(--rayon);
  background: var(--chaux);
  font-size: 1rem;
}
.dm-contact .dm-contact__form .wpcf7-form textarea { height: 11rem; resize: vertical; }
.dm-contact .dm-contact__form .wpcf7-form :is(input, textarea):focus { border-color: var(--espresso); }
.dm-contact .dm-contact__form .wpcf7-form input[type="submit"] {
  min-height: var(--tap);
  padding: 0 1.5rem;
  border-radius: var(--rayon);
  background: var(--espresso);
  color: var(--chaux);
  font-family: var(--f-trace);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.dm-contact .dm-contact__form .wpcf7-form input[type="submit"]:hover { background: var(--ocre); color: var(--espresso); }

.dm-footer {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: 3.5rem;
  background: var(--espresso);
  color: var(--sable);
}
.dm-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.dm-footer__brand img {
  display: block;
  width: 210px;
  height: auto;
}
.dm-footer__brand p {
  max-width: 22rem;
  margin: 1rem 0 0;
  font-size: .95rem;
  line-height: 1.6;
}
.dm-footer__title {
  margin: .4rem 0 .9rem;
  font-family: var(--f-trace);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ocre-clair);
}
.dm-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dm-footer__col a {
  display: inline-block;
  padding: .2rem 0;
  font-size: .95rem;
  text-decoration: none;
}
.dm-footer__col a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--ocre);
}
.dm-footer__copyright {
  margin-top: 3rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(243, 236, 221, .16);
  font-size: .85rem;
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease-out, transform .5s ease-out;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .dm-header__nav-wrap { display: none; }
  .dm-header__hamburger { display: inline-flex; }
  .dm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dm-rubrique .dm-grid > :nth-child(4) { display: none; }
  .dm-ref__layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .dm-ref__body { max-width: 50rem; }
  .dm-ref__aside { position: static; max-width: 30rem; }
  .dm-ref__saut { display: inline-flex; }
}

@media (max-width: 921px) {
  .dm-ecran__grille { grid-template-columns: minmax(0, 1fr); }
  .dm-header__brand { padding-block: .55rem; }
  .dm-header__brand img { height: 48px; }
  .dm-home { --chevauche: 4rem; }
  .dm-hero { min-height: clamp(460px, 72vh, 640px); }
  .dm-strip__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-home__nl .dm-nl--bandeau { grid-template-columns: minmax(0, 1fr); }
  .dm-grid,
  .dm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-rubrique .dm-grid > :nth-child(4) { display: flex; }
  .dm-refs__groupes { grid-template-columns: minmax(0, 1fr); }
  .dm-contact__body { grid-template-columns: minmax(0, 1fr); }
  .dm-ref__fiches .dm-refs__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-ref__fiches li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .dm-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dm-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 544px) {
  .dm-guide-video__chapitres { grid-template-columns: minmax(0, 1fr); padding-inline: .4rem; }
  .dm-ecran__liste { gap: .6rem; }
  .dm-ecran__liste p { font-size: .78rem; }
  .dm-video__bouton { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  body.dm { font-size: 1.03rem; }
  .dm-header__brand img { height: 44px; }
  .dm-grid,
  .dm-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .dm-card--ligne { grid-template-columns: 96px minmax(0, 1fr); }
  .dm-single__body h2 { font-size: 1.6rem; }
  .dm-author__box { flex-direction: column; }
  .dm-voisins__liste { grid-template-columns: minmax(0, 1fr); }
  .dm-ref__fiches .dm-refs__liste { grid-template-columns: minmax(0, 1fr); }
  .dm-archive__header--autrice { grid-template-columns: 64px minmax(0, 1fr); column-gap: 1rem; }
  .dm-archive__avatar { width: 64px; height: 64px; }
  .dm-tableau table, .dm-single__body .wp-block-table table { font-size: .88rem; }
  .dm-nl--bandeau { grid-template-columns: minmax(0, 1fr); padding: 1.4rem; }
  .dm-hero__deck { display: none; }
  
  .dm-strip__rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: .25rem 1rem;
    border-radius: calc(var(--rayon) * 2);
    background: var(--chaux);
    box-shadow: 0 14px 34px rgba(52, 43, 34, .22);
  }
  .dm-strip .dm-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: .9rem;
    padding: .9rem 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border-bottom: 1px solid var(--joint);
  }
  .dm-strip .dm-card:last-child { border-bottom: 0; }
  .dm-strip .dm-card:hover { transform: none; box-shadow: none; }
  .dm-strip .dm-card .dm-photo { aspect-ratio: 1; }
  .dm-strip .dm-card__cat { margin-top: 0; font-size: .75rem; }
  .dm-strip .dm-card__title { font-size: 1.05rem; line-height: 1.18; }
  .dm-strip .dm-card__meta { margin-top: .3rem; font-size: .78rem; }
  .dm-home__nl .dm-nl__form :is(form, [class*="sib_signup_box_inside_"]) { flex-direction: column; }
  .dm-home__nl .dm-nl__form :is(button, input[type="submit"]) { width: 100%; }
  .dm-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

body.dm {
  background: var(--chaux) !important;
  color: var(--espresso) !important;
}

body.dm .site-main,
body.dm .site-main > article,
body.dm #page,
body.dm .ast-container,
body.dm .content-area,
body.dm .ast-article-post,
body.dm #primary,
body.dm .ast-article-single,
body.dm .site-content,
body.dm #content,
body.dm .entry-content {
  display: block !important;
  float: none !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  background: transparent !important;
}

body.dm .main-header-bar-wrap,
body.dm .ast-page-title-bar,
body.dm #masthead,
body.dm .ast-page-header,
body.dm .site-footer,
body.dm .ast-footer-overlay {
  overflow: hidden !important;
  display: none !important;
  border: none !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

body.dm .ast-secondary-header-bar,
body.dm .ast-main-header-wrap,
body.dm .ast-above-header-wrap,
body.dm .ast-breadcrumbs-wrapper,
body.dm #ast-desktop-header,
body.dm .ast-above-footer,
body.dm .entry-banner,
body.dm .ast-archive-title-wrap,
body.dm .ast-small-footer,
body.dm .ast-breadcrumbs-inner,
body.dm .ast-mobile-header-wrap,
body.dm .site-below-footer-wrap,
body.dm .ast-footer-copyright {
  min-height: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  display: none !important;
  border: none !important;
  padding: 0 !important;
}

body.dm .ast-below-header-wrap,
body.dm .ast-below-footer,
body.dm .main-header-bar,
body.dm .ast-header-breadcrumb,
body.dm .ast-primary-header-bar {
  overflow: hidden !important;
  min-height: 0 !important;
  border: none !important;
  padding: 0 !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

body.dm #ast-mobile-header,
body.dm .site-header,
body.dm #colophon,
body.dm .footer-widget-area {
  height: 0 !important;
  display: none !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body.dm.home .entry-header,
body.dm.home .ast-archive-description {
  display: none !important;
}

:where(body.dm) :where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], textarea) {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--joint-net);
}

body.dm #ast-scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: var(--tap);
  height: var(--tap);
  background: var(--espresso);
  color: var(--chaux);
  cursor: pointer;
}
body.dm #ast-scroll-top .ast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
body.dm #ast-scroll-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

body.dm.admin-bar .dm-header { top: 32px; }
@media (max-width: 782px) {
  body.dm.admin-bar .dm-header { top: 46px; }
}

body.dm .sib_signup_form { margin: 0; padding: 0; background: transparent; border: none; }
body.dm .sib_signup_form [class*="sib_signup_box_inside_"] { padding: 0; background: transparent; border: none; }

body.dm .sib_signup_form p.sib-email-area { font-size: 0; margin: 0; padding: 0; }

body.dm .sib_signup_form [class*="sib_signup_box_inside_"] { flex: 1 1 auto; width: 100%; flex-wrap: wrap; }
body.dm .sib_signup_form [class*="sib_signup_box_inside_"] > p { margin: 0; padding: 0; }
body.dm .sib_signup_form p.sib-email-area { flex: 1 1 auto; min-width: 0; }
body.dm .sib_signup_form p.sib-email-area label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.dm .sib_msg_disp:empty { display: none; }
body.dm .sib_msg_disp { flex-basis: 100%; order: 3; font-size: .9rem; }

body.dm .sib_signup_form :is(.cf-turnstile, .g-recaptcha) { flex-basis: 100%; order: 4; }
body.dm .sib-alert-message-success { color: var(--ocre-clair); }
body.dm .sib-alert-message-error { color: #f2b8a8; }

body.dm .wpcf7-form p { margin: 0 0 24px; }
body.dm .wpcf7-form input[type="text"],
body.dm .wpcf7-form input[type="email"],
body.dm .wpcf7-form input[type="tel"],
body.dm .wpcf7-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--joint-net);
  border-radius: 0; padding: 10px 0; font-family: var(--plume); font-size: 15px; color: var(--espresso);
  box-shadow: none;
}
body.dm .wpcf7-form input:focus,
body.dm .wpcf7-form textarea:focus { border-bottom-color: var(--espresso); }
body.dm .wpcf7-form input[type="submit"] {
  background: var(--espresso); color: #fff; border: none; border-radius: 0; padding: 11px 24px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer;
}
