/* Gabarit D — catalogue PME (Atelier Lumen) */
body { font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: #2B2B2B; background: #fff; }
h1, h2, h3 { color: #1C1C1C; letter-spacing: -.02em; line-height: 1.1; text-transform: none; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
a { color: #C2421C; }

.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: #E4572E; color: #fff; font-weight: 700; text-decoration: none; padding: .85rem 1.4rem; border-radius: 2px; border: 2px solid #E4572E; cursor: pointer; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.d-btn:hover { background: #C2421C; border-color: #C2421C; }
.d-btn.blanc { background: #fff; color: #1C1C1C; border-color: #1C1C1C; }
.d-btn.noir { background: #1C1C1C; border-color: #1C1C1C; }

/* Barre utilitaire + en-tête */
.d-util { background: #1C1C1C; color: rgba(255,255,255,.78); font-size: .84rem; }
.d-util .wrap { display: flex; gap: 2rem; padding: .5rem 0; flex-wrap: wrap; }
.d-util span { display: inline-flex; align-items: center; gap: .45rem; }
.d-util svg { width: 15px; height: 15px; color: #2A9D8F; }
.d-u-adr { margin-left: auto; }
.d-head { background: #fff; border-bottom: 3px solid #1C1C1C; position: sticky; top: 0; z-index: 20; }
.d-head .wrap { display: flex; align-items: center; gap: 2rem; min-height: 78px; }
.d-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #1C1C1C; font-weight: 900; font-size: 1.35rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.d-logo svg { width: 44px; height: 44px; }
.d-logo small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: #7A746C; margin-top: .3rem; }
.d-nav { display: flex; gap: 0; margin-left: auto; height: 78px; }
.d-nav a { display: flex; align-items: center; padding: 0 1.1rem; text-decoration: none; color: #1C1C1C; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.d-nav a[aria-current="page"], .d-nav a:hover { border-color: #E4572E; color: #C2421C; }

/* Héros scindé, demi-panneau coloré */
.d-hero-g { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.d-hero-t { background: #FAF7F2; padding: 4.5rem max(1.25rem, calc((100vw - 1160px) / 2)) 4rem; padding-right: 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.d-sur { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: #1F7A6F; margin-bottom: 1rem; }
.d-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 900; margin-bottom: 1.2rem; }
.d-lead { font-size: 1.12rem; color: #5E5A55; max-width: 32em; }
.d-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 1.6rem; }
.d-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.d-checks li { display: flex; gap: .55rem; align-items: center; font-weight: 600; font-size: .95rem; }
.d-checks svg { width: 18px; height: 18px; color: #fff; background: #2A9D8F; border-radius: 50%; padding: 3px; flex: none; }
.d-hero-v { background: #2A9D8F; position: relative; display: grid; place-items: center; overflow: hidden; }
.d-hero-v::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.d-hero-v svg { width: min(78%, 460px); position: relative; }
.d-tampon { position: absolute; top: 2.2rem; right: 2.2rem; width: 120px; height: 120px; border-radius: 50%; background: #F2C14E; color: #1C1C1C; display: grid; place-content: center; text-align: center; transform: rotate(12deg); z-index: 2; border: 3px dashed #1C1C1C; }
.d-tampon span { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.d-tampon b { font-size: 1.9rem; line-height: 1; font-weight: 900; }

.d-sec { padding: 5rem 0; }
.d-creme { background: #FAF7F2; }
.d-noir { background: #1C1C1C; color: rgba(255,255,255,.75); }
.d-noir h2, .d-noir h3 { color: #fff; }
.d-tete { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; border-bottom: 1px solid #E3DACD; padding-bottom: 1.4rem; }
.d-tete h2 { margin: 0; }
.d-lien { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.d-lien svg { width: 18px; height: 18px; }

/* Grille produits */
.d-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.d-prod { border: 1px solid #E3DACD; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; background: #fff; }
.d-prod:hover { box-shadow: 8px 8px 0 #1C1C1C; transform: translate(-3px, -3px); }
.d-prod-img svg { width: 100%; height: auto; }
.d-prod-c { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.d-prod h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.d-prod p { color: #5E5A55; font-size: .92rem; flex: 1; }
.d-px { font-weight: 900; color: #C2421C; font-size: 1.05rem; }
.d-px small { font-weight: 500; color: #7A746C; font-size: .82rem; }

/* Savoir-faire + compteurs */
.d-savoir { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: center; }
.d-liste { list-style: none; padding: 0; margin: 2rem 0 0; }
.d-liste li { display: flex; gap: 1.1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.d-liste .ico { width: 46px; height: 46px; background: #2A9D8F; color: #fff; flex: none; }
.d-liste .ico svg { width: 22px; height: 22px; }
.d-liste h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.d-liste p { margin: 0; }
.d-compteurs { display: grid; gap: 1rem; }
.d-compteurs div { border: 2px solid rgba(255,255,255,.2); padding: 1.4rem 1.6rem; }
.d-compteurs strong { display: block; font-size: 3rem; font-weight: 900; color: #F2C14E; line-height: 1; letter-spacing: -.03em; }
.d-compteurs span { text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; font-weight: 700; }

/* Flux en 4 cases */
.d-flux { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid #1C1C1C; }
.d-flux li { padding: 1.8rem 1.5rem; position: relative; }
.d-flux li + li { border-left: 2px solid #1C1C1C; }
.d-flux li + li::before { content: "→"; position: absolute; left: -15px; top: 1.6rem; width: 28px; height: 28px; background: #E4572E; color: #fff; display: grid; place-items: center; font-weight: 900; border-radius: 50%; font-size: .9rem; }
.d-flux span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: #1F7A6F; }
.d-flux h3 { font-size: 1.2rem; margin: .5rem 0 .4rem; }
.d-flux p { margin: 0; color: #5E5A55; font-size: .93rem; }

/* Avis + FAQ */
.d-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.d-avis { margin: 0; background: #fff; border: 2px solid #1C1C1C; padding: 2.2rem; box-shadow: 10px 10px 0 #E4572E; }
.d-ex { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; background: #DDF0EC; color: #1F7A6F; padding: .25rem .6rem; margin-bottom: 1rem; }
.d-avis blockquote { margin: 0 0 1rem; font-size: 1.3rem; font-weight: 700; color: #1C1C1C; line-height: 1.4; }
.d-avis figcaption { color: #7A746C; }
.d-duo h2 { font-size: 1.8rem; }
.q { border-bottom: 1px solid #D9CFC1; padding: 1rem 0; }
.q summary { font-weight: 800; color: #1C1C1C; display: flex; justify-content: space-between; gap: 1rem; }
.q summary::after { content: "+"; color: #E4572E; font-weight: 900; font-size: 1.3rem; line-height: 1; }
.q[open] summary::after { content: "×"; }
.q p { margin: .7rem 0 0; color: #5E5A55; }

/* Appel à l'action avec champ */
.d-cta { background: #E4572E; color: #fff; padding: 3.4rem 0; }
.d-cta-g { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; }
.d-cta h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.d-cta p { margin: 0; opacity: .9; }
.d-ligne { display: flex; background: #fff; padding: .4rem; gap: .4rem; }
.d-ligne input { flex: 1; border: 0; padding: .7rem .9rem; min-width: 0; color: #2B2B2B; }

/* Pages intérieures */
.d-ph { background: #FAF7F2; border-bottom: 1px solid #E3DACD; padding: 3.4rem 0 3rem; }
.d-ph h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 900; margin-bottom: .8rem; }
.d-fil { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #7A746C; margin-bottom: 1rem; }
.d-fil a { color: inherit; }
.d-fiche { display: grid; grid-template-columns: 300px 1fr 200px; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid #E3DACD; align-items: center; }
.d-fiche h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.d-fiche p { color: #5E5A55; }
.d-fiche-px { text-align: right; display: grid; justify-items: end; gap: .3rem; }
.d-fiche-px strong { font-size: 1.5rem; font-weight: 900; color: #C2421C; }
.d-fiche-px span { color: #7A746C; font-size: .88rem; margin-bottom: .6rem; }
.d-histoire { list-style: none; padding: 0; margin: 0; border-left: 3px solid #1C1C1C; }
.d-histoire li { padding: 0 0 1.8rem 1.6rem; position: relative; }
.d-histoire li::before { content: ""; position: absolute; left: -10px; top: 4px; width: 16px; height: 16px; background: #E4572E; border: 3px solid #fff; outline: 2px solid #1C1C1C; }
.d-histoire b { font-size: 1.6rem; font-weight: 900; color: #1F7A6F; }
.d-histoire h3 { font-size: 1.1rem; margin: .2rem 0 .3rem; }
.d-histoire p { margin: 0; color: #5E5A55; }
.d-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.d-val { background: #fff; border: 1px solid #E3DACD; padding: 1.8rem; border-top: 5px solid #2A9D8F; }
.d-val .ico { width: 46px; height: 46px; background: #DDF0EC; color: #1F7A6F; margin-bottom: 1rem; }
.d-val p { margin: 0; color: #5E5A55; }
.d-plan { position: relative; color: #1C1C1C; height: 360px; overflow: hidden; background: #F0EAE0; }
.d-plan > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-plan .wrap { position: relative; height: 100%; display: flex; align-items: center; }
.d-plan-carte { background: #fff; border: 2px solid #1C1C1C; padding: 2rem 2.2rem; max-width: 460px; box-shadow: 10px 10px 0 #1C1C1C; }
.d-plan-carte h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 900; }
.d-plan-carte p:last-child { margin: 0; color: #5E5A55; }
.d-contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; }
.d-boite { border: 2px solid #1C1C1C; padding: 2.2rem; }
.d-infos { list-style: none; padding: 0; margin: 0; }
.d-infos li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #E3DACD; }
.d-infos .ico { width: 40px; height: 40px; background: #1C1C1C; color: #F2C14E; flex: none; }
.d-infos .ico svg { width: 20px; height: 20px; }
.d-infos strong { display: block; color: #1C1C1C; text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }
.form label { display: block; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; color: #1C1C1C; }
.form input, .form select, .form textarea { width: 100%; border: 2px solid #D9CFC1; border-radius: 0; background: #fff; padding: .75rem .9rem; color: #2B2B2B; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #1C1C1C; }
.form p { margin: 0 0 1rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.d-foot { background: #1C1C1C; color: rgba(255,255,255,.62); padding: 4rem 0 1.5rem; font-size: .92rem; }
.d-foot-g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.d-foot .d-logo { color: #fff; margin-bottom: 1rem; }
.d-foot .d-logo small { color: rgba(255,255,255,.5); }
.d-foot h3 { color: #F2C14E; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.d-foot ul { list-style: none; padding: 0; margin: 0; }
.d-foot li { margin-bottom: .45rem; }
.d-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.d-foot-bas { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; }
.d-foot-bas a { text-decoration: underline; }

@media (max-width: 980px) {
  .d-hero-g, .d-savoir, .d-duo, .d-cta-g, .d-contact { grid-template-columns: 1fr; }
  .d-hero-t { padding: 3rem 1.25rem; }
  .d-hero-v { min-height: 380px; }
  .d-prods { grid-template-columns: 1fr 1fr; }
  .d-flux { grid-template-columns: 1fr 1fr; } .d-flux li:nth-child(3) { border-left: 0; } .d-flux li:nth-child(n+3) { border-top: 2px solid #1C1C1C; } .d-flux li::before { display: none; }
  .d-fiche { grid-template-columns: 220px 1fr; } .d-fiche-px { grid-column: 2; text-align: left; justify-items: start; }
  .d-foot-g { grid-template-columns: 1fr 1fr; }
  .d-u-adr { display: none !important; }
}
@media (max-width: 640px) {
  .d-head .wrap { flex-wrap: wrap; gap: .5rem; padding-top: .7rem; min-height: 0; }
  .d-nav { order: 3; width: 100%; height: 48px; overflow-x: auto; margin: 0 -1.1rem; }
  .d-head > .wrap > .d-btn { display: none; }
  .d-prods, .d-flux, .d-vals, .f2, .d-foot-g { grid-template-columns: 1fr; }
  .d-flux li + li { border-left: 0; border-top: 2px solid #1C1C1C; }
  .d-fiche { grid-template-columns: 1fr; } .d-fiche-px { grid-column: auto; }
  .d-ligne { flex-direction: column; }
  .d-util .wrap { gap: .3rem 1.2rem; font-size: .8rem; }
}
.a-nav a, .b-nav a, .c-nav a, .d-nav a { white-space: nowrap; }
@media (max-width: 640px) { .d-nav { margin: 0; justify-content: space-between; } .d-nav a { padding: 0 .35rem; font-size: .78rem; letter-spacing: .03em; } }
.d-h2h { font-size: 1.6rem; margin-bottom: 1.4rem; }
