/* INTRASSUR — feuille de style unique, mobile d'abord, sans dépendance externe.
   Couleurs : charte graphique Intrassur (07 Charte graphique / 03 Couleurs).
   Effets au défilement : CSS uniquement (animation-timeline), sans JavaScript.
   Ils ne s'appliquent que si le navigateur les gère et si l'utilisateur n'a
   pas demandé à réduire les animations ; sinon le site s'affiche à l'identique, sans effet. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs primaires */
  --bleu: #2c4d88;
  --vert: #305636;
  --jaune: #f4c244;
  /* Couleurs de fond */
  --fond-logo: #e8edf2;
  --sombre: #3d3d3d;
  --fond-clair: #f2f2f2;
  /* Couleurs secondaires */
  --bleu-doux: #5671a0;
  --vert-doux: #7b9b83;
  --jaune-doux: #f5daa4;
  --bleu-pale: #abb8cf;
  /* Dérivées */
  --vert-fonce: #22402a;
  --encre: #1f2428;
  --texte: #3a4046;
  --texte-doux: #5b636b;
  --bord: #d9e0e7;
  --blanc: #ffffff;
  --ombre: 0 1px 2px rgb(31 36 40 / 0.06), 0 8px 24px rgb(44 77 136 / 0.08);
  --ombre-forte: 0 2px 4px rgb(31 36 40 / 0.06), 0 18px 40px rgb(44 77 136 / 0.16);
  --largeur: 72rem;
  --rayon: 0.75rem;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
  --police: "Montserrat", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--fond-logo);
  color: var(--texte);
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: clip;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--encre);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
}

h2 {
  font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--bleu);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--vert);
}

:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 2px;
}

address {
  font-style: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 30;
  padding: 0.6rem 1rem;
  background: var(--vert);
  color: var(--blanc);
  font-weight: 600;
  transform: translateY(-150%);
}

.lien-evitement:focus {
  transform: none;
  color: var(--blanc);
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 40rem) {
  .conteneur {
    padding-inline: 1.5rem;
  }
}

/* ---------- Fond de page : dégradé flou + trame discrète ----------
   Deux calques fixes derrière tout le contenu. Le dégradé glisse
   lentement au défilement (parallaxe) ; la trame dérive doucement. */

main::before,
main::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

main::before,
body::after {
  inset: -10vh -10vw auto;
  height: 220vh;
  filter: blur(40px);
}

/* Taches bleues */
main::before {
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, rgb(44 77 136 / 0.3), transparent 70%),
    radial-gradient(46vmax 46vmax at 65% 52%, rgb(171 184 207 / 0.6), transparent 70%);
}

/* Spots vert et jaune, sur leur propre calque pour dériver indépendamment */
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(34vmax 34vmax at 88% 22%, rgb(123 155 131 / 0.36), transparent 70%),
    radial-gradient(34vmax 34vmax at 18% 72%, rgb(245 218 164 / 0.55), transparent 70%),
    radial-gradient(40vmax 40vmax at 85% 92%, rgb(48 86 54 / 0.24), transparent 70%);
}

main::after {
  inset: 0;
  background-image: radial-gradient(circle, rgb(44 77 136 / 0.13) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 20%, transparent 80%);
}

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

.entete {
  position: relative;
  z-index: 20;
  background: rgb(255 255 255 / 0.9);
  border-bottom: 1px solid var(--bord);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.entete .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.entete__logo img {
  width: 150px;
  transition: transform 0.3s var(--courbe);
}

.entete__logo:hover img {
  transform: scale(1.03);
}

.navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation a {
  position: relative;
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--encre);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--courbe);
}

.navigation a:hover {
  color: var(--vert);
}

.navigation a:hover::after {
  transform: scaleX(1);
}

@media (min-width: 48rem) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .entete {
    position: sticky;
    top: 0;
  }

  .entete__logo img {
    width: 190px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: 4rem;
}

@media (min-width: 48rem) {
  .section {
    padding-block: 6rem;
  }
}

.section__titre::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.9rem;
  border-radius: 4px;
  background: var(--jaune);
  transform-origin: left;
}

.surtitre {
  margin-bottom: 2.75rem;
  color: var(--vert);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Bandeau d'accueil : animation du logo sur fond uni */

.bandeau {
  position: relative;
  padding-block: 1.5rem;
}

.bandeau__media {
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 1;
  margin-inline: auto;
  /* Fond de la vidéo fondu dans le bandeau : seules les parties plus foncées (le logo) ressortent */
  mix-blend-mode: darken;
}

.bandeau__statique {
  display: none;
}

@media (min-width: 48rem) {
  .bandeau {
    padding-block: 2.5rem;
  }
}

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

  .bandeau__video {
    display: none;
  }

  .bandeau__statique {
    display: block;
  }
}

/* Notre métier */

.cartes {
  display: grid;
  gap: 1.5rem;
}

.carte {
  position: relative;
  padding: 2rem 1.6rem 1.25rem;
  background: rgb(255 255 255 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  overflow: clip;
  transition: transform 0.4s var(--courbe), box-shadow 0.4s var(--courbe);
}

.carte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bleu);
}

.carte--vert::before {
  background: var(--vert);
}

.carte--jaune::before {
  background: var(--jaune);
}

.carte:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

/* Pictos : fichiers d'origine de la charte, jamais modifiés.
   Seules animations : apparition en fondu, puis léger flottement. */
.carte__picto {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.4rem;
  transition: scale 0.5s var(--courbe);
}

.carte:hover .carte__picto {
  scale: 1.08;
}

.carte p:last-child {
  color: var(--encre);
  font-weight: 600;
}

@media (min-width: 60rem) {
  .cartes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Notre mission : fond de cercles en parallaxe */

.mission {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background-color: var(--bleu);
  color: var(--blanc);
}

.mission::before {
  content: "";
  position: absolute;
  inset: -35% 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgb(44 77 136 / 0.9), rgb(44 77 136 / 0.78) 55%, rgb(48 86 54 / 0.85)),
    url("/assets/img/fond-parking.webp") center / cover no-repeat;
}

.mission h2 {
  color: var(--blanc);
}

.mission :focus-visible {
  outline-color: var(--jaune);
}

.mission__engagements {
  display: grid;
  gap: 1.5rem;
  max-width: 62rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.mission__engagements li {
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: rgb(255 255 255 / 0.93);
  border-left: 5px solid var(--jaune);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  box-shadow: var(--ombre);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--encre);
  font-size: 1.15rem;
  font-weight: 550;
  line-height: 1.55;
}

.mission__engagements li:nth-child(2) {
  border-left-color: var(--vert);
}

@media (min-width: 48rem) {
  .mission__engagements {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .mission__engagements li {
    font-size: 1.25rem;
  }
}

/* Qui sommes-nous ? (fond clair) */

.equipe-fond {
  background: transparent;
}

.equipe {
  display: grid;
  gap: 3.5rem;
  margin-top: 2.75rem;
}

/* Portrait : photo entière (cadrage d'origine), liseré vert fin décalé
   qui se dessine au défilement */
.portrait {
  --lisere: var(--vert);
  position: relative;
  width: min(100% - 14px, 20rem);
  margin: 14px 0 2rem 14px;
}

.portrait__cadre {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: clip;
  border-radius: 0.5rem;
  background: #4a4a4a;
  box-shadow: var(--ombre-forte);
}

.portrait__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.8s var(--courbe);
}

.portrait:hover .portrait__photo {
  transform: scale(1.04);
}

.portrait__lisere {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.portrait__lisere rect {
  fill: none;
  stroke: var(--lisere);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.portrait--grand {
  width: min(100% - 14px, 24rem);
}

.membre h3 a {
  text-decoration: none;
}

.membre h3 a:hover {
  text-decoration: underline;
}

@media (min-width: 52rem) {
  .equipe {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  /* Décalage vertical : les deux portraits ne sont pas alignés */
  .membre:nth-child(2) {
    margin-top: 6rem;
  }
}

/* Coordonnées (listes tel / e-mail) */

.coordonnees {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.coordonnees li {
  margin-bottom: 0.35rem;
}

.coordonnees a {
  font-weight: 600;
}

/* Bloc contact : pastilles de couleur comme sur les cartes de visite */
.contact .coordonnees li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 2.1rem;
}

.contact .coordonnees li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.4rem;
  height: 1.4rem;
  background: url("/assets/img/picto-bleu.svg") center / contain no-repeat;
}

.contact .coordonnees li:nth-child(2)::before {
  background-image: url("/assets/img/picto-jaune.svg");
}

.contact .coordonnees li:nth-child(3)::before {
  background-image: url("/assets/img/picto-vert.svg");
}

/* Boutons */

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.bouton {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--courbe), box-shadow 0.25s ease;
}

.bouton:hover {
  background: var(--bleu);
  border-color: var(--bleu);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(44 77 136 / 0.25);
}

.bouton--plein {
  background: var(--vert);
  border-color: var(--vert);
  color: var(--blanc);
}

.bouton--plein:hover {
  background: var(--vert-fonce);
  border-color: var(--vert-fonce);
  color: var(--blanc);
  box-shadow: 0 8px 18px rgb(48 86 54 / 0.3);
}

/* Contact */

.contact {
  background: transparent;
}

.contact__grille {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.75rem;
}

.contact__logo {
  width: 240px;
  margin-bottom: 1.5rem;
}

.contact address {
  margin-bottom: 1.25rem;
  color: var(--encre);
  font-weight: 550;
}

.carte-geo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--rayon);
  background: var(--fond-clair);
  box-shadow: var(--ombre-forte);
}

.carte-geo__legende {
  margin-top: 0.75rem;
  color: var(--texte-doux);
  font-size: 0.85rem;
}

@media (min-width: 52rem) {
  .contact__grille {
    grid-template-columns: 2fr 3fr;
    align-items: start;
  }
}

/* ---------- Pages équipe ---------- */

.fiche {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.fiche__texte {
  max-width: 40rem;
}

.retour {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--courbe), color 0.2s ease;
}

.retour:hover {
  transform: translateX(-4px);
}

@media (min-width: 48rem) {
  .fiche {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 3.5rem;
  }

  .fiche .portrait {
    position: sticky;
    top: 7rem;
  }
}

/* ---------- Pages de texte (mentions légales, 404) ---------- */

.texte-long {
  max-width: 46rem;
}

.texte-long h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.texte-long ul {
  padding-left: 1.25rem;
}

.texte-long li {
  margin-bottom: 0.35rem;
}

.texte-long li::marker {
  color: var(--jaune);
}

.a-completer {
  padding: 0 0.3em;
  background: #fff3c4;
  color: #6b4e00;
  font-weight: 600;
}

.erreur {
  margin-inline: auto;
  text-align: center;
}

.erreur img {
  width: 96px;
  margin: 0 auto 1.5rem;
}

.erreur .boutons {
  justify-content: center;
}

/* ---------- Pied de page ---------- */

.pied {
  position: relative;
  padding-block: 2rem;
  background: var(--vert-fonce);
  color: #e3ece6;
  font-size: 0.9rem;
}

.pied::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--jaune) 33.3% 66.6%, var(--vert-doux) 66.6%);
}

.pied .conteneur {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.pied p {
  margin: 0;
}

.pied a {
  color: var(--blanc);
}

.pied a:hover {
  color: var(--jaune);
}

.pied :focus-visible {
  outline-color: var(--jaune);
}

/* =====================================================================
   Effets au défilement (parallaxe, apparitions)
   Uniquement si le navigateur gère les animations liées au défilement
   et si l'utilisateur n'a pas demandé à réduire les animations.
   ===================================================================== */

@media (prefers-reduced-motion: no-preference) {
  /* Fond : respiration lente du dégradé et dérive de la trame */
  main::before {
    animation: fond-respire 24s ease-in-out infinite alternate;
  }

  main::after {
    animation: trame-derive 60s linear infinite;
  }

  body::after {
    animation: spots-derive 18s ease-in-out infinite alternate;
  }

  /* Pictos des cartes : léger flottement, décalé d'une carte à l'autre */
  .carte__picto {
    animation: picto-flotte 4s ease-in-out infinite alternate;
  }

  .carte:nth-child(2) .carte__picto {
    animation-delay: -1.3s;
  }

  .carte:nth-child(3) .carte__picto {
    animation-delay: -2.6s;
  }

  /* Liseré des portraits : léger mouvement continu */
  .portrait__lisere {
    animation: flotte 7s ease-in-out infinite alternate;
  }

  .equipe .membre:nth-child(2) .portrait__lisere {
    animation-delay: -3.5s;
  }

  /* Transition douce entre les pages */
  @view-transition {
    navigation: auto;
  }

  @supports (animation-timeline: view()) {
    /* Barre de progression de lecture, en haut de l'écran */
    body::before {
      content: "";
      position: fixed;
      inset: 0 0 auto;
      z-index: 40;
      height: 3px;
      background: linear-gradient(90deg, var(--bleu), var(--vert), var(--jaune));
      transform-origin: left;
      animation: progression linear both;
      animation-timeline: scroll(root);
      pointer-events: none;
    }

    /* Ombre de l'en-tête qui apparaît dès qu'on fait défiler */
    .entete {
      animation: entete-ombre linear both;
      animation-timeline: scroll(root);
      animation-range: 0 160px;
    }

    /* Bandeau : le logo s'éloigne, les arcs glissent à des vitesses différentes */
    .bandeau__media {
      animation: bandeau-sortie linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }

    /* Fond « Notre mission » et arc de « Qui sommes-nous ? » en parallaxe */
    .mission::before {
      animation: parallaxe-forte linear both;
      animation-timeline: view();
    }

    /* Le dégradé de fond glisse plus lentement que la page */
    main::before {
      animation: fond-defile linear both, fond-respire 24s ease-in-out infinite alternate;
      animation-timeline: scroll(root), auto;
    }

    body::after {
      animation: fond-defile linear both, spots-derive 18s ease-in-out infinite alternate;
      animation-timeline: scroll(root), auto;
    }



    /* Apparition progressive des blocs */
    .section__titre,
    .surtitre,
    .carte,
    .mission__engagements li,
    .membre h3,
    .membre p,
    .membre .coordonnees,
    .membre .boutons,
    .contact__grille > *,
    .fiche__texte > *,
    .texte-long > * {
      animation: apparition linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    .section__titre::after {
      animation: trait linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 35%;
    }

    /* Cartes « Notre métier » en cascade */
    .carte:nth-child(2) {
      animation-range: entry 10% entry 85%;
    }

    .carte:nth-child(3) {
      animation-range: entry 20% entry 100%;
    }

    /* Pictos : apparition en fondu avec un léger agrandissement */
    .carte__picto {
      animation: picto-flotte 4s ease-in-out infinite alternate, picto-apparition linear both;
      animation-timeline: auto, view();
      animation-range: normal, entry 0% entry 100%;
    }

    /* Engagements : arrivée depuis les côtés */
    .mission__engagements li:nth-child(1) {
      animation-name: depuis-gauche;
    }

    .mission__engagements li:nth-child(2) {
      animation-name: depuis-droite;
    }

    /* Portraits : la photo apparaît, puis le liseré se dessine */
    .portrait__cadre {
      animation: apparition linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }

    .portrait__photo {
      animation: portrait-zoom linear both;
      animation-timeline: view();
    }

    .portrait__lisere rect {
      animation: trace linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 50%;
    }

    .carte-geo {
      animation: apparition-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}

@keyframes progression {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes entete-ombre {
  from {
    box-shadow: 0 0 0 rgb(31 36 40 / 0);
  }

  to {
    box-shadow: 0 6px 24px rgb(31 36 40 / 0.1);
  }
}

@keyframes bandeau-sortie {
  to {
    opacity: 0.2;
    transform: translateY(18%) scale(0.88);
  }
}

@keyframes parallaxe {
  from {
    transform: translateY(-12%);
  }

  to {
    transform: translateY(12%);
  }
}

@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes depuis-gauche {
  from {
    opacity: 0;
    transform: translateX(-3rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes depuis-droite {
  from {
    opacity: 0;
    transform: translateX(3rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes trait {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes portrait-zoom {
  from {
    transform: scale(1.18);
  }

  to {
    transform: none;
  }
}

@keyframes trace {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes apparition-zoom {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flotte {
  0% {
    translate: 0 0;
  }

  50% {
    translate: 7px 4px;
  }

  100% {
    translate: 3px 9px;
  }
}

@keyframes parallaxe-forte {
  from {
    transform: translateY(-22%) scale(1.05);
  }

  to {
    transform: translateY(22%) scale(1.05);
  }
}

@keyframes fond-defile {
  to {
    transform: translateY(-110vh);
  }
}

@keyframes fond-respire {
  0% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: 3vw 2vh;
    scale: 1.06;
  }

  100% {
    translate: -2vw 4vh;
    scale: 1;
  }
}

@keyframes trame-derive {
  to {
    background-position: 52px 104px;
  }
}

@keyframes picto-flotte {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -5px;
  }
}

@keyframes picto-apparition {
  from {
    opacity: 0;
    scale: 0.7;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes spots-derive {
  0% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: -5vw 4vh;
    scale: 1.08;
  }

  100% {
    translate: 4vw -3vh;
    scale: 0.96;
  }
}
