@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,600;0,700;1,300&display=swap');

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

:root {
  --black:  #0f0f0f;
  --white:  #ffffff;
  --gray:   #f4f4f4;
  --border: #e4e4e4;
  --muted:  #888;
  --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;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--black);
  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: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
  transition: color 0.2s;
}

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

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

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

/* 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(--black);
  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(--white);
    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(--black);
    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%;
  max-width: var(--max);
  margin: 0 auto;
  display: block;
  aspect-ratio: 21/9;
  object-fit: cover;
  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(--white); color: var(--black); }
.btn-primary:hover { background: transparent; color: var(--white); }

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

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

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

.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 .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;
  filter: grayscale(100%);
  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-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);
  margin-bottom: 0.5rem;
}

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

details summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.2s;
}

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

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

/* ─── 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;
  filter: grayscale(100%);
  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;
  filter: grayscale(100%);
  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: none;
  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-item::after {
  content: "❋";
  display: block;
  height: 1.35rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #fafafa;
  opacity: 0.9;
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  opacity: 0.5;
  line-height: 1;
  display: block;
}

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

.stat-label {
  font-size: 0.62rem;
  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(4, 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: 83%;
  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: var(--muted);
  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(--black); }

.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: calc(100% + 0.4rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 220px;
  z-index: 300;
  padding: 0.4rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.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: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-group-panel a:hover { background: var(--gray); color: var(--black); }
.nav-group-panel a.active { color: var(--black); }

@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 var(--border);
    background: var(--gray);
    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: var(--black);
  }
}

/* ─── 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; }
