/* MND24 — styles propres à la page actualite-genetique-tnd */

html {
  scroll-behavior: smooth;
}

/* ── TND SECTION ── */
   .tnd-section {
  background: #0D2B4E;
  padding: 2rem 1.5rem 2.3rem;
  position: relative;
}

.tnd-section-label {
  text-align: center;
  color: #ffffff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.tnd-grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.tnd-card {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(110,206,206,.55);
  border-radius: .55rem;
  padding: .8rem 1rem;
  text-align: center;
  box-shadow: none;
  transform: none;
}

.tnd-card:hover {
  background: rgba(110,206,206,.08);
  border-color: var(--teal-light);
  transform: none;
  box-shadow: none;
}

.tnd-card-name {
  color: #ffffff;
  font-size: .92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .25rem;
}

.tnd-card-full {
  color: #9DDDD8;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 95%;
}

.tnd-card:nth-child(3) {
  grid-column: 1 / -1;
}

.tnd-card.other {
  border-style: dashed;
  background: rgba(255,255,255,.02);
}

.tnd-card.other .tnd-card-name {
  color: #9DDDD8;
}

@media (max-width: 650px) {

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

  .tnd-card:nth-child(3) {
    grid-column: auto;
  }

  .tnd-card {
    min-height: 78px;
  }

}

/* ── RESPONSIVE ── */
    @media (max-width: 760px) {
  nav { padding: .75rem 1rem; }
  .nav-brand img { height: 40px; }
  .tnd-section { padding: 1.5rem 1rem 2rem; }
  .tnd-card { min-width: 90px; padding: .65rem .9rem; }
  .hero-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .hero-text { text-align: center; }
  .hero-text .hero-sub { max-width: 100%; }
  .hero-logo img { height: 140px; }
  .why-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-visual { display: none; }
  .section-title {
  text-align: center;
  }
  .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  }
  .why-point {
  gap: 0.75rem;
  }
  .hero-ctas {
  margin-top: 1rem;
  }
}

/* Correctifs mobiles prioritaires */
@media (max-width: 760px) {
  nav { padding: .65rem .75rem !important; }
  .nav-brand img { height: 46px !important; }
  .nav-cta { font-size: .72rem !important; padding: .65rem .9rem !important; text-align: center !important; line-height: 1.15 !important; max-width: calc(100% - 70px) !important; }
  .tnd-section { margin-top: 0 !important; padding: 1.25rem .8rem 1.5rem !important; }
  .tnd-grid { gap: .65rem !important; }
  .tnd-card { width: 100% !important; max-width: 520px !important; min-width: 0 !important; padding: .8rem .9rem !important; }
  .hero { margin-top: 72px !important; padding: 2.5rem 1rem 3rem !important; }
  .hero-inner { flex-direction: column !important; gap: 1.2rem !important; margin-bottom: 1.5rem !important; }
  .hero-logo img { height: 220px !important; max-width: 80vw !important; object-fit: contain !important; }
  .hero-text { text-align: center !important; }
  .hero-text h1 { font-size: 2rem !important; line-height: 1.08 !important; }
  .hero-text .hero-sub { font-size: .95rem !important; line-height: 1.55 !important; max-width: 100% !important; }
  .hero-ctas { margin-top: .5rem !important; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary, .why-section .btn-primary, .cta-buttons .btn-primary, .cta-buttons .btn-secondary { width: 100% !important; justify-content: center !important; text-align: center !important; padding: .9rem 1rem !important; font-size: .82rem !important; }
  section { scroll-margin-top: 90px !important; }
  .why-inner { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .why-visual { display: none !important; }
  .section-title, .section-intro { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .why-point { gap: .75rem !important; }
  .why-point-text { flex: 1 !important; }
  .why-point-text h4, .why-point-text p { text-align: left !important; }
  .cta-section .section-title { font-size: 1.9rem !important; line-height: 1.12 !important; }
  .legal-section { padding: 3rem 1rem !important; }
  .legal-toggle { font-size: .78rem !important; padding: .9rem 1rem !important; }
}

/* ── PAGE À PROPOS ── */
.about-page {
  padding-top: 72px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 5rem;
  background: radial-gradient(circle at 85% 10%, rgba(58,173,168,.15), transparent 32%),
  linear-gradient(135deg, #fff 0%, #f4f8fb 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 72px;
  height: 5px;
  background: var(--teal);
  border-radius: 0 0 5px 5px;
}

.about-hero-inner {
  position: relative; z-index: 1; max-width: 940px; margin: 0 auto;
}

.about-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--teal-text);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 850px;
  margin-bottom: 1.4rem;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-transform: uppercase;
}

.about-hero h1 span {
  color: var(--teal-text);
}

.about-lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 500;
  line-height: 1.85;
}

.about-section {
  padding: 5rem 2rem;
}

.about-section.alt {
  background: var(--off-white);
}

.about-container {
  max-width: 1080px; margin: 0 auto;
}

.editorial-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.editorial-label {
  position: sticky; top: 130px;
}

.editorial-label span {
  display: block;
  color: var(--teal-text);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.editorial-label h2 {
  margin-top: .7rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.editorial-content {
  padding-left: 2rem; border-left: 3px solid var(--teal-pale);
}

.editorial-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.9;
}

.editorial-content p:last-child {
  margin-bottom: 0;
}

.team-intro, .values-intro {
  max-width: 760px;
  margin-bottom: 3rem;
}

.team-intro {
  margin-top: .4rem;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 2rem;
}

.team-member {
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--white);
  border: 1px solid rgba(13,43,78,.1);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(13,43,78,.06);
  text-align: center;
}

.team-photo {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.15rem;
  overflow: hidden;
  border: 4px solid var(--white);
  border-radius: 50%;
  background:
  linear-gradient(145deg, rgba(58,173,168,.18), rgba(13,43,78,.08)),
  var(--teal-pale);
  box-shadow:
  0 0 0 2px var(--teal),
  0 7px 20px rgba(13,43,78,.12);
}

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

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .6rem;
  color: var(--text-muted);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.team-member-content {
  padding: 0;
}

.team-member-content p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.team-member h3 {
  margin-bottom: .35rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-role {
  margin-bottom: .85rem;
  color: var(--teal-text);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-member p {
  color: var(--text-muted);
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.7;
}

.team-bio-placeholder {
  font-style: italic;
  opacity: .72;
}

.team-community {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 590px;
  justify-self: center;
  padding: 1.45rem 1.6rem;
  background: transparent;
  border: 1px solid rgba(58,173,168,.45);
  border-radius: var(--radius-card);
  box-shadow: none;
  text-align: left;
}

.team-community-inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.team-community-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-text);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.team-community .team-role {
  margin-bottom: .28rem;
  color: var(--teal-text);
}

.team-community h3 {
  margin-bottom: .35rem;
  color: var(--navy);
  font-size: .95rem;
}

.team-community p {
  color: var(--text-muted);
  font-size: .84rem;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 4rem;
}

.value-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.7rem 0;
  border-top: 1px solid rgba(13,43,78,.12);
}

.value-number {
  color: var(--teal-text); font-size: .76rem; font-weight: 900; letter-spacing: .08em;
}

.value-item h3 {
  margin-bottom: .4rem; color: var(--navy); font-size: 1rem; font-weight: 900; text-transform: uppercase;
}

.value-item p {
  color: var(--text-muted); font-size: .86rem; font-weight: 500; line-height: 1.7;
}

.about-cta {
  padding: 4.5rem 2rem; background: var(--navy); text-align: center;
}

.about-cta h2 {
  max-width: 700px;
  margin: 0 auto 1rem;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.about-cta p {
  max-width: 620px; margin: 0 auto 2rem; color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.75;
}

.about-cta-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}

.about-cta .btn-primary {
  background: var(--teal);
}

.about-cta .btn-secondary {
  border-color: rgba(255,255,255,.45); color: #fff;
}

.about-cta .btn-secondary:hover {
  background: rgba(255,255,255,.08); color: var(--teal-light);
}

@media (max-width: 900px) {

  .about-page {
    padding-top: 112px;
  }

  .editorial-grid {
    grid-template-columns: 1fr; gap: 2rem;
  }

  .editorial-label {
    position: static;
  }

  .editorial-content {
    padding-left: 1.2rem;
  }

}

@media (max-width: 760px) {

  .about-page {
    padding-top: 112px;
  }

  .about-hero {
    padding: 3.8rem 1.2rem 3.2rem; text-align: center;
  }

  .about-hero::before {
    left: 50%; transform: translateX(-50%);
  }

  .about-hero h1 {
    font-size: 1.9rem;
  }

  .about-section {
    padding: 3.7rem 1.2rem;
  }

  .editorial-label {
    text-align: center;
  }

  .editorial-content {
    padding-left: 0; border-left: 0;
  }

  .team-list {
    grid-template-columns: minmax(0, 280px);
    gap: 1.4rem;
  }

  .team-photo {
    width: 98px;
    height: 98px;
  }

  .team-community {
    grid-column: auto;
    max-width: 280px;
    padding: 1.25rem;
  }

  .team-community-inner {
    display: block;
    text-align: center;
  }

  .team-community-mark {
    margin: 0 auto .8rem;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .about-cta-actions .btn-primary,
  .about-cta-actions .btn-secondary {
    width: 100%; justify-content: center;
  }

}

/* ── ARTICLE ACTUALITÉ ── */
.article-hero {
  padding: 7rem 2rem 3rem;
  background: radial-gradient(circle at 90% 10%,rgba(58,173,168,.13),transparent 30%),var(--white);
}

.article-hero-inner {
  max-width:900px; margin:0 auto;
}

.article-back {
  display:inline-flex; margin-bottom:1.6rem; color: var(--teal-text); font-size:.78rem; font-weight:800; text-decoration:none;
}

.article-hero h1 {
  margin:.7rem 0 1rem; color:var(--navy); font-size:clamp(2rem,5vw,3.6rem); line-height:1.08;
}

.article-lead {
  max-width:760px; color:var(--text-muted); font-size:1.08rem; line-height:1.8;
}

.article-meta {
  display:flex; gap:1rem; margin-top:1.2rem; color:var(--text-muted); font-size:.74rem; font-weight:700;
}

.article-section {
  padding:3rem 2rem 5rem; background:var(--off-white);
}

.article-container {
  max-width:900px; margin:0 auto;
}

.article-cover,.article-figure {
  margin:0 0 2.5rem; overflow:hidden; background:var(--navy); border-radius:var(--radius-card); box-shadow:var(--shadow-card);
}

.article-cover img,.article-figure img {
  width:100%; height:auto; display:block;
}

.article-figure figcaption {
  padding:.8rem 1rem; background:#fff; color:var(--text-muted); font-size:.72rem;
}

.article-body {
  max-width:780px; margin:0 auto;
}

.article-body>section {
  margin-bottom:2.4rem;
}

.article-body h2 {
  margin-bottom:.8rem; color:var(--navy); font-size:1.35rem;
}

.article-body p,.article-body li {
  color:var(--text-muted); font-size:.94rem; line-height:1.85;
}

.article-body p+p {
  margin-top:.8rem;
}

.article-body ul {
  padding-left:1.3rem; display:grid; gap:.55rem;
}

.easy-read {
  padding:1.6rem; background:#fff; border:2px solid var(--teal); border-radius:var(--radius-card);
}

.easy-read-label {
  display:inline-block; margin-bottom:.7rem; color: var(--teal-text); font-size:.7rem; font-weight:900; text-transform:uppercase; letter-spacing:.1em;
}

.easy-read p {
  color:var(--navy); font-size:1rem; line-height:1.8;
}

.source-note {
  font-size:.82rem !important; font-style:italic;
}

@media(max-width:760px) {

  .article-hero {
    padding:6rem 1.2rem 2.4rem
  }

  .article-section {
    padding:2rem 1rem 4rem
  }

}
