/* ==========================================================================
   Atelier Solen — gabarit de démonstration d'Isens Evolution
   Toutes les classes de blocs commencent par dm- (démo).
   ========================================================================== */

:root {
  --encre: #14171f;
  --encre-doux: #4a5160;
  --papier: #fbf8f3;
  --sable: #f0e7d9;
  --accent: #b9552f;
  --accent-clair: #e0a06f;
  --foret: #2c5a4e;
  --trait: rgba(20, 23, 31, .12);
  --rayon: 18px;
  --rayon-l: 28px;
  --large: 1240px;
  --etroit: 760px;
  --ombre: 0 1px 2px rgba(20, 23, 31, .05), 0 24px 60px -34px rgba(20, 23, 31, .45);
  --ombre-forte: 0 40px 90px -40px rgba(20, 23, 31, .55);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 40px, var(--large)); margin-inline: auto; }
.wrap-etroit { width: min(100% - 40px, var(--etroit)); margin-inline: auto; }

/* --- Utilitaires ---------------------------------------------------------- */
.surtitre {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1em;
}
.surtitre::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.chapo { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--encre-doux); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--encre); color: var(--papier);
  font-weight: 600; font-size: .96rem; text-decoration: none; cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), background .35s, color .35s, box-shadow .35s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 34px -18px rgba(20, 23, 31, .8); }
.btn-clair { background: var(--papier); color: var(--encre); }
.btn-ligne { background: transparent; color: inherit; border-color: currentColor; }
.btn-ligne:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.btn .fl { transition: transform .35s; }
.btn:hover .fl { transform: translateX(4px); }

.lien-anime { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s; }
.lien-anime:hover { background-size: 100% 1px; }

/* --- Apparition au défilement --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s, transform .9s cubic-bezier(.22, .7, .28, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.vu { opacity: 1; transform: none; }
/* Le masque doit laisser passer les jambages (le « j » de « juste ») : on descend la zone
   rognée sous la ligne de base, et la marge négative rattrape l'espace ainsi ajouté. */
.reveal-masque > span { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
/* 125 % : la zone rognée est plus haute que la ligne (place laissée aux jambages). */
.reveal-masque > span > span { display: block; transform: translateY(125%); transition: transform 1s cubic-bezier(.22, .7, .28, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal-masque.vu > span > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-masque > span > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Bandeau de démonstration
   ========================================================================== */
.demo-bar {
  position: relative; z-index: 60;
  background: var(--encre); color: #f3ece1;
  font-size: .82rem;
}
.demo-bar .wrap { display: flex; align-items: center; gap: 14px; padding: 9px 0; flex-wrap: wrap; }
.demo-bar b { font-weight: 700; }
.demo-bar .point { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-clair); box-shadow: 0 0 0 0 rgba(224, 160, 111, .7); animation: pulse 2.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(224, 160, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 160, 111, 0); } }
.demo-bar a { color: #f3ece1; text-decoration: none; border-bottom: 1px solid rgba(243, 236, 225, .45); }
.demo-bar a:hover { border-color: #f3ece1; }
.demo-bar .droite { margin-left: auto; opacity: .75; }
.demo-bar .courte { display: none; }
/* Sur un téléphone, le bandeau tient sur une ligne : le message long laisse la place au message court. */
@media (max-width: 900px) {
  .demo-bar { font-size: .76rem; }
  .demo-bar .wrap { flex-wrap: nowrap; gap: 10px; }
  .demo-bar .courte { display: inline; }
  .demo-bar > .wrap > .longue, .demo-bar .droite .longue { display: none; }
  .demo-bar .droite { white-space: nowrap; }
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.site-header.colle { border-color: var(--trait); box-shadow: 0 10px 30px -26px rgba(20, 23, 31, .6); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; }
.logo .marque { width: 30px; height: 30px; flex: none; }
.logo span { color: var(--accent); }

.menu { margin-left: auto; }
.menu ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu li { position: relative; }
.menu a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--encre-doux); transition: color .3s, background .3s; }
.menu a:hover { color: var(--encre); background: rgba(20, 23, 31, .05); }
.menu li.on > a { color: var(--encre); font-weight: 600; }
.menu li.on > a::after { content: ""; display: block; height: 2px; width: 18px; margin: 3px auto -5px; background: var(--accent); border-radius: 2px; }
/* Une rubrique qui a des sous-pages porte un chevron. */
.menu > ul > li:has(> .sub) > a { position: relative; padding-right: 28px; }
.menu > ul > li:has(> .sub) > a::before {
  content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-75%) rotate(45deg); opacity: .5;
  transition: transform .3s cubic-bezier(.22, .7, .28, 1), opacity .3s;
}
.menu > ul > li:has(> .sub):hover > a::before,
.menu > ul > li:has(> .sub):focus-within > a::before { transform: translateY(-25%) rotate(225deg); opacity: 1; }

.menu .sub {
  /* .menu ul est en flex : le sous-menu doit repasser en colonne. */
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 236px;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border: 1px solid rgba(20, 23, 31, .07); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(20, 23, 31, .04), 0 26px 50px -26px rgba(20, 23, 31, .55);
  padding: 9px; opacity: 0; visibility: hidden;
  transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .26s, transform .34s cubic-bezier(.22, .7, .28, 1), visibility .26s;
}
/* Pont invisible : le survol ne se perd pas dans l'espace entre l'onglet et le panneau. */
.menu .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }

.menu .sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: .93rem; color: var(--encre-doux);
  transition: background .25s, color .25s;
}
.menu .sub a::before {
  content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent);
  opacity: 0; transform: scale(.3); transition: opacity .25s, transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.menu .sub a:hover { background: rgba(185, 85, 47, .08); color: var(--encre); }
.menu .sub a:hover::before { opacity: 1; transform: none; }
.menu .sub li.on > a { color: var(--encre); font-weight: 600; background: rgba(20, 23, 31, .04); }
.menu .sub li.on > a::before { opacity: 1; transform: none; }
/* Le trait de l'onglet actif ne concerne que le premier niveau. */
.menu .sub li.on > a::after { display: none; }

.header-cta { display: inline-flex; padding: 11px 22px; font-size: .9rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; margin-left: auto; }
.burger i { display: block; height: 2px; background: var(--encre); margin: 5px auto; width: 24px; border-radius: 2px; transition: transform .35s, opacity .25s; }
.nav-ouvert .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ouvert .burger i:nth-child(2) { opacity: 0; }
.nav-ouvert .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .header-cta { display: none; }
  /* Un backdrop-filter crée un bloc conteneur : il emprisonnerait le tiroir en position fixed
     dans la hauteur de l'en-tête. Sur téléphone, l'en-tête est opaque, le flou est inutile. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--papier); }
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 400px);
    background: var(--papier); padding: 100px 28px 40px; margin: 0;
    transform: translateX(100%); transition: transform .5s cubic-bezier(.22, .7, .28, 1);
    box-shadow: -30px 0 60px -40px rgba(20, 23, 31, .6); overflow-y: auto;
  }
  .nav-ouvert .menu { transform: none; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a { padding: 13px 8px; font-size: 1.12rem; border-radius: 10px; }
  .menu li.on > a::after { margin: 3px 0 -5px; }
  /* Dans le tiroir, le sous-menu est déjà déployé : ni panneau, ni chevron, ni pont. */
  .menu .sub {
    position: static; opacity: 1; visibility: visible; transform: none; min-width: 0;
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--trait); border-radius: 0;
    margin: 0 0 6px 12px; padding: 0 0 0 8px;
  }
  .menu .sub::before { display: none; }
  .menu > ul > li:has(> .sub) > a { padding-right: 8px; }
  .menu > ul > li:has(> .sub) > a::before { display: none; }
  .menu .sub a { font-size: 1rem; color: var(--encre-doux); padding: 11px 10px; }
}

/* ==========================================================================
   Bannière d'accueil
   ========================================================================== */
.dm-hero { position: relative; padding: clamp(40px, 5vw, 76px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
/* Bannière en tête de page : elle annule la respiration haute du contenu. */
.content > .dm-hero:first-child { margin-top: calc(-1 * clamp(46px, 7vw, 96px)); }
.dm-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background: radial-gradient(60% 55% at 22% 18%, rgba(224, 160, 111, .34), transparent 70%),
              radial-gradient(48% 46% at 86% 8%, rgba(44, 90, 78, .18), transparent 72%);
  pointer-events: none;
}
.dm-hero .wrap { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.dm-hero h1 { margin-bottom: .35em; }
.dm-hero h1 em { font-style: italic; color: var(--accent); }
.dm-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.dm-hero .visuel { position: relative; }
.dm-hero .visuel img { width: 100%; aspect-ratio: 4 / 5; max-height: 64vh; object-fit: cover; border-radius: var(--rayon-l); box-shadow: var(--ombre-forte); }
.dm-hero .etiquette {
  position: absolute; left: -22px; bottom: 34px; background: var(--papier);
  border-radius: 16px; padding: 15px 20px; box-shadow: var(--ombre); display: flex; gap: 12px; align-items: center;
}
.dm-hero .etiquette b { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.dm-hero .etiquette span { font-size: .8rem; color: var(--encre-doux); }
@media (max-width: 900px) {
  .dm-hero .wrap { grid-template-columns: 1fr; }
  .dm-hero .visuel img { aspect-ratio: 4 / 3; }
  .dm-hero .etiquette { left: 12px; }
}

/* Bannière de page intérieure */
.page-hero { position: relative; padding: clamp(46px, 7vw, 96px) 0 clamp(30px, 4vw, 56px); background: linear-gradient(180deg, var(--sable), var(--papier)); }
.page-hero h1 { max-width: 20ch; }
.crumbs { font-size: .84rem; color: var(--encre-doux); margin-bottom: 1.4em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ==========================================================================
   Contenu courant
   ========================================================================== */
/* Grille « pleine largeur » : les blocs tiennent par défaut dans la colonne de lecture,
   ceux marqués .plein occupent toute la fenêtre (bandeaux, sections teintées). */
.content {
  display: grid;
  grid-template-columns:
    [full-start] minmax(20px, 1fr)
    [wrap-start] min(var(--large), 100% - 40px)
    [wrap-end] minmax(20px, 1fr)
    [full-end];
  padding: clamp(46px, 7vw, 96px) 0 clamp(60px, 9vw, 120px);
}
.content > * { grid-column: wrap; margin-block: clamp(44px, 6vw, 88px); min-width: 0; }
.content > .plein { grid-column: full; }
.content > .etroit { grid-column: wrap; width: min(100%, var(--etroit)); margin-inline: auto; }
/* Les blocs pleine largeur portent leur propre respiration : deux bandeaux qui se suivent se touchent. */
.content > .plein { margin-block: 0; }
.content > *:first-child { margin-top: 0; }
.content > *:last-child { margin-bottom: 0; }

/* ==========================================================================
   Blocs sur mesure
   ========================================================================== */

/* Bandeau défilant */
.dm-marquee { --vitesse: 34s; overflow: hidden; border-block: 1px solid var(--trait); padding: 18px 0; background: var(--sable); }
.dm-marquee .piste { display: flex; gap: 48px; width: max-content; animation: defile var(--vitesse) linear infinite; }
.dm-marquee:hover .piste { animation-play-state: paused; }
.dm-marquee span { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2.1rem); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.dm-marquee span::after { content: "\2726"; font-size: .55em; color: var(--accent); }
@keyframes defile { to { transform: translateX(-50%); } }

/* Chiffres clés */
.dm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.dm-stats .item { padding: 30px 26px; border-radius: var(--rayon); background: var(--sable); }
.dm-stats b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.dm-stats span { display: block; margin-top: .55em; font-size: .92rem; color: var(--encre-doux); }

/* Image + texte */
.dm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.dm-split.rev .media { order: 2; }
.dm-split .media { position: relative; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); }
.dm-split .media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, .7, .28, 1); }
.dm-split:hover .media img { transform: scale(1.04); }
@media (max-width: 860px) { .dm-split { grid-template-columns: 1fr; } .dm-split.rev .media { order: 0; } }

/* Grande image */
.dm-image { margin-inline: 0; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); }
.dm-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dm-image figcaption { padding: 14px 4px 0; font-size: .86rem; color: var(--encre-doux); background: var(--papier); }

/* Cartes de services */
.dm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.dm-cards .carte {
  position: relative; padding: 34px 30px 30px; border-radius: var(--rayon-l);
  background: #fff; border: 1px solid var(--trait); overflow: hidden;
  transition: transform .5s cubic-bezier(.22, .7, .28, 1), box-shadow .5s, border-color .5s;
}
.dm-cards .carte::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 85, 47, .16), transparent 68%); opacity: 0; transition: opacity .6s;
}
.dm-cards .carte:hover { transform: translateY(-8px); box-shadow: var(--ombre); border-color: transparent; }
.dm-cards .carte:hover::before { opacity: 1; }
.dm-cards .num { position: relative; font-family: var(--serif); font-size: .9rem; color: var(--accent); letter-spacing: .1em; }
.dm-cards h3 { position: relative; margin: .6em 0 .4em; }
.dm-cards p { position: relative; color: var(--encre-doux); font-size: .97rem; }

/* Cartes avec visuel */
.dm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.dm-grid .item { border-radius: var(--rayon-l); overflow: hidden; background: #fff; border: 1px solid var(--trait); text-decoration: none; display: block; transition: transform .5s cubic-bezier(.22, .7, .28, 1), box-shadow .5s; }
.dm-grid .item:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.dm-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dm-grid .corps { padding: 22px 24px 26px; }
.dm-grid h3 { font-size: 1.25rem; margin-bottom: .3em; }
.dm-grid p { color: var(--encre-doux); font-size: .95rem; margin: 0; }

/* Mosaïque */
.dm-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.dm-mosaic figure { margin: 0; border-radius: var(--rayon); overflow: hidden; }
.dm-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22, .7, .28, 1); }
.dm-mosaic figure:hover img { transform: scale(1.06); }
.dm-mosaic figure:nth-child(1) { grid-column: span 4; aspect-ratio: 16 / 10; }
.dm-mosaic figure:nth-child(2) { grid-column: span 2; aspect-ratio: 4 / 5; }
.dm-mosaic figure:nth-child(n+3) { grid-column: span 2; aspect-ratio: 1; }
@media (max-width: 760px) {
  .dm-mosaic { grid-template-columns: repeat(2, 1fr); }
  .dm-mosaic figure { grid-column: span 1 !important; aspect-ratio: 1 !important; }
  .dm-mosaic figure:first-child { grid-column: span 2 !important; aspect-ratio: 16 / 10 !important; }
}

/* Citation */
.dm-quote { position: relative; padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 70px); border-radius: var(--rayon-l); background: var(--foret); color: #f2f7f4; overflow: hidden; }
.dm-quote::before { content: "\201C"; position: absolute; top: -.1em; left: .16em; font-family: var(--serif); font-size: 9rem; line-height: 1; color: rgba(242, 247, 244, .14); }
.dm-quote blockquote { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.7vw, 2.1rem); line-height: 1.3; }
.dm-quote .auteur { margin-top: 1.6em; font-size: .92rem; letter-spacing: .04em; opacity: .82; }
.dm-quote .auteur b { display: block; font-size: 1.02rem; letter-spacing: 0; }

/* Appel à l'action */
.dm-cta { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 64px); border-radius: var(--rayon-l); background: var(--encre); color: var(--papier); text-align: center; }
.dm-cta::before { content: ""; position: absolute; inset: -60% -20% auto -20%; height: 180%; background: radial-gradient(45% 50% at 50% 0, rgba(185, 85, 47, .55), transparent 70%); }
.dm-cta > * { position: relative; }
.dm-cta h2 { max-width: 18ch; margin-inline: auto; }
.dm-cta p { color: rgba(251, 248, 243, .78); max-width: 52ch; margin-inline: auto; }
.dm-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2em; }

/* Étapes */
.dm-steps { counter-reset: etape; display: grid; gap: 0; }
.dm-steps .etape { display: grid; grid-template-columns: 96px 1fr; gap: clamp(18px, 4vw, 48px); padding: 30px 0; border-top: 1px solid var(--trait); align-items: start; }
.dm-steps .etape:last-child { border-bottom: 1px solid var(--trait); }
.dm-steps .etape::before { counter-increment: etape; content: "0" counter(etape); font-family: var(--serif); font-size: 2.2rem; color: var(--accent); line-height: 1; }
.dm-steps h3 { margin-bottom: .35em; }
.dm-steps p { color: var(--encre-doux); margin: 0; max-width: 62ch; }
@media (max-width: 640px) { .dm-steps .etape { grid-template-columns: 1fr; gap: 10px; } }

/* Questions / réponses */
.dm-faq { border-top: 1px solid var(--trait); }
.dm-faq details { border-bottom: 1px solid var(--trait); }
.dm-faq summary { list-style: none; cursor: pointer; padding: 22px 46px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.dm-faq summary::-webkit-details-marker { display: none; }
.dm-faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center/2px 100% no-repeat; transition: transform .4s; }
.dm-faq details[open] summary::after { transform: rotate(135deg); }
.dm-faq .reponse { padding: 0 40px 24px 0; color: var(--encre-doux); }

/* Logos */
.dm-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(26px, 5vw, 64px); }
.dm-logos .marque { font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.4rem); letter-spacing: .02em; opacity: .45; transition: opacity .4s, transform .4s; }
.dm-logos .marque:hover { opacity: .9; transform: translateY(-2px); }

/* Vidéo */
.dm-video { position: relative; border-radius: var(--rayon-l); overflow: hidden; background: var(--encre); box-shadow: var(--ombre); }
.dm-video .cadre { position: relative; aspect-ratio: 16 / 9; }
.dm-video iframe, .dm-video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.dm-video .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(20, 23, 31, .3); cursor: pointer; }
.dm-video .play i { width: 84px; height: 84px; border-radius: 50%; background: var(--papier); display: grid; place-items: center; transition: transform .4s; }
.dm-video .play i::before { content: ""; border-left: 20px solid var(--encre); border-block: 12px solid transparent; margin-left: 5px; }
.dm-video .play:hover i { transform: scale(1.09); }

/* Tarifs */
.dm-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; align-items: stretch; }
.dm-pricing .offre { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--rayon-l); border: 1px solid var(--trait); background: #fff; }
.dm-pricing .offre.vedette { background: var(--encre); color: var(--papier); border-color: var(--encre); box-shadow: var(--ombre-forte); }
.dm-pricing .offre.vedette .prix span, .dm-pricing .offre.vedette li { color: rgba(251, 248, 243, .8); }
.dm-pricing .offre.vedette .btn { background: var(--papier); color: var(--encre); }
.dm-pricing .prix { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin: .3em 0 .1em; }
.dm-pricing .prix span { font-family: var(--sans); font-size: .9rem; color: var(--encre-doux); }
.dm-pricing ul { list-style: none; margin: 1.6em 0; padding: 0; display: grid; gap: .7em; font-size: .95rem; color: var(--encre-doux); }
.dm-pricing li { padding-left: 26px; position: relative; }
.dm-pricing li::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.dm-pricing .btn { margin-top: auto; justify-content: center; }

/* Équipe */
.dm-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.dm-team figure { margin: 0; }
.dm-team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); filter: grayscale(.15); transition: filter .6s, transform .6s; }
.dm-team figure:hover img { filter: none; transform: translateY(-4px); }
.dm-team figcaption { padding-top: 14px; }
.dm-team b { display: block; font-family: var(--serif); font-size: 1.12rem; }
.dm-team span { font-size: .88rem; color: var(--encre-doux); }

/* Avant / après */
.dm-compare { position: relative; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); user-select: none; touch-action: pan-y; }
.dm-compare img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.dm-compare .apres { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.dm-compare .apres img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; }
.dm-compare .poignee { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--papier); cursor: ew-resize; }
.dm-compare .poignee::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--papier); color: var(--encre); display: grid; place-items: center; box-shadow: var(--ombre); }
.dm-compare .etiq { position: absolute; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(20, 23, 31, .68); color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.dm-compare .etiq.g { left: 16px; }
.dm-compare .etiq.d { right: 16px; }

/* Encadré démonstration */
.dm-note { display: flex; gap: 18px; padding: 24px 26px; border-radius: var(--rayon); background: var(--sable); border-left: 3px solid var(--accent); }
.dm-note .ico { font-size: 1.5rem; line-height: 1; }
.dm-note p { margin: 0; font-size: .97rem; color: var(--encre-doux); }
.dm-note b { color: var(--encre); }

/* Contact */
.dm-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); }
.dm-contact .infos { display: grid; gap: 22px; align-content: start; }
.dm-contact .infos .ligne { display: grid; gap: 3px; }
.dm-contact .infos b { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 800px) { .dm-contact { grid-template-columns: 1fr; } }

/* Séparateur */
.dm-rule { border: 0; height: 1px; background: var(--trait); }
.dm-rule.orne { height: auto; background: none; text-align: center; color: var(--accent); }
.dm-rule.orne::after { content: "\2726 \2726 \2726"; letter-spacing: .6em; font-size: .7rem; }

/* Section pleine largeur teintée */
.dm-band { padding: clamp(52px, 8vw, 110px) 0; background: var(--sable); }
.dm-band.sombre { background: var(--encre); color: var(--papier); }
.dm-band.sombre .chapo { color: rgba(251, 248, 243, .74); }
.dm-band.sombre .dm-stats .item { background: rgba(251, 248, 243, .07); }
.dm-band.sombre .dm-stats span { color: rgba(251, 248, 243, .68); }

/* ==========================================================================
   Modules dynamiques d'Isens : accord avec la charte
   ========================================================================== */
.isens-m-card { border-radius: var(--rayon-l) !important; border: 1px solid var(--trait); box-shadow: none !important; background: #fff !important; }
a.isens-m-card:hover { transform: translateY(-6px); box-shadow: var(--ombre) !important; }
.isens-m-body h3 { font-family: var(--serif); }
.isens-m-date { color: var(--accent); opacity: 1 !important; font-weight: 600; }
.isens-m-more { color: var(--accent); }
.isens-m-form input, .isens-m-form textarea, .isens-m-form select { border-radius: 12px !important; border: 1px solid var(--trait) !important; padding: 13px 15px !important; font: inherit; background: #fff; width: 100%; }
.isens-m-form button { border-radius: 999px !important; background: var(--encre) !important; color: var(--papier) !important; border: 0 !important; padding: 15px 30px !important; font-weight: 600; cursor: pointer; }
.isens-m-faq summary { font-family: var(--serif); font-size: 1.15rem; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--encre); color: rgba(251, 248, 243, .74); padding: clamp(52px, 7vw, 92px) 0 34px; margin-top: clamp(60px, 9vw, 120px); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--papier); }
.site-footer .haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 42px; border-bottom: 1px solid rgba(251, 248, 243, .14); }
.site-footer h4 { color: var(--papier); font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.4em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; font-size: .95rem; }
.site-footer .logo { color: var(--papier); margin-bottom: .8em; }
.site-footer .bas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-top: 22px; font-size: .84rem; }
.site-footer .bas .droite { margin-left: auto; }
@media (max-width: 860px) { .site-footer .haut { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .haut { grid-template-columns: 1fr; } }

/* Retour en haut */
.haut-page { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--trait); background: var(--papier); box-shadow: var(--ombre); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
.haut-page.vu { opacity: 1; transform: none; }
.haut-page::before { content: ""; width: 10px; height: 10px; border-left: 2px solid var(--encre); border-top: 2px solid var(--encre); transform: rotate(45deg) translate(2px, 2px); }

/* Colonne de lecture étroite (gabarit article.dwt) */
.content-article { --large: 760px; }
.content-article h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.content-article .plein { --large: 1240px; }

/* Dans l'éditeur de blocs, le contenu est inséré après le chargement de la page : l'apparition
   au défilement ne doit pas laisser un bloc ou un élément fraîchement ajouté invisible. */
[data-isens-root] .reveal,
[data-isens-root] .reveal-masque > span > span { opacity: 1 !important; transform: none !important; }
