/* InfoSantéFrance — design éditorial santé */
:root {
  --teal: #0a5c63;
  --teal-deep: #063940;
  --teal-soft: #e8f4f5;
  --teal-mid: #148089;
  --amber: #c4892a;
  --amber-light: #faf0e0;
  --amber-glow: rgba(196, 137, 42, 0.18);
  --text: #141816;
  --text-muted: #5a635f;
  --text-faint: #929a96;
  --bg: #ffffff;
  --bg-warm: #f7f5f0;
  --bg-soft: #eef2f1;
  --border: rgba(20, 24, 22, 0.08);
  --border-mid: rgba(20, 24, 22, 0.14);
  --shadow-sm: 0 2px 12px rgba(10, 40, 44, 0.05);
  --shadow-md: 0 12px 40px rgba(10, 40, 44, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 40, 44, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --shell: min(1180px, 100% - 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
}

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

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

body.site {
  font-family: var(--font-body);
  background: var(--bg-warm);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.shell { width: var(--shell); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 8px 16px; background: var(--teal); color: #fff; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* —— Trust bar —— */
.trust-bar {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 1rem;
}
.trust-bar strong { color: #fff; font-weight: 500; }

/* —— Nav —— */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease), background 0.35s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.nav-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--teal-mid), var(--teal-deep));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(10, 92, 99, 0.25);
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
}
.nav-wordmark em { font-style: italic; color: var(--teal); }
.nav-wordmark small {
  display: block; font-family: var(--font-body);
  font-size: 0.55rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint); margin-top: 2px;
}

.nav-links { display: none; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  text-decoration: none; position: relative; padding: 4px 0; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--teal);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff;
  background: var(--teal); padding: 11px 22px; border-radius: var(--radius-pill);
  text-decoration: none; transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 92, 99, 0.28);
}

.nav-search {
  display: none;
  flex: 1;
  max-width: 220px;
  margin-inline: 0.5rem 1rem;
}

.site-search {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 9px 16px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-search::placeholder { color: var(--text-faint); }
.site-search:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 92, 99, 0.1);
}

.nav-drawer-search {
  padding: 4px 0 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.nav-drawer-search .site-search { width: 100%; }

.search-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: -0.25rem 0 1.15rem;
}

.nav-burger {
  width: 42px; height: 42px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; background: var(--bg); border: 1px solid var(--border); border-radius: 11px;
}
.nav-burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none; position: fixed; inset: calc(var(--nav-h) + 28px) 0 0; z-index: 99;
  background: var(--bg); padding: 1.5rem 1.25rem 2rem;
  flex-direction: column; border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1rem; padding: 14px 0; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* —— Hero —— */
.hero {
  position: relative; padding: 3rem 1.25rem 2.5rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(10, 92, 99, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(196, 137, 42, 0.06), transparent 50%);
}
.hero .shell { position: relative; display: grid; gap: 2.5rem; }

.hero-main { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--teal-mid); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8.5vw, 4.5rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; color: var(--amber); font-weight: 500; }
.hero-title span { display: block; }

.hero-lead {
  font-size: 1.05rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.75; max-width: 52ch; margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 13px 24px; border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--primary { background: var(--teal); color: #fff; border: none; cursor: pointer; }
.btn--primary:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 92, 99, 0.28);
}
.btn--ghost {
  background: var(--bg); color: var(--teal-deep);
  border: 1px solid var(--border-mid);
}
.btn--ghost:hover { border-color: var(--teal); background: var(--teal-soft); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600; color: var(--teal-deep); line-height: 1;
}
.hero-stat-label {
  font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint); margin-top: 4px;
}

/* Featured article in hero */
.hero-featured {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.hero-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hero-featured__visual {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-soft) 0%, #d4ebe9 50%, var(--amber-light) 100%);
  position: relative; overflow: hidden;
}
.hero-featured__visual::after {
  content: '+';
  position: absolute; right: 24px; bottom: 20px;
  font-family: var(--font-display); font-size: 5rem; font-weight: 300;
  color: rgba(10, 92, 99, 0.08); line-height: 1;
}
.hero-featured__visual--amber { background: linear-gradient(135deg, var(--amber-light), #fff5e6); }
.hero-featured__visual--blue { background: linear-gradient(135deg, #e6f1fb, #f0f7ff); }
.hero-featured__visual--teal { background: linear-gradient(135deg, var(--teal-soft), #d8efef); }
.hero-featured__visual--slate { background: linear-gradient(135deg, #eeedfe, #f5f4ff); }

.hero-featured__body { padding: 1.5rem 1.6rem 1.75rem; }
.hero-featured__label {
  font-size: 0.5625rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px; display: block;
}
.hero-featured__title {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 600; line-height: 1.15;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.hero-featured__excerpt {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px;
}
.hero-featured__meta {
  font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--text-faint);
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* —— Podcast band —— */
.podcast-band {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 55%, #0e7078 100%);
  color: #fff; padding: 2.5rem 1.25rem; position: relative; overflow: hidden;
}
.podcast-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 45%);
}
.podcast-band .shell {
  position: relative; display: flex; flex-wrap: wrap;
  align-items: center; gap: 1.5rem 2rem;
}
.podcast-band__icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.podcast-band__content { flex: 1; min-width: 200px; }
.podcast-band__label {
  font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65); margin-bottom: 6px;
}
.podcast-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.15;
}
.podcast-band__sub { font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }
.podcast-band__btn {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-deep);
  background: #fff; padding: 14px 28px; border-radius: var(--radius-pill);
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.podcast-band__btn:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* —— Podcast episodes —— */
.podcast-episodes { padding-top: 2.5rem; }
.podcast-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.podcast-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.35rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.podcast-card:hover {
  border-color: rgba(10, 92, 99, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.podcast-card__play {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.podcast-card:hover .podcast-card__play { background: var(--teal); color: #fff; }
.podcast-card__body { flex: 1; min-width: 0; }
.podcast-card__show {
  font-size: 0.5625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 6px;
}
.podcast-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; line-height: 1.2;
  margin-bottom: 6px;
}
.podcast-card__guest {
  font-size: 0.8125rem; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 8px;
}
.podcast-card__meta { font-size: 0.6875rem; color: var(--text-faint); }

/* —— Sections —— */
.section-block {
  padding: 3.5rem 1.25rem;
}
.section-block--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.section-block--white { background: var(--bg); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1rem; margin-bottom: 2rem;
}
.section-label {
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600; color: var(--text); line-height: 1.1;
}
.section-link {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.section-link:hover { text-decoration: underline; }

/* —— Articles —— */
.articles-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.15rem;
}

.article-card {
  position: relative; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; min-height: 100%;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.article-card:hover {
  border-color: rgba(10, 92, 99, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.article-card__visual {
  height: 140px;
  background: linear-gradient(135deg, var(--teal-soft), var(--bg-warm));
}
.article-card__visual--amber { background: linear-gradient(135deg, var(--amber-light), #fff); }
.article-card__visual--blue { background: linear-gradient(135deg, #e6f1fb, #fff); }
.article-card__visual--teal { background: linear-gradient(135deg, #e1f5ee, #fff); }
.article-card__visual--slate { background: linear-gradient(135deg, #eeedfe, #fff); }
.article-card__visual--gray { background: linear-gradient(135deg, var(--bg-soft), #fff); }

.article-card__body { padding: 1.35rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }

.article-card.featured .article-card__visual { height: 220px; }
.article-card.featured .article-card__body { padding: 1.6rem 1.65rem 1.75rem; }

.tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}
.tag-amber { background: var(--amber-light); color: #7a4f0a; }
.tag-blue { background: #e6f1fb; color: #0c447c; }
.tag-teal { background: #e1f5ee; color: #085041; }
.tag-slate { background: #eeedfe; color: #3c3489; }
.tag-gray { background: var(--bg-soft); color: var(--text-muted); }

.article-title {
  font-family: var(--font-display); font-weight: 600;
  line-height: 1.2; margin-bottom: 0.55rem; letter-spacing: -0.01em;
}
.article-card.featured .article-title { font-size: 1.65rem; }
.article-card:not(.featured) .article-title { font-size: 1.2rem; }

.article-excerpt {
  font-size: 0.875rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.65; margin-bottom: auto; padding-bottom: 0.85rem;
}
.article-meta {
  font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--text-faint);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 0.85rem; border-top: 1px solid var(--border);
}

/* —— Vidéos YouTube —— */
.videos-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.video-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.video-card__embed {
  position: relative; padding-bottom: 56.25%; height: 0;
  background: #0a0a0a;
}
.video-card__embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.video-card__poster {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  position: relative; background: #111; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-card__poster img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s var(--ease), filter 0.35s;
}
.video-card__poster:hover img { transform: scale(1.04); filter: brightness(0.92); }
.video-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(6, 57, 64, 0.55), rgba(6, 57, 64, 0.08));
  transition: background 0.3s;
}
.video-card__poster:hover .video-card__play {
  background: linear-gradient(to top, rgba(6, 57, 64, 0.65), rgba(6, 57, 64, 0.12));
}
.video-card__media.is-playing .video-card__poster { display: none; }

.video-card__body { padding: 1.25rem 1.4rem 1.45rem; }
.video-card__type {
  font-size: 0.5625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 8px;
}
.video-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-bottom: 8px;
}
.video-card--featured .video-card__title { font-size: 1.45rem; }
.video-card__desc {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px;
}
.video-card__links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 0.6875rem; color: var(--text-faint);
}
.video-card__links a {
  font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
}
.video-card__links a:hover { text-decoration: underline; }

/* —— Encarts pub (discret, image adaptive) —— */
.ad-slot {
  display: none;
  width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.ad-slot.has-ad { display: block; }

.ad-slot--mid {
  margin-block: 1.75rem 2rem;
  max-width: min(720px, 100%);
}

.ad-slot--newsletter {
  margin: 0 auto;
  padding-block: 0 2rem;
  max-width: min(600px, 100%);
}

.ad-slot .ad-banner + .ad-banner { margin-top: 1rem; }

.ad-banner { background: transparent; }

.ad-banner__eyebrow {
  margin: 0 0 6px;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-faint);
}

.ad-banner__frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 6px;
}

.ad-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 6 / 1;
  max-height: 120px;
  min-height: 56px;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-warm);
  cursor: pointer;
}
.ad-banner__link--static { cursor: default; }

.ad-banner__link img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.96;
  transition: opacity 0.25s ease;
}
.ad-banner__link img.is-broken {
  width: auto;
  height: auto;
  max-height: 48px;
  opacity: 0.4;
}

.ad-banner__link:hover img { opacity: 1; }

.ad-slot--newsletter .ad-banner__frame {
  border-color: rgba(10, 92, 99, 0.1);
  background: rgba(255, 255, 255, 0.6);
  padding: 5px;
}

.ad-slot--newsletter .ad-banner__link {
  aspect-ratio: 6.5 / 1;
  max-height: 96px;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .ad-slot--mid { margin-block: 2rem 2.5rem; }
  .ad-banner__link {
    aspect-ratio: 6.5 / 1;
    max-height: 110px;
    min-height: 64px;
  }
  .ad-slot--newsletter .ad-banner__link {
    max-height: 88px;
  }
}

@media (min-width: 1024px) {
  .ad-slot { padding-inline: 2.5rem; }
  .ad-banner__eyebrow { text-align: left; padding-left: 2px; }
  .ad-banner__link { max-height: 100px; }
}

/* —— Médias —— */
.medias-grid { display: grid; grid-template-columns: 1fr; gap: 1.15rem; }

.media-card {
  display: grid; grid-template-columns: 130px 1fr; gap: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}
a.media-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.media-card__img {
  width: 130px; height: 100%; min-height: 110px;
  object-fit: cover; display: block;
}
.media-card__placeholder {
  width: 130px; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft);
  font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); text-align: center; padding: 10px;
}
.media-card__body { padding: 1.1rem 1.2rem; }
.media-card__type {
  font-size: 0.5625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 6px; display: block;
}
.media-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; line-height: 1.2;
}
.media-card__desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.media-card__meta { font-size: 0.6875rem; color: var(--text-faint); }

/* —— Themes —— */
.themes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.theme-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.25rem 1.2rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.theme-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.theme-card.active {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(10, 92, 99, 0.25);
}
.theme-card__dot {
  width: 8px; height: 8px; border-radius: 50%; margin-bottom: 10px;
}
.theme-card__dot--amber { background: var(--amber); }
.theme-card__dot--blue { background: #3b82c4; }
.theme-card__dot--teal { background: var(--teal-mid); }
.theme-card__dot--slate { background: #7c6fd6; }
.theme-card__dot--gray { background: var(--text-faint); }
.theme-card.active .theme-card__dot { background: rgba(255,255,255,0.85); }
.theme-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600; line-height: 1.2;
}
.theme-card.active .theme-card__name { color: #fff; }

.theme-pill {
  font-size: 0.8125rem; color: var(--text-muted);
  background: var(--bg); border: 1px solid var(--border-mid);
  padding: 9px 18px; border-radius: var(--radius-pill);
  text-decoration: none; transition: all 0.2s;
}
.theme-pill:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.theme-pill.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* —— About —— */
.about-block {
  display: grid; gap: 2rem; align-items: center;
}
.about-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.about-card__eyebrow {
  font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.about-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600;
  margin-bottom: 1rem; line-height: 1.12;
}
.about-card__text {
  font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem;
}
.about-byline {
  display: flex; align-items: center; gap: 16px;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}
.about-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-soft), var(--amber-light));
  border: 2px solid rgba(10, 92, 99, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--teal-deep);
}
.about-name { font-weight: 500; margin-bottom: 3px; }
.about-role { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.45; }

.values-row {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.value-item {
  padding: 1.15rem 1.2rem; background: var(--bg-warm);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.value-item strong {
  display: block; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: var(--teal-deep); margin-bottom: 4px;
}
.value-item span { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }

/* —— Newsletter —— */
.newsletter-block {
  padding: 4rem 1.25rem;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--teal-soft) 100%);
}
.newsletter-panel {
  max-width: 620px; margin: 0 auto; text-align: center;
  padding: 2.75rem 2rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.newsletter-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(10, 92, 99, 0.06), transparent 65%);
}
.newsletter-panel > * { position: relative; }
.newsletter-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem); font-weight: 600; margin-bottom: 0.6rem;
}
.newsletter-panel p {
  font-size: 0.9375rem; color: var(--text-muted);
  margin-bottom: 1.75rem; line-height: 1.65;
}
.nl-form {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.nl-form input {
  flex: 1; min-width: 220px;
  font-family: var(--font-body); font-size: 0.875rem;
  padding: 13px 20px; border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill); outline: none; background: var(--bg-warm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 92, 99, 0.12);
}
.nl-form button {
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--teal); color: #fff; border: none;
  padding: 13px 28px; border-radius: var(--radius-pill); cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nl-form button:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 92, 99, 0.25);
}
.nl-msg { font-size: 0.8125rem; margin-top: 14px; min-height: 1.2em; }
.nl-msg.ok { color: #1a9e6e; }
.nl-msg.err { color: #c0392b; }

/* —— Footer —— */
.site-footer {
  background: var(--teal-deep); color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1.25rem 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 600; color: #fff; margin-bottom: 10px;
}
.footer-logo em { font-style: italic; color: #7dd3db; }
.footer-tagline {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.55);
  line-height: 1.65; max-width: 32ch;
}
.footer-col h3 {
  font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72);
  text-decoration: none; padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 0.75rem;
  font-size: 0.6875rem; color: rgba(255, 255, 255, 0.38);
}
.footer-admin a { color: #7dd3db; text-decoration: none; }
.footer-admin a:hover { color: #fff; }

.empty-grid {
  text-align: center; padding: 3rem 1.5rem; color: var(--text-faint);
  font-size: 0.875rem; grid-column: 1 / -1;
  background: var(--bg); border-radius: var(--radius);
  border: 1px dashed var(--border-mid);
}
.empty-grid a { color: var(--teal); }

/* —— Article page —— */
body.article-page { background: var(--bg-warm); }

.article-nav {
  position: sticky; top: 0; z-index: 50;
  padding: 0 1.25rem; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.article-nav a {
  font-size: 0.8125rem; color: var(--teal);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.article-nav a:hover { text-decoration: underline; }
.article-nav .nav-wordmark { font-size: 1rem; }

.article-hero {
  padding: 2.5rem 1.25rem 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}
.article-hero .shell { max-width: 720px; }

.article-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -1px;
  box-shadow: 0 -8px 40px rgba(10, 40, 44, 0.04);
}
.article-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.article-wrap .meta {
  font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 10px;
}
.article-wrap .lead {
  font-family: var(--font-display);
  font-size: 1.35rem; font-style: italic; color: var(--text-muted);
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border); line-height: 1.65;
}
.article-wrap .body {
  font-size: 1.0625rem; font-weight: 300;
  color: var(--text-muted); line-height: 1.85;
}
.article-wrap .body p { margin-bottom: 1.35rem; }

.article-podcast {
  margin: 0 0 2rem; padding: 1.35rem 1.4rem;
  background: linear-gradient(135deg, var(--teal-soft), var(--bg-warm));
  border: 1px solid rgba(10, 92, 99, 0.15);
  border-radius: var(--radius);
}
.article-podcast__label {
  font-size: 0.5625rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px; display: block;
}
.article-podcast__title {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; line-height: 1.25;
}
.article-podcast__btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  background: var(--teal); color: #fff;
  padding: 11px 20px; border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.2s;
}
.article-podcast__btn:hover { background: var(--teal-deep); transform: translateY(-1px); }

.article-related {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-related h2 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600; margin-bottom: 1rem;
}
.related-list { display: grid; gap: 10px; }
.related-list a {
  display: block; padding: 1rem 1.1rem;
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.related-list a:hover { border-color: var(--teal); background: var(--teal-soft); }
.related-list strong {
  display: block; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; margin-bottom: 4px;
}
.related-list span { font-size: 0.75rem; color: var(--text-faint); }

.notfound { text-align: center; padding: 4rem 1rem; color: var(--text-faint); }

/* —— Reveal (animation légère, contenu toujours visible) —— */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  animation: fadeUp 0.7s var(--ease) both;
}

/* —— Animations —— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-main { animation: fadeUp 0.75s var(--ease) both; }
.hero-featured { animation: fadeUp 0.75s 0.1s var(--ease) both; }

/* —— Responsive —— */
@media (min-width: 640px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .podcast-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .medias-grid { grid-template-columns: repeat(2, 1fr); }
  .media-card { grid-template-columns: 1fr; }
  .media-card__img, .media-card__placeholder { width: 100%; min-height: 150px; }
  .media-card__body { padding: 1.1rem 1.2rem 1.25rem; }
  .themes-grid { grid-template-columns: repeat(3, 1fr); }
  .values-row { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .nav { padding: 0 2.5rem; }
  .nav-links { display: flex; }
  .nav-search { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-burger, .nav-drawer { display: none !important; }

  .hero { padding: 4.5rem 2.5rem 3rem; }
  .hero .shell {
    grid-template-columns: 1fr 400px;
    gap: 3.5rem; align-items: start;
  }

  .section-block { padding: 4.5rem 2.5rem; }
  .podcast-band { padding: 3rem 2.5rem; }
  .newsletter-block { padding: 5rem 2.5rem; }

  .articles-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1.2rem;
  }
  .article-card.featured {
    grid-column: 1; grid-row: span 2;
  }

  .video-card--featured {
    grid-column: 1 / -1;
    max-width: 920px; margin-inline: auto; width: 100%;
  }

  .about-block { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  :root { --shell: min(1160px, 100% - 5rem); }
}
