@font-face {
  font-family: "Sansation";
  font-weight: normal;
  font-style: normal;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Regular.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Sansation";
  font-weight: bold;
  font-style: normal;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Bold.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Bold.ttf") format("ttf");
}
@font-face {
  font-family: "Sansation";
  font-weight: normal;
  font-style: italic;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Italic.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Sansation";
  font-weight: bold;
  font-style: italic;
  src: local("Sansation"), url("../fonts/Sansation/woff/Sansation_Bold_Italic.woff") format("woff"), url("../fonts/Sansation/ttf/Sansation_Bold_Italic.ttf") format("truetype");
}
@font-face {
  font-family: "PROMETHEUS";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/Prometheus/eot/PROMETHEUS.eot");
  src: local("PROMETHEUS"), url("../fonts/Prometheus/eot/PROMETHEUS.eot?#iefix") format("embedded-opentype"), url("../fonts/Prometheus/woff2/PROMETHEUS.woff2") format("woff2"), url("../fonts/Prometheus/woff/PROMETHEUS.woff") format("woff"), url("../fonts/Prometheus/ttf/PROMETHEUS.ttf") format("truetype");
}


:root {
  --ink: #202b35;
  --muted: #52616d;
  --paper: #555;
  --card: #ffffff;
  --accent: #087f8c;
  --accent-light: #6AFBFA;
  --border: #dce5e8;
  --shadow: 0 8px 24px rgba(25, 48, 58, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 24px clamp(14px, 3vw, 44px) 48px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Sansation", Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

a { color: #006b78; text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #004c56; text-decoration-thickness: 2px; }

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 0 auto 18px;
}

.logos { display: block; width: auto; max-width: min(28vw, 180px); height: 42px; object-fit: contain; }

h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 8px 0 10px;
  color: var(--accent-light);
  font-family: "Sansation", Verdana, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: 0.025em;
}

.main-logo { display: block; width: clamp(54px, 7vw, 80px); height: auto; }

h2 {
  margin: 0;
  font-family: "Sansation", Verdana, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
}

h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Sansation", Verdana, sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.3;
}

.definition {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  color:white;
}

.page {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.theme {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  min-width: 0;
  max-width: 440px;
  overflow: hidden;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0 0 0 20px;
  box-shadow: var(--shadow);
  text-align: left;
}

.theme-video {
  flex: 1 1 100%;
  max-width: 920px;
  padding-bottom: 0;
}

.theme_bandeau {
  padding: 12px 18px;
  color: #064c55;
  background: var(--accent-light);
  border-bottom: 1px solid var(--border);
  font-family: "Sansation", Verdana, sans-serif;
  font-size: 1.15rem;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.theme_contenu {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 22px;
  text-align: left;
}

.theme_contenu p { margin: 0; font-size: 0.98rem; }
.theme_contenu p + p { margin-top: 2px; }
.theme_contenu br + br { display: none; }

.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 8px;
  background: #e7edef;
}

.theme-video .video { border-radius: 0; }

.illustration {
  display: block;
  width: auto;
  max-width: 82%;
  max-height: 230px;
  height: auto;
  margin: 8px auto;
  object-fit: contain;
}

.illustration-spirale { max-width: 70%; }
.illustration-boites { max-height: 190px; }
.book-link { display: block; float: right; margin: 0 0 12px 16px; }
.book-image { display: block; width: auto; max-width: 130px; max-height: 190px; object-fit: contain; }
.link-icon { display: inline-block; width: auto; height: 24px; margin-right: 5px; vertical-align: middle; }

.theme_contenu > p a { font-weight: 600; }
.theme_contenu > p:last-child { margin-bottom: 0; }

@media (min-width: 1050px) {
  .theme { flex-basis: 360px; }
  .theme-video { flex-basis: 100%; }
}

@media (max-width: 650px) {
  body { padding: 16px 12px 30px; font-size: 15px; }
  .partner-logos { gap: 12px 18px; margin-bottom: 16px; }
  .logos { height: 32px; max-width: 27vw; }
  h1 { gap: 9px; margin-bottom: 14px; }
  .definition { margin-bottom: 18px; padding: 15px; }
  .page { gap: 15px; }
  .theme, .theme-video { flex: 1 1 100%; width: 100%; max-width: none; }
  .theme_contenu { padding: 18px; gap: 11px; }
  .theme_bandeau { padding: 11px 14px; font-size: 1.05rem; }
  .illustration { max-width: 90%; max-height: 210px; }
  .book-image { max-width: 100px; max-height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}



/* Styles complémentaires pour la page du livre */
.page-livre { align-items: stretch; }
.page-livre .theme { max-width: 440px; }
.page-livre .theme-couverture { flex-basis: 280px; max-width: 340px; }
.page-livre .theme-presentation { flex-basis: 380px; }
.page-livre .theme-sommaire { flex-basis: 340px; }
.page-livre .theme-extraits { flex-basis: 340px; }
.contenu-couverture { align-items: center; }
.livre-logo { display: block; width: min(100%, 250px); height: auto; margin: 0 auto 8px; }
.livre-couverture { display: block; width: 100%; max-width: 340px; height: auto; object-fit: contain; }
.livre-points { margin: 8px 0; padding: 16px 12px; text-align: center; background: var(--accent-light); border-radius: 10px; }
.livre-points p { font-weight: 700; }
.livre-points .point-secondaire { color: #52616d; }
.livre-points .point-tertiaire { color: #6f7c84; font-weight: 400; }
.livre-achat { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: auto; padding: 12px; background: var(--accent-light); border: 1px solid #c6e7e8; border-radius: 10px; font-weight: 700; text-align: left; }
.livre-achat img { width: 42px; height: 42px; object-fit: contain; }
.theme-sommaire .theme_contenu { gap: 9px; }
.theme-sommaire h3 { margin-top: 8px; }
.theme-sommaire ul { margin: 0; padding-left: 22px; }
.theme-sommaire li { margin: 0 0 5px; font-size: .96rem; }
.livre-extraits { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px; }
.livre-extraits a { flex: 0 1 28%; min-width: 72px; }
.livre-extraits img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 4px; }
.livre-librairie { display: block; align-self: center; margin: 12px auto 0; }
.livre-librairie img { display: block; width: min(150px, 60vw); height: auto; }
@media (max-width: 650px) {
  .page-livre .theme, .page-livre .theme-couverture, .page-livre .theme-presentation,
  .page-livre .theme-sommaire, .page-livre .theme-extraits { flex: 1 1 100%; max-width: none; }
  .livre-couverture { max-width: 280px; }
  .livre-extraits a { flex-basis: 27%; }
}
