/* =========================================================
   Portfolio — feuille de style principale
   Structure : variables > base > layout > composants > pages > responsive
   ========================================================= */

@font-face {
  font-family: 'Switzer';
  src: url('../fonts/Switzer-Variable.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --color-bg: #ffffff;
  --color-ink: #000000;
  --color-ink-soft: #000000;
  --color-line: #ffffff00;
  --color-accent: #0f6e5d;

  /* Typographie */
  --font-display: 'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rythme / grille */
  /*--container-max: 1800px;*/
  --edge: clamp(20px, 4vw, 56px);
  --gap: clamp(18px, 2.6vw, 32px);
--radius: 2px;
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: url("../images/curseur2.png") 5 5, auto;}
button { font: inherit; background: none; border: 0; cursor: url("../images/curseur2.png") 5 5, auto; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---------- Base ---------- */
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: url("../images/curseur.png") 5 5, auto;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* ---------- En-tête ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 90svh;
  min-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
 filter: grayscale(100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image: radial-gradient(
    rgba(0, 0, 0, 0.35) 1px,
    transparent 1px
  );

  background-size: 4px 4px;

  pointer-events: none;
  z-index: 5;
}

.hero__image.is-active {
  opacity: 1;
}

.hero .site-header {
  position: absolute;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 10;
}

.hero .site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 60dvh;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 25%,
    rgba(255, 255, 255, 0.3) 60%,
    rgba(255, 255, 255, 0) 100%
  );

  z-index: -1;
  pointer-events: none;
}

.site-header {
  padding-block: clamp(20px, 4vw, 20px);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-line);
}


.site-pied {
  position: relative;
  display: block;
  width: fit-content;
  margin: 20px auto;

  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(25px, 4vw, 28px);

  transform: rotate(-10deg);
  z-index: 1;
}


.site-pied::before {
  content: "";
  position: absolute;

  width: clamp(200px, 20vw, 230px);
  height: clamp(50px, 4vw, 55px);

  border: 2px solid #000;
  border-radius: 50%;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  z-index: -1;
}

.site-title {
  position: relative;
  display: inline-block;

  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(25px, 4vw, 28px);

  transform: translate(0%, 0%) rotate(-10deg);

  z-index: 999;
}

.site-title::before {
  content: "";
  position: absolute;

  width: clamp(200px, 20vw, 230px);
  height: clamp(50px, 4vw, 55px);

  border: 2px solid #000;
  border-radius: 50%;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%) rotate(-0deg);

  z-index: -1;
}

.site-title a { display: inline-block; }

.site-nav ul {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  font-size: clamp(10px, 3.8vw, 28px);
  font-weight: 100;
  color: var(--color-ink-soft);
}

.site-nav a {
  position: relative;
  padding-bottom: 2px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-ink);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--color-accent);
}

.site-intro {
  max-width: 46ch;
  padding-top: clamp(20px, 4vw, 32px);
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--color-ink-soft);
}

/* ---------- Grille de projets (accueil) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap) clamp(24px, 4vw, 20px);
  /*padding-block: clamp(24px, 4vw, 40px) clamp(32px, 5vw, 48px);*/
}

.espace {
  min-height: clamp(24px, 4vw, 30px);
}


.work-card {
  opacity: 0;
  transform: none;
  animation: fade-in 0.6s ease forwards;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}


.work-card__frame {
  position: relative;
  overflow: hidden;
  background: #f4f2ee;
  aspect-ratio: 5 / 4;
}

.work-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-card__frame img,
.work-card:focus-visible .work-card__frame img {
  transform: scale(1.035);
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  gap: 12px;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 21px);
  font-weight: 400;
}

.work-card__tag {
  font-size: clamp(13px, 1.9vw, 18px);
  color: var(--color-ink-soft);
  white-space: nowrap;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: clamp(28px, 5vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-ink-soft);
}

.site-footer__links {
  display: flex;
  gap: 20px;
}

.site-footer__links a:hover { color: var(--color-ink); }

/* ---------- Page projet ---------- */
.project-header {
  padding-block: clamp(24px, 4vw, 40px) clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--color-line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: clamp(24px, 5vw, 40px);
}

.back-link:hover { color: var(--color-ink); }

.back-link__mark { font-size: 16px; }

.project-header__title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(40px, 8vw, 70px);
  text-align: center;
  margin-top: -2vw;
  margin-top: -1dvh;
  margin-bottom: -1dvh;
  line-height: 1.3;
}


.project-header__grid {
  margin-top: -2dvh;
    margin-bottom: -0dvh;
}

.project-header__meta dt {
  font-size: 13px;
  color: var(--color-ink-soft);
  margin-bottom: 4px;
}

.project-header__meta dd {
  margin: 0 0 16px;
  font-size: clamp(40px, 4vw, 41px);
  font-weight: 700;
  text-align: center;
}


.project-header__text {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 100;
  color: var(--color-ink-soft);
  text-align: center;
  margin-top: 15px;
  line-height: 1.3;
}
.project-gallery {
  column-count: 2;
  column-gap: var(--gap);
  padding-block: clamp(10px, 8vw, 30px) clamp(0px, 2vw, 5px);
}

.project-gallery__item {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gap);
  break-inside: avoid;
  vertical-align: top;
  background: #f4f2ee;
  overflow: hidden;
}

.project-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.project-gallery__item:hover img { transform: scale(1.00); }

.project-nav {
  border-top: 1px solid var(--color-line);
  padding-block: clamp(28px, 5vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.project-nav__next {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
}

.project-nav__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-ink-soft);
  margin-bottom: 4px;
}

/* ---------- Page à propos ---------- */
.about {
  gap: clamp(28px, 5vw, 64px);
}

.about__portrait {
  height: 60svh;
  overflow: hidden;
  margin-bottom: 30px;
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__body p {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 100;
  color: var(--color-ink-soft);
  width: min(600px, 100%);
  text-align: center;
  margin-inline: auto;
}

.about__body h1 {
  margin: 0 0 16px;
  font-size: clamp(25px, 4vw, 28px);
  font-weight: 500;
}

.about__list {
  margin-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--color-line);
}

.about__list li {
  display: flex;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
}

.about__list span:first-child { color: var(--color-ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 23, 28, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  z-index: 100;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin-inline: auto;
}

.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Projets associés ---------- */

.related-projects {
  padding-block: 40px 60px;
}

.related-projects__title {
  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 80px);
  font-weight: 500;
  margin-bottom: 24px;
  align-items: center;
  text-align: center;
}

.related-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.related-project {
  display: block;
}

.related-project__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f2ee;
}

.related-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-project:hover .related-project__image img {
  transform: scale(1.035);
}

.related-project h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- Menu desktop ---------- */

.menu-toggle {
  display: none;
}

/* ---------- Menu grand écran ---------- */
@media (min-width: 1600px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ---------- Tablette / mobile ---------- */

@media (max-width: 1200px) {

  .site-header__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .site-nav {
    position: relative;
    z-index: 100;
    text-align: center;
  }

  /* =========================
     BOUTON HAMBURGER
     ========================= */

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 101;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    width: 32px;
    height: 32px;
    padding: 0;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;

    background: var(--color-ink);

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }


  /* =========================
     MENU MOBILE
     ========================= */

  .site-nav ul {
    display: none;

    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 100;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 20px;

    background: #fff;

    font-size: 45px;
    font-weight: 400;

    transform: none;
  }


  /* =========================
     MENU OUVERT
     ========================= */

  .site-nav.is-open ul {
    display: flex;
  }


  /* =========================
     HAMBURGER → X
     ========================= */

  .site-nav.is-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-nav.is-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }


  /* =========================
     BLOQUE LE SCROLL
     ========================= */

  body:has(.site-nav.is-open) {
    overflow: hidden;
  }


  /* =========================
     TITRE PROJET
     ========================= */

  .project-header__title {
    text-align: center;
    font-weight: 300;
  }
}


/* ---------- Petit mobile ---------- */

@media (max-width: 720px) {

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

  .project-gallery {
    column-count: 1;
  }

    .project-header__text {
    margin-top: 0px;
  }
  
  .project-header__grid {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: -3dvh;
    margin-bottom: -3dvh;
  }


  .project-header__title {
    max-width: none;
    font-weight: 400;
    margin-bottom: 2dvh;
    margin-top: 1dvh;
    line-height: 1;
  }

  .related-projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

    .site-footer {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .site-footer__links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }


  .hero .site-header::before {
    height: 60vh;
  }

}

/*
@media (max-width: 720px) {
  .hero {
    height: 90vh;
  }

  .hero .site-header::before {
    height: 60vh;
  }

  .site-nav ul {
    height: 100vh
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
*/


/* ---------- Très petit mobile ---------- */

@media (max-width: 375px) {

  .related-projects__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .related-project h3 {
    font-size: 16px;
  }
/*
  .hero {
    height: 80vh;
  }

  .hero .site-header::before {
    height: 60vh;
  }

  .site-nav ul {
    height: 100vh
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  */
}



/* ---------- Animation d'introduction ---------- */

#intro-animation {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: white;
  opacity: 1;
  transition: opacity 1s ease;
}

#intro-animation.is-fading {
  opacity: 0;
  pointer-events: none;
}

#intro-animation img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: clamp(160px, 25vw, 240px);
  height: auto;
  max-width: none;
  transform-origin: center center;
  will-change: transform;

  backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}

/* L'introduction est retirée à la fin */
#intro-animation.is-finished {
  display: none;
}


/* Animation permanente sur la page À propos */
#intro-animation.intro--persistent {
  position: fixed;
  inset: 0;
  z-index: 99999;

  /* Aucun fond : le contenu reste visible */
  background: transparent;

  /* Les clics traversent le calque */
  pointer-events: none;

  /* Aucune disparition automatique */
  opacity: 1;
  transition: none;
}

/* Le logo flotte au-dessus de tous les éléments */
#intro-animation.intro--persistent img {
  position: absolute;
  top: 0;
  left: 0;

  width: clamp(160px, 25vw, 240px);
  height: auto;
  max-width: none;

  transform-origin: center center;
  will-change: transform;
}



/* ==============================
   TEST TYPOGRAPHIQUE DIDAK
============================== */

/* Charge le fichier réel de la police */
@font-face {
  font-family: "Didak";
  src: url('../fonts/Didak.otf') format("opentype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Joyboy";
  src: url("../fonts/Joyboy.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicaregular";
  src: url("../fonts/Fulicaregular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicaitalique";
  src: url("../fonts/Fulicaitalique.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicahigh";
  src: url("../fonts/Fulicahigh.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicalineaire";
  src: url("../fonts/Fulicalineaire.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicacondensed";
  src: url("../fonts/Fulicacondensed.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicaheavy";
  src: url("../fonts/Fulicaheavy.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "fulicaexotique";
  src: url("../fonts/Fulicaexotique.ttf") format("truetype");
  font-display: swap;
}


/* TEST TYPOGRAPHIQUE DIDAK */

.font-tester {
  margin-top: 5dvh;
  margin-bottom: 5dvh;
  border-top: 1px solid #000;
}

.font-tester__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 35px;
}

.font-tester__header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.font-tester__label,
.font-tester__footer {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.font-tester__toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 3dvh;
  margin-bottom: 5dvh;
}

.font-tester__control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.font-tester__control label {
  font-size: clamp(15px, 20vw, 18px);;
}

.font-tester__control output {
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.font-tester__control input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  accent-color: currentColor;
  cursor: pointer;
}

.font-tester__preview {
  display: block;
  width: 100%;
  min-height: 15dvh;
  padding: 20px 0;

  border: none;
  outline: none;
  background: transparent;

  font-family: var(--specimen-font, sans-serif);
  font-size: 80px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  cursor: text;
}

.font-tester__preview:focus {
  outline: none;
}

.font-tester__preview:empty::before {
  content: attr(data-placeholder);
  opacity: 0.4;
  pointer-events: none;
}

.font-tester__footer {
  margin-top: 15px;
}

@media (max-width: 600px) { 
  .font-tester__control:not(:first-child) { display: none; } 
  .font-tester__toolbar { grid-template-columns: 1fr; margin-bottom: 20px; }
  .font-tester__preview { text-align: center; }

  .font-tester__label,
.font-tester__footer {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
}

/* ==============================
   SPÉCIMEN DIDAK
============================== */

.didak-specimen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0px 0;
  padding-top: 30px;
  border-top: 1px solid #000;
  align-items: start;
}

.didak-specimen__large { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  min-width: 0; 
  min-height: 600px; 
  padding: 40px 0 100px; 
  overflow: visible; 
  font-family: var(--specimen-font, sans-serif);
  font-size: 400px; line-height: 1.3; 
} 

.didak-specimen__large span { 
  display: block; 
  max-width: 100%; 
  overflow: visible; 
  
}

.didak-specimen__right {
  min-width: 0;
}

.didak-specimen__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.didak-specimen__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}

.didak-specimen__character {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #000;
  font-family: var(--specimen-font, sans-serif) !important;
  font-size: 28px;
  font-weight: 400;
  cursor: url("../images/curseur2.png") 5 5, pointer;
  transition: border-color 0.15s ease;
}

.didak-specimen__character:hover,
.didak-specimen__character.is-selected {
  border-color: #000;
  background: transparent;
  color: #000;
  opacity: 1;
}


.didak-specimen__character:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}


/* TABLETTE */
@media (max-width: 800px) {
  .didak-specimen {
    gap: 20px;
  }

  .didak-specimen__large {
    min-height: 350px;
    font-size: clamp(180px, 35vw, 350px);
  }

  .didak-specimen__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .didak-specimen__character {
    font-size: 22px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .didak-specimen {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 60px 0;
  }

  .didak-specimen__large {
     min-height: 0px; 
     padding: 20px 0 70px; 
     font-size: min(70vw, 300px); 
     margin-top: -5dvh;
     margin-bottom: -10dvh;
    }

  body[data-font="fulicahigh"] .didak-specimen__large {
    min-height: 0;
    height: auto;
    padding: 0px 0 0px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: min(70vw, 300px);
    line-height: 1.5;
    overflow: visible;
  }

  body[data-font="fulicahigh"] .didak-specimen__large span {
    line-height: 1.5;
    overflow: visible;
  }


  .didak-specimen__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .didak-specimen__character {
    font-size: 24px;
  }
}

/* Grande lettre fixe pendant le défilement de la grille */
@media (min-width: 601px) {
  .didak-specimen__large {
    position: sticky;
    top: 30px;
    align-self: start;
  }
}

.didak-text-test {
  margin: 2rem 0;
  max-width: 100%;
  column-count: 3;
  column-gap: 2rem;
}

.didak-text-test p {
  font-family: var(--specimen-font, sans-serif);
  font-size: 3dvh;
  line-height: 1.1;
  margin: 0;
}

@media (max-width: 800px) {
.didak-text-test {
  margin: 1rem 0;
  max-width: 100%;
  column-count: 1;
  column-gap: 2rem;
  margin-bottom: 10px;
}

.didak-text-test p {
  font-family: var(--specimen-font, sans-serif);
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}


.font-tester {
  margin-top: 5dvh;
  margin-bottom: -20px;
  border-top: 1px solid #000;
}
}


.work-card__frame--hirondelle {
  border: 1px solid #000;
}

