:root {
  --ink: #072527;
  --ink-2: #1d3d40;
  --green: #2d9357;
  --red: #ed262c;
  --yellow: #fcb522;
  --muted: #4d6264;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --line: #dde6e3;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

body {
  margin: 0;
  background: var(--paper);
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--green);
}

/* En-tête */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header img {
  width: 190px;
  height: auto;
  display: block;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.site-header nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--green);
}

/* Bandeau d'accroche */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 64px;
  border-bottom: 6px solid var(--yellow);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  max-width: 20ch;
}

.hero p {
  max-width: 62ch;
  font-size: 1.15rem;
  color: #d6e4e2;
}

.hero strong {
  color: #fff;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Sections */
section {
  padding: 56px 0;
}

section.soft {
  background: var(--soft);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 18px;
}

h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--green) 66%);
}

.lead {
  font-size: 1.15rem;
  max-width: 68ch;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.also {
  margin-top: 22px;
  color: var(--muted);
}

/* Citation */
blockquote {
  margin: 0;
  padding: 4px 0 4px 22px;
  border-left: 5px solid var(--green);
  font-size: 1.2rem;
  max-width: 70ch;
}

/* Contact */
.contact {
  text-align: center;
}

.contact h2::after {
  margin-left: auto;
  margin-right: auto;
}

.contact p {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}

.contact .actions {
  justify-content: center;
}

/* Pied de page */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 20px 0 32px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

/* Pages simples */
main.page {
  padding: 32px 0 56px;
}

main.page h1 {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.contact p.small {
  font-size: 1rem;
  color: var(--muted);
}

.service .deliverable {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Analyses techniques */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.article-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.article-card:hover {
  border-color: var(--green);
}

.article-card .kicker {
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 6px 0 8px;
  font-size: 1.15rem;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-card .more {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 600;
}

article.post {
  max-width: 76ch;
  padding: 32px 0 56px;
}

article.post h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  margin: 8px 0 16px;
}

article.post h2 {
  margin-top: 2.2rem;
}

article.post .chapo {
  font-size: 1.15rem;
  color: var(--ink-2);
}

article.post pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #e6efed;
  font-size: 0.88rem;
  line-height: 1.5;
}

article.post code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

article.post :not(pre) > code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--soft);
  font-size: 0.92em;
}

article.post .timeline {
  list-style: none;
  padding: 0;
  border-left: 3px solid var(--line);
}

article.post .timeline li {
  position: relative;
  padding: 0 0 10px 18px;
}

article.post .timeline li::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
}

article.post .callout {
  padding: 12px 16px;
  border-left: 4px solid var(--yellow);
  background: #fff8e8;
}

article.post .back {
  display: inline-block;
  margin-top: 28px;
  font-weight: 600;
}

.eyebrow-light {
  color: var(--red);
}

article.post figure {
  margin: 24px 0;
}

article.post figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

article.post figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-card .thumb {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.article-card .date {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
}

article.post .byline {
  margin-top: -6px;
  color: var(--muted);
  font-size: 0.95rem;
}

a.service.tool {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

a.service.tool:hover {
  border-color: var(--green);
}

.tool-meta {
  margin: -4px 0 8px !important;
  color: var(--green) !important;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Démarche « De l'audit à la correction » */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 44px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 12px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.deliverable-band {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-left: 5px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
  max-width: none;
}

/* Recommandations */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 12px;
  background: #fff;
}

.quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  max-width: none;
}

.quote blockquote p {
  margin: 0 0 14px;
}

.quote blockquote p::before {
  content: '« ';
  color: var(--green);
  font-weight: 700;
}

.quote blockquote p::after {
  content: ' »';
  color: var(--green);
  font-weight: 700;
}

.quote figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote figcaption strong {
  color: var(--ink);
}

/* Hortval : bandeau produit */
.product-band {
  background: var(--ink);
  color: #d6e4e2;
  border-top: 6px solid var(--green);
}

.product-band h2 {
  color: #fff;
  max-width: 28ch;
}

.product-band .lead strong {
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.product-cta {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 22px;
  border-radius: 12px;
  background: var(--ink-2);
}

.product-cta p {
  margin: 0;
  font-size: 0.95rem;
}

.product-cta a:not(.button) {
  color: var(--yellow);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-product {
  margin-top: 22px;
  font-size: 1rem !important;
}

.hero-product a {
  color: var(--yellow);
}

.hero-product a strong {
  color: inherit;
}

.hero .hero-sub {
  margin: -4px 0 18px;
  color: var(--yellow);
  font-size: 1.3rem;
  font-weight: 600;
}

#pour-qui .services {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.contact-direct {
  font-size: 1.1rem;
  font-weight: 600;
}
