@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/montserrat-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:  #0f0f0f;
  --white:  #ffffff;
  --gray:   #f4f4f4;
  --border: #e4e4e4;
  --muted:  #888;
  --yellow: #edb307;
  --orange: #d97706;
  --max:    720px;
  --max-wide: 960px;
  --pad:    clamp(1.25rem, 6vw, 2.5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

/* Tout lien de contenu non stylé explicitement retombe sur l'orange --orange,
   jamais le bleu navigateur. Le jaune --yellow reste réservé aux CTA.
   (Pas de a:hover global ici : casserait les hovers couleur des .btn/.nav-cta.) */
a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 1px 2px rgba(217, 119, 6, 0.25);
}

/* ─── PROJECTS PORTFOLIO ─── */
.projects-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) var(--pad) clamp(3rem, 7vw, 5rem);
}

.projects-hero h1 {
  max-width: 850px;
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.projects-hero h1 strong { font-weight: 700; }

.projects-hero > p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 1.75rem;
  color: #555;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.projects-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--border);
}

.projects-summary p {
  display: grid;
  gap: 0.15rem;
  padding: 1.25rem 1rem 1.25rem 0;
}

.projects-summary p + p { border-left: 1px solid var(--border); padding-left: 1.25rem; }
.projects-summary strong { font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1; }
.projects-summary span { color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.projects-portfolio {
  background: var(--gray);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(4rem, 9vw, 7rem);
}

.projects-heading,
.projects-intro,
.project-filters,
.project-grid,
.projects-empty {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.projects-heading .section-label { margin-bottom: 1rem; }
.projects-heading h2 { font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1.15; }
.projects-count { flex-shrink: 0; color: var(--muted); font-size: 0.78rem; }
.projects-count strong { color: var(--black); font-size: 1.4rem; }
.projects-intro { max-width: 1100px; margin-top: 1.2rem; color: #666; font-size: 0.88rem; }

.project-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 2.25rem; margin-bottom: 2.5rem; }
.project-filter {
  border: 1px solid #cfcfcf;
  background: transparent;
  color: #555;
  padding: 0.65rem 0.9rem;
  font: 600 0.68rem/1 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.project-filter:hover,
.project-filter.active { background: var(--black); border-color: var(--black); color: var(--white); }
.project-filter:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  list-style: none;
  background: #d8d8d8;
}

.project-grid:not(.is-ready) { opacity: 0; }

.project-grid li {
  min-width: 0;
  min-height: 210px;
  padding: 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background 0.2s, transform 0.2s;
}
.project-grid li:hover { background: #fffdf6; transform: translateY(-2px); position: relative; z-index: 1; }
.project-grid li[hidden] { display: none; }
.project-card-category { color: var(--muted); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.project-card-name { overflow-wrap: anywhere; margin-top: 0.85rem; font-size: 1.02rem; line-height: 1.35; font-weight: 700; }
.project-card-description { margin-top: 0.55rem; color: #666; font-size: 0.78rem; line-height: 1.55; }
.project-card-context { margin-top: auto; padding-top: 1.2rem; color: #999; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.project-card-context::before { content: '❋'; margin-right: 0.4rem; color: var(--yellow); }
.projects-empty { padding: 3rem; background: var(--white); text-align: center; }

@media (max-width: 800px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .projects-summary { grid-template-columns: 1fr; }
  .projects-summary p + p { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; }
  .projects-heading { align-items: start; flex-direction: column; gap: 0.75rem; }
  .project-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scrollbar-width: thin; }
  .project-filter { flex-shrink: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid li { min-height: 180px; }
}

/* ─── HEADER / NAV ─── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad);
  border-bottom: 1px solid #1e1e1e;
  position: sticky;
  top: 0;
  background: var(--black);
  z-index: 100;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text,
.logo-sub {
  display: none;
}

.logo-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1;
}

/* Nav links */
nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--white); }

nav a.nav-cta {
  color: var(--yellow);
  border: 1.5px solid var(--yellow);
  padding: 0.35rem 0.75rem;
}

nav a.nav-cta:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}

.close-nav { display: none; }

@media (max-width: 640px) {
  .burger { display: flex; }

  nav {
    display: none;
  }

  nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 200;
    overflow-y: auto;
  }

  nav a { font-size: 0.88rem; }

  .close-nav {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: var(--pad);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
    font-family: inherit;
    padding: 0.25rem;
  }
}

/* ─── HERO ─── */
.hero {
  padding: clamp(3rem, 9vw, 6rem) var(--pad) clamp(2rem, 5vw, 3.5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero h1 strong { font-weight: 700; }

.hero-desc {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── SEED DIVIDER ─── */
.seed-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 2rem;
}

.seed-divider img {
  width: 20px;
  opacity: 0.35;
  flex-shrink: 0;
}

.seed-divider hr {
  flex: 1;
  border: none;
  border-top: 1px solid var(--border);
}

/* ─── ARTICLES LIST ─── */
.articles-section {
  padding: 0 var(--pad) clamp(3rem, 9vw, 6rem);
  max-width: 900px;
  margin: 0 auto;
}

/* Article card with featured image */
.article-card--with-img {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.article-card--with-img:hover { opacity: 0.75; }

.article-card-img {
  width: 160px;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--gray);
  flex-shrink: 0;
}

.article-card-body {
  display: grid;
  gap: 0.35rem;
}

@media (max-width: 600px) {
  .article-card--with-img {
    grid-template-columns: 1fr;
  }
  .article-card-img { width: 100%; }
}

/* Article featured image in hero */
.article-featured-img {
  width: 100%;
  height: auto;
  max-width: var(--max);
  margin: 0 auto;
  display: block;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--black);
  padding-top: 1rem;
  margin-bottom: 2rem;
}

.article-card {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.article-card:hover { opacity: 0.7; }

.article-meta {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bbb;
}

.article-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.88rem;
  font-weight: 400;
  color: #666;
  line-height: 1.65;
}

.article-arrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ─── PAGE CONTENT (pages non-article) ─── */
.page-hero {
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) 2rem;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}

.page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad);
}

.page-body h1 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  margin: 2rem 0 1rem;
  line-height: 1.25;
}

.page-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.page-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

.page-body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1.25rem 0 0.4rem;
}

.page-body p { margin-bottom: 1.25rem; font-weight: 400; }

.page-body ul, .page-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.page-body li { margin-bottom: 0.4rem; }
.page-body strong { font-weight: 600; }
.page-body em { font-style: italic; }

.page-body a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.page-body th {
  font-weight: 700;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--black);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-body td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.page-body tr:hover td { background: var(--gray); }

.page-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

.page-body blockquote {
  border-left: 3px solid var(--black);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

.page-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.page-body code {
  font-family: monospace;
  background: var(--gray);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.88em;
}

.page-body pre {
  background: var(--gray);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.page-body pre code {
  background: none;
  padding: 0;
}

/* ─── CTA BLOCK ─── */
.cta-block {
  background: var(--black);
  color: var(--white);
  padding: clamp(3rem, 9vw, 6rem) var(--pad);
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.9rem);
  font-weight: 200;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.cta-block h2 strong { font-weight: 700; }

.cta-block .cta-sub {
  font-size: 0.88rem;
  font-weight: 400;
  color: #aaa;
  margin-bottom: 2.75rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}

.btn-wrap { display: flex; flex-direction: column; align-items: center; }

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--white);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-primary:hover { background: transparent; color: var(--yellow); }

.btn-secondary { background: transparent; color: var(--yellow); border-color: var(--yellow); }
.btn-secondary:hover { background: var(--yellow); color: var(--black); }

.btn-dark {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn-dark:hover { background: transparent; color: var(--black); border-color: var(--black); }

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn-outline:hover { background: var(--yellow); color: var(--black); }

.btn-note {
  font-size: 0.63rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #555;
  margin-top: 0.5rem;
  text-align: center;
}

/* ─── FOOTER IMAGE ─── */
.footer-image-wrap {
  width: 100%;
  line-height: 0;
}

.footer-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

footer {
  background: #000000;
  padding: 1.5rem var(--pad);
  font-size: 0.67rem;
  font-weight: 400;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

footer a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-flowers {
  font-size: 1.1rem;
  letter-spacing: 0.5rem;
  text-transform: none;
  margin-bottom: 0.5rem;
}

.footer-eco {
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-top: 0.5rem;
  opacity: 0.65;
}
.footer-eco a { color: var(--white); }
.footer-legal {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  opacity: 0.55;
}

footer .footer-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── ARTICLE PAGE ─── */
.article-hero {
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) 2rem;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.article-hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}

.article-summary {
  font-size: 1.05rem;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
  border-left: 3px solid var(--black);
  padding-left: 1.25rem;
  margin-top: 1.25rem;
}

.article-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad);
}

.article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

.article-body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1.25rem 0 0.4rem;
}

.article-body p { margin-bottom: 1.25rem; font-weight: 400; }

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.article-body li { margin-bottom: 0.4rem; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }

.article-body a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  overflow-x: auto;
  display: block;
}

.article-body th {
  font-weight: 700;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--black);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-body td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.article-body tr:hover td { background: var(--gray); }

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

.article-body blockquote {
  border-left: 3px solid var(--black);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.article-body code {
  font-family: monospace;
  background: var(--gray);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.88em;
}

.article-body pre {
  background: var(--gray);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.article-body pre code {
  background: none;
  padding: 0;
}

.step-block {
  background: var(--gray);
  border-left: 3px solid var(--black);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.step-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

/* ─── FAQ ─── */
.faq-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 3rem;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-a {
  font-size: 0.88rem;
  font-weight: 400;
  color: #555;
  line-height: 1.7;
}

/* ─── AUTHOR BLOCK ─── */
.author-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad);
  border-top: 2px solid var(--black);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.author-title {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.author-bio {
  font-size: 0.88rem;
  font-weight: 400;
  color: #555;
  line-height: 1.65;
}

.author-stats {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

.author-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 1px;
}

/* ─── INLINE CTA (article) ─── */
.inline-cta {
  border: 1.5px solid var(--black);
  padding: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

.inline-cta p {
  font-size: 0.88rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* ─── AVIS / TÉMOIGNAGES ─── */
.temoignage-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.temoignage {
  border: 1px solid var(--border);
  padding: 1.25rem;
  background: var(--gray);
}

.temoignage-stars {
  color: var(--black);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.temoignage-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.temoignage-author {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--black); }

.breadcrumb span { margin: 0 0.4rem; }

/* ─── NOTICE / ALERT ─── */
.notice {
  background: var(--gray);
  border-left: 3px solid var(--black);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

/* ─── ACCORDION (remplace et_pb_toggle) ─── */
details {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

details[open] {
  border-color: var(--black);
}

details summary {
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.15s;
}

details summary::-webkit-details-marker { display: none; }
details summary::marker { content: ''; }

details summary:hover {
  background-color: var(--gray);
}

details summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--yellow);
  transition: transform 0.2s;
}

details[open] summary::after { transform: rotate(45deg); }

details > p,
details .details-body {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
}

details > p + p {
  margin-top: -0.75rem;
}

/* ─── WIDE PAGE (tdv, listes longues) ─── */
.page-wide .page-body,
.page-wide .page-hero {
  max-width: var(--max-wide);
}

/* ─── UTILITIES ─── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* ─── HOME: HERO SPLIT ─── */
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
  align-items: center;
}

.home-hero-content h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.home-hero-content h1 strong { font-weight: 700; }

.hero-nickname {
  font-weight: 200;
  font-style: italic;
  color: var(--muted);
  font-size: 0.85em;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 200;
  font-style: italic;
  color: var(--muted);
  margin: 1.5rem 0;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.home-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.hero-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--border);
}

@media (max-width: 768px) {
  .home-hero { grid-template-columns: 1fr; gap: 2rem; }
  .home-hero-visual { order: -1; padding: 0; }
  .hero-photo { width: 140px; height: 140px; }
}

/* ─── HOME: STATS BAR ─── */
.stats-bar {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem var(--pad);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
}

.stat-link { color: inherit; text-decoration: none; }
.stat-link:hover { opacity: 0.75; }

.stat-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  color: #aaa;
  line-height: 1.45;
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
  max-width: 110px;
}

@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1rem; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ─── HOME: GENERIC SECTIONS ─── */
.home-section { padding: clamp(3rem, 8vw, 5rem) var(--pad); }
.home-section--gray { background: var(--gray); }

.home-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  margin: 0.4rem 0 0.6rem;
}

.home-desc {
  font-size: 0.9rem;
  color: #555;
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 0;
}

.section-intro {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.25rem 0 2rem;
}

/* ─── HOME: SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.service-item:hover {
  border-color: var(--black);
  background: var(--gray);
}

.service-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--black);
  margin-top: 2px;
}

.service-icon svg { width: 56px; height: 56px; }
.service-icon img { width: 56px; height: 56px; object-fit: contain; }

.service-text strong {
  font-weight: 600;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.service-text p {
  font-size: 0.78rem;
  color: #666;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ─── HOME: TRUST / CONFIANCE ─── */
.trust-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.trust-text p {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.trust-text p strong { font-weight: 600; color: var(--black); }

.trust-clients-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--black);
  padding-top: 0.75rem;
  margin-bottom: 1rem;
  display: block;
}

.client-sectors {
  list-style: none;
  padding: 0;
}

.client-sectors li {
  font-size: 0.82rem;
  color: #555;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.client-sectors li::before {
  content: '❋ ';
  font-size: 0.6rem;
  color: var(--muted);
}

@media (max-width: 768px) { .trust-layout { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── HOME: REVIEW GRID ─── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.review-stars {
  color: var(--black);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.85rem;
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 768px) { .review-grid { grid-template-columns: 1fr; } }

/* ─── HOME: PORTFOLIO ─── */
.portfolio-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(3.5rem, 9vw, 7rem) var(--pad);
  text-align: center;
}

.portfolio-inner { max-width: 800px; margin: 0 auto; }

.portfolio-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.portfolio-num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  margin: 0 0 0.15em;
  letter-spacing: -0.03em;
}

.portfolio-sub {
  font-size: 1rem;
  font-weight: 200;
  font-style: italic;
  color: #bbb;
  margin-bottom: 1.5rem;
}

.portfolio-types {
  font-size: 0.72rem;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-bottom: 2.5rem;
}

/* ─── HOME: SKILLS ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  margin-top: 2rem;
}

.skill-cat { margin-bottom: 1.75rem; }

.skills-cat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1.5px solid var(--black);
  padding-top: 0.75rem;
  margin: 0 0 0.5rem;
  display: block;
}

.skills-list {
  font-size: 0.8rem;
  font-weight: 400;
  color: #555;
  line-height: 1.75;
}

@media (max-width: 640px) { .skills-grid { grid-template-columns: 1fr; } }

/* Fix btn-note on dark backgrounds */
.cta-block .btn-note { color: #888; }

/* Article card h3 (homepage) */
.article-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ─── HOME: DANDELION CANVAS ─── */
.home-hero-visual {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0 0;
  gap: 1rem;
}

.hero-photo-badge {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

#dandelion-canvas {
  display: block;
  width: 100%;
  height: 340px;
  cursor: pointer;
  flex: 1 0 auto;
}

.dandelion-hint {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-align: center;
  margin-top: -0.5rem;
}

@media (max-width: 768px) {
  .hero-photo-badge { width: 70px; height: 70px; }
  #dandelion-canvas { height: 220px; }
}

/* ─── HOME: PORTFOLIO GALLERY ─── */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 2.5rem auto 0;
  max-width: 1100px;
}

.portfolio-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.85);
}

.portfolio-thumb:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

@media (max-width: 768px) { .portfolio-gallery { grid-template-columns: repeat(2, 1fr); gap: 3px; } }
@media (max-width: 420px) { .portfolio-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ─── HOME: TRUST LOGOS ─── */
.trust-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.clients-logos-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.upec-logo-img {
  width: 160px;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ─── HOME: SKILL TOOL IMAGES ─── */
.skill-cat--ia {
  grid-column: 1 / -1;
}

.skill-tools-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 0.75rem 0 0.75rem;
}

.skill-tools-imgs img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.skill-cat-img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
  display: block;
}

@media (max-width: 640px) {
  .skill-cat--ia { grid-column: 1; }
  .skill-tools-imgs img { height: 40px; }
  .skill-cat-img { max-height: 80px; }
}

/* ─── HOME PAGE ─── */
body.home-page {
  font-size: 16px;
  line-height: 1.65;
}

.home-page header {
  padding: 0.75rem var(--pad);
}

/* HERO */
.home-hero {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--pad) 2.5rem;
  align-items: center;
  min-height: 0;
}

.home-hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.home-hero-content h1 strong { font-weight: 700; }

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  max-width: 480px;
  padding-top: 0;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  color: var(--muted);
  margin: 1.5rem 0;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-hero-visual {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: static !important;
  padding: 0;
  pointer-events: auto;
}

.hero-photo-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

/* DANDELION STRIP */
.dandelion-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  line-height: 0;
}

.dandelion-tagline {
  width: 20%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  padding: 2.5rem 1.75rem 2.5rem 1rem;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  background: #ffffff;
  line-height: 1.4;
}

.dandelion-tagline p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.6rem, 1.2vw, 0.78rem);
  font-weight: 600;
  font-style: normal;
  color: rgba(15, 15, 15, 0.75);
  text-align: right;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.dandelion-play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(15,15,15,0.45);
  flex-shrink: 0;
}

.dandelion-play-circle .mat-icon {
  font-size: 20px;
  color: rgba(15,15,15,0.7);
}

.dandelion-canvas-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}

.dandelion-soil {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: #000000;
  z-index: 3;
  line-height: 0;
}

#dandelion-canvas {
  display: block;
  width: 100%;
  height: 300px;
  cursor: pointer;
  pointer-events: auto;
}

.dandelion-hint { display: none; }

@media (max-width: 640px) {
  .dandelion-tagline { display: none; }
  .dandelion-canvas-wrap { flex: 1; }
}

/* STATS BAR */
.stats-bar {
  padding: 2.15rem var(--pad) 2.35rem;
  background: #000;
}

.stats-inner {
  max-width: 1100px;
  gap: clamp(0.85rem, 2vw, 2rem);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  opacity: 0.6;
  line-height: 1;
  display: block;
}

.stat-num {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
}

.stat-label {
  font-size: 0.7rem;
  line-height: 1.55;
  max-width: 125px;
}

/* SECTIONS */
.home-section {
  padding: clamp(3rem, 7vw, 5.4rem) var(--pad);
}

.home-section--gray {
  background: #f0f2ef;
}

.home-section-inner {
  max-width: 1100px;
}

.home-page .eyebrow {
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
}

.home-h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.home-desc,
.section-intro {
  font-size: 0.95rem;
  line-height: 1.8;
}

.seed-divider {
  padding-bottom: 0;
}

/* SERVICES */
.services-layout {
  margin-top: 2.4rem;
}

.services-grid {
  margin-top: 0;
  gap: 1.2rem 2.1rem;
}

.service-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.service-item:first-child {
  grid-column: 1 / -1;
}

.service-item:hover {
  background: transparent;
}

.service-icon,
.service-icon img {
  width: 42px;
  height: 42px;
}

.service-text strong {
  font-size: 0.82rem;
}

.service-text p {
  font-size: 0.75rem;
}

.services-dandelion {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 300px);
  margin: 0;
}

.services-dandelion img {
  width: 100%;
  height: auto;
  display: block;
}

/* TRUST */
.trust-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.5rem;
}

.trust-text p {
  font-size: 0.9rem;
  line-height: 1.85;
}

.trust-logos {
  gap: 1rem;
}

.clients-logos-img {
  max-width: 360px;
}

/* AVIS CAROUSEL */
.review-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.review-carousel-outer {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
  align-items: stretch;
}

.review-track .review-card {
  flex: 0 0 calc(33.333% - 0.84rem);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: left;
  transform: none;
  opacity: 1;
}

.review-track .review-text {
  flex: 1;
  font-size: 0.88rem;
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.review-track .review-stars {
  color: #d0a600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-track .review-author {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-nav {
  display: none;
}

.review-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--black);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s, color 0.2s;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-btn:hover {
  background: var(--black);
  color: var(--white);
}

.review-more {
  margin-top: 1.8rem;
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* PORTFOLIO */
.portfolio-section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.2rem) var(--pad) clamp(3rem, 6vw, 4.2rem);
  background: #000;
}

.portfolio-section::before,
.portfolio-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 34px;
  background: var(--white);
}

.portfolio-section::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
}

.portfolio-section::after {
  bottom: -1px;
  clip-path: polygon(0 78%, 100% 0, 100% 100%, 0 100%);
}

.portfolio-inner {
  max-width: 1040px;
}

.portfolio-eyebrow {
  margin-bottom: 0;
  color: #f0f0f0;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
}

.portfolio-pre {
  font-size: 1rem;
  font-weight: 200;
  font-style: italic;
  color: #bbb;
  margin: 0.75rem 0 0;
}

.portfolio-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0.1rem 0 0;
  line-height: 1;
}

.portfolio-sub {
  font-size: 0.85rem;
  color: #aaa;
  margin: 0.3rem 0 1.5rem;
  font-style: normal;
  font-weight: 400;
}

.portfolio-types {
  margin-bottom: 1.8rem;
  font-size: 0.65rem;
  color: #bbb;
}

.portfolio-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
  max-width: 1010px;
}

.portfolio-thumb {
  padding: 8px;
  background: #eee;
  box-shadow: 0 2px 7px rgba(255,255,255,0.18);
}

.portfolio-thumb img {
  filter: none;
}

/* SKILLS */
.skills-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.8rem;
}

.skill-cat--ia {
  grid-column: 1 / -1;
}

.skills-cat-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.skills-list {
  font-size: 0.72rem;
  line-height: 1.65;
}

.skill-tools-imgs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 0.75rem 0;
  align-items: start;
}

.skill-tools-imgs img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.skill-cat-img {
  width: 200px;
  height: auto;
  max-height: none;
  object-fit: fill;
  margin-bottom: 0.75rem;
}

/* ARTICLES */
.home-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem 2.8rem;
}

.home-page section[aria-labelledby="articles-label"] .home-section-inner {
  max-width: 1100px !important;
}

.home-articles-grid .article-card {
  padding: 0;
  border: 0;
}

.home-articles-grid .article-meta {
  font-size: 0.62rem;
  letter-spacing: 0;
  text-transform: none;
}

.home-articles-grid .article-card h3 {
  font-size: 0.85rem;
  line-height: 1.45;
}

.home-articles-grid .article-excerpt {
  font-size: 0.78rem;
  line-height: 1.55;
}

.home-articles-grid .article-arrow {
  font-size: 0.65rem;
  letter-spacing: 0;
  text-transform: none;
}

/* ─── FOOTER CTA OVERLAY (accueil) ─── */
.footer-cta-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer-cta-wrap > * { grid-area: 1 / 1; }

.footer-cta-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

.footer-cta-inner {
  position: relative;
  z-index: 2;
  background: var(--black);
  color: var(--white);
  width: min(640px, calc(100% - 3rem));
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem);
  margin: 3rem 0;
  text-align: center;
}

.footer-cta-inner h2 {
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 200;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.footer-cta-inner h2 strong { font-weight: 700; }

.footer-cta-inner .cta-sub {
  font-size: 0.88rem;
  color: #aaa;
  margin-bottom: 2.25rem;
}

.footer-cta-inner .btn-note { color: #888; }

@media (max-width: 540px) {
  .footer-cta-wrap > img { min-height: 500px; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .home-hero-visual {
    order: -1;
  }

  .hero-photo-badge {
    width: 110px;
    height: 110px;
  }

  .services-layout,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .services-dandelion {
    display: none;
  }

  .portfolio-gallery,
  .home-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skill-cat--ia {
    grid-column: 1 / -1;
  }

  .skill-tools-imgs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 1.5rem;
  }

  .hero-photo-badge {
    width: 80px;
    height: 80px;
  }

  #dandelion-canvas {
    height: 180px;
  }

  .services-grid,
  .portfolio-gallery,
  .skills-grid,
  .home-articles-grid {
    grid-template-columns: 1fr;
  }

  .skill-cat--ia {
    grid-column: 1;
  }

  .skill-tools-imgs {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-track .review-card {
    flex: 0 0 100%;
  }

  .service-item:first-child {
    grid-column: auto;
  }
}

/* ─── NAV DROPDOWN ─── */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-group-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  transition: color 0.2s;
  line-height: 1;
}

.nav-group-btn:hover,
.nav-group-btn[aria-expanded="true"],
.nav-group-btn.active { color: var(--white); }

.nav-caret {
  font-size: 0.55rem;
  transition: transform 0.2s;
  margin-top: 1px;
  opacity: 0.6;
}

.nav-group-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-group-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  min-width: 220px;
  z-index: 300;
  padding: 0.4rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.nav-group-panel.open { display: block; }

@media (min-width: 641px) {
  .nav-group:hover .nav-group-panel { display: block; }
}

.nav-group-panel a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-group-panel a:hover { background: #2a2a2a; color: var(--white); }
.nav-group-panel a.active { color: var(--white); }

@media (max-width: 640px) {
  .nav-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-group-btn { font-size: 0.88rem; }

  .nav-group-panel {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid #333;
    background: #1a1a1a;
    width: 100%;
    min-width: 0;
    padding: 0.25rem 0;
    margin-top: 0.25rem;
  }

  .nav-group-panel a {
    font-size: 0.82rem;
    text-align: center;
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.75);
  }
}

/* ─── MATERIAL SYMBOLS ─── */
.mat-icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  vertical-align: middle;
}

/* ─── CHIPS ─── */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--gray);
  border: 1px solid var(--border);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.chip .mat-icon { font-size: 14px; color: var(--muted); }

.chip--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.chip--dark .mat-icon { color: #aaa; }

/* ─── FEATURE GRID ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray);
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card-icon .mat-icon { font-size: 20px; }

.feature-card-body strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.feature-card-body p {
  font-size: 0.78rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ─── MODALITY GRID ─── */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.modality-card {
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.modality-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.modality-eyebrow .mat-icon { font-size: 14px; }

.modality-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.modality-card p {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .modality-grid { grid-template-columns: 1fr; }
}

/* ─── STACK CHIPS ─── */
.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.stack-chip {
  padding: 0.3rem 0.65rem;
  border: 1.5px solid var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
}

/* ─── PRICE CARD ─── */
.price-card {
  background: var(--black);
  color: var(--white);
  padding: 1.75rem 2rem;
  display: inline-block;
  margin: 1.5rem 0;
}

.price-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.4rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.price-detail {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ─── FORMATION PAGE LAYOUT ─── */
.formation-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--pad) 3rem;
}

.formation-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.formation-section:first-child { border-top: none; }

.formation-section-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.formation-section-label .mat-icon { font-size: 16px; }

.formation-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.formation-lead {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ─── BREADCRUMB (formation) ─── */
.formation-breadcrumb {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem var(--pad);
  max-width: 800px;
  margin: 0 auto;
}

.formation-breadcrumb a { color: var(--muted); text-decoration: none; }
.formation-breadcrumb a:hover { color: var(--black); }
.formation-breadcrumb span { margin: 0 0.4rem; }

/* ── Partenaires logos défilants ─────────────────── */
@keyframes partenaires-defilement {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partenaires-logos-outer {
  overflow: hidden;
  margin-top: 1.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
  mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
}
.partenaires-logos-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: partenaires-defilement 20s linear infinite;
}
.partenaire-logo-item {
  flex-shrink: 0;
  width: 140px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: var(--white);
}
.partenaire-logo-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.qualiopi-highlight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 2px solid var(--black);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.qualiopi-highlight img { height: 64px; width: auto; flex-shrink: 0; }
.qualiopi-highlight p { font-size: 0.88rem; line-height: 1.5; margin: 0; color: var(--black); }
@media (max-width: 540px) {
  .qualiopi-highlight { flex-direction: column; align-items: flex-start; }
}

/* ── Financement grid ────────────────────────────── */
.financement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 640px) { .financement-grid { grid-template-columns: 1fr; } }
.financement-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  background: var(--gray);
}
.financement-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--black); }
.financement-card p { font-size: 0.82rem; color: var(--muted); margin: 0.25rem 0; line-height: 1.5; }
.financement-card ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.financement-card ul li { font-size: 0.82rem; color: var(--muted); padding: 0.2rem 0; }
.financement-card ul li::before { content: '✓ '; color: var(--black); font-weight: 700; }
.financement-helper {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.financement-helper p { font-size: 0.88rem; color: var(--black); margin: 0; }

/* ══════════════════════════════════════════════════
   HERO IMAGE — plein écran et section mi-page
   .hero-fullscreen : intro pleine page (100vh)
   .hero-section    : bloc image au milieu d'une page
   Structure :
     <section class="hero-fullscreen|hero-section">
       <div class="hero-bg" style="background-image:url(…)"></div>
       <div class="hero-overlay"></div>
       <div class="hero-content">…</div>
     </section>
   Image par défaut : hero-vibe-coding-dandelions2.webp
   Overlay : rgba(0,0,0,0.30) — image déjà sombre
   ══════════════════════════════════════════════════ */
.hero-fullscreen,
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-fullscreen { min-height: 100vh; }
.hero-section    { min-height: 480px; }

.hero-bg {
  position: absolute;
  inset: -8px;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: blur(2px);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 3rem 2rem 4rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.hero-section .portfolio-inner { position: relative; z-index: 2; }

.hero-fullscreen .formation-breadcrumb,
.hero-section .formation-breadcrumb {
  padding: 0;
  max-width: none;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.hero-fullscreen .formation-breadcrumb a,
.hero-section .formation-breadcrumb a { color: rgba(255,255,255,0.6); }
.hero-fullscreen .formation-breadcrumb a:hover,
.hero-section .formation-breadcrumb a:hover { color: #fff; }
.hero-fullscreen .formation-breadcrumb span,
.hero-section .formation-breadcrumb span { color: rgba(255,255,255,0.35); }

.hero-fullscreen h1,
.hero-section h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 200;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}
.hero-fullscreen h1 strong,
.hero-section h1 strong { font-weight: 700; display: block; }

.hero-fullscreen .hero-desc,
.hero-section .hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 2rem;
}
.hero-fullscreen .chip-row,
.hero-section .chip-row { gap: 0.5rem; flex-wrap: wrap; }
.hero-fullscreen .chip,
.hero-section .chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero-fullscreen .chip--dark,
.hero-section .chip--dark {
  background: rgba(255,255,255,0.9);
  border-color: transparent;
  color: #0f0f0f;
}
.hero-fullscreen .chip .mat-icon,
.hero-section .chip .mat-icon { color: rgba(255,255,255,0.75); }
.hero-fullscreen .chip--dark .mat-icon,
.hero-section .chip--dark .mat-icon { color: #0f0f0f; }

@media (max-width: 600px) {
  .hero-content { padding: 2.5rem 1.25rem 3rem; }
}

/* ─── PRICING + FORMATRICE 2 COLONNES ─── */
.pricing-formatrice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0;
}

.formatrice-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--gray);
  max-width: 800px;
  margin: 0 auto;
}

.formatrice-card-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.formatrice-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.formatrice-card-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.formatrice-card-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.1rem 0;
}

.formatrice-card-title {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.formatrice-card-bio {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.formatrice-card-link {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 1px;
}

@media (max-width: 640px) {
  .pricing-formatrice-grid { grid-template-columns: 1fr; }
}

/* ─── QUALIOPI logo mis en avant ─── */
.qualiopi-logo-link {
  display: block;
  max-width: 600px;
  width: 100%;
  margin: 0 auto 2.5rem;
}
.qualiopi-logo-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── FINANCEMENT logos centrés ─── */
.financement-logos-row {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
  justify-items: center;
  max-width: 820px;
  margin: 0 auto;
}
.financement-logos-row img {
  height: 80px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .financement-logos-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .financement-logos-row img { height: 60px; max-width: 120px; }
}

/* ─── FINANCEMENT + CERTIFICATIONS FUSIONNÉS ─── */
.financement-certs-section {
  padding: 2rem 0;
}

.financement-certs-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--gray);
}

.financement-certs-logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.financement-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.financement-cert-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.financement-cert-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.financement-cert-card p {
  font-size: 0.82rem;
  color: #555;
  margin: 0.2rem 0;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .financement-certs-grid { grid-template-columns: 1fr; }
  .financement-certs-logos { gap: 1.25rem; }
}
