/* ===== Ets Coekaerts — feuille de style globale =====
   Styles mutualisés (reset, variables, keyframes, reveal, hover).
   Le design par page reste en styles inline (repris du build d'origine). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #FCFAFA;
  background: #000000;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  --fd: 'Anton', sans-serif;
  --fa: 'Archivo Black', sans-serif;
  --fb: 'Work Sans', sans-serif;
}
img { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* Feedback tactile universel (repris de l'effet d'origine) */
a, button { transition: transform .14s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
a:active, button:active { transform: scale(.93); }

/* ===== Keyframes (centralisées : les animations inline des pages en dépendent) ===== */
@keyframes revealUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 52px 52px, 52px 52px; } }
@keyframes glowPulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); opacity: .5; } 50% { transform: translateX(-50%) translateY(8px); opacity: 1; } }
@keyframes ecPop { 0% { transform: scale(1); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }

/* ===== Reveal au scroll (progressive enhancement) =====
   Sans JS : contenu visible. Avec JS (html.js) : masqué puis révélé au scroll. */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal].ec-in { opacity: 1; transform: none; }

/* ===== Accessibilité : mouvement réduit ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-hero], [data-reveal], [data-b-reveal] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   BLOG — standard "digeste" BE WEB, adapté au thème graffiti sombre
   (accent #F23716, fond #000/#0a0a0a, texte #FCFAFA). Valeurs en dur :
   ce site n'utilise pas de tokens --space/--color. Titres toujours clairs.
   ═══════════════════════════════════════════════════════════════════════ */

/* ---- Conteneur article ---- */
.article-body { max-width: 760px; margin: 0 auto; padding: clamp(30px,5vw,56px) clamp(16px,4vw,40px) clamp(50px,7vw,80px); font-family: var(--fb); color: #FCFAFA; }
.article-meta { font-family: var(--fa); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #F23716; margin: 0 0 26px; }

/* ---- Typographie de corps ---- */
.article-body h2 { font-family: var(--fd); font-weight: 400; line-height: 1.05; letter-spacing: .005em; text-transform: uppercase; color: #FCFAFA; font-size: clamp(1.6rem,4vw,2.5rem); margin: 44px 0 16px; text-shadow: 0 0 30px rgba(242,55,22,.22); }
.article-body h3 { font-family: var(--fa); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: #FCFAFA; font-size: 1.14rem; margin: 30px 0 12px; }
.article-body p { font-family: var(--fb); font-size: 1.05rem; line-height: 1.8; color: #FCFAFA; opacity: .86; margin: 0 0 18px; }
.article-body strong { color: #FCFAFA; opacity: 1; font-weight: 700; }
.article-body ul { list-style: none; margin: 0 0 20px; padding-left: 1.3rem; display: grid; gap: 10px; }
.article-body ul li { position: relative; font-size: 1.05rem; line-height: 1.75; color: #FCFAFA; opacity: .86; }
.article-body ul li::before { content: '►'; position: absolute; left: -1.3rem; font-size: .7rem; top: .35rem; color: #F23716; }
.article-body a:not(.btn):not(.reno-btn) { color: #F23716; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s; }
.article-body a:not(.btn):not(.reno-btn):hover { color: #FCFAFA; }

/* ---- Gate de publication programmée ---- */
.publish-gate__locked { margin: 20px 0; padding: 40px 28px; text-align: center; background: #0a0a0a; border: 1px dashed rgba(242,55,22,.5); }
.publish-gate__locked p { font-family: var(--fa); text-transform: uppercase; letter-spacing: .02em; color: #FCFAFA; opacity: .8; margin: 0; font-size: .98rem; }

/* ---- Résumé ---- */
.article-brief { margin: 4px 0 34px; padding: 24px 26px; background: #0a0a0a; border-left: 4px solid #F23716; box-shadow: 0 0 26px rgba(242,55,22,.10); }
.article-brief h2 { font-family: var(--fa); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #F23716; margin: 0 0 16px; text-shadow: none; }
.article-brief ul { margin: 0; padding-left: 1.3rem; }

/* ---- Sommaire ---- */
.article-toc { margin: 0 0 40px; padding: 22px 26px; border: 1px solid rgba(242,55,22,.4); background: #0a0a0a; }
.article-toc h2 { font-family: var(--fa); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #FCFAFA; opacity: .7; margin: 0 0 12px; text-shadow: none; }
.article-toc ol { margin: 0; padding-left: 1.3rem; color: #F23716; display: grid; gap: 8px; }
.article-toc a { color: #FCFAFA; opacity: .85; text-decoration: none; }
.article-toc a:hover { color: #F23716; opacity: 1; }

/* ---- Exergue ---- */
.article-quote { margin: 34px 0; padding: 6px 0 6px 26px; border-left: 4px solid #F23716; font-family: var(--fd); font-weight: 400; font-size: clamp(1.4rem,3vw,1.9rem); line-height: 1.25; text-transform: uppercase; color: #FCFAFA; opacity: 1; text-shadow: 0 0 30px rgba(242,55,22,.35); }

/* ---- Encadré réalisations (milieu d'article) ---- */
.article-realisations { margin: 44px 0; padding: clamp(30px,4vw,44px) clamp(20px,3vw,36px); text-align: center; background: linear-gradient(160deg, rgba(242,55,22,.14), rgba(242,55,22,.03)); border: 1px solid rgba(242,55,22,.4); box-shadow: 0 0 30px rgba(242,55,22,.12); }
.reno-eyebrow { display: inline-block; margin-bottom: 12px; font-family: var(--fa); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #F23716; }
.article-realisations h3 { font-family: var(--fd); font-weight: 400; text-transform: uppercase; color: #FCFAFA; font-size: clamp(1.5rem,3.4vw,2.1rem); margin: 0 0 12px; }
.reno-sub { margin: 0 auto 24px; max-width: 460px; color: #FCFAFA; opacity: .8; font-size: .98rem; line-height: 1.65; }
.reno-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.article-realisations a.reno-btn { display: inline-flex; align-items: center; gap: .5rem; padding: 13px 24px; background: #F23716; color: #FCFAFA; text-decoration: none; font-family: var(--fa); font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; border: 3px solid #FCFAFA; box-shadow: 5px 5px 0 #000000; transition: transform .15s, box-shadow .15s; }
.article-realisations a.reno-btn:hover { transform: translate(5px,5px); box-shadow: 0 0 0 #000000; color: #FCFAFA; }
.article-realisations a.reno-btn span { transition: transform .15s; }

/* ---- FAQ (accordéon, marqueur +/−) ---- */
.article-faq { margin-top: 14px; }
.article-faq .faq-item { border: 1px solid rgba(242,55,22,.4); background: #0a0a0a; margin-bottom: 12px; }
.article-faq .faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-family: var(--fa); font-size: 1rem; letter-spacing: .01em; text-transform: uppercase; color: #FCFAFA; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.article-faq .faq-item summary::-webkit-details-marker { display: none; }
.article-faq .faq-item summary::after { content: '+'; color: #F23716; font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.article-faq .faq-item[open] summary::after { content: '\2013'; }
.article-faq .faq-answer { padding: 0 20px 20px; }
.article-faq .faq-answer p { margin: 0; font-size: 1rem; line-height: 1.75; opacity: .85; }

/* ---- À lire aussi ---- */
.article-more { margin: 40px 0; padding-top: 28px; border-top: 1px solid rgba(252,250,250,.14); }
.article-more h3 { font-family: var(--fa); font-size: 1rem; text-transform: uppercase; color: #FCFAFA; margin: 0 0 14px; }
.article-more ul { display: grid; gap: 10px; padding-left: 1.3rem; }

/* ---- On intervient aussi (zones) ---- */
.article-zones { margin: 40px 0; padding: 20px 24px; background: #0a0a0a; border-left: 3px solid #F23716; }
.article-zones h3 { font-family: var(--fa); font-size: 1rem; text-transform: uppercase; color: #FCFAFA; margin: 0 0 10px; }
.article-zones p { margin: 0; opacity: .82; font-size: .98rem; line-height: 1.7; }

/* ---- CTA fin d'article ---- */
.article-cta { margin: 44px 0 10px; padding: clamp(30px,4vw,44px); text-align: center; background: #F23716; border: 3px solid #FCFAFA; box-shadow: 8px 8px 0 rgba(252,250,250,.15); }
.article-cta h3 { font-family: var(--fd); font-weight: 400; text-transform: uppercase; color: #000000; font-size: clamp(1.5rem,3.4vw,2.2rem); margin: 0 0 12px; }
.article-cta p { font-family: var(--fb); color: #000000; opacity: 1; font-size: 1.02rem; line-height: 1.6; margin: 0 0 24px; }
.article-cta .btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 30px; font-family: var(--fa); font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; background: #000000; color: #FCFAFA; border: 3px solid #000000; box-shadow: 6px 6px 0 #FCFAFA; transition: transform .15s, box-shadow .15s; }
.article-cta .btn:hover { transform: translate(6px,6px); box-shadow: 0 0 0 #FCFAFA; }
.article-back { margin-top: 34px; }
.article-back a { font-family: var(--fa); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #FCFAFA; opacity: .75; }
.article-back a:hover { color: #F23716; opacity: 1; }

/* ---- Cartes blog (index + accueil) ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; background: #0a0a0a; border: 1px solid rgba(242,55,22,.45); padding: 26px 24px; box-shadow: 0 0 26px rgba(242,55,22,.08); transition: transform .2s, box-shadow .2s, border-color .2s; }
.blog-card:hover { transform: translateY(-6px); border-color: #F23716; box-shadow: 0 0 34px rgba(242,55,22,.35); }
.blog-card .blog-date { font-family: var(--fa); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #F23716; margin: 0 0 12px; }
.blog-card h3 { font-family: var(--fa); font-weight: 700; text-transform: uppercase; color: #FCFAFA; font-size: 1.08rem; line-height: 1.25; margin: 0 0 12px; }
.blog-card p { font-family: var(--fb); font-size: .92rem; line-height: 1.7; color: #FCFAFA; opacity: .8; margin: 0 0 16px; }
.blog-card .blog-more { margin-top: auto; font-family: var(--fa); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: #F23716; }
