/*
Theme Name: DJ Cahouette Modern
Theme URI: https://www.djcahouette.fr/
Author: Codex
Description: Theme vitrine premium pour DJ Cahouette, avec references modifiables depuis WordPress.
Version: 1.2.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: djcahouette
Tags: entertainment, portfolio, one-column, custom-logo, featured-images
*/

:root {
  --dc-bg: #08090d;
  --dc-bg-soft: #10131b;
  --dc-panel: #151924;
  --dc-panel-2: #1d2230;
  --dc-text: #f6f3ec;
  --dc-muted: #b9b0a1;
  --dc-line: rgba(246, 243, 236, 0.14);
  --dc-gold: #f1c663;
  --dc-coral: #ff5b5f;
  --dc-cyan: #29d4ff;
  --dc-green: #63e6a5;
  --dc-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --dc-radius: 8px;
  --dc-max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 91, 95, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 2%, rgba(41, 212, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, #08090d 0%, #0d1017 46%, #08090d 100%);
  color: var(--dc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration-color: rgba(241, 198, 99, 0.5);
  text-underline-offset: 0.25em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--dc-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(8, 9, 13, 0.84);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--dc-line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #08090d;
  background: linear-gradient(135deg, var(--dc-gold), var(--dc-coral));
  box-shadow: 0 0 32px rgba(241, 198, 99, 0.28);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-name small {
  color: var(--dc-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dc-line);
  border-radius: 50%;
  background: transparent;
  color: var(--dc-text);
}

.primary-menu,
.primary-menu ul {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--dc-muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--dc-text);
  background: rgba(246, 243, 236, 0.08);
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--dc-gold), var(--dc-coral));
  color: #08090d;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  border: 1px solid var(--dc-line);
  background: rgba(246, 243, 236, 0.06);
  color: var(--dc-text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--dc-line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.92) 0%, rgba(8, 9, 13, 0.76) 46%, rgba(8, 9, 13, 0.22) 100%),
    var(--dc-hero-image, linear-gradient(135deg, #171b26, #08090d));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, var(--dc-bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 96px 0 132px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--dc-gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #ded7c9;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 46px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background: rgba(246, 243, 236, 0.06);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.stat span {
  color: var(--dc-muted);
  font-size: 0.9rem;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(246, 243, 236, 0.035);
  border-block: 1px solid var(--dc-line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  margin: 0;
  color: var(--dc-muted);
  font-size: 1.05rem;
}

.feature-grid,
.reference-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.reference-card,
.service-card,
.quote-card {
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background: linear-gradient(180deg, rgba(246, 243, 236, 0.075), rgba(246, 243, 236, 0.035));
  box-shadow: var(--dc-shadow);
}

.feature,
.service-card,
.quote-card {
  padding: 24px;
}

.feature-kicker,
.reference-meta,
.service-card span {
  color: var(--dc-gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-card {
  overflow: hidden;
}

.reference-group + .reference-group {
  margin-top: 46px;
}

.reference-group-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.reference-group-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--dc-muted);
}

.archive-link-row {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.reference-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -16px 0 34px;
}

.filter-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--dc-line);
  border-radius: 999px;
  color: var(--dc-muted);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.filter-pill:hover,
.filter-pill.is-active {
  border-color: rgba(241, 198, 99, 0.55);
  background: rgba(241, 198, 99, 0.12);
  color: var(--dc-text);
}

.reference-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--dc-panel), var(--dc-panel-2));
}

.reference-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-body {
  padding: 22px;
}

.reference-body p,
.service-card p,
.feature p,
.quote-card p {
  color: var(--dc-muted);
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--dc-line);
  border-radius: 999px;
  color: #ded7c9;
  font-size: 0.78rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background: rgba(246, 243, 236, 0.04);
}

.process-list b {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 212, 255, 0.15);
  color: var(--dc-cyan);
}

.cta-band {
  padding: 60px;
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background:
    linear-gradient(135deg, rgba(241, 198, 99, 0.16), rgba(255, 91, 95, 0.16)),
    #10131b;
}

.cta-band p {
  max-width: 700px;
  color: #ded7c9;
}

.page-main {
  padding: 72px 0;
}

.entry-content {
  color: #ded7c9;
}

.entry-content > * {
  max-width: 820px;
}

.entry-content > .alignwide {
  max-width: var(--dc-max);
}

.site-footer {
  border-top: 1px solid var(--dc-line);
  background: #08090d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 36px 0;
  color: var(--dc-muted);
}

.footer-inner strong {
  color: var(--dc-text);
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--dc-line);
  border-radius: var(--dc-radius);
  background: rgba(246, 243, 236, 0.06);
  color: var(--dc-text);
  font: inherit;
}

textarea {
  min-height: 140px;
}

@media (max-width: 900px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-navigation {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    padding: 12px;
    border: 1px solid var(--dc-line);
    border-radius: var(--dc-radius);
    background: rgba(8, 9, 13, 0.96);
  }

  .site-navigation.is-open {
    display: block;
  }

  .primary-menu,
  .primary-menu ul {
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    width: 100%;
    border-radius: var(--dc-radius);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 76px 0 96px;
  }

  .hero-stats,
  .feature-grid,
  .reference-grid,
  .service-grid,
  .reference-group-head,
  .section-head,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 32px 22px;
  }
}
/* Finalisation des contenus, de la navigation et de l’accessibilité. */
.brand-logo{width:52px;height:52px;object-fit:contain;border-radius:50%;background:#fff;padding:3px;flex-shrink:0}.brand-name small{font-size:.65rem;letter-spacing:.02em}.skip-link{position:absolute;left:16px;top:-100px;z-index:1000;padding:12px 20px;background:var(--dc-gold);color:#08090d}.skip-link:focus{top:12px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--dc-cyan);outline-offset:4px}.site-navigation{margin-left:auto}.primary-menu{gap:3px;flex-wrap:wrap;justify-content:flex-end}.primary-menu a{padding:10px 9px;font-size:.79rem}.hero-lead{max-width:760px}.hero h1{font-size:clamp(2.8rem,5.8vw,6rem)}.hero-stats .stat strong{font-size:clamp(1.4rem,2.6vw,2.5rem)}.text-link{display:inline-block;margin-top:12px;color:var(--dc-gold);font-weight:700}.dc-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.dc-gallery-item{margin:0;background:var(--dc-panel);border:1px solid var(--dc-line);border-radius:12px;overflow:hidden}.dc-gallery-item img{width:100%;height:260px;object-fit:contain;background:#0b0d13}.dc-gallery-item figcaption{padding:18px;color:var(--dc-text);font-size:.95rem;line-height:1.65}.dc-gallery-item figcaption div{margin:0}.dc-lightbox{max-width:94vw;max-height:94vh;background:var(--dc-panel);color:var(--dc-text);border:1px solid var(--dc-line);border-radius:12px;padding:20px}.dc-lightbox::backdrop{background:rgba(0,0,0,.86)}.dc-lightbox img{max-height:74vh;max-width:86vw;object-fit:contain;margin:0 auto}.dc-lightbox-close{display:block;margin:0 0 14px auto;background:var(--dc-gold);color:#08090d;border:0;border-radius:20px;padding:10px 20px;cursor:pointer}.dc-lightbox p{max-width:70ch}.dc-video{width:100%;padding:24px;border:1px solid var(--dc-line);border-radius:12px;background:var(--dc-panel);margin:20px 0}.dc-video iframe{width:100%;aspect-ratio:16/9;height:auto;border:0}.dc-video-note{font-size:.85rem;line-height:1.6;color:var(--dc-muted)}.dc-video a{font-size:.9rem;color:var(--dc-gold)}.entry-content figure.wp-block-embed{margin:24px 0}.entry-content img{max-width:100%;height:auto;border-radius:10px}.entry-content h2{margin-top:40px}.entry-content p{line-height:1.8}.home-copy h2{font-size:1.6rem;line-height:1.45}.home-copy h3{font-size:1.05rem;line-height:1.8;font-weight:400;color:var(--dc-muted)}.wpcf7-form{max-width:760px;margin:30px 0}.wpcf7-form label{display:block;font-weight:600;color:var(--dc-text)}.wpcf7-form input:not([type=submit]):not([type=checkbox]),.wpcf7-form textarea,.wpcf7-form select{display:block;width:100%;background:var(--dc-panel);border:1px solid #6c6e78;border-radius:8px;padding:14px;color:var(--dc-text);font:inherit;margin:8px 0 20px}.wpcf7-form input[type=submit]{background:linear-gradient(110deg,var(--dc-gold),var(--dc-coral));color:#08090d;font-weight:700;padding:15px 26px;border:0;border-radius:32px;font:inherit;cursor:pointer}.wpcf7-form a{color:var(--dc-gold)}.wpcf7-not-valid-tip{color:#ff9696}.footer-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:26px;font-size:.85rem}.footer-credit{font-size:.8rem;color:var(--dc-muted);margin-top:26px}.dc-video-reset{background:transparent;border:0;color:inherit;text-decoration:underline;padding:0;font:inherit;cursor:pointer}.page-main{padding-top:64px}.entry-content .feature-grid h2{margin-top:0;font-size:1.5rem}.entry-content .reference-grid{margin-top:32px}.entry-content blockquote{border-left:3px solid var(--dc-gold);padding-left:20px;margin:24px 0;color:var(--dc-text)}.dc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.dc-form-note{font-size:.9rem;color:var(--dc-muted)}.dc-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(min-width:901px) and (max-width:1200px){.header-inner{gap:10px}.brand-name{font-size:1rem}.brand-name small{max-width:200px}.primary-menu a{font-size:.72rem;padding:9px 6px}}
@media(max-width:900px){.dc-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.site-navigation{max-height:75vh;overflow-y:auto}.brand-name small{max-width:210px}.hero h1{font-size:clamp(2.4rem,9vw,4rem)}.header-inner{gap:10px}.dc-gallery-item img{height:220px}}
@media(max-width:580px){.dc-gallery,.dc-form-grid{grid-template-columns:1fr}.brand-name{font-size:1rem}.brand-name small{font-size:.57rem;max-width:200px}.brand-logo{width:42px;height:42px}.dc-gallery-item img{height:280px}.footer-links{flex-direction:column;align-items:flex-start}.dc-video{padding:16px}.hero-content{padding:56px 0 64px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.dc-video-load{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;border:0;border-radius:8px;overflow:hidden;background:#090b10;cursor:pointer;color:#fff}.dc-video-load[hidden]{display:none}.dc-video-load img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.dc-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:80px;height:58px;background:#e62117;border-radius:15px;font-size:30px;padding-left:4px;box-shadow:0 4px 24px #0008}.dc-video-load:hover .dc-video-play{background:#ff3026}.dc-video-label{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);padding:6px 14px;background:#000b;border-radius:20px;font-weight:700}.dc-video-note{margin-bottom:0}

/* Lisibilité des titres et alignement des médias, préproduction 1.2.2. */
h2,h3{line-height:1.3;overflow-wrap:anywhere}
.page-main h1,.archive-main h1,.single-main h1{font-size:clamp(2rem,5.4vw,4.8rem);line-height:1.15;overflow-wrap:anywhere;margin-bottom:28px}
.reference-card{display:flex;flex-direction:column;min-width:0}
.reference-media{position:relative;display:block;aspect-ratio:4/3;flex-shrink:0;overflow:hidden;background:#10131b}
.reference-media img,.entry-content .reference-media img{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.reference-video-badge{position:absolute;left:14px;bottom:14px;padding:8px 12px;background:#cc181e;color:#fff;border-radius:20px;font-size:.85rem;font-weight:700}
.reference-body{display:flex;flex-direction:column;flex:1;min-width:0}
.reference-body h3{line-height:1.35;margin:8px 0 12px;overflow-wrap:anywhere}
.reference-body h3 a{text-decoration:none}
.reference-body h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.reference-body>p:empty{display:none}
.reference-tags{margin-top:auto;padding-top:12px;gap:8px;flex-wrap:wrap}
.entry-content .dc-gallery-item{display:flex;flex-direction:column;min-width:0}
.entry-content .dc-gallery-item>a{display:block;aspect-ratio:4/3;overflow:hidden;background:#0b0d13}
.entry-content .dc-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.entry-content .dc-gallery-item figcaption{flex:1;padding:22px;line-height:1.75}
.entry-content .dc-gallery-item figcaption p{margin:0;line-height:inherit}
.entry-content .dc-gallery-item figcaption h1,.entry-content .dc-gallery-item figcaption h2,.entry-content .dc-gallery-item figcaption h3{font:inherit;margin:0;line-height:inherit}
.entry-content>h2,.entry-content>h3{margin-bottom:20px}
@media(max-width:780px){.page-main h1,.archive-main h1,.single-main h1{font-size:clamp(2rem,8vw,3.3rem)}.reference-body h3{font-size:1.25rem}}

/* Largeur fluide sur ordinateur ; règles mobiles conservées. */
@media(min-width:901px){
 .container{width:94%;max-width:none}
 .entry-content>.reference-grid,.entry-content>.dc-gallery,.entry-content>.feature-grid,.entry-content>.wp-block-columns,.entry-content>.alignwide{max-width:none;width:100%}
 .entry-content>p,.entry-content>ul,.entry-content>ol,.entry-content>blockquote{max-width:78ch}
 .entry-content>h2,.entry-content>h3{max-width:1100px}
 .reference-grid,.dc-gallery{gap:clamp(20px,1.6vw,36px)}
 .reference-body{padding:clamp(22px,1.8vw,32px)}
 .reference-body h3{font-size:clamp(1.35rem,1.4vw,1.7rem)}
 .entry-content>.wp-block-embed,.entry-content>.dc-video{width:100%;max-width:1100px}
 .primary-menu a{font-size:clamp(.79rem,.85vw,1rem)}
}
@media(min-width:1600px){
 .reference-grid,.dc-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
 .home .reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home .dc-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:2200px){.dc-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}

@media(min-width:901px){.entry-content>:has(.dc-gallery),.entry-content>:has(.reference-grid),.entry-content>:has(.feature-grid){max-width:none;width:100%}}

/* Le bloc Gutenberg ne doit pas réserver une seconde hauteur pour le lecteur différé. */
.wp-block-embed.wp-has-aspect-ratio:has(.dc-video) .wp-block-embed__wrapper::before{display:none!important;content:none!important;padding-top:0!important}
.wp-block-embed:has(.dc-video) .wp-block-embed__wrapper{height:auto;min-height:0;padding:0}
.wp-block-embed:has(.dc-video) .dc-video iframe{position:static!important;inset:auto!important;display:block;width:100%;height:auto;aspect-ratio:16/9}

.dc-testimonials>.dc-gallery{display:contents}
.dc-comment-art{aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at top left,#29d4ff25,transparent 65%),linear-gradient(135deg,#222431,#10131b);color:var(--dc-gold)}
.dc-comment-art>span{font-family:Georgia,serif;font-size:8rem;height:100px;line-height:1}
.dc-comment-art>strong{font-size:1.5rem;letter-spacing:.04em}
.entry-content .dc-comment-author{font-weight:700;margin-top:16px!important;color:var(--dc-gold)}
.dc-comment-full{margin-top:20px}
.dc-comment-full summary{cursor:pointer;color:var(--dc-gold);font-weight:600;line-height:1.6}
.dc-comment-full>div{margin-top:16px;line-height:1.8;white-space:normal}

.dc-testimonials>p,.dc-testimonials>br{display:none}

/* Textes des pages sur toute la largeur PC, sans effet sur mobile. */
@media(min-width:901px){
 .page-main .entry-content>h2,.page-main .entry-content>h3,.page-main .entry-content>p,.page-main .entry-content>ul,.page-main .entry-content>ol,.page-main .entry-content>blockquote{max-width:none;width:100%}
 .page-id-48 .entry-content>h2{font-size:clamp(1.2rem,1.15vw,1.5rem);font-weight:400;line-height:1.8;margin:0 0 24px}
}

/* Accueil : utiliser la largeur disponible uniquement sur ordinateur. */
@media(min-width:901px){
 .home .hero-content,.home .hero h1,.home .hero-lead,.home .hero-stats,.home .cta-band p,.home .reference-group-head p{max-width:none;width:100%}
 .home .home-copy>h2,.home .home-copy>h3,.home .home-copy>p{max-width:none;width:100%}
}

@media(min-width:901px){.home .hero-content.container{width:94%;margin-inline:auto}}

/* Contact : formulaire pleine largeur uniquement sur ordinateur. */
@media(min-width:901px){
 .page-id-70 .entry-content>.wpcf7,.page-id-70 .entry-content>:has(.wpcf7),.page-id-70 .wpcf7,.page-id-70 .wpcf7-form{width:100%;max-width:none}
 .page-id-70 .dc-form-grid{gap:0 32px}
}

@media(min-width:901px){.page-id-70 .dc-form-grid>p{display:contents}.page-id-70 .dc-form-grid>p>br{display:none}}

/* Variante ivoire : couleurs uniquement, structures adaptatives conservées. */
:root{--dc-bg:#f7f3ec;--dc-bg-soft:#efe8dd;--dc-panel:#fff;--dc-panel-2:#f8f4ef;--dc-text:#29272b;--dc-muted:#625c61;--dc-line:#ded6cf;--dc-gold:#865c17;--dc-coral:#813747;--dc-cyan:#176778;--dc-shadow:0 12px 35px #3525360c;color-scheme:light}
body{background:#f7f3ec}
a{text-decoration-color:#865c1770}
.section-alt{background:#eee7dd}
.feature,.reference-card,.service-card,.quote-card{background:#fff}
.entry-content,.hero-lead,.reference-body p,.single-content,.cta-band p{color:var(--dc-text)}
.button,.wpcf7-form input[type=submit]{background:#813747;color:#fff;border-color:#813747}
.button.secondary{background:#fff;color:#813747;border-color:#813747}
.text-link,.feature-kicker,.reference-meta,.service-card span,.eyebrow{color:#813747}
.tag{background:#f4efe7;color:#625c61;border-color:#ded6cf}
.cta-band{background:linear-gradient(135deg,#eee3d5,#fff);border-color:#ded6cf}
.wpcf7-form input:not([type=submit]):not([type=checkbox]),.wpcf7-form textarea,.wpcf7-form select{background:#fff;border-color:#a99b92;color:#29272b}
.wpcf7-not-valid-tip{color:#a32036}
.dc-comment-art{background:radial-gradient(ellipse at top left,#e9dac0,transparent 70%),linear-gradient(135deg,#f9f3e8,#efe5da);color:#813747}
.site-header,.hero,.site-footer{--dc-text:#f6f3ec;--dc-muted:#d2c8bd;--dc-gold:#f1c663;--dc-line:#ffffff30;color:#f6f3ec;color-scheme:dark}
.site-header{background:#25232bf5}
.site-navigation{background:transparent}
.hero{background-color:#25232b}
.hero::after{background:linear-gradient(0deg,#25232b,transparent)}
.hero .hero-lead{color:#e7ded3}
.hero .eyebrow{color:#f1c663}
.hero .button{background:#f1c663;color:#29232b;border-color:#f1c663}
.site-footer{background:#25232b}
.site-footer .footer-credit,.site-footer .footer-inner{color:#d2c8bd}
@media(max-width:900px){.site-navigation{background:#25232b}}

/* Accueil ivoire, en-tête et pied de page sombres conservés. */
.home .hero{--dc-text:#29272b;--dc-muted:#625c61;--dc-gold:#865c17;--dc-line:#ded6cf;background:radial-gradient(ellipse at 85% 20%,#ead9c766,transparent 65%),#f7f3ec;color:#29272b;color-scheme:light}
.home .hero::before{background:none;opacity:0}
.home .hero::after{background:linear-gradient(0deg,#f7f3ec,transparent)}
.home .hero .hero-lead{color:#625c61}
.home .hero .eyebrow{color:#813747}
.home .hero .button{background:#813747;color:#fff;border-color:#813747}
.home .hero .button.secondary{background:#fff;color:#813747;border-color:#813747}
.home .hero .stat{background:#fff;box-shadow:0 12px 35px #3525360c}
.home .hero .stat span{color:#625c61}
