/* ==========================================================================
   style.css — Toute l'apparence du portfolio « Nova » (fond noir, textes irisés).
   Utilisé par index.html. Les couleurs, tailles et animations viennent de la
   maquette validée (reference/maquette-nova.html), réécrites en CSS classique.

   Sommaire :
     1. Les réglages communs (couleurs, polices)
     2. La base (remise à zéro des styles du navigateur)
     3. L'accessibilité (contour au clavier, texte caché pour lecteurs d'écran)
     4. La boîte à outils (texte irisé, halos de couleur, animations réutilisées)
     5. Le grain par-dessus la page
     6. Le cercle qui suit la souris
     7. La barre de menu
     8. L'intro (le nom en grand)
     9. La phrase d'accroche
    10. Les tuiles
    11. Le terminal
    12. Les titres de section
    13. Les cartes projet
    14. Les écrans de l'appli Mon Cœur (contenus masqués)
    15. Les gros boutons (« M'écrire », « Voir le site »…)
    16. Les fiches projet : la fenêtre
    17. Les fiches projet : le contenu
    18. La fiche Mon Cœur
    19. La fiche Station Météo
    20. Les compétences (onglets)
    21. Le parcours (frise)
    22. Le contact (bas de page)
    23. Les animations au défilement
    24. Les animations réduites (toujours en dernier)
   ========================================================================== */


/* ---------- 1. Les réglages communs ----------
   On range ici toutes les couleurs et polices sous forme de « variables ».
   Avantage : pour changer une couleur partout, on ne la modifie qu'à un seul endroit. */
:root {
  /* Fonds et bordures (du plus sombre au plus clair) */
  --noir: #050506;          /* fond de la page */
  --carte: #0D0D10;         /* fond des tuiles et des cartes */
  --bord: #1E1E24;          /* bordure discrète des tuiles */
  --bord-clair: #2E2E38;    /* bordure des boutons */

  /* Textes */
  --texte: #F5F5F7;         /* texte principal, presque blanc */
  --texte-doux: #B4B4BE;    /* paragraphes secondaires */
  --gris: #9A9AA6;          /* petites légendes */

  /* Les 4 couleurs du dégradé irisé, et les couleurs propres à chaque projet */
  --violet: #8B6CFF;
  --bleu: #3FD0FF;
  --vert: #3DFFB5;
  --jaune: #FFE36E;
  --orange: #FF8A3D;        /* Master Set */
  --rouge: #E8555A;         /* Mon Cœur */

  /* Le dégradé irisé : il finit par la couleur du début pour pouvoir
     « tourner en boucle » sans saut visible quand on le fait défiler. */
  --degrade-iri: linear-gradient(90deg, var(--violet), var(--bleu), var(--vert), var(--jaune), var(--violet));

  /* Polices : si la police Google n'a pas pu se charger (pas d'Internet),
     le navigateur prend la suivante dans la liste. */
  --police: Sora, system-ui, sans-serif;
  --police-mono: 'Fragment Mono', ui-monospace, Consolas, monospace;

  /* Courbe d'animation de la maquette : démarre vite et freine en douceur. */
  --doux: cubic-bezier(.2, .8, .2, 1);
}


/* ---------- 2. La base ---------- */

/* Les tailles incluent la bordure et les marges intérieures : plus simple à calculer. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--police);
  /* « clip » coupe ce qui dépasse sur les côtés (halos, cartes inclinées en 3D)
     sans créer de barre de défilement horizontale. */
  overflow-x: clip;
  /* Rend le texte un peu plus net sur Mac. */
  -webkit-font-smoothing: antialiased;
}

/* Les images ne dépassent jamais de leur boîte. */
img {
  max-width: 100%;
}

/* Les boutons et champs prennent la police du site (sinon le navigateur met la sienne). */
button,
input {
  font: inherit;
}

/* Couleur des liens dans le texte (bleu clair irisé, comme la maquette). */
a {
  color: #7DE8FF;
}

a:hover {
  color: #C6F6FF;
}

/* Défilement en douceur quand on clique dans le menu… sauf si la personne
   a demandé moins d'animations dans les réglages de son appareil. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Quand on saute à une section depuis le menu, on garde 90 px au-dessus :
   sinon le titre de la section se cacherait sous la barre de menu fixe. */
[id] {
  scroll-margin-top: 90px;
}


/* ---------- 3. L'accessibilité ---------- */

/* Contour bleu bien visible quand on navigue au clavier (touche Tab).
   « focus-visible » : il n'apparaît pas quand on clique à la souris. */
:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}

/* Texte lu par les lecteurs d'écran mais invisible à l'écran. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* ---------- 4. La boîte à outils ----------
   Petits styles réutilisés un peu partout dans la page. */

/* Le bloc qui range les icônes (<symbol>) : il ne doit prendre aucune place.
   On ne met pas « display: none » : certains navigateurs n'afficheraient plus les icônes. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Le dégradé glisse de gauche à droite. On le dessine 3 fois plus large que
   le texte (background-size 300 %) et on le décale : ça donne l'effet « irisé qui bouge ». */
@keyframes iri {
  from { background-position: 0% 50%; }
  to   { background-position: 300% 50%; }
}

/* Texte irisé : le dégradé est peint DANS les lettres (background-clip: text)
   et la couleur du texte est rendue transparente pour le laisser voir. */
.iri {
  background: var(--degrade-iri);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 9s linear infinite;
}

/* Même dégradé, mais en fond plein (tuile « En chiffres », ligne du parcours…). */
.iri-bg {
  background: var(--degrade-iri);
  background-size: 300% 100%;
  animation: iri 9s linear infinite;
}

/* Les halos de couleur : de grands ronds très flous qui flottent derrière le contenu. */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none; /* on peut cliquer « à travers » */
}

/* Deux trajets différents pour que les halos ne bougent pas en même temps. */
@keyframes blobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(120px, 80px) scale(1.25); }
}

@keyframes blobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-140px, -60px) scale(.85); }
}

.bA { animation: blobA 16s ease-in-out infinite; }
.bB { animation: blobB 20s ease-in-out infinite; }

/* Petits textes « techniques » en police à chasse fixe (comme dans un terminal). */
.mono {
  font-family: var(--police-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

/* Rotation sans fin (le badge rond qui tourne). */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin { animation: spin 18s linear infinite; }

/* Flottement lent de haut en bas (images de projets, pastilles). */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.floaty { animation: floaty 6s ease-in-out infinite; }

/* Clignotement net (voyant « en ligne », curseur du terminal). */
@keyframes blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Apparition par le bas (textes de l'intro, contenu des fiches). */
@keyframes up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}


/* ---------- 5. Le grain par-dessus la page ----------
   Une grille de minuscules points blancs à 5 % d'opacité, fixée à l'écran.
   Elle donne une texture « pellicule » au noir. pointer-events: none pour
   qu'elle ne bloque aucun clic. */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .05;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 3px 3px;
}


/* ---------- 6. Le cercle qui suit la souris ----------
   js/main.js le déplace avec « transform » à chaque mouvement de souris.
   mix-blend-mode: difference inverse les couleurs dessous : le cercle reste
   visible sur le noir comme sur le blanc. */
.ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  width: 36px;
  height: 36px;
  /* Marge négative de la moitié de la taille : le centre du cercle tombe pile sur la souris. */
  margin: -18px 0 0 -18px;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  /* Caché tant que la souris n'a pas bougé (sinon il resterait coincé en haut à gauche). */
  opacity: 0;
  will-change: transform; /* prévient le navigateur : le déplacement reste fluide */
  transition: width .25s ease, height .25s ease, margin .25s ease, opacity .25s ease;
}

/* La souris est dans la page : on montre le cercle. */
.ring--visible {
  opacity: 1;
}

/* Au-dessus d'un lien ou d'un bouton : le cercle grossit (64 px, toujours centré). */
.ring--grand {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}

/* Sur téléphone et tablette (pas de souris), ou sur un petit écran, le cercle ne sert à rien. */
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .ring {
    display: none;
  }
}


/* ---------- 7. La barre de menu ----------
   Une pilule en verre dépoli, centrée et fixée en haut de l'écran.
   z-index 80 : au-dessus du contenu et du grain, sous les fiches projet (90). */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%); /* recule de la moitié de sa largeur : vraiment centrée */
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  border: 1px solid #24242C;
  background: rgba(20, 20, 24, .6);
  /* Floute ce qui passe derrière la barre (effet verre). Le préfixe -webkit- sert à Safari. */
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-size: 13px;
  white-space: nowrap; /* les liens restent sur une seule ligne */
}

.nav a {
  color: var(--gris);
  text-decoration: none;
  transition: color .2s ease;
}

.nav a:hover {
  color: #FFFFFF;
}

/* Le logo « LP » irisé. On remet la couleur transparente (même au survol),
   sinon la couleur grise des liens cacherait le dégradé. */
.nav a.nav__logo,
.nav a.nav__logo:hover {
  color: transparent;
  font-weight: 800;
}

/* Le bouton « Contact » : pilule blanche, texte noir, même au survol. */
.nav a.nav__contact,
.nav a.nav__contact:hover {
  padding: 8px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--noir);
  font-weight: 600;
}

/* Petit téléphone : on resserre la barre pour qu'elle tienne dans la largeur
   en gardant au moins 16 px de marge de chaque côté (testé sur 375 px). */
@media (max-width: 480px) {
  .nav {
    gap: 12px;
    padding: 6px 6px 6px 14px;
    font-size: 12px;
  }

  .nav a.nav__contact {
    padding: 7px 11px;
  }
}

/* Très petit écran (320 px) : on retire le logo, qui fait doublon avec le nom
   en grand, et on réduit encore un peu le texte. */
@media (max-width: 360px) {
  .nav {
    gap: 10px;
    font-size: 11px;
  }

  .nav__logo {
    display: none;
  }
}


/* ---------- 8. L'intro (le nom en grand) ----------
   Déroulé au chargement de la page (les secondes sont comptées depuis l'ouverture) :
     0,15 s → la ligne irisée se dessine au centre puis s'évase en lumière floue ;
     0,4 s  → un éclair violet s'allume et s'éteint ;
     0,6 s  → les deux halos de couleur apparaissent ;
     0,9 s  → « Lucas » monte lettre par lettre, puis « Poirier » à 1,2 s ;
     2,1 s  → un reflet blanc glisse sur le nom ;
     2,4 s  → les petites mentions et la phrase du bas apparaissent. */

/* La section fait exactement la hauteur de l'écran (pas plus : une intro trop haute
   avait créé un grand vide noir). « svh » = la hauteur visible sur téléphone,
   barre d'adresse comprise ; la ligne « 100vh » sert aux navigateurs plus anciens.
   min-height : sur un écran très bas (téléphone couché), on garde assez de place.
   overflow « clip » (et pas « hidden ») : il coupe ce qui dépasse sans transformer la
   section en « boîte qui défile ». C'est important : sinon l'effet du nom au défilement
   se calerait sur cette section (qui ne bouge jamais) au lieu de la page.
   La ligne « hidden » sert de secours aux vieux navigateurs qui ne connaissent pas « clip ». */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  overflow: clip;
}

/* Les halos : un violet en haut à gauche, un bleu en bas à droite.
   Le masque les fait pâlir vers le bas de l'intro : sans lui, on verrait une
   ligne droite là où la section coupe le halo bleu. */
.hero__halos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
  mask-image: linear-gradient(to bottom, #000 65%, transparent);
}

.hero__halo--violet {
  width: 620px;
  height: 620px;
  left: -120px;
  top: -100px;
  background: rgba(139, 108, 255, .35);
}

.hero__halo--bleu {
  width: 560px;
  height: 560px;
  right: -140px;
  bottom: -120px;
  background: rgba(63, 208, 255, .25);
}

/* Les halos grossissent doucement en apparaissant. */
@keyframes blobFade {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: none; }
}

.blobIn {
  animation: blobFade 2.2s .6s var(--doux) both;
}

/* « PORTFOLIO — 2026 » à gauche et « ANGERS, FR » à droite, sous la barre de menu. */
.hero__mentions {
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  color: var(--gris);
  letter-spacing: .08em;
}

/* inline-block : un simple texte « en ligne » ne peut pas être déplacé par transform. */
.hero__mention,
.hero__mention .hero-fade {
  display: inline-block;
}

/* Apparition par le bas, avec un retard réglé sur chaque élément (--retard dans le HTML).
   « both » : avant de démarrer, l'élément est déjà dans l'état de départ (invisible),
   et à la fin il garde l'état d'arrivée. */
.up2 {
  animation: up 1s var(--doux) var(--retard, 0s) both;
}

/* La ligne irisée au centre : elle s'allonge de 0 à 100 %, puis s'épaissit,
   devient floue et disparaît (comme un flash de lumière qui s'étale). */
@keyframes lineDraw {
  0%   { transform: translate(-50%, -50%) scaleX(0); opacity: 1; }
  55%  { transform: translate(-50%, -50%) scaleX(1); opacity: 1; height: 2px; }
  100% { transform: translate(-50%, -50%) scaleX(1.2); opacity: 0; height: 140px; filter: blur(30px); }
}

.intro-line {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 70%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--bleu), var(--vert), var(--jaune), transparent);
  /* translate(-50 %, -50 %) : on recule de la moitié de sa taille pour être pile au centre.
     scaleX(0) : la ligne est invisible avant de se dessiner (et le reste sans animation). */
  transform: translate(-50%, -50%) scaleX(0);
  pointer-events: none;
  animation: lineDraw 1.3s .15s cubic-bezier(.7, 0, .2, 1) both;
}

/* L'éclair : une grosse lueur violette au centre qui s'allume puis s'éteint.
   opacity 0 de base : sans animation, il ne reste pas allumé. */
@keyframes flash {
  0%, 40% { opacity: 0; }
  55%     { opacity: .5; }
  100%    { opacity: 0; }
}

.intro-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(139, 108, 255, .35), transparent);
  opacity: 0;
  pointer-events: none;
  animation: flash 1.6s .4s ease both;
}

.hero__nom-boite {
  position: relative;
  padding: 0 24px;
  text-align: center;
}

/* Le nom en très grand. clamp(min, idéal, max) : 15 % de la largeur de l'écran,
   mais jamais moins de 72 px ni plus de 230 px.
   transform-origin : le point fixe quand le nom grossit au défilement (un peu au-dessus du milieu).
   perspective : donne de la profondeur aux lettres qui basculent en 3D. */
.hero__nom {
  position: relative;
  margin: 0;
  font-weight: 800;
  font-size: clamp(72px, 15vw, 230px);
  line-height: .86;
  letter-spacing: -0.06em;
  transform-origin: 50% 45%;
  perspective: 900px;
}

/* Une ligne par mot, sans jamais couper le mot. */
.hero__ligne {
  display: block;
  white-space: nowrap;
}

/* Chaque lettre arrive d'en dessous en basculant (rotateX), floue puis nette. */
@keyframes letterRise {
  from { opacity: 0; transform: translateY(60%) rotateX(-95deg) scale(1.15); filter: blur(14px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* Une lettre du nom : elle a son propre dégradé irisé.
   Deux animations à la fois, séparées par une virgule :
     1. letterRise : l'arrivée. Elle démarre à --debut + 0,07 s par lettre (effet « vague »).
     2. iri : le défilement des couleurs, en boucle. Le retard NÉGATIF (-0,35 s par lettre)
        fait démarrer chaque lettre plus loin dans le dégradé : les couleurs ondulent. */
.lt {
  display: inline-block;
  transform-origin: 50% 100%; /* elle bascule depuis sa base, comme une porte qui se lève */
  background: var(--degrade-iri);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    letterRise 1.1s cubic-bezier(.2, .9, .2, 1) calc(var(--debut) + var(--i) * .07s) both,
    iri 6s linear calc(var(--i) * -.35s) infinite;
}

/* Le reflet : une bande blanche en biais qui traverse le nom de droite à gauche.
   mix-blend-mode « overlay » : il éclaire les couleurs dessous au lieu de les cacher.
   background-position 150 % de base : la bande est hors du nom tant qu'elle ne bouge pas. */
@keyframes sweep {
  from { background-position: 150% 0; }
  to   { background-position: -50% 0; }
}

.sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%);
  background-size: 250% 100%;
  background-position: 150% 0;
  background-repeat: no-repeat;
  mix-blend-mode: overlay;
  animation: sweep 1.4s 2.1s ease-in-out both;
}

/* La phrase du bas de l'intro. */
.hero__sous {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  font-size: 17px;
  color: var(--texte-doux);
}

.hero__sous .hero-fade {
  display: block;
}

.hero__scroll {
  font-size: 13px;
  color: #7DE8FF;
}

/* Téléphone : mentions moins écartées du bord, phrase du bas un peu plus petite. */
@media (max-width: 600px) {
  .hero__mentions {
    padding: 0 20px;
  }

  .hero__sous {
    bottom: 56px;
    font-size: 15px;
  }
}


/* ---------- 9. La phrase d'accroche ---------- */
.accroche {
  display: flex;
  justify-content: center;
  padding: 60px 24px 40px;
}

.accroche__texte {
  max-width: 900px;
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}


/* ---------- 10. Les tuiles ----------
   Une grille « souple » (flex-wrap) : chaque tuile a une largeur idéale
   (flex-basis) et se partage la place. Sur un écran étroit, elles passent
   toutes seules les unes sous les autres, sans règle spéciale. */
.tuiles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* perspective : la profondeur de la scène 3D, pour l'arrivée en bascule et l'inclinaison. */
.tuiles__grille {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  perspective: 1200px;
}

/* La tuile de base (style de la maquette).
   La transition porte sur « rotate » : c'est la propriété que js/main.js change pour
   pencher la tuile vers la souris. On n'utilise pas « transform », déjà pris par
   l'animation d'arrivée au défilement : les deux se gêneraient. */
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--bord);
  background: var(--carte);
  transition: rotate .2s ease-out, border-color .3s ease;
}

.tile:hover {
  border-color: #3A3A46;
}

/* Contenu des tuiles : l'étiquette en haut, le texte en bas.
   min-width: 0 autorise la tuile à rétrécir sous sa largeur idéale (sinon elle déborde). */
.tuile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Tuile 1 (alternance) : deux fois plus large que les autres. */
.tuile--alternance {
  flex: 2 1 520px;
  min-height: 300px;
  padding: 36px;
}

/* Tuiles 3, 4 et 5 : trois par ligne sur grand écran. */
.tuile--petite {
  flex: 1 1 300px;
  min-height: 240px;
  padding: 32px;
}

/* Le halo violet dans le coin de la tuile « alternance ». */
.tuile__halo {
  width: 300px;
  height: 300px;
  right: -80px;
  top: -80px;
  filter: blur(70px);
  background: rgba(139, 108, 255, .25);
}

/* position: relative : le texte passe au-dessus du halo et du fond irisé. */
.tuile__etiquette,
.tuile__bas {
  position: relative;
}

.tuile__etiquette {
  color: var(--gris);
}

.tuile__titre-grand {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.tuile__titre {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.tuile__texte {
  margin: 0;
  color: var(--gris);
}

/* Tuile 4 : texte noir sur le fond irisé qui bouge. */
.tuile--chiffres {
  border: 0;
  color: var(--noir);
}

.tuile__fond {
  position: absolute;
  inset: 0;
}

.tuile__etiquette--fonce {
  color: var(--noir);
  font-weight: 600;
}

.tuile__nombre {
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.tuile__legende {
  margin: 6px 0 0;
  font-weight: 600;
}

/* La petite ligne discrète sous la légende (« Master Set et Mon Cœur · en test »).
   Plus petite et un peu transparente : on la lit en second. */
.tuile__precision {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  opacity: .75;
}

/* Tuile 5 : le badge rond, centré, avec « LP » au milieu. */
.tuile--badge {
  align-items: center;
  justify-content: center;
}

.tuile__lp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centré pile au milieu du cercle */
  font-weight: 800;
  font-size: 34px;
}

/* Téléphone : un peu moins de marge à l'intérieur des tuiles. */
@media (max-width: 600px) {
  .tuiles {
    padding: 40px 16px 80px;
  }

  .tuile--alternance,
  .tuile--petite {
    padding: 26px;
  }
}


/* ---------- 11. Le terminal ----------
   Une fausse fenêtre de terminal, mais les commandes marchent vraiment (js/main.js). */
.tuile--terminal {
  flex: 1 1 340px;
  min-width: 0;
  min-height: 300px;
  background: #0A0A0C;
  font-family: var(--police-mono);
  font-size: 13px;
}

/* La barre du haut : « terminal » à gauche, voyant vert à droite. */
.terminal__barre {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--bord);
  color: var(--gris);
  font-size: 11px;
}

.terminal__statut {
  color: var(--vert);
}

/* L'écran : hauteur fixe, on défile dedans quand il y a beaucoup de lignes.
   « cursor: text » : un clic n'importe où dans l'écran donne la main au champ. */
.terminal__ecran {
  height: 236px;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.6;
  cursor: text;
}

.terminal__lignes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* pre-wrap : on garde les retours à la ligne et les espaces des réponses.
   overflow-wrap: anywhere : une adresse e-mail trop longue passe à la ligne au lieu de déborder. */
.terminal__ligne {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Les trois couleurs de la maquette : la commande tapée (blanc),
   la réponse (gris) et les messages d'accueil (vert). */
.terminal__ligne--commande { color: var(--texte); }
.terminal__ligne--reponse  { color: var(--gris); }
.terminal__ligne--info     { color: var(--vert); }

.terminal__saisie {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.terminal__invite {
  color: var(--violet);
}

/* Le champ de saisie, sans cadre : on ne voit que le texte et le curseur bleu. */
.term-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--texte);
  font: inherit;
  caret-color: var(--bleu);
}

/* Le champ n'a pas de cadre : au clavier, c'est donc toute la ligne qui s'entoure
   quand il a le focus, pour qu'on voie bien où on tape. */
.terminal__saisie:has(.term-input:focus-visible) {
  outline: 2px solid var(--bleu);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Gris assez clair pour rester lisible sur le fond noir du terminal. */
.term-input::placeholder {
  color: #7A7A86;
}

/* Sur iPhone, un champ écrit en moins de 16 px fait zoomer toute la page quand
   on le touche. On passe donc à 16 px sur téléphone. */
@media (max-width: 760px) {
  .term-input {
    font-size: 16px;
  }
}


/* ---------- 12. Les titres de section ----------
   Les grands titres « Projets. », « Compétences. », « Parcours. » et « On en parle ? ». */
.titre-section {
  margin: 0;
  font-weight: 800;
  font-size: clamp(56px, 9vw, 130px);
  letter-spacing: -0.06em;
  line-height: .9;
}

/* Le titre et son petit texte d'explication, côte à côte (l'un sous l'autre sur téléphone). */
.section-tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 56px;
}

.section-tete__texte {
  max-width: 340px;
  margin: 0;
  color: var(--gris);
  line-height: 1.6;
}


/* ---------- 13. Les cartes projet ---------- */
.projets {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 160px;
}

.projets__liste {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Une carte : le texte à gauche, l'image à droite (l'un sous l'autre sur écran étroit). */
.pcard {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 540px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--bord);
  background: var(--carte);
}

/* Chaque carte a son fond, et sa hauteur d'arrêt quand elles s'empilent :
   100 px, 130 px, 160 px depuis le haut. Le décalage de 30 px laisse voir le haut
   de la carte précédente, comme une pile de fiches. (« top » ne sert que quand
   la carte est « collante », voir la partie 15.) */
.pcard--ms { top: 100px; }
.pcard--mc { top: 130px; background: #100B0D; }
.pcard--sm { top: 160px; background: #0A0F10; }

.pcard__texte {
  flex: 1 1 420px;
  min-width: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pcard__entete {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* La petite icône carrée du projet. */
.pcard__icone {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard__icone--image { border: 1px solid #2A2A33; }
.pcard__icone--mc    { background: var(--rouge); color: #FFFFFF; }
.pcard__icone--sm    { background: linear-gradient(145deg, var(--vert), var(--bleu)); color: var(--noir); }

/* L'étiquette « 01 / 03 — … », à la couleur de chaque projet. */
.pcard--ms .pcard__etiquette { color: var(--orange); }
.pcard--mc .pcard__etiquette { color: #FF8F94; }
.pcard--sm .pcard__etiquette { color: var(--vert); }

.pcard__titre {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.05em;
  line-height: .95;
}

.pcard__desc {
  max-width: 460px;
  margin: 0;
  color: var(--texte-doux);
  font-size: 18px;
  line-height: 1.6;
}

/* Les trois chiffres de Master Set. */
.pcard__chiffres {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 6px 0;
}

.pcard__nombre {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.pcard__legende {
  font-size: 12px;
  color: var(--gris);
}

/* Les pastilles de fonctionnalités (une vraie liste, sans les puces). */
.pcard__pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
  padding: 0;
  list-style: none;
}

.pastille {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.pcard--mc .pastille { background: #1F1416; color: #FFC2C4; }
.pcard--sm .pastille { background: #0F1D1E; color: #9FFFE0; }

/* Le badge « Projet réalisé en cours de BTS · … » avec son voyant vert qui clignote. */
.pcard__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(61, 255, 181, .45);
  background: rgba(61, 255, 181, .08);
  font-size: 13px;
  color: #9FFFE0;
}

.pcard__badge i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert);
  animation: blink 1.2s steps(1) infinite;
}

.pcard__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Le bouton « Voir le projet » (et les liens qui lui ressemblent).
   Le ::after est un reflet blanc caché à gauche ; au survol, il traverse le bouton. */
.more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--bord-clair);
  background: rgba(255, 255, 255, .04);
  color: var(--texte);
  font: 600 15px var(--police);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.more:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #4A4A58;
  color: var(--texte);
}

.more::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: translateX(-120%) skewX(-20deg);
}

@keyframes shine {
  from { transform: translateX(-120%) skewX(-20deg); }
  to   { transform: translateX(320%) skewX(-20deg); }
}

.more:hover::after {
  animation: shine .8s ease;
}

/* La partie image de la carte, avec un halo de la couleur du projet. */
.pcard__visuel {
  position: relative;
  flex: 1 1 380px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard__visuel--ms { background: radial-gradient(circle at 55% 45%, rgba(255, 138, 61, .32), transparent 62%); }
.pcard__visuel--mc { background: radial-gradient(circle at 50% 50%, rgba(232, 85, 90, .32), transparent 60%); }
.pcard__visuel--sm { background: radial-gradient(circle at 50% 50%, rgba(61, 255, 181, .2), transparent 60%); padding: 32px; }

/* L'éventail de captures Master Set : trois images posées l'une sur l'autre,
   celles des côtés tournées en 3D. Au survol de la carte, elles s'écartent. */
.fan {
  position: relative;
  width: 340px;
  height: 380px;
  perspective: 1100px;
}

.fan img {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 170px;
  margin-left: -85px; /* la moitié de la largeur : l'image est centrée */
  border-radius: 18px;
  border: 1px solid #2A2A33;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  transition: transform .6s var(--doux);
}

.fan .f1 { transform: translateX(-95px) rotateY(28deg) rotateZ(-6deg) scale(.88); }
.fan .f2 { transform: translateZ(40px); z-index: 2; } /* celle du milieu passe devant */
.fan .f3 { transform: translateX(95px) rotateY(-28deg) rotateZ(6deg) scale(.88); }

.pcard:hover .fan .f1 { transform: translateX(-140px) rotateY(18deg) rotateZ(-10deg) scale(.9); }
.pcard:hover .fan .f2 { transform: translateZ(80px) translateY(-10px); }
.pcard:hover .fan .f3 { transform: translateX(140px) rotateY(-18deg) rotateZ(10deg) scale(.9); }

/* Le téléphone Mon Cœur et sa petite légende. */
.pcard__telephone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pcard__masque {
  color: #C9A9AB;
}

/* L'illustration de la station météo. */
.pcard__figure {
  margin: 0;
}

.pcard__figure img {
  display: block;
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  border: 1px solid #1E2A2A;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
}

.pcard__figure figcaption {
  margin-top: 10px;
  font-size: 11px;
  color: #8A9696;
}

/* Téléphone : moins de marge dans les cartes, éventail un peu plus petit. */
@media (max-width: 760px) {
  .projets {
    padding: 20px 16px 100px;
  }

  .pcard__texte {
    padding: 28px;
  }

  .fan {
    transform: scale(.8);
  }
}


/* ---------- 14. Les écrans de l'appli Mon Cœur (contenus masqués) ----------
   Des écrans de l'appli redessinés en HTML et CSS, avec ses vraies couleurs
   et ses polices (Fraunces pour les titres, Outfit pour le texte).
   Tout ce qui est personnel est remplacé par des barres floues (« mk »). */

/* Le cadre du téléphone. */
.mcp {
  position: relative;
  width: 232px;
  height: 476px;
  overflow: hidden;
  border-radius: 36px;
  border: 7px solid #1B1416;
  background: #FFF6F5;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px #3A2A2D;
  font-family: Outfit, sans-serif;
  color: #2E1A1B;
  text-align: left;
}

/* Le téléphone de la carte projet est un peu tourné, pour le relief. */
.mcp--penche {
  transform: perspective(900px) rotateY(-14deg) rotateX(5deg);
}

.mcp-in {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 14px 0;
}

.mcp-entete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.mcp-coeur {
  color: var(--rouge);
}

.mcp-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: Fraunces, serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.1;
  color: #B43A3F;
}

/* Les petites étiquettes en capitales (« LE MOT DU JOUR »…). */
.mcp-lab {
  font-size: 8.5px;
  font-weight: 600;
  color: #B43A3F;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mcp-lab--blanc {
  color: #FFFFFF;
}

/* Le compteur « depuis qu'on est ensemble ». Les chiffres sont floutés. */
.mcp-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 20px;
  background: #B43A3F;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(180, 58, 63, .25);
}

.mcp-count__jours {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mcp-count__unite {
  font-weight: 600;
  font-size: 12px;
}

.mcp-det {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.mcp-det div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
}

.mcp-det b {
  font-family: Fraunces, serif;
  font-size: 14px;
  filter: blur(3px); /* chiffre masqué */
}

.mcp-det small {
  font-size: 8px;
  opacity: .85;
}

/* Les gros chiffres masqués (nombre de jours, chiffre du jour). */
.mk-num {
  font-family: Fraunces, serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  filter: blur(5px);
}

.mk-num--petit {
  font-size: 22px;
  color: #B43A3F;
}

/* Une carte blanche de l'appli. */
.mcp-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 6px 14px rgba(180, 58, 63, .14);
}

.mcp-card--chiffre {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #FDE2E3;
}

.mcp-card__texte {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Une barre floue qui remplace un texte personnel.
   Sa taille et sa teinte se règlent dans le HTML avec --largeur, --hauteur et --teinte
   (sinon : toute la largeur, 8 px de haut, rose pâle). Elle « respire » doucement. */
@keyframes mkPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .6; }
}

.mk {
  display: block;
  width: var(--largeur, 100%);
  height: var(--hauteur, 8px);
  border-radius: 6px;
  background: var(--teinte, #E9C9CB);
  filter: blur(.6px);
  animation: mkPulse 2.4s ease-in-out infinite;
}

/* La barre d'onglets sombre en bas de l'écran (l'onglet actif est rose). */
.mc-bar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 46px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 23px;
  background: #2E1A1B;
  font-size: 7.5px;
  color: #FFF6F5;
}

.mc-bar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: .8;
}

.mc-bar span i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1.5px solid currentColor;
}

.mc-bar span.on {
  color: #F49BA0;
  opacity: 1;
  font-weight: 600;
}


/* ---------- 15. Les gros boutons (« M'écrire », « Voir le site »…) ----------
   Des liens en forme de pilule. Chaque variante redonne sa couleur au survol :
   sans ça, la couleur des liens au survol (bleu clair) s'appliquerait, et un texte
   bleu clair sur un bouton blanc deviendrait illisible. */
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere; /* l'adresse e-mail passe à la ligne plutôt que de déborder */
  transition: transform .2s ease;
}

.cta:hover {
  transform: scale(1.04);
}

/* Blanc, texte noir (« M'écrire », l'adresse e-mail). */
.cta--plein,
.cta--plein:hover {
  background: #FFFFFF;
  color: var(--noir);
}

/* De la couleur du projet, texte noir (« Voir le site » dans l'en-tête de la fiche). */
.cta--projet,
.cta--projet:hover {
  background: var(--c);
  color: var(--noir);
}

/* Contour gris (LinkedIn, GitHub en bas de page). */
.cta--contour,
.cta--contour:hover {
  border: 1px solid var(--bord-clair);
  color: var(--texte);
}

/* Contour blanc transparent (boutons secondaires des fiches). */
.cta--contour-clair,
.cta--contour-clair:hover {
  border: 1px solid rgba(255, 255, 255, .35);
  color: #FFFFFF;
}

/* Un peu plus petit (dans l'en-tête des fiches). */
.cta--petit {
  min-height: 50px;
  padding: 0 22px;
}


/* ---------- 16. Les fiches projet : la fenêtre ----------
   La fiche est une fenêtre posée par-dessus la page (z-index 90 : au-dessus du menu,
   sous le cercle de la souris). C'est elle qui défile, pas la page. */

/* Quand une fiche est ouverte, js/main.js ajoute « fiche-ouverte » sur <html> :
   la page derrière ne peut plus défiler. */
html.fiche-ouverte {
  overflow: hidden;
}

/* Sans ça, la barre de défilement de la page disparaîtrait à l'ouverture d'une fiche
   et tout le site sauterait de 15 px sur le côté. « stable » lui garde sa place. */
html {
  scrollbar-gutter: stable;
}

/* overscroll-behavior : arrivé en bas de la fiche, le défilement ne « passe » pas à la page. */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* « display: flex » ci-dessus l'emporterait sur l'attribut hidden : on le remet. */
.overlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Le fond sombre et flouté derrière la fiche (un clic dessus la ferme). */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 6, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  animation: fadeIn .3s ease both;
}

/* La fiche arrive de dessous en se redressant, floue puis nette. */
@keyframes modalIn {
  from { opacity: 0; transform: perspective(1200px) rotateX(12deg) translateY(60px) scale(.94); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* La fiche. Ses couleurs viennent de trois variables, réglées par projet :
   --c (couleur principale), --c2 (deuxième halo) et --fond (fond de la fiche).
   overflow « clip » (et pas « hidden ») : les coins restent arrondis, sans gêner
   le bouton ✕ collant ni les apparitions au défilement (voir partie 18). */
.modal {
  position: relative;
  width: 100%;
  max-width: 1080px;
  border-radius: 32px;
  border: 1px solid #24242C;
  background: var(--fond);
  box-shadow: 0 60px 140px rgba(0, 0, 0, .7);
  overflow: hidden;
  overflow: clip;
  animation: modalIn .6s var(--doux) both;
}

.modal--ms { --c: var(--orange); --c2: var(--jaune);  --fond: #0B0B0E; }
.modal--mc { --c: var(--rouge);  --c2: var(--violet); --fond: #0E0A0C; }
.modal--sm { --c: var(--vert);   --c2: var(--bleu);   --fond: #080D0E; }

/* La barre du bouton ✕ : « sticky » (collante) et de hauteur nulle. Elle ne pousse
   rien, mais elle reste en haut de l'écran pendant qu'on fait défiler la fiche. */
.modal__barre {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 0;
  display: flex;
  justify-content: flex-end;
}

/* Le bouton ✕ : il tourne d'un quart de tour au survol. */
.close {
  flex: none;
  width: 48px;
  height: 48px;
  margin: 18px 18px 0 0;
  border-radius: 50%;
  border: 1px solid var(--bord-clair);
  background: rgba(20, 20, 24, .8);
  color: var(--texte);
  font-size: 20px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.close:hover {
  transform: rotate(90deg);
  background: #24242C;
}


/* ---------- 17. Les fiches projet : le contenu ---------- */

/* L'en-tête de la fiche : texte à gauche, visuel à droite. */
.mhero {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 72px clamp(24px, 4vw, 56px) 56px;
  overflow: hidden;
  perspective: 900px;
}

/* Les deux halos de l'en-tête, aux couleurs du projet. */
.maur {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .38;
  pointer-events: none;
}

.maur.a1 {
  left: -160px;
  top: -200px;
  background: var(--c);
  animation: blobA 14s ease-in-out infinite;
}

.maur.a2 {
  right: -180px;
  bottom: -260px;
  background: var(--c2);
  opacity: .28;
  animation: blobB 17s ease-in-out infinite;
}

/* Le sol quadrillé en perspective qui avance sans fin (comme une route vue de face).
   Le masque le fait disparaître vers le haut. */
@keyframes mfloor {
  to { background-position: 0 56px; }
}

.mfloor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -30px;
  height: 240px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(360px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
  animation: mfloor 2.2s linear infinite;
}

.mhero__texte {
  position: relative;
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mhero__eyebrow {
  color: var(--c);
}

.mhero__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mhero__visuel {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Le grand titre de la fiche : chaque mot arrive en basculant. */
.mtitle {
  margin: 0;
  font-weight: 800;
  font-size: clamp(44px, 6vw, 84px);
  line-height: .95;
  letter-spacing: -0.05em;
}

@keyframes mword {
  from { opacity: 0; transform: translateY(60%) rotateX(-85deg); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.mw {
  display: inline-block;
  transform-origin: 50% 100%;
  animation: mword .9s cubic-bezier(.2, .9, .2, 1) var(--retard, 0s) both;
}

.mtag {
  max-width: 460px;
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #C9C9D2;
}

/* Apparition par le bas à l'ouverture de la fiche, chacun à son tour (--retard). */
.m-in {
  animation: up .8s var(--doux) var(--retard, 0s) both;
}

/* Les trois captures de l'en-tête Master Set, en 3D. Elles s'écartent au survol. */
.cover {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 420px;
  perspective: 1100px;
}

.cover img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 190px;
  margin-left: -95px;
  border-radius: 20px;
  border: 1px solid #2A2A33;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
  transition: transform .6s var(--doux);
}

/* La capture de gauche flotte doucement. On anime « translate » et pas « transform » :
   transform sert déjà à la placer et à la tourner, une animation dessus l'effacerait. */
@keyframes flotte {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

.cover .cv1 { transform: translateX(-110px) rotateY(32deg) scale(.86); animation: flotte 7s ease-in-out infinite; }
.cover .cv2 { transform: translateZ(60px); z-index: 2; }
.cover .cv3 { transform: translateX(110px) rotateY(-32deg) scale(.86); }

.cover:hover .cv1 { transform: translateX(-150px) rotateY(18deg) rotateZ(-6deg) scale(.9); }
.cover:hover .cv3 { transform: translateX(150px) rotateY(-18deg) rotateZ(6deg) scale(.9); }

/* La bande des 4 chiffres, avec des traits entre eux. */
.mstats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--bord);
  border-bottom: 1px solid var(--bord);
}

.mstat {
  flex: 1 1 200px;
  padding: 26px clamp(24px, 4vw, 40px);
  border-right: 1px solid var(--bord);
}

.mstat:last-child {
  border-right: 0;
}

/* tabular-nums : tous les chiffres ont la même largeur, le nombre ne « tremble » pas
   pendant qu'il monte. */
.mstat-n {
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--c);
}

.mstat-l {
  margin-top: 6px;
  font-size: 13px;
  color: var(--gris);
}

/* Le corps de la fiche : les parties les unes sous les autres. */
.mbody {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: clamp(24px, 4vw, 56px);
}

/* Titre d'une partie (« Ce qu'il sait faire », « Sous le capot »…). */
.mh {
  margin: 0 0 22px;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
}

/* Le problème → ma solution : deux cartes et une flèche qui pousse vers la droite. */
.mps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
}

.mcard {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #24242C;
}

.mcard p {
  margin: 0;
  color: #D2D2DA;
  font-size: 17px;
  line-height: 1.65;
}

.mcard__etiquette {
  color: var(--gris);
}

/* La carte « Ma solution » : bordure et léger dégradé de la couleur du projet.
   color-mix mélange la couleur avec du transparent (40 % de couleur = bordure douce). */
.mcard--solution {
  border-color: color-mix(in srgb, var(--c) 40%, transparent);
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 8%, transparent), transparent 70%);
}

.mcard--solution .mcard__etiquette {
  color: var(--c);
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(8px); }
}

/* La flèche n'a pas l'apparition au défilement (« mv ») des autres blocs :
   un élément ne peut jouer qu'une liste d'animations, et « mv » remplacerait ce va-et-vient. */
.marrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 36px;
  color: var(--c);
  animation: nudge 1.6s ease-in-out infinite;
}

/* Sur écran étroit, les deux cartes sont l'une sous l'autre : la flèche pointe vers le bas.
   On utilise « rotate » (et pas transform, déjà pris par l'animation de la flèche). */
@media (max-width: 700px) {
  .marrow {
    rotate: 90deg;
  }
}

/* La grille des fonctionnalités. */
.fgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Une carte de fonctionnalité. Son ::before est un halo de couleur placé là où se trouve
   la souris (--mx, --my, mis à jour par js/main.js). Il n'apparaît qu'au survol.
   Au survol, la carte monte de 4 px avec « translate » : « transform » est déjà utilisé
   par l'apparition au défilement, qui l'emporterait. */
.fcard {
  position: relative;
  flex: 1 1 280px;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #22222A;
  background: #0F0F13;
  transition: translate .3s var(--doux), border-color .3s ease;
}

.fcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -50%), color-mix(in srgb, var(--c) 22%, transparent), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.fcard:hover {
  translate: 0 -4px;
  border-color: color-mix(in srgb, var(--c) 50%, transparent);
}

.fcard:hover::before {
  opacity: 1;
}

.fcard h4 {
  position: relative;
  margin: 16px 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.fcard p {
  position: relative;
  margin: 0;
  color: #A8A8B3;
  font-size: 15px;
  line-height: 1.55;
}

/* La carte du scanner prend toute la largeur : icône à gauche, texte à droite. */
.fcard--large {
  flex-basis: 100%;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.fcard--large h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.fcard--large p {
  max-width: 70ch; /* des lignes pas trop longues, plus faciles à lire */
}

/* La petite étiquette « EN TEST » à côté du titre. */
.fcard__statut {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  color: var(--c);
  font-size: 10px;
  letter-spacing: .08em;
}

/* La petite icône carrée, teintée de la couleur du projet. */
.ficon {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--c) 33%, transparent);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
}

/* Les 4 captures Master Set, tournées en éventail (« coverflow »). */
.coverflow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  perspective: 1200px;
}

.coverflow figure {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  transition: transform .5s var(--doux);
}

.coverflow figure:nth-child(1) { transform: rotateY(18deg); }
.coverflow figure:nth-child(2) { transform: rotateY(8deg); }
.coverflow figure:nth-child(3) { transform: rotateY(-8deg); }
.coverflow figure:nth-child(4) { transform: rotateY(-18deg); }
.coverflow figure:hover { transform: translateY(-12px) scale(1.06); }

.coverflow img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #24242C;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}

.coverflow figcaption {
  font-size: 12px;
  color: var(--gris);
}

.mbanniere {
  display: block;
  width: 100%;
  margin-top: 24px;
  border-radius: 22px;
  border: 1px solid #24242C;
}

/* Le schéma « Sous le capot » : des étapes reliées par des tuyaux où circulent des points. */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #22222A;
  background: #0D0D10;
}

.fnode {
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.fnode strong {
  font-size: 15px;
}

.fnode small {
  font-size: 12px;
  color: var(--gris);
}

/* Un tuyau : une ligne de la couleur du projet, qui s'efface à ses deux bouts.
   Largeur de départ 30 px : assez court pour que les 6 étapes de la Station Météo
   tiennent sur une ligne dans une fiche de taille normale. */
.fpipe {
  position: relative;
  flex: 1 1 30px;
  min-width: 24px;
  height: 2px;
  margin: 0 6px 40px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
}

/* Le point lumineux qui parcourt le tuyau de gauche à droite. */
@keyframes pk {
  from { left: 0; }
  to   { left: calc(100% - 10px); }
}

.fpipe i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
  animation: pk 1.8s linear infinite;
}

/* Le deuxième point fait le trajet retour (la donnée revient vers les autres). */
.fpipe i.rev {
  animation-direction: reverse;
  animation-delay: -.9s;
  opacity: .7;
}

/* Station Météo : le deuxième point va dans le même sens, avec un temps d'écart. */
.fpipe i.decale {
  animation-delay: -.8s;
}

/* Sur écran étroit, le schéma se lit de haut en bas : tuyaux verticaux.
   Le long schéma de la Station Météo (6 étapes, classe flow--long) passe à la verticale
   plus tôt : sinon, sur une tablette, sa dernière étape se retrouverait seule à la ligne. */
@keyframes pkVertical {
  from { top: 0; }
  to   { top: calc(100% - 10px); }
}

@media (max-width: 700px) {
  .flow {
    flex-direction: column;
    gap: 0;
  }

  .fpipe {
    flex: none;
    width: 2px;
    height: 44px;
    min-width: 0;
    margin: 8px 0;
    background: linear-gradient(180deg, transparent, var(--c), transparent);
  }

  .fpipe i {
    left: -4px;
    animation-name: pkVertical;
  }
}

@media (max-width: 1060px) {
  .flow--long {
    flex-direction: column;
    gap: 0;
  }

  .flow--long .fpipe {
    flex: none;
    width: 2px;
    height: 44px;
    min-width: 0;
    margin: 8px 0;
    background: linear-gradient(180deg, transparent, var(--c), transparent);
  }

  .flow--long .fpipe i {
    left: -4px;
    animation-name: pkVertical;
  }
}

/* Défis techniques à gauche, technos à droite. */
.mtwo {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.mtwo__gauche {
  flex: 3 1 420px;
  min-width: 0;
}

.mtwo__droite {
  flex: 2 1 260px;
  min-width: 0;
}

.mlist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mlist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Le numéro carré de chaque défi, de la couleur du projet. */
.mlist li > span {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c);
  color: var(--noir);
  font: 600 12px var(--police-mono);
}

.mlist strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.mlist p {
  margin: 0;
  color: #A8A8B3;
  line-height: 1.55;
}

/* Les pastilles des technos. */
.mchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mchip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 27%, transparent);
  background: #111116;
  font-size: 14px;
  transition: background .2s ease;
}

.mchip:hover {
  background: #1A1A22;
}

/* L'appel à l'action : un fond irisé, recouvert d'un fond uni 2 px plus petit.
   Résultat : il ne reste qu'une fine bordure irisée qui bouge. */
.mcta {
  position: relative;
  padding: 36px;
  overflow: hidden;
  border-radius: 26px;
}

.mcta__bord {
  position: absolute;
  inset: 0;
  opacity: .9;
}

.mcta__fond {
  position: absolute;
  inset: 2px;
  border-radius: 24px;
  background: var(--fond);
}

.mcta__contenu {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mcta__titre {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.mcta__texte {
  margin: 0;
  color: var(--texte-doux);
}

.mcta__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Téléphone : fiche presque plein écran, en-tête et captures plus compacts. */
@media (max-width: 600px) {
  .overlay {
    padding: 16px 8px;
  }

  .modal {
    border-radius: 24px;
  }

  .mhero {
    min-height: 0;
    padding-top: 80px; /* place pour le bouton ✕ */
  }

  .cover {
    height: 340px;
    transform: scale(.85);
  }

  /* Les 4 chiffres sur deux colonnes (au lieu d'un par ligne). */
  .mstat {
    flex: 1 1 50%;
    padding: 20px;
    border-bottom: 1px solid var(--bord);
  }

  .mstat:nth-child(2n) {
    border-right: 0;
  }

  /* Pas de trait sous la dernière ligne : la bande en a déjà un. */
  .mstat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .mstat-n {
    font-size: 34px;
  }

  /* Les captures deux par deux (9 px = la moitié de l'écart entre elles). */
  .coverflow figure {
    flex: 0 0 calc(50% - 9px);
  }

  /* La carte du scanner : l'icône au-dessus du texte, qui garde ainsi toute la largeur. */
  .fcard--large {
    flex-direction: column;
    gap: 0;
  }

  .fcard--large h4 {
    margin-top: 16px;
  }

  .mcta {
    padding: 26px;
  }
}


/* ---------- 18. La fiche Mon Cœur ---------- */

/* Les ondes qui partent du cœur : un cercle qui grandit en s'effaçant. */
@keyframes ring {
  from { transform: scale(.6); opacity: 1; }
  to   { transform: scale(1.7); opacity: 0; }
}

/* Le battement de cœur : deux petits coups, puis une pause. */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.12); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.08); }
}

.beat {
  animation: heartbeat 1.8s ease-in-out infinite;
}

.mc-stage {
  position: relative;
  width: 340px;
  max-width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-heart {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  background: var(--rouge);
  color: #FFFFFF; /* le cœur dessiné (currentColor) est blanc */
  box-shadow: 0 30px 80px rgba(232, 85, 90, .5);
}

.mc-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(232, 85, 90, .6);
  animation: ring 2.6s ease-out infinite;
}

/* La deuxième onde part à mi-chemin de la première. */
.mc-ring.r2 {
  animation-delay: 1.3s;
}

/* Les pastilles qui flottent autour du cœur, chacune à sa place et à son rythme. */
.mc-chip {
  position: absolute;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 85, 90, .45);
  background: rgba(30, 20, 24, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  color: #FFD3D5;
  white-space: nowrap;
}

.mc-chip--1 { top: 8%;     left: 2%; }
.mc-chip--2 { top: 14%;    right: 0;  animation-delay: -1.5s; }
.mc-chip--3 { bottom: 14%; left: 0;   animation-delay: -3s; }
.mc-chip--4 { bottom: 6%;  right: 6%; animation-delay: -4.5s; }

/* Les trois écrans côte à côte, ceux des bords tournés vers le centre. */
.mc-gal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  perspective: 1300px;
}

.mc-gal figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .5s var(--doux);
}

.mc-gal figure:nth-child(1) { transform: rotateY(14deg); }
.mc-gal figure:nth-child(2) { transform: translateY(-14px); }
.mc-gal figure:nth-child(3) { transform: rotateY(-14deg); }
.mc-gal figure:hover { transform: translateY(-20px) scale(1.04); }

.mc-gal figcaption {
  font: 12px var(--police-mono);
  color: #B49A9C;
}

.mc-gal__note {
  margin: 18px 0 0;
  text-align: center;
  color: #9A8A8C;
}

/* --- Détails des écrans (suite de la partie 14) --- */

.mcp-title--gauche {
  justify-content: flex-start;
}

/* Écran « Lettres » : la grande enveloppe rose, avec son rabat et son cachet. */
.mcp-big {
  position: relative;
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: #F49BA0;
  box-shadow: 0 8px 18px rgba(180, 58, 63, .2);
}

/* Le rabat : un triangle découpé avec clip-path. */
.mcp-big .r1 {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 56px;
  background: var(--rouge);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.mcp-big .cachet-big {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #B43A3F;
  color: #FFFFFF;
  animation: heartbeat 1.8s ease-in-out infinite;
}

.mcp-big .adr {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-family: Fraunces, serif;
  font-style: italic;
  font-size: 11px;
  color: #FFFFFF;
}

/* Les 6 petites enveloppes « à ouvrir quand… ». Leurs couleurs (--papier, --rabat)
   sont données dans le HTML. */
.mcp-envs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
}

.mcp-env {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.mcp-env .env {
  position: relative;
  width: 100%;
  height: 42px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--papier);
  box-shadow: 0 4px 10px rgba(180, 58, 63, .14);
}

.mcp-env .rabat {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  background: var(--rabat);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.mcp-env .cachet {
  position: absolute;
  left: 50%;
  top: 15px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #B43A3F;
  color: #FFFFFF;
}

/* Le bouton surprise de l'écran « Lettres ». */
.mcp-surprise {
  align-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--rouge);
  color: #B43A3F;
  font-size: 10px;
  font-weight: 600;
}

/* Écran « Humeur » : les couleurs des 6 humeurs de l'appli. */
.humeur--joyeux   { background: #FFC94D; }
.humeur--amoureux { background: #E8555A; }
.humeur--fatigue  { background: #A9B4E8; }
.humeur--stresse  { background: #F49B5C; }
.humeur--triste   { background: #8FB3D9; }
.humeur--enerve   { background: #D9534F; }

.mcp-ligne {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mcp-rond {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

/* La semaine : 7 petites barres de couleur, une par jour. */
.mcp-semaine {
  display: flex;
  gap: 4px;
}

.mcp-semaine i {
  flex: 1;
  height: 8px;
  border-radius: 4px;
}

.mcp-moods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mcp-mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 2px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(180, 58, 63, .1);
  font-size: 8.5px;
  font-weight: 500;
}

.mcp-mood i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* L'humeur choisie (la deuxième) est entourée de rouge. */
.mcp-mood:nth-child(2) {
  outline: 2px solid var(--rouge);
}

.mcp-card--fine {
  padding: 10px 12px;
}

.mcp-partager {
  padding: 9px;
  border-radius: 999px;
  background: var(--rouge);
  color: #FFFFFF;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}

/* Sur téléphone, les écrans sont les uns sous les autres : on les redresse. */
@media (max-width: 760px) {
  .mc-gal figure:nth-child(n) {
    transform: none;
  }

  .mc-chip {
    font-size: 12px;
    padding: 7px 11px;
  }
}


/* ---------- 19. La fiche Station Météo ---------- */

/* L'illustration et ses ondes radio vertes. */
.sm-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-ping {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(61, 255, 181, .55);
  animation: ring 3s ease-out infinite;
}

.sm-ping.p2 { animation-delay: 1s; }
.sm-ping.p3 { animation-delay: 2s; }

.sm-stage__image {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  border: 1px solid #1E2A2A;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}

/* La petite étiquette « LoRaWAN · envoi en cours » avec son voyant qui clignote. */
.sm-live {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(61, 255, 181, .4);
  background: rgba(5, 10, 10, .8);
  font: 12px var(--police-mono);
  color: #9FFFE0;
}

.sm-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert);
  box-shadow: 0 0 10px var(--vert);
  animation: blink 1s steps(1) infinite;
}

/* L'encadré « Un projet réalisé en cours ». */
.mnotice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(61, 255, 181, .4);
  background: linear-gradient(120deg, rgba(61, 255, 181, .1), transparent 70%);
}

.mnotice__icone {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--c);
  color: var(--noir);
  font-weight: 800;
}

.mnotice__titre {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.mnotice__texte {
  margin: 0;
  color: var(--texte-doux);
  line-height: 1.6;
}

/* Les 5 capteurs, chacun dans sa carte, avec une icône qui flotte. */
.sensors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sensor {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 12px;
  text-align: center;
  border-radius: 20px;
  border: 1px solid #1C2626;
  background: #0C1314;
  transition: transform .3s ease, border-color .3s ease;
}

.sensor:hover {
  transform: translateY(-6px);
  border-color: var(--vert);
}

.sensor span {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(61, 255, 181, .1);
  color: var(--vert);
  animation: floaty 5s ease-in-out infinite;
}

/* Chaque icône flotte avec un temps d'avance différent : elles ne bougent pas en même temps. */
.sensor:nth-child(2) span { animation-delay: -1s; }
.sensor:nth-child(3) span { animation-delay: -2s; }
.sensor:nth-child(4) span { animation-delay: -3s; }
.sensor:nth-child(5) span { animation-delay: -4s; }

.sensor small {
  font-size: 12px;
  color: #8A9A9A;
}

/* Le schéma d'architecture du sujet (fond blanc, comme dans le document d'origine). */
.marchitecture {
  margin: 28px 0 0;
}

.marchitecture img {
  display: block;
  width: 100%;
  max-width: 820px;
  border-radius: 20px;
  background: #FFFFFF;
}

.marchitecture figcaption {
  margin-top: 10px;
  color: #8A8A96;
}

/* Un titre de partie avec une étiquette à côté (« SIMULATION »). */
.mh--avec-etiquette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Le tableau de bord de démonstration : une tuile par mesure. */
.dash {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dtile {
  position: relative;
  flex: 1 1 170px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #1C2626;
  background: linear-gradient(160deg, #0E1718, #0A0F10);
}

/* La tuile « dernière trame » prend deux fois plus de place. */
.dtile.wide {
  flex: 2 1 360px;
  min-height: auto;
}

.dl {
  font-size: 11px;
  color: #8A9A9A;
}

.dv {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.04em;
  color: #E8FFF6;
}

.dv small {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  color: #8A9A9A;
}

/* Le thermomètre : un tube dont le liquide monte et descend un peu. */
@keyframes thermo {
  0%, 100% { height: 56%; }
  50%      { height: 62%; }
}

.thermo {
  position: relative;
  align-self: center;
  width: 16px;
  height: 70px;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #2A3A3A;
}

.thermo i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(var(--vert), var(--bleu));
  animation: thermo 4s ease-in-out infinite;
}

/* La jauge d'humidité : un cercle rempli à --v % (conic-gradient = dégradé en camembert). */
@keyframes spinIn {
  from { transform: rotate(-180deg) scale(.6); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.gauge {
  align-self: center;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--vert) calc(var(--v) * 1%), #1C2626 0);
  animation: spinIn 1.6s var(--doux) both;
}

/* Le trou au milieu de la jauge. */
.gauge span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #0B1213;
}

/* La boussole du vent : l'aiguille oscille autour du nord-ouest. */
@keyframes needle {
  0%, 100% { transform: rotate(-50deg); }
  50%      { transform: rotate(-30deg); }
}

.compass {
  position: relative;
  align-self: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid #2A3A3A;
}

.compass b {
  position: absolute;
  font: 600 10px var(--police-mono);
  color: #6E8080;
}

.compass__n { left: 37px; top: 3px; }
.compass__e { right: 6px; top: 35px; }
.compass__s { left: 38px; bottom: 3px; }
.compass__o { left: 6px;  top: 35px; }

.compass .needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 64px;
  margin: -32px 0 0 -2px;
  border-radius: 2px;
  background: linear-gradient(var(--vert) 50%, #2A3A3A 50%);
  animation: needle 3.5s ease-in-out infinite;
}

/* La pluie : 6 gouttes qui tombent en boucle, décalées dans le temps. */
@keyframes drop {
  from { transform: translateY(-10px); opacity: 0; }
  30%  { opacity: 1; }
  to   { transform: translateY(64px); opacity: 0; }
}

.rain {
  position: relative;
  align-self: center;
  width: 84px;
  height: 70px;
}

.rain i {
  position: absolute;
  top: 0;
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: var(--bleu);
  opacity: .9;
  animation: drop 1.1s linear infinite;
}

.rain i:nth-child(1) { left: 8%; }
.rain i:nth-child(2) { left: 24%; animation-delay: -.3s; }
.rain i:nth-child(3) { left: 40%; animation-delay: -.7s; }
.rain i:nth-child(4) { left: 56%; animation-delay: -.15s; }
.rain i:nth-child(5) { left: 72%; animation-delay: -.5s; }
.rain i:nth-child(6) { left: 88%; animation-delay: -.9s; }

/* Le soleil : des rayons (dégradé en étoile) qui tournent, estompés sur les bords par un masque. */
.sun {
  align-self: center;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 227, 110, .6) 0 6deg, transparent 6deg 30deg);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  animation: spin 14s linear infinite;
}

.sun span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--jaune);
  box-shadow: 0 0 30px var(--jaune);
}

/* La dernière trame LoRaWAN : trois lignes qui s'écrivent l'une après l'autre.
   Chaque ligne passe d'une largeur 0 à sa largeur pleine, par à-coups (« steps »),
   comme une machine à écrire. Sans animation, elles restent simplement entières. */
@keyframes type {
  from { width: 0; }
  to   { width: 100%; }
}

.frame {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 13px var(--police-mono);
}

.frame span {
  overflow: hidden;
  white-space: nowrap;
  animation: type 1s steps(30) both;
}

/* « .frame .fr1 » (deux classes) l'emporte sur « .frame span » : le retard
   n'est pas écrasé par la règle ci-dessus. Chaque ligne attend la précédente. */
.frame .fr1 { color: #8A9A9A; animation-delay: .6s; }
.frame .fr2 { color: var(--vert); font-size: 18px; letter-spacing: .08em; animation-delay: 1.7s; }
.frame .fr3 { color: #9FFFE0; animation-delay: 2.9s; }

/* La mention « Simulation » sous le tableau de bord. */
.msimulation {
  margin: 16px 0 0;
  text-align: center;
  color: #7E8A8A;
}

/* Le planning en frise : un trait en haut de chaque étape, vert quand elle est faite. */
.plan {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pstep {
  position: relative;
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 12px 0 0;
  border-top: 2px solid #1E2A2A;
}

.pstep i {
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #080D0E;
  background: #1E2A2A;
}

.pstep.done {
  border-top-color: var(--vert);
}

.pstep.done i {
  background: var(--vert);
  box-shadow: 0 0 14px var(--vert);
}

.pstep small {
  font-size: 12px;
  color: #8A9A9A;
}

/* Téléphone : les étapes du planning se lisent de haut en bas, avec un peu d'air. */
@media (max-width: 600px) {
  .pstep {
    flex-basis: 100%;
    padding-bottom: 22px;
  }

  .frame {
    font-size: 11px;
  }

  .frame .fr2 {
    font-size: 14px;
  }
}


/* ---------- 20. Les compétences (onglets) ---------- */

/* Titre de taille moyenne (Compétences, Parcours). */
.titre-section--moyen {
  margin-bottom: 48px;
  font-size: clamp(48px, 7vw, 100px);
}

.competences {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
}

/* Les onglets à gauche (1 part), le panneau à droite (3 parts).
   Sur écran étroit, les onglets passent au-dessus du panneau. */
.sk {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.sk-tabs {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Un onglet. Sa couleur (--c) est donnée dans le HTML. */
.sk-tab {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid var(--bord);
  background: var(--carte);
  color: #C9C9D2;
  font: 600 17px var(--police);
  text-align: left;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.sk-tab:hover {
  transform: translateX(6px);
  border-color: #3A3A46;
}

/* Le point de couleur, qui brille. */
.sk-tab .dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
  transition: transform .3s ease;
}

.sk-tab small {
  margin-left: auto; /* poussé tout à droite */
  font: 12px var(--police-mono);
  color: #7A7A86;
}

/* L'onglet choisi (aria-selected="true", mis à jour par js/main.js) : texte blanc,
   décalé vers la droite, point plus gros et bordure de sa couleur. Plusieurs
   indices à la fois : on ne compte pas seulement sur la couleur pour le repérer. */
.sk-tab[aria-selected="true"] {
  color: #FFFFFF;
  transform: translateX(10px);
  border-color: color-mix(in srgb, var(--c) 50%, transparent);
}

.sk-tab[aria-selected="true"] .dot {
  transform: scale(1.5);
}

/* Le panneau : un grand halo et un mot géant très pâle en fond. */
.sk-panel {
  position: relative;
  flex: 3 1 560px;
  min-width: 0;
  min-height: 440px;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--bord);
  background: #0B0B0E;
}

.sk-glow {
  position: absolute;
  right: -160px;
  top: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--c);
  filter: blur(90px);
  opacity: .3;
  animation: blobA 14s ease-in-out infinite;
}

.sk-word {
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-weight: 800;
  font-size: 150px;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
  color: var(--c);
  opacity: .06;
  pointer-events: none;
}

/* Le contenu d'un onglet peut recevoir le focus (tabindex="0") : on le montre
   par un contour arrondi plutôt que par le contour carré par défaut. */
.sk-contenu:focus-visible {
  outline-offset: 8px;
  border-radius: 12px;
}

.sk-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  animation: up .6s var(--doux) both;
}

.sk-head__etiquette {
  color: var(--c);
}

.sk-head__texte {
  color: var(--gris);
}

.sk-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  perspective: 1100px;
}

/* Une carte de compétence : elle arrive en pivotant (à chaque changement d'onglet,
   car le panneau réapparaît et l'animation recommence). Au survol, elle monte avec
   « translate » : « transform » est déjà pris par l'animation d'arrivée. */
@keyframes skIn {
  from { opacity: 0; transform: rotateY(-40deg) rotateX(12deg) translateZ(-120px) translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.sk-card {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
  background: rgba(18, 18, 24, .85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: skIn .7s cubic-bezier(.2, .9, .2, 1) var(--retard, 0s) both;
  transition: translate .3s ease, border-color .3s ease;
}

.sk-card:hover {
  translate: 0 -6px;
}

.sk-card__numero {
  color: var(--c);
}

.sk-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.sk-card p {
  margin: 0;
  color: #A8A8B3;
  font-size: 15px;
  line-height: 1.55;
}

/* « Utilisé dans » : les projets où la compétence sert vraiment, poussés en bas de la carte. */
.sk-used {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Texte tout petit : on le garde assez clair pour bien le lire. */
.sk-used__titre {
  font-size: 10px;
  letter-spacing: .08em;
  color: #8E8E9A;
}

.sk-used__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sk-used__liste li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #2A2A33;
  background: #16161C;
  font-size: 12px;
  color: #D2D2DA;
}

/* Téléphone : panneau plus compact, mot géant plus petit, onglets non décalés. */
@media (max-width: 600px) {
  .competences {
    padding: 80px 16px;
  }

  .sk-panel {
    min-height: 0;
    padding: 22px;
  }

  .sk-word {
    font-size: 90px;
  }

  .sk-tab:hover,
  .sk-tab[aria-selected="true"] {
    transform: none;
  }
}


/* ---------- 21. Le parcours (frise) ---------- */
.parcours {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.titre-section--parcours {
  margin-bottom: 64px;
}

.frise {
  position: relative;
}

/* La ligne verticale irisée qui relie les étapes (passe au centre des points). */
.tl-line {
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
}

.frise__liste {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-item {
  display: flex;
  gap: 20px;
}

/* Le point de chaque étape. L'ombre noire autour « coupe » la ligne : le point a l'air posé dessus. */
.tl-dot {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 5px var(--noir);
}

.frise__date {
  color: var(--gris);
}

.frise__titre {
  margin: 6px 0 4px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.frise__texte {
  margin: 0;
  color: var(--gris);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .parcours {
    padding: 60px 16px 40px;
  }

  .frise__titre {
    font-size: 20px;
  }
}


/* ---------- 22. Le contact (bas de page) ----------
   overflow « clip » : les mots du titre arrivent au défilement (voir partie 23). */
.contact {
  position: relative;
  padding: 160px 24px 60px;
  overflow: hidden;
  overflow: clip;
}

.contact__halo {
  left: 50%;
  top: 40px;
  width: 700px;
  height: 500px;
  margin-left: -350px; /* la moitié de la largeur : le halo est centré */
  background: rgba(139, 108, 255, .25);
}

.contact__contenu {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.contact__etiquette {
  color: var(--gris);
}

/* Le titre géant « On en parle ? ». */
.titre-section--geant {
  font-size: clamp(56px, 11vw, 170px);
  line-height: .88;
}

.contact__liens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact__copyright {
  margin: 80px 0 0;
  font-size: 13px;
  color: #7A7A86;
}

@media (max-width: 600px) {
  .contact {
    padding: 100px 16px 40px;
  }

  .contact__copyright {
    margin-top: 40px;
  }
}


/* ---------- 23. Les animations au défilement ----------
   Ces animations n'avancent pas avec le temps mais avec le défilement de la page :
   « animation-timeline: view() » relie l'animation à la position de l'élément dans l'écran.
   « animation-range » dit sur quelle portion du trajet elle se joue :
     entry = pendant que l'élément entre par le bas de l'écran ;
     exit  = pendant qu'il sort par le haut ;
     cover = tout le trajet, de son entrée à sa sortie.
   Tout est rangé dans @supports : seuls les navigateurs qui savent le faire l'appliquent.
   Les autres (et ceux qui demandent moins d'animations) affichent tout, normalement.
   Attention : « animation-timeline » doit être écrit APRÈS « animation »,
   sinon le raccourci « animation » le remettrait à zéro.
   Attention 2 : un parent en « overflow: hidden » casserait l'effet (il deviendrait
   la référence au lieu de la page). On utilise donc « overflow: clip » sur ces parents. */

/* Le nom : il grossit 2,6 fois, devient flou et disparaît en sortant par le haut. */
@keyframes zoomOut {
  0%   { transform: scale(1); opacity: 1; filter: blur(0); }
  100% { transform: scale(2.6); opacity: 0; filter: blur(10px); }
}

/* Les petites mentions de l'intro : elles remontent et s'effacent. */
@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-60px); }
}

/* La phrase d'accroche : elle grandit jusqu'à sa taille normale en apparaissant. */
@keyframes revealNext {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: none; }
}

/* Les tuiles (et les étapes du parcours) : elles arrivent d'en bas en basculant vers l'avant. */
@keyframes tileIn {
  from { opacity: 0; transform: perspective(1000px) rotateX(-40deg) translateY(120px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

/* Les mots des grands titres : ils arrivent de la gauche en pivotant comme une porte. */
@keyframes tiltWord {
  from { opacity: 0; transform: perspective(700px) rotateY(-50deg) translateX(-200px); }
  to   { opacity: 1; transform: none; }
}

/* Les cartes projet : elles se redressent en montant. */
@keyframes cardIn {
  from { opacity: 0; transform: perspective(1200px) rotateX(28deg) translateY(160px) scale(.88); }
  to   { opacity: 1; transform: none; }
}

/* Les blocs des fiches projet : même idée, en plus discret. */
@keyframes mvIn {
  from { opacity: 0; transform: perspective(1000px) rotateX(18deg) translateY(50px); }
  to   { opacity: 1; transform: none; }
}

/* La ligne du parcours : elle se « dessine » de haut en bas (agrandie de 0 à 100 %). */
@keyframes bar2 {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@supports (animation-timeline: view()) {
  .zoom {
    animation: zoomOut linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }

  .hero-fade {
    animation: fadeOut linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 70%;
  }

  .reveal-big {
    animation: revealNext linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }

  .tileIn {
    animation: tileIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }

  /* inline-block : un mot « en ligne » ne pourrait pas pivoter. */
  .tw {
    display: inline-block;
    animation: tiltWord linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .cardIn {
    animation: cardIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }

  /* Les cartes projet s'empilent (elles restent « collées » en haut, à la hauteur
     donnée par « top »). Seulement sur un écran assez grand dans les deux sens :
     une carte plus haute que l'écran resterait collée et on n'en verrait jamais le bas
     (c'est le cas sur téléphone, où le texte et l'image sont l'un sous l'autre). */
  @media (min-width: 900px) and (min-height: 700px) {
    .stack-card {
      position: sticky;
    }
  }

  /* Dans les fiches, c'est la fiche qui défile : les blocs apparaissent donc en
     suivant SON défilement. L'apparition finit quand le bloc est entré à 60 % :
     au-delà, le bas des fiches restait sombre (piège noté dans le brief). */
  .mv {
    animation: mvIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }

  /* La ligne du parcours grandit depuis le haut (transform-origin) pendant qu'on défile.
     Elle garde aussi son dégradé irisé qui bouge : deux animations, séparées par des
     virgules. La première suit le défilement, la seconde le temps (« auto »). */
  .tl-line {
    transform-origin: 50% 0;
    animation: bar2 linear both, iri 9s linear infinite;
    animation-timeline: view(), auto;
    animation-range: entry 10% cover 70%, normal;
  }

  .tl-item {
    animation: tileIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}


/* ---------- 24. Les animations réduites ----------
   Si la personne a demandé « moins d'animations » dans les réglages de son appareil,
   on coupe toutes les animations et transitions. Chaque élément garde alors son
   apparence finale (tout est visible tout de suite).
   « !important » : cette règle doit gagner contre toutes les autres.
   Elle reste en fin de fichier pour passer après tout le reste. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
