/* Fonts */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/ebgaramond.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Bodoni';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/librebodoni.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Base */
* {
  box-sizing: border-box;
}
:root {
  --bg: #f7f4ef;
  --ink: #1f1f1f;
  --accent: #c94b4b;
  --accent-2: #3a6ea5;
  --paper: #ffffff;

  --parcours-famille: #3f8c77;
  --parcours-audacieux: #406fb2;
  --parcours-infernal: #313d47;
  --parcours-sportif: #cf505e;
}
html,
body {
  height: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
  font-family: 'EB Garamond', serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
h1:not([class]) {
}
/* Components */
.c-action {
  padding: 3rem 0;
  background: var(--paper);
  border-radius: 10px;
  text-align: center;
}
.c-action__title {
  margin-top: 0;
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
  font-size: 28px;
  text-wrap: balance;
}
.c-action__text {
  max-width: 60ch;
  margin: 0 auto 1.5rem;
}
.c-author {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.c-author__logo {
  flex: 0 0 96px;
  display: block;
  width: 96px;
  height: 96px;
}
.c-author__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.c-author__body {
  min-width: 0;
}
.c-author__name {
  margin: 0 0 0.5rem;
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
  font-size: 22px;
}
.c-author__name a {
  color: var(--parcours-color, var(--ink));
  text-decoration: none;
}
.c-author__name a:hover,
.c-author__name a:focus {
  text-decoration: underline;
}
.c-author .c-button--ghost {
  margin-top: 1rem;
  color: var(--parcours-color, var(--accent));
  box-shadow: inset 0 0 0 2px var(--parcours-color, var(--accent));
}
@media (max-width: 520px) {
  .c-author {
    gap: 1rem;
  }

  .c-author__logo {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
}
.c-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.c-box__title {
  margin-top: 0;
  color: var(--accent-2);
  font-size: 28px;
  font-weight: normal;
}
.c-box--georges {
  background: white url(/img/georges.webp) no-repeat top right;
  background-size: 30% auto;
  padding-right: 25%;
}
.c-box--paulette {
  background: white url(/img/paulette.webp) no-repeat top right;
  background-size: 30% auto;
  padding-right: 25%;
}
.c-box--famille {
  border-left: 6px solid var(--parcours-famille);
}
.c-box--audacieux {
  border-left: 6px solid var(--parcours-audacieux);
}
.c-box--infernal {
  border-left: 6px solid var(--parcours-infernal);
}
.c-box--sportif {
  border-left: 6px solid var(--parcours-sportif);
}
.c-box__tag {
  padding: 2px 10px;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
}
.c-box--famille .c-box__tag {
  background: var(--parcours-famille);
}
.c-box--audacieux .c-box__tag {
  background: var(--parcours-audacieux);
}
.c-box--infernal .c-box__tag {
  background: var(--parcours-infernal);
}
.c-box--sportif .c-box__tag {
  background: var(--parcours-sportif);
}
.c-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: white;
  line-height: 1.5em;
  text-decoration: none;
  border-radius: 3.1em;
  font-weight: 600;
}
.c-button--ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.c-footer {
  background: #fff;
  color: var(--ink);
  padding: 0 0 2.5rem;
  font-size: 14px;
}
.c-footer__skyline {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  padding: 2rem 0 0;
}
.c-footer a {
  color: var(--accent);
  text-decoration: none;
}
.c-footer a:hover,
.c-footer a:focus {
  text-decoration: underline;
}
.c-footer h4 {
  margin: 0 0 0.5rem;
  font-family: 'Libre Bodoni', serif;
}
.c-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.c-footer .note {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 16px;
}
.c-footer .note strong {
  display: block;
  font-size: 24px;
}
.c-header {
  position: relative;
  overflow: hidden;
  padding: 10vh 0;
  background: #fbf8f2;
  border-bottom: 4px solid var(--accent);

  text-align: center;
}
/* Couche de gimmicks en fond (inspirée de .sg-noise) */
.c-header__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
}
.c-header__noise img {
  position: absolute;
  width: 200px;
  height: auto;
}
.c-header__noise img:nth-child(1) {
  top: -30px;
  left: 4%;
  transform: rotate(-8deg);
}
.c-header__noise img:nth-child(2) {
  bottom: -40px;
  right: 5%;
  width: 280px;
}
.c-header__noise img:nth-child(3) {
  top: 35%;
  left: 58%;
  width: 150px;
}
@media (max-width: 980px) {
  .c-header__noise img:nth-child(3) {
    display: none;
  }
}
@media (max-width: 480px) {
  .c-header__noise img:nth-child(1) {
    display: none;
  }
}
.c-header .o-container {
  position: relative;
}
.c-header__title {
  font-size: 28px;
  font-weight: normal;
}
.c-header__portrait {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.c-header__baseline {
  margin: 1em 0;
  display: block;
  font-size: 36px;
  font-family: 'Libre Bodoni', serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-wrap: balance;
}
/* Variante teintée par parcours : picto à gauche du tag + titre */
.c-header--parcours {
  padding: 6vh 0;
  text-align: left;
  border-bottom-color: var(--parcours-color, var(--accent));
}
.c-header__top {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.c-header__entete {
  min-width: 0;
}
.c-header__picto {
  flex: 0 0 96px;
  width: 96px;
  height: auto;
}
.c-header__tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--parcours-color, var(--accent));
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 3px;
}
.c-header__zone {
  margin: 0.4rem 0 0;
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
  color: var(--parcours-color, var(--ink));
}
@media (max-width: 520px) {
  .c-header__picto {
    flex-basis: 60px;
    width: 60px;
  }
}
/* Une ligne par méta (plus lisible en mobile) */
.c-header__meta {
  margin: 1.25rem 0 0;
  color: #555;
}
.c-header__meta li {
  list-style: none;
}
.c-header__meta {
  padding: 0;
}
.c-header--parcours .c-color-dot {
  color: var(--parcours-color);
}
.c-header__cta {
  margin: 1.5rem 0 0;
}
.c-header__warning {
  color: #666;
  font-style: italic;
}
.c-header--parcours .c-header__cta .c-button {
  background: var(--parcours-color, var(--accent));
}
.c-illustration {
  margin: 0;
}
.c-illustration__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.c-illustration--frame .c-illustration__img {
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.c-illustration--contain .c-illustration__img {
  width: auto;
  max-width: 100%;
  max-height: 160px;
  border-radius: 0;
}
.c-illustration__caption {
  margin-top: 0.5rem;
  font-size: 14px;
  font-style: italic;
  color: #666;
  text-align: center;
}
.c-parcours {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-radius: 10px;
  border-left: 6px solid var(--parcours-color, var(--accent));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.c-parcours__picto {
  flex: 0 0 72px;
  width: 72px;
  height: auto;
}
.c-parcours__body {
  flex: 1 1 auto;
  min-width: 0;
}
.c-parcours__tag,
.c-parcours__status {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 2px 10px;
  border-radius: 3px;
  background: var(--parcours-color, var(--accent));

  color: white;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.c-parcours__status {
  background: var(--ink);
}
.c-parcours__title {
  margin: 0 0 0.5rem;
  font-style: italic;
  font-weight: normal;
  font-size: 24px;
  line-height: 1.1;
  color: var(--parcours-color, var(--ink));
}
.c-parcours__meta {
  margin: 0 0 0.5rem;
}
.c-parcours__note {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: #555;
}
/* Zone d'actions (boutons Jouer / En savoir plus) */
.c-parcours__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.c-parcours__actions .c-button {
  padding: 0.5rem 1.5rem;
  background: var(--parcours-color, var(--accent));
}
.c-parcours__actions .c-button--ghost {
  background: transparent;
  color: var(--parcours-color, var(--accent));
  box-shadow: inset 0 0 0 2px var(--parcours-color, var(--accent));
}
.c-parcours__header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}
/* Parcours pas encore disponible : fond légèrement transparent */
.c-parcours--soon {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.c-parcours--soon .c-parcours__picto {
  filter: grayscale(0.4);
}
.c-parcours__warning {
  color: #666;
  font-style: italic;
}
.c-parcours--famille {
  --parcours-color: var(--parcours-famille);
}
.c-parcours--audacieux {
  --parcours-color: var(--parcours-audacieux);
}
.c-parcours--infernal {
  --parcours-color: var(--parcours-infernal);
}
.c-parcours--sportif {
  --parcours-color: var(--parcours-sportif);
}
.c-poi {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1.5rem;
}
.c-poi__item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.4rem 0;
}
.c-poi__item::before {
  content: '';
  flex: 0 0 0.6em;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--parcours-color, var(--accent));
  transform: translateY(0.05em);
}
/* Encart « bientôt disponible » */
.c-soon {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.03);
  border-left: 6px solid var(--parcours-color, var(--accent));
  border-radius: 10px;
}
.c-soon__title {
  margin: 0 0 0.5rem;
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
}
.c-soon__warning {
  margin: 0.75rem 0 0;
  font-style: italic;
  color: var(--parcours-color, var(--accent));
}
.sg-intro {
  padding: 4vh 0 2vh;
  text-align: center;
}
.sg-intro__title {
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.sg-section {
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 600px) {
  .sg-section {
    padding: 2vh 0;
  }
}
.sg-section--no-border {
  border-top: none;
}
.sg-section__title {
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 1.5rem;
}
.sg-section__note {
  font-size: 14px;
  font-style: italic;
  color: #666;
}
/* Swatches couleur */
.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.sg-swatch__color {
  height: 80px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.sg-swatch__name {
  margin: 0.5rem 0 0;
  font-weight: 600;
  font-size: 14px;
}
.sg-swatch__hex {
  margin: 0;
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
}
/* Specimens typographiques */
.sg-type {
  display: grid;
  gap: 1.5rem;
}
.sg-type__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin: 0 0 0.25rem;
}
.sg-type__sample {
  margin: 0;
}
/* Démo « bruit de fond » des gimmicks */
.sg-noise {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  background: var(--paper);
  border-radius: 10px;
}
.sg-noise__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
}
.sg-noise__layer img {
  position: absolute;
  width: 160px;
  height: auto;
}
.sg-noise__layer img:nth-child(1) {
  top: -20px;
  left: 5%;
  transform: rotate(-8deg);
}
.sg-noise__layer img:nth-child(2) {
  bottom: -30px;
  right: 8%;
  width: 220px;
}
.sg-noise__layer img:nth-child(3) {
  top: 40%;
  left: 45%;
  width: 110px;
}
.sg-noise__content {
  position: relative;
  max-width: 46ch;
}
.sg-noise__thumbs {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.sg-noise__thumbs img {
  height: 56px;
  width: auto;
}
/* Démo générique d'un composant */
.sg-demo {
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}
.sg-demo > * + * {
  margin-left: 0.75rem;
}
/* Aperçu compact d'un parcours (accueil) */
.c-tease {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: 10px;
  border-left: 6px solid var(--parcours-color, var(--accent));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.c-tease:hover,
.c-tease:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.c-tease__picto {
  flex: 0 0 56px;
  width: 56px;
  height: auto;
}
.c-tease__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.c-tease__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.c-tease__head .c-parcours__tag,
.c-tease__head .c-parcours__status {
  margin: 0;
}
.c-tease__zone {
  font-family: 'Libre Bodoni', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  color: var(--parcours-color, var(--ink));
}
.c-tease__meta {
  font-size: 13px;
  color: #555;
}
.c-tease--soon {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.c-tease--soon .c-tease__picto {
  filter: grayscale(0.4);
}
.c-topnav {
  background: var(--paper);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.c-topnav .o-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.c-topnav a {
  color: var(--ink);
  text-decoration: none;
}
.c-topnav a:hover,
.c-topnav a:focus {
  color: var(--accent);
}
.c-topnav__home {
  font-family: 'Libre Bodoni', serif;
  font-weight: 700;
}
.c-topnav__links {
  font-size: 14px;
}
/* Objects */
.o-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.o-grid--1 {
  grid-template-columns: 1fr;
}
.o-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.o-container {
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
}
/* Utils */
.u-emoji {
  font-style: normal;
  font-weight: 400;
  font-family: 'apple color emoji', 'segoe ui emoji', 'noto color emoji',
    'android emoji', emojisymbols, 'emojione mozilla', 'twemoji mozilla',
    'segoe ui symbol', serif;
}
.u-link-cameleon,
.u-link-cameleon:hover,
.u-link-cameleon:focus {
  color: inherit;
}
.u-txt-engraved {
  background-color: #000a;
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  text-shadow: -1px 1px 0 rgba(180, 180, 180, 0.3);
}
.u-txt-right {
  text-align: right;
}
