
/* ==========================================================================
   COULEUR DE MARQUE
   La page comptait sept oranges : var(--sc-or), le mot-cle orange (var(--sc-or), plus
   rouge), var(--sc-or), var(--sc-or), darkorange, var(--sc-or-clair) et var(--sc-or-clair). La vraie couleur,
   var(--sc-or), ne servait qu'a la barre laterale. Tout passe par ces variables.

   --sc-or        aplats, icones, texte sur fond noir  (contraste 12,4 sur noir,
                  10,9 avec du texte sombre pose dessus)
   --sc-or-texte  meme teinte assombrie, pour l'orange EN TEXTE sur fond clair :
                  var(--sc-or) n'y donne que 1,7 de contraste, donc illisible.
   --sc-or-clair  eclats et survols
   ========================================================================== */
:root{
  --sc-or:       #FFBB00;
  --sc-or-texte: #966E00;
  --sc-or-clair: #FFC933;
}

/* ==========================================================================
   S@ch@ creation - styles des includes
   Chaque include portait son propre <style> : 27 blocs reinjectes dans le
   HTML a chaque page, jamais mis en cache. Ils sont rassembles ici, dans
   l'ordre ou les includes apparaissent sur la page, pour que la cascade
   reste identique. Charge APRES premium.css.
   ========================================================================== */

/* ===== retract_appel.php ===== */
/* Mêmes emplacements qu'avant : le bouton "couleurs" se place entre les deux */
.rc-btn{
  box-sizing: border-box;
  position: fixed;
  left: -4px;
  z-index: 100000;
  display: grid; place-items: center;
  width: 60px; height: 58.7px;
  padding: 0 6px 0 0;
  border: 1px solid rgba(255,255,255,.7);
  border-left: 0;
  border-radius: 0 100px 100px 0;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px -12px rgba(20,10,40,.55);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.rc-tel { top: 90px; }
.rc-mail{ top: 210px; }
.rc-btn:hover, .rc-btn:focus-visible{
  transform: translateX(6px);
  box-shadow: 0 16px 34px -12px rgba(255,45,135,.55);
  outline: none;
}
.rc-btn img{ width: 40px; height: 40px; position: relative; z-index: 1; }

/* Onde orange qui pulse derrière le téléphone */
.rc-ring{
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.rc-ring::before{
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,187,0,.8) 0%, rgba(255,187,0,0) 80%);
  animation: rcPulse 3s linear infinite;
}
@keyframes rcPulse{
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Fenêtre d'avertissement */
.rc-pop{
  position: fixed; inset: 0;
  z-index: 100001;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(13,11,20,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.rc-pop[hidden]{ display: none; }
.rc-pop-card{
  box-sizing: border-box;
  width: min(420px, 100%);
  padding: 26px 24px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
  font-family: 'Montserrat', Arial, sans-serif;
  color: #14111f;
  animation: rcIn .25s ease-out;
}
@keyframes rcIn{ from{ transform: translateY(12px) scale(.97); opacity: 0; } to{ transform: none; opacity: 1; } }
.rc-pop-card p{ margin: 0 0 20px; font-size: 16px; line-height: 1.6; }
.rc-pop-actions{ display: flex; justify-content: flex-end; gap: 10px; }
.rc-pop-actions button, .rc-pop-actions a{
  padding: 11px 20px;
  border-radius: 999px;
  font: 700 15px 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
}
.rc-pop-cancel{ border: 1px solid #ddd; background: #fff; color: #14111f; }
.rc-pop-ok{ border: 0; background: var(--sc-or); color: #14111f !important; }
.rc-pop-ok:hover{ background: var(--sc-or-clair); }

@media (prefers-reduced-motion: reduce){
  .rc-ring::before{ animation: none; }
}

/* ===== matrixeffect.php ===== */
/* body{background-color:#242424} retire : cette regle de matrixeffect.php
   s appliquait a TOUTES les pages depuis le regroupement, alors qu elles
   sont en noir pur. L accueil a son propre fond via body.sc-index. */
#canvas{
  position:fixed;
  top:0;
  left:0;
  z-index: 50555555;
  width: 100%;
  height: 1500px;
  position: cover;
  opacity: 0.9;

}

/* ===== classique.php ===== */
.background1 {
            transition: all 2s ease;
        }

        .text_color {
            transition: all 2s ease;
        }

        .filter {
            transition: all 2s ease;
        }

        .p_mono {
            font-family: 'Liberation Mono', monospace;
            transition: all 2s ease;
        }

        .d_none {
            display: none;
            transition: all 2s ease;
        }

          .justify {
            text-align: justify!important;
             transition: all 2s ease;
        }

        .f_size {
            font-size: 18px;
             transition: all 2s ease;
        }

/* ===== bonane.php ===== */
/* La famille "gold" (var(--sc-or) vieil or, #e7cd86) faisait double emploi avec
   la famille orange. Elle pointe desormais sur la couleur de marque. */
:root{
  --sc-gold:       var(--sc-or);
  --sc-gold-light: var(--sc-or-clair);
}
 
#images .seo-title{
  font-family:'Scarecrow', sans-serif;
  font-weight:800;
  font-size: clamp(30px, 6vw, 96px);
  line-height:1.15;
  margin: 24px 1% 8px;
  padding: 2.5% 1%;
  border-radius: 20px;
  display:inline-block;
  cursor: default;
 
  background: linear-gradient(to right, #0a1522 10%, var(--sc-gold) 50%, #0a1522 60%);
  background-size: 220% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: seo-shimmer 6s ease-in-out infinite;
}
 
#images .seo-icon{
  width: clamp(28px, 6vw, 72px);
  vertical-align: middle;
  margin: 0 6px;
}
 
#images .seo-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top: 18px;
  font-family:'Space Grotesk', sans-serif;
  font-weight:500;
  font-size:15px;
  color:#0a1522;
  background: linear-gradient(135deg, var(--sc-gold-light), var(--sc-gold));
  padding: 14px 26px;
  border-radius:3px;
  text-decoration:none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(201,162,39,0.2);
}
#images .seo-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,162,39,0.32);
}
 
@keyframes seo-shimmer{
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}
 
@media (prefers-reduced-motion: reduce){
  #images .seo-title{ animation:none; }
}

/* ===== meilleur_commercial.php ===== */
.sc-commercial{
  --sc-gold-text:  var(--sc-or-texte);
  --sc-gold-light: var(--sc-or-clair);
  --sc-gold:       var(--sc-or);
  --sc-ink: #16202b;
  --sc-gray: #6b7280;
  --sc-line: #e7e5e0;
  padding: 60px 6vw 70px;
  background: #ffffff;
  font-family:'Montserrat', sans-serif;
}
 
.sc-commercial-title{
  font-family:'Montserrat', sans-serif;
  font-weight:700;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height:1.3;
  color: var(--sc-ink);
  max-width: 18ch;
  margin: 0 auto 48px;
}
.sc-commercial-title em{
  font-style: italic;
  /* --sc-gold (var(--sc-or)) sur la carte blanche ne donne que 1,7 de contraste.
     --sc-gold-text est la variante assombrie prevue pour ce cas. */
  color: var(--sc-gold-text);
}
 
.sc-perks{
  display:flex;
  justify-content:center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.sc-perk{
  flex: 1 1 260px;
  max-width: 300px;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  padding: 28px 22px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(22,32,43,0.05);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sc-perk.sc-in{
  opacity: 1;
  transform: translateY(0);
}
.sc-perk p{
  color: var(--sc-gray);
  font-weight: 500;
  font-size: 15.5px;
  line-height:1.55;
  margin: 14px 0 0;
}
.sc-perk strong{
  color: var(--sc-ink);
}
 
.sc-perk-visual{
  position: relative;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.sc-salary-old{
  color: var(--sc-gray);
  position: relative;
}
.sc-salary-old::after{
  content:"";
  position:absolute;
  left:0; top:50%;
  width:0%;
  height: 2px;
  background: var(--sc-gold-text);
  transition: width 0.7s ease 0.3s;
}
.sc-perk.sc-in .sc-salary-old::after{
  width: 100%;
}
.sc-salary-new{
  color: var(--sc-gold-text);
  font-weight: 700;
  margin-left: 10px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
}
.sc-perk.sc-in .sc-salary-new{
  opacity: 1;
  transform: translateX(0);
}
 
.sc-perk-icon{
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--sc-gold);
  display:flex;
  align-items:center;
  justify-content:center;
}
.sc-perk-icon svg{ width: 32px; height: 32px; }
.sc-perk-icon.sc-spin svg{
  animation: sc-slow-spin 6s linear infinite;
}
 
.sc-new-feature{
  margin: 56px auto 0;
  max-width: 480px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}
.sc-new-badge{
  font-family:'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sc-ink);
  background: linear-gradient(135deg, var(--sc-gold-light), var(--sc-gold));
  padding: 5px 14px;
  border-radius: 20px;
  animation: sc-pulse 2.4s ease-in-out infinite;
}
.sc-phone-icon{
  color: var(--sc-gold);
  animation: sc-wiggle 3.2s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.sc-phone-icon svg{ width: 34px; height: 34px; }
.sc-new-feature p{
  color: var(--sc-gray);
  font-weight: 500;
  font-size: 16px;
  margin: 0;
}
.sc-new-feature strong{ color: var(--sc-ink); }
 
@keyframes sc-slow-spin{ to{ transform: rotate(360deg); } }
@keyframes sc-pulse{
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(201,162,39,0); }
}
@keyframes sc-wiggle{
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}
 
@media (prefers-reduced-motion: reduce){
  .sc-perk, .sc-salary-old::after, .sc-salary-new{ transition: none; }
  .sc-perk-icon.sc-spin svg, .sc-new-badge, .sc-phone-icon{ animation: none; }
}

/* ===== contact_index_secur.php ===== */
/* Style global */
    .tm-container {
        max-width: 800px;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .alert {
        /*text-align: center;
        font-size: 20px;
        background: #0E224B;
        padding: 12px;
        border-radius: 6px;
        color: white;
        margin-top: 25px;
        opacity: 1;
        width: 60%;
        margin-left: 20%;
        box-shadow: -1px 8px 26px 1px #000000;*/
    }

    .envoyer {
        background: var(--sc-or);
        padding: 5px;
        color: black;
    }

    .contact_input {
        font-size: 18px;
        color: var(--sc-or);
        font-weight: 800;
        width: 100%;
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #ddd;
        margin-bottom: 15px;
    }

    .contact_input:focus {
        border-color: #132D5F;
        outline: none;
    }

/* --------------------------------------------------------------------------
   BOUTONS CARTOON (.button-55)
   « Ouvrir le formulaire », « Infos », « Essayez Tetris », « Meme cela,
   cliquez »... Ils partagent tous cette classe.

   Habilles au langage de la creature : contour epais #2a1240, rayon
   elliptique, fond blanc a pois roses, Comic Neue. Le relief 3D d origine
   est conserve et renforce : l ombre dure passe de 9 a 16 px au survol,
   et le bouton retombe dans son ombre quand on l enfonce.
   -------------------------------------------------------------------------- */
.button-55{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:15px 30px;
    background-color:#fff;
    background-image:radial-gradient(rgba(255,111,174,.16) 1.1px, transparent 1.7px);
    background-size:8px 8px;
    color:#2a1240 !important;

    font-family:'Comic Neue','Comic Sans MS','Chalkboard SE',cursive;
    font-size:17px;
    font-weight:700;
    line-height:1.3;
    text-transform:none;
    letter-spacing:0;

    border:3px solid #2a1240;
    border-radius:34px / 28px;

    cursor:pointer;
    user-select:none;
    transform:rotate(-1deg);

    box-shadow:
        0 9px 0 #2a1240,
        0 14px 26px rgba(42,18,64,.30);

    transition:transform .16s cubic-bezier(.2,1.5,.4,1), box-shadow .16s ease;
    transform-origin:center;
}

.button-55 img{
    width:42px;
    transition:.25s;
}

.button-55:hover,
.button-55:focus-visible{
    transform:translateY(-7px) rotate(-1.8deg) scale(1.06);
    box-shadow:
        0 16px 0 #2a1240,
        0 26px 42px rgba(42,18,64,.42);
}

.button-55:focus-visible{ outline:3px solid var(--sc-or); outline-offset:5px; }

.button-55:hover img{
    transform:rotate(15deg) scale(1.2);
}

.button-55:active{
    transform:translateY(6px) rotate(-1deg) scale(.99);
    box-shadow:
        0 3px 0 #2a1240,
        0 5px 10px rgba(42,18,64,.25);
    transition-duration:.07s;
}

/* Sur fond noir, le contour sombre disparaitrait : on eclaircit le relief. */
html.sc-balai .button-55{
    border-color:#efefef;
    box-shadow:0 9px 0 rgba(255,255,255,.8), 0 14px 26px rgba(0,0,0,.5);
}
html.sc-balai .button-55:hover{
    box-shadow:0 16px 0 rgba(255,255,255,.85), 0 26px 42px rgba(0,0,0,.6);
}

@media (prefers-reduced-motion: reduce){
    .button-55, .button-55:hover, .button-55:active{ transform:none; }
    .button-55 img, .button-55:hover img{ transform:none; }
}

    #formulaireContainer {
        display: none;
    }.grecaptcha-badge {
    visibility: hidden !important;
}@keyframes cartoonBounce{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-4px);
    }
}

#ouvrirFormulaire{
    animation:cartoonBounce 1.8s infinite;
}

#ouvrirFormulaire:hover{
    animation:none;
}

/* ===== h2.php ===== */
body.sc-index h2 {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  body.sc-index h2.active {
    transform: translateY(0);
    opacity: 1;
  }
  .DowN {
    position: relative;
    transform: translateY(-150px);
    opacity: 0;
    transition: 1s all ease;
  }
  .DowN.active {
    transform: translateY(0);
    opacity: 1;
  }
  .LefT {
    position: relative;
    transform: translateX(-150px);
    opacity: 0;
    transition: 1s all ease;
  }
.LefT.active {
    transform: translateX(0);
    opacity: 1;
  }
.RighT {
    position: relative;
    transform: translateX(150px);
    opacity: 0;
    transition: 1s all ease;
  }
  .RighT.active {
    transform: translateX(0);
    opacity: 1;
  }

.ZooM {
  opacity: 0;
  transition: opacity 3s ease;
  transform: scale(0.01); /* Réduire la taille initiale pour simuler l'effet de zoom */
}

.ZooM.active {
  opacity: 1;
  transform: scale(1); /* Restaurer la taille normale pour l'effet de zoom */
  transition: 3s;
}

  .FadeIn {
    opacity: 0;
    transition: opacity 1s ease;
  }
  .FadeIn.active {
    opacity: 1;
  }

  @keyframes tada {
  0% {
    transform: scale(1);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}
/*verifier ceux la*/
.TadA.active {
  animation: tada 1s ease-in-out;
}

.RolliN {
  animation: rollIn 1.5s ease-out;
}

.RollouT {
  animation: rollOut 1.5s ease-in;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.BouncE {
  animation: bounce 1s infinite;
}

/* ===== ink.php ===== */
.banner{
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;

}

.colorink{color: black;}

.banner video{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner .ink-title{
	/* un div n'a pas les marges par defaut d'un h1 : on les reprend
	   pour que le bloc reste exactement a la meme hauteur */
	margin: 0.67em 0;
	
position: absolute;
	
top: 180px;
	left: 0;
	width: 100%;
	text-align: center;
	cursor: pointer;
	
	
	
	mix-blend-mode: screen;
}

/*.banner h1:hover{
	height:  100%;
	transition: 2000ms ease-in-out;
	font-size: 53px!important;
	margin-top: -30px;
}*/

.vid{
	width: 50%;
}

/* ===== hebergement.php ===== */
/* Les regles .button-55 de cet include (style « crayonne », police Neucha)
   ecrasaient le bouton 3D cartoon defini plus haut par contact_index_secur.php,
   simplement parce qu elles arrivaient apres dans la feuille. Elles sont
   retirees : un seul style de bouton pour tout le site.
   L ancien code est conserve dans includes/hebergement.php si besoin. */


/* ===== touchiframe.php ===== */
.fx-section{
  background: #fff;
  border-radius: 8px;
  padding: 26px 0 34px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.fx-title{
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  color: #000;
}

/* ---------- Consigne ---------- */
.fx-hint{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 22px;
  padding: 0 16px;
  color: #000;
  font-size: 18px;
  line-height: 1.35;
}
.fx-hint b{ color: var(--sc-or-texte); }   /* indice pose sur fond clair */
/* Mobile : on montre les flèches ; ordinateur : la souris */
.fx-hint-mouse{ display: none; }
@media (hover: hover) and (pointer: fine){
  .fx-hint-touch{ display: none; }
  .fx-hint-mouse{ display: flex; }
}

.fx-arrow{
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 2px var(--sc-or), 0 0 14px rgba(255,0,204,.55);
}
.fx-arrow svg{
  width: 24px; height: 24px;
  fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.fx-arrow-left svg { animation: fx-nudge-left 1.2s ease-in-out infinite; }
.fx-arrow-right svg{ animation: fx-nudge-right 1.2s ease-in-out infinite; }
@keyframes fx-nudge-left { 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(-5px); } }
@keyframes fx-nudge-right{ 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(5px); } }

/* Petite souris animée */
.fx-mouse{
  position: relative;
  flex: 0 0 auto;
  width: 26px; height: 40px;
  border: 3px solid #000;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(255,0,204,.45);
}
.fx-mouse::before{                     /* séparation des boutons */
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 2px; height: 13px; margin-left: -1px;
  background: #000;
}
.fx-mouse i{                           /* bouton gauche qui "clique" */
  position: absolute; left: 0; top: 0;
  width: 50%; height: 13px;
  border-radius: 11px 0 0 0;
  background: var(--sc-or);
  animation: fx-click 1.6s ease-in-out infinite;
}
.fx-mouse{ animation: fx-move 1.6s ease-in-out infinite; }
@keyframes fx-click{ 0%, 15%{ opacity: 0; } 25%, 85%{ opacity: 1; } 100%{ opacity: 0; } }
@keyframes fx-move { 0%, 25%{ transform: translateX(0); } 55%{ transform: translateX(14px); } 85%{ transform: translateX(-6px); } 100%{ transform: translateX(0); } }

/* ---------- Cadre néon animé ---------- */
.fx-frame{
  position: relative;
  width: 90%;
  max-width: 1100px;
  height: 550px;
  margin: 0 auto;
  padding: 4px;                          /* épaisseur de la bordure */
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 26px rgba(255,0,204,.35);
}
.fx-frame::before{                       /* dégradé qui tourne autour du cadre */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 200vmax; height: 200vmax;
  margin: -100vmax 0 0 -100vmax;
  z-index: -1;
  background: conic-gradient(#ff00cc, var(--sc-or), var(--sc-or-clair), #50bfe6, #9b5cff, #ff00cc);
  animation: fx-spin 6s linear infinite;
}
@keyframes fx-spin{ to{ transform: rotate(360deg); } }
.fx-frame iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  background: #000;
}

.fx-small{
  margin: 14px 16px 0;
  font-size: 13px;
  color: #777;
}
@media (hover: hover) and (pointer: fine){ .fx-small{ display: none; } }

@media (max-width: 600px){
  .fx-title{ font-size: 24px; }
  .fx-hint{ font-size: 16px; gap: 12px; }
  .fx-frame{ width: 94%; height: 480px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce){
  .fx-frame::before, .fx-arrow svg, .fx-mouse, .fx-mouse i{ animation: none; }
}

/* ===== party_index4.php ===== */
/* ==========================================================
   LE BOUTON
========================================================== */
.open_dance{
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin: 30px auto 60px;
  padding: 0 16px;
  
}

.btn_party{
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  width: min(560px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  padding: 18px 22px;
  border: 3px solid #fff;
  border-radius: 14px;
  background: #000;
  color: var(--sc-or);
  font-family: 'Bubblegum Sans', 'Arial Rounded MT Bold', sans-serif;
  font-size: 18px;
  line-height: 1.35;
  cursor: pointer;
  animation: sp-pulse 1.5s infinite;
  transition: transform .2s ease;
}
.btn_party:hover{ transform: translateY(-3px) scale(1.02); }
.btn_party .sp-btn-title{
  font-size: 34px; color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 14px #ff00cc, 0 0 28px #ff00cc;
}
.btn_party .sp-btn-sign{ font-size: 14px; color: var(--sc-or-clair); opacity: .85; }
@keyframes sp-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 0 0 0 rgba(255,187,0,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0), 0 0 0 22px rgba(255,187,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 0 0 0 rgba(255,187,0,0); }
}

/* Le survol garde le fond noir (annule le .button-55:hover orange du site) */
.open_dance .btn_party,
.open_dance .btn_party:hover,
.open_dance .btn_party:focus,
.open_dance .btn_party:active{
  background: #000 !important;
  background-image: none !important;
  color: var(--sc-or) !important;
  border: 3px solid #fff !important;
  border-radius: 14px !important;
  text-transform: none !important;
  font-weight: normal !important;
}
.open_dance .btn_party:hover{
  transform: translateY(-3px) scale(1.02) !important;
}
/* Quand la fête est lancée : bordure arc-en-ciel + le bouton danse */
.btn_party.dancing{
  animation: sp-btn-dance .46875s ease-in-out infinite alternate, sp-btn-rainbow 1.875s linear infinite;
}
@keyframes sp-btn-dance{
  from{ transform: rotate(-2deg) translateX(-6px); }
  to  { transform: rotate(2deg) translateX(6px); }
}
@keyframes sp-btn-rainbow{
  0%  { border-color: #ff00cc; box-shadow: 0 0 22px #ff00cc; }
  33% { border-color: #50bfe6; box-shadow: 0 0 22px #50bfe6; }
  66% { border-color: #ccff00; box-shadow: 0 0 22px #ccff00; }
  100%{ border-color: #ff00cc; box-shadow: 0 0 22px #ff00cc; }
}

/* Image des danseurs */
.je_dance.spin{ animation: sp-je-dance .46875s ease-in-out infinite alternate; }
@keyframes sp-je-dance{
  from{ transform: rotate(-10deg) translateY(0) scale(1); }
  to  { transform: rotate(10deg) translateY(-10px) scale(1.06); }
}

/* ==========================================================
   LA BOÎTE DE NUIT (calque par-dessus le site, non cliquable)
========================================================== */
.sp-club{
  --bass: 0;
  --kick: 0;
  position: fixed; inset: 0;
  z-index: 99990;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity .8s ease;
}
.sp-club.on{ opacity: 1; }
.sp-club > *{ position: absolute; }

/* Ambiance sombre */
.sp-tint{
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,0,60,.5), rgba(5,0,15,.76) 70%);
  opacity: calc(1 - var(--kick) * .15);
}
/* Halos colorés qui changent de teinte */
.sp-glow{
  inset: -20%;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,0,204,.45), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(80,191,230,.45), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(204,255,0,.3), transparent 45%);
  mix-blend-mode: screen;
  opacity: calc(.4 + var(--bass) * .35 + var(--kick) * .35);
  animation: sp-hue 7.5s linear infinite;
}
@keyframes sp-hue{ to{ filter: hue-rotate(360deg); } }

/* Reflets de la boule à facettes qui tournent sur les murs */
.sp-dots{
  left: 50%; top: 18%;
  width: 260vmax; height: 260vmax;
  margin: -130vmax 0 0 -130vmax;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1.6px, transparent 2.6px),
    radial-gradient(circle, rgba(255,110,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(80,191,230,.85) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(204,255,0,.7) 0 1.6px, transparent 2.6px);
  background-size: 70px 55px, 110px 95px, 150px 125px, 190px 160px;
  background-position: 0 0, 30px 20px, 60px 40px, 90px 70px;
  mix-blend-mode: screen;
  opacity: .85;
  animation: sp-rot 30s linear infinite;
  scale: calc(1 + var(--kick) * .04);
}
.sp-dots.sp-dots-2{ animation-duration: 52s; animation-direction: reverse; opacity: .5; background-size: 95px 75px, 140px 120px, 175px 150px, 230px 200px; }
@keyframes sp-rot{ to{ transform: rotate(360deg); } }

/* Projecteurs */
.sp-spot{
  top: -6vh;
  width: 46vw; max-width: 560px; height: 125vh;
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, var(--c), transparent 82%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: calc(.2 + var(--bass) * .2 + var(--kick) * .2);
  animation: sp-sweep var(--d) ease-in-out infinite alternate;
}
/* Lasers */
.sp-laser{
  top: -2vh;
  width: 2px; height: 145vh;
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, var(--c) 0%, transparent 88%);
  box-shadow: 0 0 8px 2px var(--c);
  mix-blend-mode: screen;
  opacity: .9;
  animation: sp-sweep var(--d) ease-in-out infinite alternate;
}
@keyframes sp-sweep{
  from{ transform: rotate(var(--a1)); }
  to  { transform: rotate(var(--a2)); }
}

/* Boule à facettes */
.sp-mirror{
  left: 50%; top: 0;
  transform: translate(-50%, -110%);
  transition: transform 1.6s cubic-bezier(.2,1.25,.4,1);
  text-align: center;
}
.sp-club.on .sp-mirror{ transform: translate(-50%, 0); }
.sp-string{ width: 2px; height: 7vh; margin: 0 auto; background: linear-gradient(#666, #ccc); }
.sp-globe{
  position: relative;
  width: min(130px, 26vw); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.95) 0 6%, transparent 26%),
    repeating-linear-gradient(0deg, rgba(20,20,40,.45) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(20,20,40,.45) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 40% 35%, #f4f4fb, #a3a3b8 55%, #4a4a5c);
  box-shadow:
    0 0 calc(25px + var(--bass) * 70px) rgba(255,255,255,.7),
    inset -12px -16px 30px rgba(0,0,0,.45);
  animation: sp-globe-spin 1.875s linear infinite;
  transform: scale(calc(1 + var(--kick) * .1));
}
.sp-globe::after{
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,0,204,.45), rgba(80,191,230,.45), rgba(204,255,0,.45), rgba(255,153,51,.45), rgba(255,0,204,.45));
  mix-blend-mode: overlay;
  animation: sp-rot 3s linear infinite;
}
@keyframes sp-globe-spin{
  to{ background-position: 0 0, 0 0, 24px 0, 0 0; }
}

/* Ampoules / boules lumineuses */
.sp-club .ball{
  position: absolute;
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c) 45%);
  box-shadow: 0 0 calc(var(--s) * .8) var(--c), 0 0 calc(var(--s) * 1.8) var(--c);
  opacity: var(--o);
  mix-blend-mode: screen;
  left: 0; top: 0;
  scale: calc(.8 + var(--kick) * .7);
  will-change: transform;
  transition: transform .34s cubic-bezier(.3,1.6,.5,1), background .25s, box-shadow .25s;
}

/* Enseigne néon */
.sp-neon{
  left: 50%; bottom: 112px;
  transform: translateX(-50%) scale(calc(1 + var(--kick) * .12));
  font: clamp(28px, 7vw, 64px)/1 'Bubblegum Sans', 'Arial Black', cursive;
  color: #fff;
  letter-spacing: 3px;
  white-space: nowrap;
  text-shadow: 0 0 6px #fff, 0 0 14px var(--neon, #ff00cc), 0 0 32px var(--neon, #ff00cc), 0 0 64px var(--neon, #ff00cc);
  animation: sp-flicker 3.75s infinite;
}
@keyframes sp-flicker{
  0%, 19%, 22%, 62%, 64%, 100% { opacity: 1; }
  20%, 63%                     { opacity: .35; }
}

/* Égaliseur */
.sp-eq{
  left: 0; right: 0; bottom: 0;
  height: 96px;
  display: flex; align-items: flex-end; gap: 3px;
  padding: 0 6px;
  opacity: .9;
}
.sp-eq i{
  flex: 1; height: 100%;
  transform-origin: bottom;
  transform: scaleY(.05);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, #ff00cc, var(--sc-or-clair) 60%, #ccff00);
  box-shadow: 0 0 10px rgba(255,0,204,.6);
}

/* Confettis */
.sp-confetti{
  top: -20px;
  width: 8px; height: 14px;
  background: var(--c);
  border-radius: 2px;
  animation: sp-fall var(--d) linear forwards;
}
@keyframes sp-fall{
  to{ transform: translate(var(--x), 112vh) rotate(var(--r)); }
}

/* Flash sur le temps fort (doux, limité à 2 par seconde max) */
.sp-flash{
  inset: 0;
  background: #fff;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity .2s ease-out;
}

/* Stroboscope "jour / nuit" :
   NUIT = écran noir, JOUR = flash blanc franc, en rythme avec la musique */
.sp-night{
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity .25s ease;
}
.sp-club.sp-strobing .sp-night{ opacity: .92; }
.sp-strobe{
  inset: 0;
  background: #fff;
  opacity: 0;
}
.sp-strobe.hit{ opacity: .9; }

/* Textes après le strobo */
.sp-caption{
  left: 50%; top: 42%;
  width: min(92vw, 1000px);
  transform: translate(-50%, -50%);
  text-align: center;
  font: clamp(30px, 6.5vw, 76px)/1.1 'Bubblegum Sans', 'Arial Black', cursive;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #fff, 0 0 20px #ff00cc, 0 0 44px #ff00cc, 0 0 80px #50bfe6;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.sp-caption.show{ opacity: 1; transition: opacity .35s ease; }
.sp-caption.pop{ animation: sp-cap-pop .45s cubic-bezier(.2,1.5,.4,1); }
@keyframes sp-cap-pop{
  from{ transform: translate(-50%, -50%) scale(.6); }
  to  { transform: translate(-50%, -50%) scale(1); }
}

/* Bouton pour arrêter la fête */
.sp-stop{
  right: 16px; bottom: 108px;
  pointer-events: auto;
  padding: 10px 16px;
  border: 2px solid #fff;
  border-radius: 30px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font: 18px 'Bubblegum Sans', sans-serif;
  cursor: pointer;
  box-shadow: 0 0 14px #ff00cc;
}
.sp-stop:hover{ background: #ff00cc; }

@media (max-width: 600px){
  .sp-neon{ bottom: 104px; }
  .sp-stop{ bottom: auto; top: 12px; right: 12px; font-size: 15px; }
  .sp-eq{ height: 70px; }
}

/* ==========================================================
   MODE LÉGER (téléphones / appareils modestes)
   Pas de mélanges de couleurs ni de flous : ce sont eux qui font ramer
========================================================== */
.sp-club.sp-lite .sp-extra{ display: none !important; }
.sp-club.sp-lite *{ mix-blend-mode: normal !important; }
.sp-club.sp-lite .sp-tint{ background: rgba(10,0,25,.7); opacity: 1; transition: opacity .14s; }
.sp-club.sp-lite.sp-kick .sp-tint{ opacity: .82; }
.sp-club.sp-lite .sp-glow{ animation: none; opacity: .18; }
.sp-club.sp-lite .sp-dots{ width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax; opacity: .55; scale: 1; will-change: transform; }
.sp-club.sp-lite .sp-spot{ filter: none; opacity: .16; will-change: transform; }
.sp-club.sp-lite .sp-laser{ box-shadow: none; width: 3px; opacity: .75; will-change: transform; }
.sp-club.sp-lite .sp-globe{ animation-duration: 3.75s; box-shadow: 0 0 30px rgba(255,255,255,.6); transform: none; transition: transform .14s; }
.sp-club.sp-lite.sp-kick .sp-globe{ transform: scale(1.08); }
.sp-club.sp-lite .sp-globe::after{ display: none; }
.sp-club.sp-lite .sp-neon{ animation: none; transform: translateX(-50%); text-shadow: 0 0 4px #fff, 0 0 14px var(--neon, #ff00cc); transition: transform .14s; }
.sp-club.sp-lite.sp-kick .sp-neon{ transform: translateX(-50%) scale(1.1); }
.sp-club.sp-lite .ball{ scale: 1; box-shadow: 0 0 10px var(--c); }
.sp-club.sp-lite .sp-eq i{ box-shadow: none; }

/* Moins d'effets pour les personnes sensibles aux animations */
@media (prefers-reduced-motion: reduce){
  .sp-laser, .sp-spot, .sp-dots, .sp-neon{ animation-duration: 30s !important; }
  .sp-flash, .sp-confetti, .sp-strobe{ display: none !important; }
  .btn_party.dancing, .je_dance.spin{ animation: none; }
}

/* ===== sign.php ===== */
@import url('https://fonts.cdnfonts.com/css/scarecrow');

/* ===== 3d_scroll.php ===== */
#d3ds, #d3ds * { box-sizing: border-box; }
#d3ds {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  --orange: var(--sc-or);
}
#d3ds .sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

#box3dd {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 16px 32px;
  background: black;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: -1px 8px 26px 1px #000;
}

/* ---------- Anneau 3D ---------- */
#d3ds .containerAA {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
#d3ds .boxAAA {
  transform-style: preserve-3d;
  animation: d3dsSpin 25s linear infinite;
}
@keyframes d3dsSpin {
  0%   { transform: perspective(1000px) rotateX(0deg)   rotate(25deg); }
  100% { transform: perspective(1000px) rotateX(360deg) rotate(25deg); }
}
#d3ds .boxAAA span {
  position: absolute;
  color: #fff;
  font-size: 2em;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 900;
  padding: 0 10px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.5), transparent);
  line-height: .76em;
  transform-style: preserve-3d;
  text-shadow: 0 5px 15px rgba(0,0,0,.25);
  transform: translate(-50%, -50%) rotateX(calc(var(--i) * 22.5deg)) translateZ(106px);
}
#d3ds .boxAAA span i { font-style: normal; }
#d3ds .boxAAA .eur { color: var(--orange); margin-left: 2px; }
#d3ds .boxAAA .sm  { font-size: .55em; letter-spacing: .08em; vertical-align: middle; }
/* les lignes 3490 en orange léger pour bien les distinguer */
#d3ds .boxAAA span:nth-child(even) { color: #ffd9a0; }

/* ---------- Barre des offres ---------- */
#d3ds .tiersAA {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 760px;
  position: relative;
  z-index: 2;
}
#d3ds .tiersAA li {
  text-align: center;
  padding: 16px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#d3ds .tiersAA li.star {
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(255,187,0,.25);
}
#d3ds .tiersAA small {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72em;
  opacity: .7;
}
#d3ds .tiersAA strong {
  font-size: 1.6em;
  font-weight: 900;
  line-height: 1.1;
}
#d3ds .tiersAA strong em { font-style: normal; color: var(--orange); margin-left: 2px; }
#d3ds .tiersAA li > span { font-size: .8em; opacity: .75; }
#d3ds .tiersAA .upto { display: block; font-size: .45em; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }

#d3ds .ctaAA {
  margin-top: 18px;
  position: relative;
  z-index: 2;
  color: #000;
  background: var(--orange);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
}
#d3ds .ctaAA:hover { filter: brightness(1.1); }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  #d3ds .boxAAA span { font-size: 1.5em; }
  #d3ds .containerAA { min-height: 300px; }
  #d3ds .tiersAA { grid-template-columns: 1fr; }
  #d3ds .tiersAA li { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; flex-wrap: wrap; }
  #d3ds .tiersAA li > span { width: 100%; }
}

/* Respect des réglages "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  #d3ds .boxAAA { animation-duration: 120s; }
}

/* ===== balaye.php ===== */
@keyframes textclip {
   to {
     background-position: 200% center;
  }
}

/* ===== referencement.php ===== */
.edu {
  color: #61677C;
  font-weight: bold;
  box-shadow: -5px -5px 20px #FFF, 5px 5px 20px #BABECC;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  font-weight: 600;
  width: 110px!important;
}
button.edu {
  border-radius: 8px;
  line-height: 0;
  width: 68px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 8px;
  font-size: 19.2px;
}
button.icon {
  margin-right: 8px;
}
button.edu .icon{
  margin-right: 0;
}

/* ===== accordeon.php ===== */
.accordion {
      width: 100%;
      max-width: 1200px;
      margin: 20px auto;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 8px;
    }

    .accordion-item {
      border-bottom: 1px solid #ccc;
    }

    .accordion-item:last-child {
      border-bottom: none;
    }

    .accordion-title {
      background-color: #f2f2f2;
      padding: 15px;
      font-size: 22px;
      cursor: pointer;
      position: relative;
      color: black;
      font-weight: 800;
    }

    .accordion-title:hover {
      background-color: #ddd;
    }

    .accordion-content {
      display: none;
      padding: 15px;
      background-color: #fff;
      font-size: 16px;
    }
.accordion-content p{
      font-size: 18px;color: black;
    }
    .accordion-title::after {
      content: '+';
      font-size: 24px;
      position: absolute;
      right: 20px;
    }

    .accordion-item.active .accordion-title::after {
      content: '-';
    }

    .accordion-item.active .accordion-content {
      display: block;
    }

/* ===== seo2.php ===== */
.btn-wrapper2 {
	 
	 top: calc(50% - 22px);
	 left: 0;
	 width: 100%;
	 text-align: center;
}
 .btn2 {
	 display: inline-block;
	 box-shadow: none;
	 appearance: none;
	 border: 0;
	 outline: 0;
	 background-color: #00f0a8;
	 height: 45px;
	 line-height: 42px;
	 padding: 0 30px;
	 font-size: 20px;
	 border-radius: 30px;
	 color: #282d32;
	 cursor: pointer;
	 transition: all 0.5s;
	 transition-timing-function: cubic-bezier(0.2, 3, 0.4, 1);
	 user-select: none;
}
 .btn2:hover {
	 transform: scale(1.1, 1.1);
}
 .btn2:active {
	 transform: scale(1.05, 1.05);
}
body.sc-index, html:has(body.sc-index) {
	 width: 100%;
	 height: 100%;
}
#boxbout{
	 background-color: transparent;
	 background-image: radial-gradient(circle, transparent, #afb5bf), linear-gradient(transparent, ,#D2D5D8);
	 display: flex;
	 align-items: center;
	 justify-content: center;
}
 .tyrez {
	 background-color: black;
	 width: 150px;
	 height: 195px;
	 box-tyrezuuop: 0 0 10px 2px rgba(0, 0, 0, 0.2), 0 0 1px 2px black, inset 0 2px 2px -2px white, inset 0 0 2px 15px #47434c, inset 0 0 2px 22px black;
	 border-radius: 5px;
	 padding: 20px;
	 perspective: 700px;
}
 .tyrez input {
	 display: none;
}
 .tyrez input:checked + .tyrezuu {
	 transform: translateZ(20px) rotateX(25deg);
	 box-tyrezuuop: 0 -10px 20px #ff1818;
}
 .tyrez input:checked + .tyrezuu .light {
	 animation: flicker 0.2s infinite 0.3s;
}
 .tyrez input:checked + .tyrezuu .shine {
	 opacity: 1;
}
 .tyrez input:checked + .tyrezuu .tyrezuuop {
	 opacity: 0;
}
 .tyrez .tyrezuu {
	 transition: all 0.3s cubic-bezier(1, 0, 1, 1);
	 transform-origin: center center -20px;
	 transform: translateZ(20px) rotateX(-25deg);
	 transform-style: preserve-3d;
	 background-color: #9b0621;
	 width: 100%;
	 height: 100%;
	 position: relative;
	 cursor: pointer;
	 background: linear-gradient(#980000 0%, #6f0000 30%, #6f0000 70%, #980000 100%);
	 background-repeat: no-repeat;

}
 .tyrez .tyrezuu::before {
	 content: "";
	 background: linear-gradient(rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0.3) 30%, #650000 75%, #320000) 50% 50% / 97% 97%, #b10000;
	 background-repeat: no-repeat;
	 width: 100%;
	 height: 50px;
	 transform-origin: top;
	 transform: rotateX(-90deg);
	 position: absolute;
	 top: 0;
	 margin-left: -53px;
}
 .tyrez .tyrezuu::after {
 	margin-left: -53px;
	 content: "";
	 background-image: linear-gradient(#650000, #320000);
	 width: 100%;
	 height: 50px;
	 transform-origin: top;
	 transform: translateY(50px) rotateX(-90deg);
	 position: absolute;
	 bottom: 0;
	 box-tyrezuuop: 0 50px 8px 0px black, 0 80px 20px 0px rgba(0, 0, 0, 0.5);
}
 .tyrez .light {
	 opacity: 0;
	 animation: light-off 1s;
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 background-image: radial-gradient(var(--sc-or-clair), #ff1818 40%, transparent 70%);
}
 .tyrez .dots {
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 background-image: radial-gradient(transparent 30%, rgba(101, 0, 0, 0.7) 70%);
	 background-size: 10px 10px;
}
 .tyrez .characters {
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 background: linear-gradient(white, white) 50% 20% / 5% 20%, radial-gradient(circle, transparent 50%, white 52%, white 70%, transparent 72%) 50% 80% / 33% 25%;
	 background-repeat: no-repeat;
}
 .tyrez .shine {
	 transition: all 0.3s cubic-bezier(1, 0, 1, 1);
	 opacity: 0.3;
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 background: linear-gradient(white, transparent 3%) 50% 50% / 97% 97%, linear-gradient(rgba(255, 255, 255, 0.5), transparent 50%, transparent 80%, rgba(255, 255, 255, 0.5)) 50% 50% / 97% 97%;
	 background-repeat: no-repeat;
}
 .tyrez .tyrezuuop {
	 transition: all 0.3s cubic-bezier(1, 0, 1, 1);
	 opacity: 1;
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 background: linear-gradient(transparent 70%, rgba(0, 0, 0, 0.8));
	 background-repeat: no-repeat;
}
 @keyframes flicker {
	 0% {
		 opacity: 1;
	}
	 80% {
		 opacity: 0.8;
	}
	 100% {
		 opacity: 1;
	}
}
 @keyframes light-off {
	 0% {
		 opacity: 1;
	}
	 80% {
		 opacity: 0;
	}
}

/* ===== parafull.php ===== */
/** {
    margin: 0;
    padding: 0;
}*/

#wrapper {
    position: relative;
    overflow: hidden;
    background: #182431;
}

#wrapper.active {
    background: url("images/back_boom.jpg");
    background-size: cover;
    background-position: center;
}

/* === Text & Button === */
#footsc {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: #2c3e50;
    display: block;
}

#footsc.active {
    display: none;
}

/*#footsc h2 {
    color: #fff;
    font-family: 'Special Elite', cursive;
    font-size: 2em;
    width: 100%;
    text-align: center;
    letter-spacing: 2px;
    margin-top: 25px;
}*/

#footsc .ie {
    color: #7897fd;
}

#ieImg {
    width: 130px;
    opacity: .5;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    user-select: none;
}

#ieImg.active {
    opacity:0;
}

/* I took the button design from: https://codepen.io/kennethweber/pen/loHtG */
.btnpush {
    height: 130px;
    width: 300px;
    transform: translateX(-50%) scale(.7);
    position: absolute;
    bottom: 46px;
    left: 50%;
}

.btnpush div {
    position: absolute;
    transition: all .2s;
}

.btnpush #floor {
    height: 50px;
    width: 300px;
    background: #506e8d;
    border-radius: 50%;
    margin-top: 80px;
}

.btnpush #top {
    background: #e74c3c;
    height: 40px;
    width: 250px;
    border-radius: 50%;
    z-index: 3;
    margin-left: 25px;
}

.btnpush #bottom {
    background: #c0392b;
    height: 40px;
    width: 250px;
    border-radius: 50%;
    margin-top: 80px;
    margin-left: 25px;
    z-index: 2;
}

.btnpush #body {
    background: #c0392b;
    width: 250px;
    border-radius: 0;
    margin-left: 25px;
    height: 80px;
    margin-top: 20px;
    z-index: 2;
}

.btnpush:hover {
    cursor: pointer;
}

.btnpush:hover #floor {
    background: #95a5a6;
}

.btnpush:hover #top {
    background: #e35e50;
}

.btnpush .top-click {
    margin-top: 40px;
}

.btnpush .body-click {
    height: 40px !important;
    margin-top: 60px !important;
}


/* === Red and Blue Light === */
.alertRed,
.alertBlue  {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: background .5s;
}

.alertRed.active {
    z-index: 4;
    animation: pulse-bg-red 1.5s .2s;
}



@keyframes pulse-bg-red {
    0% { background-color: #ff2d2d; }
    50% { background-color: #c93e3e; }
    100% { background-color: transparent; }
}

.alertBlue.active {
    z-index: 4;
    animation: pulse-bg-blue 2s forwards;
}

@keyframes pulse-bg-blue {
    0% { background-color: #3b5672;}
    50% { background-color: #182431;}
    100% { background-color: transparent; z-index: -1}
}


/* === Handwriting effect === */
#svg {
    width: 100%;
    height: 100vh;
    display: block;
    transform: scale(.8);
    pointer-events: none;
}
#sacha,
#thank,
#y,
#ou {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 14px;
    opacity: 0;
}
#sacha,
#thank {
    stroke: #182838;
    stroke-dasharray: 2244;
    stroke-dashoffset: 2244;
}

#thank.active {
    animation: handwritingAnimation 3s 1.2s linear forwards;
}

#sacha.active {
    animation: handwritingAnimation 3s 1.2s linear forwards;
}

#y {
    stroke: #ff2d2d;
    stroke-dasharray: 767;
    stroke-dashoffset: 767;
}

#y.active {
    animation: handwritingAnimation .5s 4.2s linear forwards;
}

#ou {
    stroke: #182838;
    stroke-dasharray: 504;
    stroke-dashoffset: 504;
}

#ou.active {
    animation: handwritingAnimation 1s 4.7s linear forwards;
}

@keyframes handwritingAnimation {
    0% { opacity: 1;}
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* ===== minigame.php ===== */
.card_container {
  position: relative;
  margin: 1px auto;
  padding: 3px;
  width: 3.5em;
  height: 2.5em;
  line-height: 12em;
  z-index: 1;
}
.card_container {
  -moz-perspective: 1000;
  -webkit-perspective: 1000;
  perspective: 1000;
}
.card {
  background-color: #68c39f;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  box-shadow: 0.5px 2.5px #ccc;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transition: all .25s linear;
  -webkit-transition: all .25s linear;
  transition: all .25s linear;
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden; 
}
.flip .card{
  -moz-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden; 
}
.face.back {
  display: block;
  color: white;
  font-size: 7.5em;
  background-color: var(--sc-or-clair);
  border-radius: 3px;
  -moz-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cntr table {
  margin: 0px auto;   /* limite au mini-jeu : debordait sur les autres pages */
}

.timer {
  display: block;
  margin: 10px auto;
  position: relative;
  width: 150px;
  height: 50px;
  line-height: 50px;
  background-color: #fff;
  border-radius: 25px;
  border: 2px solid #1abc9c;
  font-size: 22px;
  text-align: center;
  color: #999;
}

.startbtn {
  display: block;
  margin: 10px auto;
  position: relative;
  text-align: center;
}

.critical {
  color: red;
}

.cntr {
  margin: 15px auto;
}

.points {
  position: absolute;
}

/* ===== zoom.html ===== */
/* import url('https://fonts.googleapis.com/css?family=Oswald:700'); retire : police utilisee par aucune page, et un @import bloque le rendu puis se met en file derriere la feuille qui le contient. */
/* import url('https://fonts.googleapis.com/css?family=Rubik'); retire : police utilisee par aucune page, et un @import bloque le rendu puis se met en file derriere la feuille qui le contient. */



#rotate-words {

  margin:auto;
  padding:20% 0;
  font-size:2.2em;
  text-transform:uppercase;
  font-family: 'Montserrat', sans-serif;
  background-color: black;
  height: 180px;
 
}

#rotate-words span {
  display:block;
  height:150px;
  font-size:.7em;
  text-transform:lowercase;
  opacity:.8;
  font-family: 'Montserrat', sans-serif;
}

#rotate-words div {
  margin-top: -50px;

  text-align: center;
 position:absolute;
 opacity:0;
 overflow:hidden;
 left:10%;
 width:80%;
 right: 10%;
 line-height:1.2em;
 animation: rotate-word 32s linear infinite 0s;
}

@keyframes rotate-word {
    0% { opacity: 0;  transform: translateX(0);filter:blur(10px);transform:scale(1.2)}
    3% { opacity: 1;  transform: translateX(0);filter:blur(0px);transform:scale(.9)}
    12% { opacity: 1; transform: translateX(0);filter:blur(0px);transform:scale(1)}
    16% { opacity: 0; transform: translateX(0);filter:blur(10px);transform:scale(1.2)}
    80% { opacity: 0}
    100% { opacity: 0}
}

#rotate-words div:nth-child(2) { animation-delay: 4s}
#rotate-words div:nth-child(3) { animation-delay: 8s}
#rotate-words div:nth-child(4) { animation-delay: 12s}
#rotate-words div:nth-child(5) { animation-delay: 16s}
#rotate-words div:nth-child(6) { animation-delay: 20s}
#rotate-words div:nth-child(7) { animation-delay: 24s}
#rotate-words div:nth-child(8) { animation-delay: 28s}

@keyframes author {
    0% { opacity: 0;  transform: translateY(100px);filter:blur(10px);transform: scaleY(2)}
    20% { opacity:0; transform: translateY(200px);filter:blur(10px); transform: scaleY(2)}
    30% { opacity:1; transform: translateY(0);filter:blur(0px);transform: scaleY(1)}
    90% { opacity:1; transform: translateY(0);filter:blur(0px);transform: scaleY(.9)}
    100% { opacity:0; transform: translateY(0);filter:blur(10px);transform: scale(2)}
}



Resources

/* ===== glitch.php ===== */
#sacrea{
 
   margin-top: -2px;
    display: grid;
    place-items: center;
    color: white;
    font-family: sans-serif;
}

.glitch{
    font-size: 6rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;

    text-shadow: 
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);

    animation: glitch 500ms infinite;
}

.glitch span{
    position: absolute;
    top: 0;
    left: 0;
}

.glitch span:first-child{
    animation: glitch 650ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-.05em, -0.0125em);
    opacity: 0.8;
}
.glitch span:last-child{
    animation: glitch 375ms infinite;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    transform: translate(0.0125em, 0.025em);
    opacity: 0.8;
}

@keyframes glitch{
    0%{
        text-shadow: 
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
        -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); 
    }
    14%{
        text-shadow: 
        0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
        -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); 
    }
    15%{
        text-shadow: 
        -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
        0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
        -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); 
    }
    49%{
        text-shadow: 
        -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
        0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
        -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); 
    }
    50%{
        text-shadow: 
        0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
        0.05em 0 0 rgba(0, 255, 0, 0.75),
        0 -0.05em 0 rgba(0, 0, 255, 0.75); 
    }
    99%{
        text-shadow: 
        0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
        0.05em 0 0 rgba(0, 255, 0, 0.75),
        0 -0.05em 0 rgba(0, 0, 255, 0.75); 
    }
    100%{
        text-shadow: 
        -0.025em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); 
    }
}

@media (prefers-reduced-motion: reduce) {
    *,::before, ::after{
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important; 
    }
}

/* ===== erreur_reculage_contact.html ===== */


/* ===== montre.php ===== */
/*@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap");*/

/** {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	width: 100vw;
	height: 100vh;
	background: black;
}

body{
	height: 100%;
}
ATTENTION : tout le bloc ci-dessus est inerte depuis l origine.
Le commentaire ouvert plus haut, a la ligne qui commence par une
etoile suivie d une accolade, n a jamais ete referme : le reset
universel et les regles html et body de la demo montre.php sont
donc restes en commentaire. On les laisse tels quels, les activer
changerait l apparence de toutes les pages.
Note : ne JAMAIS ecrire la sequence de fermeture de commentaire
dans ce texte, elle refermerait le bloc ici et le CSS de la montre
qui suit serait lu comme du charabia puis ignore. */

.clockContainer {
	height: 300px;
	/*width: 300px;*/
	border-radius: 50%;
	position: relative;
	transform: rotate(-9.5deg);
	color: transparent;
}

.clockContainer::before {
	position: absolute;
	content: "";
	right: -4px;
	top: 114px;
	width: 81px;
	height: 66px;
	border-radius: 38%;
	border: 2px solid transparent;
	filter: blur(0.4px);
	z-index: 99;
	color: transparent;

}

.clock-hand {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
	transform-origin: center center;
	transform: rotate(0deg);
	filter: contrast(120%);
}
.clock-hand > div {
	left: 50%;
	bottom: 50%;
	transform: translateX(-50%);
	position: absolute;
}
.hand {
	position: relative;
}

/* centerizer */
/* .hand::after {
	content: "";
	position: absolute;
	width: 2px;
	height: 2px;
	background: green;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) translateY(1px);
} */

.hand img {
	width: 100%;
	object-fit: cover;
	image-rendering: high-quality;
}

.second-hand {
	margin: 0 auto;
	height: 51.6%;
	width: 28.501px;
}

.minute-hand {
	margin: 0 auto;
	height: 50.3%;
	width: 27.05px;
}

.hour-hand {
	margin: 0 auto;
	height: 33.7%;
	width: 40px;
}

.date-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 40px;
	position: absolute;
	right: 4.9%;
	top: 42.9%;
	z-index: -1;
}

.date {
	font-family: "K2D", sans-serif;
	font-size: 35px;
	line-height: 0.9;
	color: rgb(30, 30, 30);
	filter: blur(0.5px);
	margin-right: -270px;
	margin-bottom: -5px;
}

.signature {
	padding: 1em 1em;
	font-family: "Permanent Marker", cursive;
	text-align: center;
	font-size: 3rem;
	letter-spacing: -0.1em;
}

/* ===== vitre.php ===== */
#vitreCanvas{
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 2147483000;
  pointer-events: none;
  touch-action: manipulation;
  opacity: 1;
}
#vitreCanvas.armed{ pointer-events: auto; cursor: crosshair; }
#vitreCanvas.healing{ transition: opacity 1.4s ease, filter 1.4s ease; opacity: 0; filter: blur(3px) brightness(1.6); }
#vitreCanvas.shake{ animation: vitreShake .22s linear; }
@keyframes vitreShake{
  0%,100%{ transform: translate(0,0); }
  20%{ transform: translate(-3px, 2px); }
  40%{ transform: translate(3px, -2px); }
  60%{ transform: translate(-2px, -1px); }
  80%{ transform: translate(2px, 1px); }
}
#vitreHint{
  position: fixed; left: 50%; top: 50%;
  z-index: 2147483001;
  transform: translate(-50%, -50%) scale(.8);
  padding: 18px 30px;
  border-radius: 999px;
  background: rgba(13,11,20,.88);
  border: 2px solid rgba(255,255,255,.25);
  color: #fff;
  font: 800 clamp(18px, 4.5vw, 26px) 'Montserrat', Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.6), 0 0 30px rgba(255,45,135,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,1.4,.4,1);
}
#vitreHint.show{ opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ===== creature5.php ===== */
.sc-creature-layer{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}
.sc-creature{
  position: absolute;
  width: 150px;
  left: 0;
  top: 0;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
}
.sc-bouncer{ transform-origin: 50% 88%; }
.sc-bouncer.sc-bounce{ animation: sc-bounce-pop 0.6s ease; }
@keyframes sc-bounce-pop{
  0%   { transform: scale(1, 1) translateY(0) rotate(0); }
  20%  { transform: scale(1.22, 0.78) translateY(8px); }
  45%  { transform: scale(0.86, 1.18) translateY(-22px) rotate(-8deg); }
  70%  { transform: scale(1.08, 0.94) translateY(3px) rotate(3deg); }
  100% { transform: scale(1, 1) translateY(0) rotate(0); }
}

/* ---------- Aura ---------- */
.sc-creature::before{
  content:"";
  position:absolute; left:50%; top:50%;
  width:230px; height:170px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  z-index:-2;
  background: radial-gradient(circle at center,
      rgba(255,255,255,.38) 0%,
      rgba(255,245,190,.28) 20%,
      rgba(150,250,255,.20) 40%,
      rgba(255,180,245,.14) 60%,
      transparent 75%);
  animation: scAura 4s ease-in-out infinite;
}
.sc-creature::after{
  content:"";
  position:absolute; left:50%; top:50%;
  width:320px; height:240px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  z-index:-3;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(140,248,255,.08), rgba(255,170,240,.06), transparent 75%);
  filter: blur(28px);
  animation: scAuraBig 7s ease-in-out infinite;
}
@keyframes scAura{
  0%,100%{ transform:translate(-50%,-50%) scale(1);    opacity:.75; }
  50%    { transform:translate(-50%,-50%) scale(1.15); opacity:1; }
}
@keyframes scAuraBig{
  0%,100%{ transform:translate(-50%,-50%) scale(1);    opacity:.45; }
  50%    { transform:translate(-50%,-50%) scale(1.28); opacity:.75; }
}

/* ---------- Petites étoiles + orbites ---------- */
.sc-twinkle{
  position: absolute; width: 7px; height: 7px; background: #fff;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  pointer-events: none; opacity: 0;
  animation: sc-twinkle-pulse 2.6s ease-in-out infinite;
}
.sc-twinkle-1{ top: 5%;  left: 12%; background: #ff6fae; animation-delay: 0s; }
.sc-twinkle-2{ top: 68%; left: 88%; background: #3fc9c0; animation-delay: 0.9s; }
.sc-twinkle-3{ top: 12%; left: 78%; background: var(--sc-or-clair); animation-delay: 1.7s; }
@keyframes sc-twinkle-pulse{
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50%      { opacity: 0.95; transform: scale(1.15) rotate(45deg); }
}
.sc-orbit-ring{ position: absolute; inset: -14%; pointer-events: none; animation: sc-orbit-spin 5.5s linear infinite; }
.sc-orbit-ring-2{ animation-duration: 8s; animation-direction: reverse; }
.sc-orbit-dot{ position: absolute; top: 0; left: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translateX(-50%); }
@keyframes sc-orbit-spin{ to { transform: rotate(360deg); } }

.sc-creature-flip{ transform-origin: 50% 80%; will-change: transform; }
.sc-creature-flip svg{ width:100%; height:auto; display:block; overflow: visible; }

/* ==========================================================
   BULLE DE BD
========================================================== */
.sc-bubble{
  --tail-x: 50%;
  position: absolute;
  bottom: calc(100% + 26px);
  left: 50%;
  box-sizing: border-box;
  width: max-content;
  max-width: min(320px, 82vw);
  background-color: #ffffff;
  background-image: radial-gradient(rgba(255,111,174,.14) 1.1px, transparent 1.7px);
  background-size: 8px 8px;
  color: #2a1240;
  font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.35;
  text-align: center;
  padding: 12px 22px;
  border: 3px solid #2a1240;
  border-radius: 34px / 28px;
  filter: drop-shadow(4px 5px 0 rgba(42,18,64,.85));
  opacity: 0;
  transform: translateX(-50%) scale(.6);
  transform-origin: var(--tail-x) 100%;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.sc-bubble p{ margin: 0; }
.sc-bubble.sc-bubble-visible{
  opacity: 1;
  transform: translateX(-50%) rotate(-1.5deg);
}
.sc-bubble.sc-bubble-pop{ animation: sc-bubble-pop .55s cubic-bezier(.18,1.5,.4,1); }
@keyframes sc-bubble-pop{
  0%   { transform: translateX(-50%) scale(.15) rotate(-12deg); }
  100% { transform: translateX(-50%) scale(1) rotate(-1.5deg); }
}
/* Étincelles sur les coins de la bulle */
.sc-bubble::before,
.sc-bubble::after{
  content: "✦";
  position: absolute;
  font-size: 24px;
  line-height: 1;
  -webkit-text-stroke: 1px #2a1240;
  text-shadow: 0 0 6px rgba(255,255,255,.9);
  animation: sc-bubble-star 1.8s ease-in-out infinite;
}
.sc-bubble::before{ top: -15px; left: -11px; color: var(--sc-or-clair); }
.sc-bubble::after { top: -12px; right: -8px; color: #ff9de8; font-size: 18px; animation-delay: .6s; }
@keyframes sc-bubble-star{
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.3) rotate(25deg); }
}
/* Queue de la bulle (pointe vers la tête) */
.sc-bubble-tail{
  position: absolute;
  bottom: -26px;
  left: var(--tail-x);
  width: 34px;
  height: 26px;
  transform: translateX(-50%);
  pointer-events: none;
}
.sc-bubble-tail svg{ display: block; width: 100%; height: 100%; overflow: visible; }
.sc-bubble-tail.sc-tail-right svg{ transform: scaleX(-1); }

.sc-say{ display: block; width: 100%; height: 6px; margin: 0; padding: 0; opacity: 0; }

@media (max-width: 700px){
  .sc-bubble{ max-width: min(250px, 84vw); font-size: 14px; padding: 10px 18px; }
}

/* ==========================================================
   ANIMATIONS DE LA CRÉATURE
========================================================== */
/* Marche */
.sc-leg{ transition: transform 0.18s ease; }
.sc-creature.sc-walking .sc-leg-a,
.sc-creature.sc-walking .sc-leg-d{ animation: sc-step-a 0.42s ease-in-out infinite; }
.sc-creature.sc-walking .sc-leg-b,
.sc-creature.sc-walking .sc-leg-c{ animation: sc-step-b 0.42s ease-in-out infinite; }
@keyframes sc-step-a{ 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(-20deg); } }
@keyframes sc-step-b{ 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(20deg); } }

/* Corps qui rebondit */
.sc-body-bob{ animation: sc-bob-idle 2.4s ease-in-out infinite; }
.sc-creature.sc-walking .sc-body-bob{ animation: sc-bob-walk 0.21s ease-in-out infinite alternate; }
@keyframes sc-bob-idle{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-2px); } }
@keyframes sc-bob-walk{ from{ transform: translateY(0); } to{ transform: translateY(-3px); } }

.sc-shadow{ transform-box: fill-box; transform-origin: center; }
.sc-creature.sc-walking .sc-shadow{ animation: sc-shadow 0.21s ease-in-out infinite alternate; }
@keyframes sc-shadow{ from{ transform: scaleX(1); } to{ transform: scaleX(.88); } }

/* Queue */
.sc-feather{ transform-origin: 110px 90px; }
.sc-feather-1{ animation: sc-sway-1 3.4s ease-in-out infinite; }
.sc-feather-2{ animation: sc-sway-2 2.8s ease-in-out infinite; }
.sc-feather-3{ animation: sc-sway-1 3.9s ease-in-out infinite 0.3s; }
.sc-feather-4{ animation: sc-sway-2 2.8s ease-in-out infinite; }
.sc-feather-5{ animation: sc-sway-1 3.6s ease-in-out infinite 0.2s; }
.sc-creature.sc-walking .sc-feather{ animation-duration: 0.8s; }
@keyframes sc-sway-1{ 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(6deg); } }
@keyframes sc-sway-2{ 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(-6deg); } }

/* Ailes qui battent (bzzz quand elle marche) */
.sc-wing{ transform-origin: 140px 74px; animation: sc-wing-flutter 1.6s ease-in-out infinite; }
#scWingBack{ transform-origin: 134px 74px; animation-delay: .12s; }
.sc-creature.sc-walking .sc-wing{ animation-duration: .26s; }
@keyframes sc-wing-flutter{
  0%, 100% { transform: rotate(0deg) scaleY(1); }
  50%      { transform: rotate(-12deg) scaleY(.86); }
}

/* Antennes */
.sc-antenna{ animation: sc-antenna 1.8s ease-in-out infinite; }
.sc-antenna-2{ animation-delay: .4s; }
.sc-creature.sc-walking .sc-antenna{ animation-duration: .5s; }
@keyframes sc-antenna{ 0%,100%{ transform: rotate(-6deg); } 50%{ transform: rotate(8deg); } }

/* Tête */
#scHeadPivot{ animation: sc-head-idle 3.2s ease-in-out infinite; }
.sc-creature.sc-talking #scHeadPivot{ animation: sc-head-talk .55s ease-in-out infinite alternate; }
@keyframes sc-head-idle{ 0%,100%{ transform: rotate(0deg); } 50%{ transform: rotate(-3deg); } }
@keyframes sc-head-talk{ from{ transform: rotate(-5deg); } to{ transform: rotate(3deg); } }

/* Clignement des yeux */
.sc-eye{ transform-box: fill-box; transform-origin: center; animation: sc-blink 4.6s infinite; transition: opacity .15s; }
@keyframes sc-blink{ 0%, 93%, 100%{ transform: scaleY(1); } 96%{ transform: scaleY(.08); } }
.sc-eye-happy{ opacity: 0; transition: opacity .15s; }
.sc-creature.sc-happy .sc-eye{ opacity: 0; }
.sc-creature.sc-happy .sc-eye-happy{ opacity: 1; }

/* Sourcils qui se lèvent en parlant */
.sc-brow{ transition: transform .2s ease; }
.sc-creature.sc-talking .sc-brow,
.sc-creature.sc-happy .sc-brow{ transform: translateY(-2.5px); }

/* Bouche qui parle */
.sc-mouth-smile{ transition: opacity .1s; }
.sc-mouth-open{ opacity: 0; transform-box: fill-box; transform-origin: 50% 0; transition: opacity .1s; }
.sc-creature.sc-talking .sc-mouth-smile,
.sc-creature.sc-happy .sc-mouth-smile{ opacity: 0; }
.sc-creature.sc-talking .sc-mouth-open{ opacity: 1; animation: sc-talk .16s ease-in-out infinite alternate; }
.sc-creature.sc-happy .sc-mouth-open{ opacity: 1; }
@keyframes sc-talk{ from{ transform: scaleY(.3); } to{ transform: scaleY(1); } }

/* Paillettes de marche */
.sc-spark{
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  pointer-events:none;
  animation: sc-spark-fade 1.2s ease-out forwards;
}
@keyframes sc-spark-fade{
  0%   { opacity: 0.95; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.25) translateY(-14px); }
}

/* Explosion de cœurs au clic */
.sc-burst{
  position: absolute;
  font: 700 18px/1 'Comic Neue', sans-serif;
  pointer-events: none;
  -webkit-text-stroke: 1px rgba(42,18,64,.6);
  animation: sc-burst .95s cubic-bezier(.15,.8,.3,1) forwards;
}
@keyframes sc-burst{
  0%   { transform: translate(-50%,-50%) scale(.3); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.25) rotate(var(--rot)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .sc-creature-layer{ display:none; }
}
@media (max-width: 700px){
  .sc-creature{ width: 125px; }
}

/* ===== bulle-ampoule.php ===== */
.sc-amp-bubble{
  --tail-x: 50%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  box-sizing: border-box;
  width: max-content;
  max-width: min(280px, 82vw);
  background-color: #ffffff;
  background-image: radial-gradient(rgba(255,187,0,.18) 1.1px, transparent 1.7px);
  background-size: 8px 8px;
  color: #2a1240;
  font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.35;
  text-align: center;
  padding: 12px 22px;
  border: 3px solid #2a1240;
  border-radius: 34px / 28px;
  filter: drop-shadow(4px 5px 0 rgba(42,18,64,.85));
  opacity: 0;
  visibility: hidden;
  transform: scale(.6);
  transform-origin: var(--tail-x) 0;
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  pointer-events: none;
}
.sc-amp-bubble p{ margin: 0; }
.sc-amp-bubble.is-visible{
  opacity: 1;
  visibility: visible;
  transform: rotate(1.5deg);
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
  animation: sc-amp-pop .55s cubic-bezier(.18,1.5,.4,1);
}
@keyframes sc-amp-pop{
  0%   { transform: scale(.15) rotate(12deg); }
  100% { transform: scale(1) rotate(1.5deg); }
}
/* Étincelles aux coins */
.sc-amp-bubble::before,
.sc-amp-bubble::after{
  content: "✦";
  position: absolute;
  font-size: 22px;
  line-height: 1;
  -webkit-text-stroke: 1px #2a1240;
  animation: sc-amp-star 1.8s ease-in-out infinite;
}
.sc-amp-bubble::before{ bottom: -13px; left: -10px; color: var(--sc-or); }
.sc-amp-bubble::after { bottom: -10px; right: -8px; color: var(--sc-or-clair); font-size: 17px; animation-delay: .6s; }
@keyframes sc-amp-star{
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.3) rotate(25deg); }
}
/* Queue de la bulle : pointe vers le haut, vers l'ampoule */
.sc-amp-tail{
  position: absolute;
  top: -26px;
  left: var(--tail-x);
  width: 34px;
  height: 26px;
  transform: translateX(-50%);
}
.sc-amp-tail svg{ display: block; width: 100%; height: 100%; overflow: visible; }
.sc-amp-tail.is-right svg{ transform: scaleX(-1); }

/* L'ampoule brille doucement tant qu'on ne l'a pas cliquée */
#ampoule.sc-amp-glow{ filter: drop-shadow(0 0 14px rgba(255,190,40,.85)); }

@media (max-width: 700px){
  .sc-amp-bubble{ max-width: min(230px, 84vw); font-size: 14px; padding: 10px 18px; }
}
@media (prefers-reduced-motion: reduce){
  .sc-amp-bubble.is-visible{ animation: none; transform: none; }
}


/* ==========================================================================
   BASE DU DOCUMENT
   Bootstrap 3.1.1 etait charge en dernier depuis un CDN par l'ancien mini-jeu,
   et c'est LUI qui donnait au site son fond blanc, sa couleur de texte et sa
   police de base - sans que ce soit ecrit nulle part. En retirant le jeu, tout
   cela disparaissait et la page passait sur fond sombre, texte sombre.
   Ces declarations reprennent a l'identique ce que Bootstrap 3 appliquait.
   ========================================================================== */
/* CES REGLES NE CONCERNENT QUE L'ACCUEIL.
   Elles remplacent ce que Bootstrap 3 fournissait via l'ancien mini-jeu, qui
   n'existait que sur l'index. Les autres pages n'ont jamais eu Bootstrap 3 :
   elles sont sombres par construction, et sans ce cadrage elles passaient
   toutes en fond blanc / texte gris foncé / Helvetica.
   Le ciblage par body.sc-index garde la regle ici, en fin de feuille, la ou
   Bootstrap 3 se trouvait - tout en ne touchant que l'accueil. */
body.sc-index{
  background-color: #fff;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.428571429;
}
/* Teinte de lien de Bootstrap 3.1.1 (#428bca), accueil seulement. */
body.sc-index a{ color: #428bca; }
body.sc-index a:hover, body.sc-index a:focus{ color: #2a6496; }


/* ==========================================================================
   VITRE BRISEE - bouton de secours
   Le canvas de la vitre capte tous les clics tant qu'il est arme. Ce bouton
   est au-dessus de lui, c'est le seul endroit cliquable de la page pendant
   l'effet. Il n'apparait que quand la vitre est cassee.
   ========================================================================== */
#vitreReparer{
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  z-index: 2147483002;          /* au-dessus du canvas (…000) et de l'indice (…001) */
  display: block;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  font: 700 15px/1.2 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.75);
  opacity: 0;
  pointer-events: none;         /* invisible = non cliquable */
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,1.4,.4,1);
}
#vitreReparer.show{
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
#vitreReparer:hover{ background: #1d1d1d; }
#vitreReparer:focus-visible{ outline: 3px solid var(--sc-or); outline-offset: 3px; }

@media (max-width: 575px){
  #vitreReparer{ bottom: 18px; padding: 12px 20px; font-size: 14px; }
}

/* ==========================================================================
   BOUTONS « DÉFENDUS » — Interdit de cliquer / Ne pas cliquer
   Ils avaient chacun huit déclarations en ligne et un simple fond noir.
   Même habillage que le bouton OK de la fenêtre mail : fond var(--sc-or), texte
   sombre. Contour épais #2a1240, Comic Neue et relief dur, comme le reste.

   Au survol, le bouton frémit : il n'a pas envie qu'on le touche. C'est une
   base, l'animation définitive viendra remplacer @keyframes scBtnFremit.
   Ces règles sont ici, en fin de includes.css, parce que c'est la dernière
   feuille chargée : rien ne peut les écraser.
   ========================================================================== */
.sc-btn-forbid{
  box-sizing: border-box;
  display: inline-block;
  /* L ancien style en ligne portait z-index:10 : sans lui, l ampoule
     et les bulles de la creature passent devant le bouton. */
  position: relative;
  z-index: 10;
  margin: 0 auto;
  padding: 13px 28px;
  border: 3px solid #2a1240;
  border-radius: 999px;
  background: var(--sc-or);          /* même habillage que le OK de la fenêtre mail */
  color: #14111f;
  font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transform: rotate(-1deg);
  box-shadow: 0 7px 0 #2a1240, 0 12px 24px rgba(0,0,0,.45);
  transition: box-shadow .16s ease, background-color .16s ease;
}

/* Variante stricte : le curseur dit déjà « non » */
.sc-btn-forbid--strict{ cursor: not-allowed; }

/* Le frémissement : le bouton recule, hésite, se dérobe un peu */
.sc-btn-forbid:hover,
.sc-btn-forbid:focus-visible{
  background: var(--sc-or-clair);
  box-shadow: 0 10px 0 #2a1240, 0 18px 30px rgba(0,0,0,.45);
  animation: scBtnFremit .42s ease-in-out infinite;
}
.sc-btn-forbid:focus-visible{ outline: 3px solid var(--sc-or); outline-offset: 4px; }

.sc-btn-forbid:active{
  box-shadow: 0 2px 0 #2a1240, 0 4px 8px rgba(0,0,0,.4);
  animation: none;
  transform: translateY(5px) rotate(-1deg);
}

@keyframes scBtnFremit{
  0%, 100% { transform: rotate(-1deg)   translateX(0); }
  25%      { transform: rotate(1.6deg)  translateX(-4px); }
  50%      { transform: rotate(-.5deg)  translateX(2px); }
  75%      { transform: rotate(-3deg)   translateX(4px); }
}

/* Sur fond noir, le contour sombre se perdrait */
html.sc-balai .sc-btn-forbid{
  border-color: #efefef;
  box-shadow: 0 7px 0 rgba(255,255,255,.8), 0 12px 24px rgba(0,0,0,.5);
}

@media (prefers-reduced-motion: reduce){
  .sc-btn-forbid{ transform: none; }
  .sc-btn-forbid:hover, .sc-btn-forbid:focus-visible{ animation: none; }
  .sc-btn-forbid:active{ transform: none; }
}


/* ==========================================================================
   BARRE LATÉRALE — téléphone, mail, balai
   Avant : trois boutons indépendants en position:fixed, posés à left:-4px
   (donc rognés par le bord de l'écran), plus le balai à part avec quinze
   styles en ligne. Ils sont maintenant réunis dans une seule barre.
   Les anciennes règles .rc-btn ne s'appliquent plus : les boutons ne
   portent plus cette classe. .rc-mail est conservée, le script en a besoin.
   ========================================================================== */
.sc-dock{
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-dock-btn{
  box-sizing: border-box;      /* la bordure est comprise dans les 50px */
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(14, 13, 18, .72);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.85);
  color: var(--sc-or);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none !important;
  transition: width .28s cubic-bezier(.2,.8,.3,1), background-color .2s ease,
              border-color .2s ease, transform .2s ease;
}
/* L'icône vit dans une boîte de largeur fixe, égale à la largeur intérieure
   du bouton. C'est elle qui garantit le centrage, et qui garde l'icône en
   place quand le bouton s'allonge au survol. Les marges d'avant la décalaient. */
.sc-dock-ico{
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  height: 100%;
}
.sc-dock-btn svg{
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.sc-dock-btn:hover,
.sc-dock-btn:focus-visible{
  background: rgba(26, 24, 32, .92);
  border-color: rgba(255,187,0,.45);
  transform: translateX(2px);
}
.sc-dock-btn:focus-visible{ outline: 2px solid var(--sc-or); outline-offset: 3px; }
.sc-dock-btn:active{ transform: translateX(0) scale(.97); }

/* Le libellé sort au survol, sur ordinateur seulement */
.sc-dock-label{
  white-space: nowrap;
  font: 700 13px/1 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: .01em;
  color: #fff;
  opacity: 0;
  padding-right: 18px;
  transition: opacity .2s ease .04s;
}
@media (hover: hover) and (min-width: 992px){
  .sc-dock-btn:hover,
  .sc-dock-btn:focus-visible{ width: auto; }
  .sc-dock-btn:hover .sc-dock-label,
  .sc-dock-btn:focus-visible .sc-dock-label{ opacity: 1; }
}

/* Le balai, légèrement détaché : ce n'est pas un moyen de contact */
.sc-dock-broom{ margin-top: 6px; }
.sc-dock-broom::before{
  content: "";
  position: absolute;
  top: -9px; left: 12px; right: 12px;
  height: 1px;
  background: rgba(255,255,255,.14);
}

/* Bouton seul, sur les pages sans la barre */
.sc-dock-solo{
  position: fixed;
  left: 14px;
  top: 150px;
  z-index: 100000;
}
.sc-dock-solo::before{ display: none; }

/* En mode balai, la barre reste lisible sur fond noir */
html.sc-balai .sc-dock-btn{
  background: rgba(240,240,240,.92);
  border-color: rgba(0,0,0,.2);
  color: #121212;
}
html.sc-balai .sc-dock-label{ color: #121212; }

@media (max-width: 991px){
  .sc-dock{ left: 10px; gap: 8px; }
  .sc-dock-btn{ width: 46px; height: 46px; border-radius: 14px; }
  .sc-dock-ico{ flex-basis: 44px; }
  .sc-dock-btn svg{ width: 20px; height: 20px; }
  .sc-dock-label{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  .sc-dock-btn, .sc-dock-label{ transition: none; }
}

/* includes.css garde .rc-tel{top:90px} et .rc-mail{top:210px}, hérités de
   l'époque où chaque bouton était positionné seul. Dans la barre, ces décalages
   éparpillaient les boutons. Deux classes suffisent à les neutraliser, sans
   !important : la spécificité est plus forte. */
.sc-dock .rc-tel,
.sc-dock .rc-mail{ top: auto; left: auto; position: relative; }

/* L'onde orange derrière le téléphone, reprise de l'ancien bouton : elle
   attire l'œil sur le moyen de contact le plus direct. */
.sc-dock .rc-tel::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,187,0,.55);
  animation: scDockPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes scDockPulse{
  0%   { opacity: .9; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.35); }
  100% { opacity: 0;  transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce){
  .sc-dock .rc-tel::after{ animation: none; opacity: .5; transform: none; }
}

/* ==========================================================================
   BOUTONS DE SORTIE D'EFFET
   Vitre brisée, matrice, éboulement : trois façons de bloquer la page, donc
   trois boutons pour en ressortir. Ils avaient chacun leur allure, dont une
   entièrement en style en ligne. Ils partagent maintenant la forme des
   boutons du pop-up mail : pastille, Montserrat 700, posés en bas au centre.
   ========================================================================== */
.sc-sortie{
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2147483003;
  display: block;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font: 700 15px/1.2 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.75);
  /* z-index valait 100000000000000000002 sur le bouton de la matrice : au-delà
     de 2147483647 le navigateur rabote la valeur, elle ne voulait rien dire. */
}
.sc-sortie--jaune{ background: var(--sc-or); color: #14111f; }
.sc-sortie--jaune:hover{ background: var(--sc-or-clair); }
.sc-sortie--noir{ background: #0b0b0b; color: #fff; }
.sc-sortie--noir:hover{ background: #222; }
.sc-sortie:focus-visible{ outline: 3px solid var(--sc-or); outline-offset: 3px; }

@media (max-width: 575px){
  .sc-sortie{ bottom: 18px; padding: 12px 18px; font-size: 14px; }
}
