/* ============================================================
   MICHEL LUCAS — Site Web
   Design tokens et styles globaux
   Marque personnelle + co-branding Médecine Culinaire
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  /* Couleurs primaires — Michel Lucas */
  --ml-vert-profond: #3D5040;
  --ml-ivoire: #F5F1EA;
  --ml-noir-profond: #1A1A1A;

  /* Couleurs secondaires */
  --ml-sable: #E8E2D8;
  --ml-gris-chaud: #8A8578;
  --ml-ardoise: #555555;
  --ml-cuivre: #B87333;

  /* Accents */
  --ml-or-ancien: #B8860B;   /* fond CLAIR uniquement */
  --ml-vert-main: #BCC46C;   /* fond SOMBRE uniquement */
  --ml-rouge-praxis: #C0392B;

  /* Couleurs MC */
  --mc-vert: #4c654e;
  --mc-beige: #e4dfd5;

  /* Typographie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  /* Échelle typo */
  --text-4xl: 3.5rem;
  --text-3xl: 2.5rem;
  --text-2xl: 2rem;
  --text-xl: 1.5rem;
  --text-lg: 1.25rem;
  --text-md: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Espacement */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;

  /* Layout */
  --max-width: 1140px;
  --nav-height: 100px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ml-noir-profond);
  background-color: var(--ml-ivoire);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ml-or-ancien);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ml-cuivre);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ml-vert-profond);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--text-lg);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-lg);
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--ml-vert-profond);
  border-left: 3px solid var(--ml-or-ancien);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ml-or-ancien);
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--vert {
  background-color: var(--ml-vert-profond);
  color: var(--ml-ivoire);
}

.section--vert h2,
.section--vert h3,
.section--vert h4 {
  color: var(--ml-ivoire);
}

.section--vert .overline {
  color: var(--ml-vert-main);
}

.section--vert a {
  color: var(--ml-vert-main);
}

.section--vert blockquote {
  color: var(--ml-ivoire);
  border-left-color: var(--ml-vert-main);
}

.section--sable {
  background-color: var(--ml-sable);
}

.section--beige {
  background-color: var(--mc-beige);
}

/* --- Brand Header --- */
.brand-header {
  background-color: #45664C;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.brand-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  text-decoration: none;
}

.brand-header__symbol {
  height: 90px;
  width: auto;
}

.brand-header__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-header__overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ml-vert-main);
}

.brand-header__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--ml-ivoire);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-header__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-sm);
  color: rgba(245, 241, 234, 0.6);
  letter-spacing: 0.05em;
}

.brand-header__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 110px;
}

.brand-header__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 200px;
  width: auto;
  opacity: 0.25;
}

.brand-header__quote {
  position: relative;
  z-index: 1;
  text-align: center;
}

.brand-header__quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--ml-ivoire);
  line-height: 1.4;
  margin-bottom: var(--space-xs);
}

.brand-header__quote-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ml-vert-main);
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color: var(--ml-or-ancien);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ml-ivoire);
  transition: color 0.2s ease;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a.active {
  color: #fff;
  border-bottom-color: #fff;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ml-ivoire);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--ml-vert-profond);
  color: var(--ml-ivoire);
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.hero--with-image .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero--with-image .hero__content {
  max-width: 100%;
}

.hero__image {
  position: relative;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero__image--with-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero__image--with-logo > img:not(.hero__brand-logo) {
  max-width: 360px;
  width: 90%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 20% center;
}

.hero__brand-logo {
  max-width: 320px;
  width: 80%;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Hero double image (chercheur + chef) */
.hero__double-image {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  max-width: 380px;
  margin: 0 auto;
}

.hero__circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .hero--with-image .container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .hero__image {
    order: -1;
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(188, 196, 108, 0.05) 100%);
  pointer-events: none;
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero__overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ml-vert-main);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  color: var(--ml-ivoire);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-xl);
}

.hero h1 em {
  font-style: italic;
  color: var(--ml-vert-main);
}

.hero__tagline {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xl);
  color: rgba(245, 241, 234, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.5;
}

.hero__signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ml-vert-main);
  margin-bottom: var(--space-2xl);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: var(--space-md) var(--space-2xl);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--ml-or-ancien);
  color: var(--ml-ivoire);
  border-color: var(--ml-or-ancien);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--ml-or-ancien);
}

.btn--primary-dark,
.section--vert .btn--primary-dark {
  background-color: var(--ml-vert-main);
  color: var(--ml-noir-profond);
  border-color: var(--ml-vert-main);
}

.btn--primary-dark:hover,
.section--vert .btn--primary-dark:hover {
  background-color: transparent;
  color: var(--ml-vert-main);
  border-color: var(--ml-vert-main);
}

.btn--outline {
  background-color: transparent;
  color: var(--ml-vert-profond);
  border-color: var(--ml-vert-profond);
}

.btn--outline:hover {
  background-color: var(--ml-vert-profond);
  color: var(--ml-ivoire);
}

/* --- Cards / Grid --- */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white;
  padding: var(--space-2xl);
  border-radius: 2px;
  border-top: 3px solid var(--ml-or-ancien);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card--with-image {
  padding: 0;
  overflow: hidden;
}

.card--with-image .card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.card--with-image .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card--with-image .card__number,
.card--with-image h3,
.card--with-image > p {
  padding-left: var(--space-2xl);
  padding-right: var(--space-2xl);
}

.card--with-image > p:last-child {
  padding-bottom: var(--space-2xl);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ml-or-ancien);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.card h3 {
  color: var(--ml-vert-profond);
}

.card p {
  color: var(--ml-ardoise);
  font-size: var(--text-md);
}

/* Dark card variant */
.card--dark {
  background: rgba(255, 255, 255, 0.08);
  border-top-color: var(--ml-vert-main);
}

.card--dark h3 {
  color: var(--ml-ivoire);
}

.card--dark p {
  color: rgba(245, 241, 234, 0.8);
}

.card--dark .card__number {
  color: var(--ml-vert-main);
}

/* --- Formules signature --- */
.formule {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.formule__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--ml-vert-profond);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
}

.section--vert .formule__text {
  color: var(--ml-ivoire);
}

.formule__attribution {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ml-gris-chaud);
  margin-top: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --- Stats bar --- */
.stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-2xl) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ml-or-ancien);
  line-height: 1;
}

.section--vert .stat__number {
  color: var(--ml-vert-main);
}

.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ml-gris-chaud);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

.section--vert .stat__label {
  color: rgba(245, 241, 234, 0.7);
}

/* --- Media list --- */
.media-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--ml-sable);
}

.media-item__year {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ml-gris-chaud);
  min-width: 60px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.media-item__source {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ml-vert-profond);
  min-width: 180px;
}

.media-item__title {
  color: var(--ml-ardoise);
  flex: 1;
}

/* --- Témoignages --- */
.testimonial {
  background: white;
  padding: var(--space-2xl);
  border-left: 3px solid var(--ml-or-ancien);
  margin-bottom: var(--space-xl);
}

.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--ml-vert-profond);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.testimonial__author {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ml-gris-chaud);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Contact form --- */
.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ml-vert-profond);
  margin-bottom: var(--space-sm);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--ml-noir-profond);
  background: white;
  border: 1px solid var(--ml-sable);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--ml-vert-profond);
  box-shadow: 0 0 0 3px rgba(61, 80, 64, 0.1);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
}

/* --- Footer --- */
.footer {
  background-color: #45664C;
  color: rgba(245, 241, 234, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__banner {
  height: auto;
  width: 100%;
  max-width: 500px;
  margin-bottom: var(--space-lg);
  display: block;
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  color: rgba(245, 241, 234, 0.5);
}

.footer h4 {
  color: var(--ml-ivoire);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(245, 241, 234, 0.6);
  font-size: var(--text-sm);
}

.footer__links a:hover {
  color: var(--ml-vert-main);
}

.footer__bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

.footer__cobranding {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer__cobranding img {
  height: 30px;
  opacity: 0.6;
}

/* --- Two column layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

/* --- Piliers : sous-titres de famille --- */
.piliers-family {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ml-vert-main);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(188, 196, 108, 0.3);
}

.piliers-family:first-of-type {
  margin-top: 0;
}

/* --- Piliers --- */
.pilier {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
}

.pilier__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ml-vert-main);
  line-height: 1;
  min-width: 50px;
}

.pilier h3 {
  margin-bottom: var(--space-sm);
}

.pilier p {
  color: rgba(245, 241, 234, 0.8);
  margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .split--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { gap: var(--space-xl); flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.5rem;
  }

  .brand-header__symbol {
    height: 60px;
  }

  .brand-header__name {
    font-size: var(--text-xl);
  }

  .brand-header__quote {
    display: none;
  }

  .brand-header::after {
    display: none;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--ml-or-ancien);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
    margin-left: auto;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }

  .media-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .media-item__source {
    min-width: auto;
  }
}

/* --- Valeurs : coda (équilibre des 3 valeurs) --- */
.valeurs-coda {
  max-width: 850px;
  margin: var(--space-3xl) auto 0;
  padding: var(--space-2xl);
  border-top: 1px solid rgba(188, 196, 108, 0.3);
  border-bottom: 1px solid rgba(188, 196, 108, 0.3);
  text-align: center;
}

.valeurs-coda p {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--ml-ivoire);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.valeurs-coda p:last-child {
  margin-bottom: 0;
}

.valeurs-coda strong {
  color: var(--ml-vert-main);
  font-weight: 700;
}

.valeurs-coda em {
  font-family: var(--font-display);
  font-style: italic;
  color: #fff;
  font-weight: 600;
}

.valeurs-coda .muted {
  color: rgba(245, 241, 234, 0.4);
  font-size: 0.85em;
}

/* --- Valeurs (Courage, Justice, Sagesse) --- */
.valeur {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-2xl);
  align-items: start;
}

.valeur__body {
  min-width: 0;
}

.valeur__media {
  margin: 0;
}

.valeur__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.valeur h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
}

.valeur__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-4xl);
  color: rgba(188, 196, 108, 0.4);
  line-height: 1;
  flex-shrink: 0;
}

.valeur p {
  font-size: var(--text-md);
  line-height: 1.7;
  color: rgba(245, 241, 234, 0.9);
}

.valeur blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: rgba(245, 241, 234, 0.95);
}

@media (max-width: 768px) {
  .valeur {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .valeur__media {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* --- Cohortes strip (6 sur une ligne) --- */
.cohortes-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.cohorte {
  margin: 0;
  text-align: center;
}

.cohorte img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block;
}

.cohorte:hover img {
  transform: scale(1.04);
}

.cohorte figcaption {
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ml-or-ancien);
}

@media (max-width: 768px) {
  .cohortes-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .cohortes-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Photo mosaic (bento grid) --- */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-md);
}

.photo-mosaic__item {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-mosaic__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.photo-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-mosaic__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 992px) {
  .photo-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 180px);
  }
}

@media (max-width: 600px) {
  .photo-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 160px;
  }
  .photo-mosaic__item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* --- Distinctions critiques (split: tables + photos) --- */
.distinctions__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-2xl);
  color: var(--ml-vert-profond);
}

.distinctions {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.distinctions__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--ml-vert-profond);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.distinctions__subtitle:first-child {
  margin-top: 0;
}

.distinctions__neq {
  color: var(--ml-or-ancien);
  font-weight: 400;
}

.distinctions__photos {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 100px;
}

.distinctions__photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .distinctions {
    grid-template-columns: 1fr;
  }
  .distinctions__photos {
    flex-direction: row;
    position: static;
  }
  .distinctions__photos img {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .distinctions__photos {
    flex-direction: column;
  }
  .distinctions__photos img {
    width: 100%;
  }
}

/* --- Compare tables --- */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.compare th,
.compare td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--ml-sable);
}

.compare th {
  background-color: var(--ml-vert-profond);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ml-ivoire);
  font-size: var(--text-lg);
  border-bottom: none;
  letter-spacing: 0.02em;
}

.compare th:nth-child(2) {
  background-color: var(--ml-or-ancien);
  color: var(--ml-noir-profond);
}

.compare tbody tr {
  background-color: rgba(245, 241, 234, 0.4);
}

.compare td {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ml-ardoise);
  vertical-align: top;
}

.compare td strong {
  color: var(--ml-vert-profond);
}

@media (max-width: 768px) {
  .compare th,
  .compare td {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-md);
  }
}

/* --- Produits et services --- */
.produits__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-2xl);
  color: var(--ml-vert-profond);
}

.produits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.produit-card {
  background: var(--ml-ivoire);
  padding: var(--space-2xl);
  border-radius: 4px;
  border-left: 4px solid var(--ml-vert-profond);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.produit-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.produit-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(61, 80, 64, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ml-vert-profond);
}

.produit-card__icon svg {
  width: 32px;
  height: 32px;
}

.produit-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--ml-vert-profond);
  line-height: 1.2;
  margin: 0 0 var(--space-xs);
}

.produit-card__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--ml-gris-chaud);
  margin: 0;
}

.produit-card > p {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--ml-ardoise);
  margin: 0 0 var(--space-lg);
}

.produit-card__cta {
  margin-top: var(--space-md);
  align-self: flex-start;
}

.produit-card__cta--inactive {
  background: transparent;
  color: var(--ml-gris-chaud);
  border-color: var(--ml-gris-chaud);
  cursor: default;
  pointer-events: none;
  font-style: italic;
}

.produit-card {
  display: flex;
  flex-direction: column;
}

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

/* --- Mission Vision wrapper avec photo à gauche --- */
.mc-mv-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.mc-mv-wrap__photo {
  display: flex;
  justify-content: center;
}

.mc-mv-wrap__photo img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .mc-mv-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .mc-mv-wrap__photo img {
    max-width: 240px;
  }
}

/* --- Mission Vision (Médecine culinaire) --- */
.mc-mv {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  max-width: 900px;
}

.mc-mv__block {
  padding-left: var(--space-lg);
  border-left: 3px solid var(--ml-or-ancien);
}

.mc-mv__signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-3xl);
  color: var(--ml-vert-profond);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.mc-mv__text {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--ml-ardoise);
}

.section--vert .mc-mv__signature {
  color: #fff;
}

.section--vert .mc-mv__text {
  color: rgba(245, 241, 234, 0.9);
}

.section--vert .mc-mv__block {
  border-left-color: var(--ml-vert-main);
}

@media (max-width: 768px) {
  .mc-mv {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* --- Vidéos : grille 2 colonnes --- */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  background: #000;
}

.video-card__frame iframe,
.video-card__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.video-card--link,
.video-card--lazy {
  cursor: pointer;
}

.video-card--link .video-card__play,
.video-card--lazy .video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ml-vert-profond);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

.video-card--link .video-card__play svg,
.video-card--lazy .video-card__play svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.video-card--link:hover .video-card__play,
.video-card--lazy:hover .video-card__play,
.video-card--lazy:focus-visible .video-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--ml-or-ancien);
  color: #fff;
}

.video-card--lazy:focus-visible {
  outline: 3px solid var(--ml-or-ancien);
  outline-offset: 4px;
  border-radius: 8px;
}

.video-card__caption {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--ml-ardoise);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

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

/* --- Médias : grille 2 colonnes --- */
.medias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.medias-col__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--ml-vert-profond);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--ml-or-ancien);
}

.medias-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.medias-list li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.medias-list__year {
  display: block;
  font-size: var(--text-xs);
  color: var(--ml-or-ancien);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 2px;
}

.medias-list__source {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ml-vert-profond);
  margin-bottom: 2px;
}

.medias-list__title,
.medias-list a {
  color: var(--ml-ardoise);
  text-decoration: none;
  font-size: var(--text-md);
  line-height: 1.45;
}

.medias-list a:hover {
  color: var(--ml-or-ancien);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .medias-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* --- Harvard card --- */
.harvard-card {
  align-items: center;
  margin: var(--space-3xl) 0;
  gap: var(--space-2xl);
}

.harvard-card__image {
  display: flex;
  justify-content: center;
}

.harvard-card__circle {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.harvard-card__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.harvard-card__text {
  padding-left: var(--space-md);
  border-left: 3px solid var(--ml-or-ancien);
}

@media (max-width: 768px) {
  .harvard-card__text {
    border-left: none;
    border-top: 3px solid var(--ml-or-ancien);
    padding-left: 0;
    padding-top: var(--space-md);
  }
}

/* --- CV list --- */
.cv-list p {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  border-left: 2px solid var(--ml-or-ancien);
}

.cv-list p strong {
  color: var(--ml-vert-profond);
}

/* --- Video embed --- */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.pt-0 { padding-top: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

