/* Innovation Commando : variations sur le socle de cyrildesousacardoso.com */

/* Sans JavaScript, l'en-tête ne devient jamais opaque au défilement : on le laisse en haut de page. */
.site-header { position: absolute; }

.archive-band {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: #ffd29a; border: 1px solid rgba(255, 210, 154, .35); padding: .45rem .8rem; margin-bottom: 1.6rem;
}
.archive-band::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #ffb35c; }

.page-hero .cta-row { margin-top: 2rem; }
.footer-note { margin-top: 1.4rem; max-width: 26rem; font-size: 1rem; color: var(--on-dark-2); }
.footer-note a { color: var(--on-dark); }

/* Contenus d'archive (Markdown issu de WordPress) */
.prose img { display: block; max-width: 100%; height: auto; margin: 1.4rem 0; }
.prose .video { margin: 1.6rem 0 2rem; }
.prose h2:first-child { margin-top: 0; }
.archive-note {
  margin: 0 0 2rem; padding: .9rem 1.1rem; background: var(--paper-2); border-left: 2px solid #ffb35c;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.prose-wide { max-width: var(--wrap); }

/* Grilles : principes, fiches vidéo, tutos, téléchargements */
.grid { list-style: none; display: grid; gap: 1.6rem; margin: 1.6rem 0 2.4rem !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.prose .grid li { margin: 0; }
.grid figure, .card { margin: 0; }
.grid img { margin: 0; width: 100%; }
.grid figcaption, .card h3 { font-family: var(--display); font-size: 1.1rem; line-height: 1.3; margin: .7rem 0 0; }
.card p { font-size: 1rem; color: var(--text-2); margin: .4rem 0 0; }
.card .video { margin: 0; }
.grid-principes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 1.2rem; }
.grid-principes figcaption { font-size: .95rem; }
.downloads-grid img { aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); }
.dl { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }

.notice { margin: 2.4rem 0; padding: 1.4rem 1.6rem; background: var(--paper-2); border-top: 2px solid var(--accent); }
.notice p { margin: 0; }

.partners { list-style: none; margin: 1rem 0 2rem !important; }
.prose .partners li { margin: 0 0 .8rem; }

.band .lede { max-width: 40rem; font-size: 1.2rem; color: var(--on-dark-2); margin: 0 0 2rem; }
.band h2 { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; margin: 0 0 1rem; }

.entries .entry { min-height: 15rem; }

@media (max-width: 44rem) {
  .archive-band { font-size: .58rem; letter-spacing: .12em; }
}
.more { margin-top: 1.8rem; color: var(--text-2); }
.more a:not(.btn) { color: var(--accent); }
.btn-ink { color: var(--ink-900); border-color: var(--line-strong); }
.btn-ink:hover { color: var(--ink-900); border-color: var(--accent); background: #fff; }
.entry > div:only-of-type { margin-top: auto; }
.band .lettre { margin-top: 2.2rem; color: var(--on-dark-2); font-size: 1rem; }
.band .lettre a { color: var(--on-dark); }
.fiche { padding-top: .4rem; }
.fiche h2 a { color: inherit; text-decoration: none; }
.fiche h2 a:hover { color: var(--accent); }
.posts { list-style: none; margin: 0 !important; border-top: 1px solid var(--line-strong); }
.prose .posts li { margin: 0; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.posts time { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.prose .posts h2 { display: block; border: 0; padding: 0; margin: .4rem 0 .5rem; font-size: 1.45rem; }
.posts h2 a { color: var(--text); text-decoration: none; }
.posts h2 a:hover { color: var(--accent); }
.posts p { margin: 0; color: var(--text-2); font-size: 1.02rem; }
