@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 100%;
  font-display: swap;
}

:root {
  --navy: #0a1633;
  --navy-900: #071126;
  --navy-700: #10234a;
  --navy-600: #173063;
  --line: rgba(220, 230, 242, 0.14);
  --text: #dce6f2;
  --muted: #a9b8cf;
  --white: #fff;
  --yellow: #ffd400;
  --cyan: #33d6e8;
  --red: #e63946;
  --green: #45c486;
  --radius: 20px;
  --gutter: 16px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--navy);
  background-image:
    radial-gradient(60rem 36rem at 85% -8rem, rgba(51, 214, 232, 0.13), transparent 70%),
    radial-gradient(40rem 30rem at -10% 30rem, rgba(23, 48, 99, 0.9), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.accent {
  color: var(--yellow);
}

.handle {
  color: var(--cyan);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn-primary:hover {
  background: #ffe04d;
}

.btn-ghost {
  border-color: rgba(220, 230, 242, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.95rem;
}

/* En-tête */

.site-header {
  position: relative;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-height: 44px;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-weight: 850;
  font-stretch: 72%;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand-name span {
  display: block;
  color: var(--yellow);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-nav ul {
  display: flex;
  gap: 1.5rem;
}

.header-nav li:not(.nav-always) {
  display: none;
}

.header-nav ul a {
  display: inline-block;
  padding: 0.6rem 0.2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.header-nav ul a:hover {
  color: var(--white);
}

.header-nav ul a[aria-current="page"] {
  color: var(--yellow);
}

/* Hero */

.hero {
  padding-block: 1.5rem 3.5rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow,
.kicker {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 0.9rem;
  font-weight: 900;
  font-stretch: 68%;
  font-size: clamp(2.9rem, 13.5vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.005em;
}

.hero-title .line {
  display: block;
}

.hero-tagline {
  margin-top: 1.4rem;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  line-height: 1.25;
  max-width: 30ch;
}

.hero-lead {
  margin-top: 0.8rem;
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-actions .btn {
  flex: 1 1 100%;
}

.hero-handle {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  aspect-ratio: 6 / 5;
}

.short-card {
  position: absolute;
  top: 7%;
  height: 86%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}

.short-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-card--left {
  left: 3%;
  transform: rotate(-7deg);
}

.short-card--right {
  right: 3%;
  transform: rotate(7deg);
}

.short-card--center {
  top: 0;
  height: 100%;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  border-color: rgba(255, 212, 0, 0.5);
}

.plate {
  position: absolute;
  top: 7%;
  left: 8%;
  right: 8%;
  padding: 0.35em 0.5em;
  border-radius: 8px;
  background: rgba(7, 17, 38, 0.9);
  color: var(--white);
  font-weight: 850;
  font-stretch: 70%;
  font-size: clamp(0.8rem, 3.4vw, 1.05rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.plate em {
  font-style: normal;
  color: var(--yellow);
}

/* Sections */

.section {
  padding-block: 3.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-title {
  margin-top: 0.6rem;
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(2rem, 8.5vw, 3.25rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-title .accent {
  display: block;
}

.section-intro {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Concept */

.concept {
  border-top: 1px solid var(--line);
}

.concept-inner {
  display: grid;
  gap: 2.5rem;
}

.concept-copy p:not(.kicker) {
  margin-top: 1rem;
  max-width: 38rem;
}

.concept-copy .section-title + p {
  margin-top: 1.5rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy-700), rgba(16, 35, 74, 0.4));
  border: 1px solid var(--line);
}

.step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.25rem;
}

.step h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.step p {
  margin-top: 0.25rem;
  color: var(--text);
}

/* Univers */

.topic-grid {
  display: grid;
  gap: 1.25rem;
}

.topic {
  --accent: var(--cyan);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-700);
  border: 1px solid var(--line);
}

.topic--science { --accent: var(--cyan); }
.topic--animaux { --accent: var(--yellow); }
.topic--corps { --accent: var(--red); }
.topic--nature { --accent: var(--green); }

.topic img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 45%;
  background: var(--navy-600);
}

.topic--animaux img,
.topic--corps img,
.topic--nature img {
  object-position: 50% 12%;
}

.topic-body {
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 4px solid var(--accent);
}

.topic h3 {
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: 1.75rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.topic-body > p {
  margin-top: 0.5rem;
}

.topic-examples {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--white);
}

.topic-examples li {
  position: relative;
  padding-left: 1.1rem;
}

.topic-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Réseaux */

.socials {
  background: linear-gradient(180deg, transparent, rgba(7, 17, 38, 0.65) 30%, rgba(7, 17, 38, 0.65) 70%, transparent);
}

/* Questions fréquentes (accueil) */

.faq-list {
  display: grid;
  gap: 1.5rem;
  max-width: 46rem;
}

.faq-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.faq-item p {
  margin-top: 0.4rem;
}

.faq-item a {
  color: var(--cyan);
}

.social-grid {
  display: grid;
  gap: 1rem;
}

.social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 96px;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--navy-700);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 230, 242, 0.4);
  background: var(--navy-600);
}

.social-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  color: var(--white);
  font-size: 1.4rem;
}

.social-card--youtube .social-icon { background: #ff0033; }
.social-card--tiktok .social-icon { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.social-card--instagram .social-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-card--facebook .social-icon { background: #0866ff; }

.social-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.social-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
}

.social-text .handle {
  font-size: 0.92rem;
}

.social-hint {
  margin-top: 0.3rem;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--text);
}

.social-arrow {
  align-self: flex-start;
  color: var(--muted);
}

.social-card:hover .social-arrow {
  color: var(--white);
}

.social-card--youtube {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem;
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(255, 0, 51, 0.22), transparent 70%),
    var(--navy-700);
  border-color: rgba(255, 212, 0, 0.45);
}

.social-card--youtube:hover {
  border-color: var(--yellow);
}

.social-card--youtube .social-icon {
  width: 4rem;
  height: 4rem;
  font-size: 1.8rem;
  border-radius: 18px;
}

.social-card--youtube .social-name {
  font-size: 1.9rem;
  font-weight: 900;
  font-stretch: 75%;
  text-transform: uppercase;
}

.social-card--youtube .social-hint {
  font-size: 1rem;
  max-width: 34ch;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.14);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  width: 100%;
  margin-top: auto;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
}

/* Appel final */

.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: 28px;
  background:
    radial-gradient(28rem 18rem at 50% 0%, rgba(51, 214, 232, 0.16), transparent 70%),
    var(--navy-700);
  border: 1px solid var(--line);
}

.cta-logo {
  width: 88px;
  height: 88px;
}

.cta-panel .section-title {
  margin-top: 1.25rem;
}

.cta-panel p {
  margin-top: 1rem;
  max-width: 34rem;
}

.cta-links {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 44rem;
  margin-top: 1.75rem;
}

.cta-links .btn {
  width: 100%;
  padding-inline: 0.9rem;
}

/* Pied de page */

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-name {
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
}

.footer-brand .handle {
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  color: var(--white);
  border-color: rgba(220, 230, 242, 0.5);
}

.copyright {
  font-size: 0.9rem;
  color: var(--muted);
}

.made-by a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.made-by a:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}

/* Tablette */

@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-item--featured {
    grid-column: 1 / -1;
  }

  .social-card:not(.social-card--youtube) {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem;
  }

  .social-card:not(.social-card--youtube) .social-arrow {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
  }

  .social-card--youtube {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "badge badge"
      "icon text"
      "cta cta";
    column-gap: 1.25rem;
  }

  .social-card--youtube .badge { grid-area: badge; justify-self: start; }
  .social-card--youtube .social-icon { grid-area: icon; }
  .social-card--youtube .social-text { grid-area: text; }
  .social-card--youtube .social-cta { grid-area: cta; width: auto; justify-self: start; }

  .cta-links {
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .header-nav {
    gap: 1.5rem;
  }

  .header-nav li:not(.nav-always) {
    display: list-item;
  }

  .section {
    padding-block: 5rem;
  }

  .concept-inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }
}

/* Bureau */

@media (min-width: 960px) {
  .hero {
    padding-block: 3rem 5rem;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: clamp(4.5rem, 7.4vw, 6.5rem);
  }

  .plate {
    font-size: 1rem;
  }

  .topic-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .topic img,
  .topic--animaux img,
  .topic--corps img,
  .topic--nature img {
    aspect-ratio: 4 / 5;
    object-position: 50% 50%;
  }

  .social-grid {
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: repeat(3, auto);
  }

  .social-item--featured {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .social-card:not(.social-card--youtube) {
    flex-direction: row;
    align-items: center;
  }

  .social-card:not(.social-card--youtube) .social-arrow {
    position: static;
    align-self: center;
  }

  .social-card--youtube {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.25rem;
  }

  .social-card--youtube .social-icon {
    width: 5rem;
    height: 5rem;
    font-size: 2.3rem;
  }

  .social-card--youtube .social-name {
    font-size: 2.6rem;
  }

  .social-card--youtube .social-hint {
    font-size: 1.1rem;
  }

  .social-card--youtube .social-cta {
    width: auto;
  }

  .cta-panel {
    padding: 3.5rem 2rem;
  }
}

/* Articles */

.article-wrap {
  padding-block: 0.5rem 4rem;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  line-height: 1.2;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--text);
}

.breadcrumb [aria-current="page"] {
  color: var(--muted);
}

.video-block {
  display: grid;
  gap: 1rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  border: 1px solid rgba(255, 212, 0, 0.5);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}

/* Short : lecteur vertical, centré, assez bas pour laisser voir le titre sur ordinateur */
.video-frame--vertical {
  aspect-ratio: 9 / 16;
  width: min(100%, 380px);
  justify-self: center;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.video-meta .btn {
  flex: 1 1 100%;
}

.video-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.video-note a {
  color: var(--cyan);
  font-weight: 600;
}

/* Plusieurs Shorts : deux lecteurs compacts, identifiés dans l'ordre de la série. */
.article-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 3vw, 1.5rem);
  max-width: 34rem;
  margin-inline: auto;
}

.article-videos .video-block {
  align-content: start;
  min-width: 0;
}

.article-videos .video-frame--vertical {
  width: min(100%, 232px);
}

.video-part-title {
  color: var(--yellow);
  font-weight: 800;
  text-align: center;
}

.article-videos .video-meta {
  justify-content: center;
  text-align: center;
}

.article-videos .video-meta .btn {
  flex: 0 1 auto;
  padding: 0.65rem 0.75rem;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.article-videos .video-note {
  width: 100%;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.chapters {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 35, 74, 0.5);
}

.chapters summary {
  padding: 0.85rem 1.1rem;
  min-height: 48px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
}

.chapters ol {
  display: grid;
  gap: 0.15rem;
  padding: 0 1.1rem 1rem;
}

.chapters a {
  display: flex;
  gap: 0.75rem;
  padding: 0.45rem 0;
  text-decoration: none;
}

.chapters a:hover {
  color: var(--white);
}

.chap-time {
  flex: none;
  color: var(--yellow);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.article-header {
  margin-top: 2.5rem;
}

.article-title {
  margin-top: 0.7rem;
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(2.1rem, 8.5vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.article-lead {
  margin-top: 1.25rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--white);
}

.article-meta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.article-meta a {
  color: var(--cyan);
}

.toc {
  margin-top: 2rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy-700), rgba(16, 35, 74, 0.4));
  border: 1px solid var(--line);
}

.toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.toc ol {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.5rem;
}

.toc a {
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover {
  color: var(--yellow);
}

.prose {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.prose section {
  scroll-margin-top: 1rem;
}

.prose section + section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.prose h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.cas-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 1.3rem;
  font-stretch: 100%;
}

.prose p + p,
.prose p + .article-figure,
.prose .article-figure + p,
.prose .article-figure + .article-figure,
.prose p + .callout,
.prose .callout + p,
.prose .article-figure + .callout,
.prose .callout + .article-figure,
.prose p + .watch,
.prose .callout + .watch,
.prose .article-figure + .watch {
  margin-top: 1.25rem;
}

.prose strong {
  color: var(--white);
}

.prose h3 {
  margin-top: 1.75rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.prose h3 + p {
  margin-top: 0.5rem;
}

.key-points {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.key-points li::marker {
  color: var(--yellow);
}

.prose a {
  color: var(--cyan);
}

.prose a.btn {
  color: var(--white);
}

.cite {
  margin-left: 0.1em;
  font-size: 0.7em;
  font-weight: 700;
  line-height: 0;
}

.cite a {
  padding: 0 0.1em;
  text-decoration: none;
}

.cite a:hover {
  text-decoration: underline;
}

.article-figure {
  width: 100%;
  max-width: var(--figure-width, 40rem);
  margin-inline: auto;
  margin-top: 1.5rem;
}

.article-figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  margin-inline: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--navy-600);
}

.article-figure--narrow {
  max-width: min(24rem, var(--figure-width, 24rem));
}

.article-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.fig-credit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
}

.fig-credit a,
.credits a,
.sources a {
  color: var(--cyan);
}

.fig-badge {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.14);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout {
  padding: 1.1rem 1.25rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(16, 35, 74, 0.6);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  font-size: 1.02rem;
  line-height: 1.6;
}

.callout--alert {
  border-left-color: var(--red);
}

.callout h3 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.callout ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.callout li {
  position: relative;
  padding-left: 1.1rem;
}

.callout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--yellow);
}

.callout--alert li::before {
  background: var(--red);
}

.watch {
  margin-top: 1.5rem;
}

.btn-small.btn-ghost {
  background: transparent;
  border-color: rgba(220, 230, 242, 0.35);
  color: var(--white);
}

.btn-small.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.sources,
.credits,
.method {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.sources-title,
.credits-title,
.method-title {
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.sources-intro,
.credits p,
.method p {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  counter-reset: src;
}

.source-list li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3.4rem;
  border-radius: 14px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.5;
  scroll-margin-top: 1rem;
}

.source-list li::before {
  counter-increment: src;
  content: counter(src);
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 900;
}

.source-list li:target {
  border-color: var(--yellow);
}

.src-authors {
  color: var(--white);
  font-weight: 700;
}

.src-pub {
  font-style: italic;
}

.src-topic,
.src-meta {
  margin-top: 0.4rem;
}

.src-topic strong {
  color: var(--white);
}

.src-kind {
  display: inline-block;
  margin-right: 0.6rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(51, 214, 232, 0.12);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.src-link {
  display: inline-block;
  padding-block: 0.3rem;
  font-weight: 700;
}

.src-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.src-kind {
  margin-right: 0;
}

.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.copy-btn[hidden] {
  display: none;
}

.copy-btn:hover {
  color: var(--white);
  border-color: rgba(220, 230, 242, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.copy-btn .icon {
  grid-area: 1 / 1;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
}

.copy-btn .icon-check {
  display: none;
}

.copy-btn.is-copied {
  color: var(--green);
  border-color: var(--green);
}

.copy-btn.is-copied .icon-copy {
  display: none;
}

.copy-btn.is-copied .icon-check {
  display: block;
}

.copy-btn--anchor {
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: 0.25rem;
  font-size: 1rem;
  text-transform: none;
  color: var(--muted);
}

.prose h2 .copy-btn--anchor,
.sources-title .copy-btn--anchor {
  align-self: center;
}

.sources-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prose h2 .copy-btn--anchor {
  margin-left: auto;
}

.credits ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

.credits li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.prose section[id^="references-video-"] {
  overflow-wrap: anywhere;
}

.article-cta {
  margin-top: 4rem;
}

.article-cta .section-title .accent {
  display: block;
}

.article-related {
  margin-top: 4rem;
}

.related-title {
  margin-bottom: 1.25rem;
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.article-grid {
  display: grid;
  gap: 1.25rem;
}

.article-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-700);
  border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 230, 242, 0.4);
}

.article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.article-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-600);
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 4px solid var(--yellow);
}

.article-card-title {
  color: var(--white);
  font-weight: 900;
  font-stretch: 72%;
  font-size: 1.6rem;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.article-card-text {
  font-size: 0.97rem;
  line-height: 1.5;
}

.article-card-meta {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.articles-more {
  margin-top: 1.75rem;
}

.article-list {
  padding-top: 1.5rem;
}

.article-list .section-title {
  font-size: clamp(2.2rem, 9vw, 3.75rem);
}

@media (min-width: 640px) {
  .video-meta .btn {
    flex: 0 1 auto;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .article-wrap {
    padding-top: 1.25rem;
  }

  .prose {
    font-size: 1.25rem;
    line-height: 1.7;
  }

  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.not-found {
  padding-block: 4rem 6rem;
}

.not-found .section-title .accent {
  display: block;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Confort de navigation (public/assets/js/site.js) */

::selection {
  background: var(--yellow);
  color: var(--navy);
}

.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(7, 17, 38, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.to-top:hover {
  background: var(--white);
}

.to-top .icon {
  width: 24px;
  height: 24px;
}

.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .btn:hover,
  .social-card:hover,
  .article-card:hover {
    transform: none;
  }
}
