* ===========================================
   FONTS - SUISSE FAMILY
   =========================================== */
@font-face {
  font-family: 'Suisse intl mono';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/67bdda6b4422687e56512859_SuisseIntlMono-Regular-WebS.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse works';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/67bdda6a05114f47cfbd3309_SuisseWorks-Regular-WebXL.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse works Webs';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/67bdda6be0f76027ee7281d0_SuisseWorks-Regular-WebS.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse intl mono Web xl';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/67bdda6b16c81fba19540608_SuisseIntlMono-Regular-WebXL.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse intl';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/67bdda6b16c81fba19540604_SuisseIntl-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse intl';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/68ac6d1858acd2e364a958c3_SuisseIntl-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse intl';
  src: url('https://cdn.prod.website-files.com/67bdd03200678df04ba07593/68ac6d1835b1ce2c0bf465a8_SuisseIntl-RegularIt.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* ===========================================
   VARIABLES GLOBALES
   =========================================== */
:root {
  /* Tailles de police Desktop */
  --font-xs: 0.875rem;
  --font-sm: 1rem;
  --font-m: 1.25rem;
  --font-md: 1.5rem;
  --font-lg: 2rem;
  --font-xl: 2.5rem;
  --font-2xl: 3rem;
  --font-3xl: 4rem;
  --font-333xl: 5rem;
  --font-4xl: 6rem;
  --font-5xl: 8rem;
  --font-giant: 15rem;
  --font-mega: 20rem;
  
  /* Tailles de police Mobile */
  --font-mobile-xs: 0.75rem;
  --font-mobile-sm: 0.875rem;
  --font-mobile-md: 1rem;
  --font-mobile-lg: 1.5rem;
  --font-mobile-xl: 2rem;
  --font-mobile-2xl: 2.5rem;
  --font-mobile-3xl: 3rem;
  --font-mobile-4xl: 4rem;
  --font-mobile-giant: 15rem;
}

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

body {
  font-family: "Suisse intl", sans-serif;
  cursor: url(https://brave.com/static-assets/images/cropped-brave_appicon_release-32x32.png) 16 16, auto;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-1-wrapper section,
.site-2-wrapper section,
.site-3-wrapper section,
.site-3-wrapper .hero-3,
.site-3-wrapper .outro-3 {
  margin-bottom: -1px;  
}
/* ===========================================
   SITE 1 : RedoMedia Split-Card Animation
   =========================================== */

   /* =========================================
   BOUTON GET BRAVE - TOP LEFT
   ========================================= */

.css-button-sliding-to-left--brave {
  /* Position fixe en haut à gauche */
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10000; /* Au-dessus de tout */
  
  /* Style du bouton */
  min-width: 130px;
  height: 40px;
  color: #fc694c;
  padding: 5px 20px;
  font-weight: bold;
  font-family: "Suisse intl", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
  border-radius: 5px;
  background: transparent
  overflow: hidden;
 
 
}

/* Hover : texte devient blanc */
.css-button-sliding-to-left--brave:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(252, 105, 76, 0.491);
}

/* Hover : fond orange slide de droite à gauche */
.css-button-sliding-to-left--brave:hover::after {
  width: 100%;
}

/* Pseudo-élément pour l'effet de slide */
.css-button-sliding-to-left--brave::after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #fc694c;
    border-radius: 8px;
}


/* 🔥 RESPONSIVE - Tablette */
@media (max-width: 1024px) {
  .css-button-sliding-to-left--brave {
    top: 15px;
    left: 15px;
    min-width: 110px;
    height: 38px;
    font-size: 13px;
    padding: 5px 16px;
  }
}

/* 🔥 RESPONSIVE - Mobile */
@media (max-width: 768px) {
  .css-button-sliding-to-left--brave {
    top: 12px;
    left: 12px;
    min-width: 90px;
    height: 36px;
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* 🔥 RESPONSIVE - Petits mobiles */
@media (max-width: 480px) {
  .css-button-sliding-to-left--brave {
    top: 10px;
    left: 10px;
    min-width: 80px;
    height: 32px;
    font-size: 11px;
    padding: 4px 10px;
    border-width: 1.5px;
  }
}


/* =========================================
   TOGGLE LANGUE - TOP RIGHT
   ========================================= */

.language-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  gap: 0;
  background: transparent;
  border: 2px solid #fc694c;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(252, 105, 76, 0.2);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #fc694c;
  font-family: "Suisse intl", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 50px;
}

.lang-btn.active {
  background: #fc694c;
  color: #fff;
}

.lang-btn:not(.active):hover {
  background: rgba(252, 105, 76, 0.1);
}

.lang-btn:not(:last-child) {
  border-right: 1px solid rgba(252, 105, 76, 0.3);
}

/* 🔥 RESPONSIVE - Tablette */
@media (max-width: 1024px) {
  .language-toggle {
    top: 15px;
    right: 15px;
  }
  
  .lang-btn {
    padding: 7px 14px;
    font-size: 13px;
    min-width: 45px;
  }
}

/* 🔥 RESPONSIVE - Mobile */
@media (max-width: 768px) {
  .language-toggle {
    top: 12px;
    right: 12px;
    border-width: 1.5px;
  }
  
  .lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 40px;
  }
}

/* 🔥 RESPONSIVE - Petits mobiles */
@media (max-width: 480px) {
  .language-toggle {
    top: 10px;
    right: 10px;
    border-width: 1.5px;
  }
  
  .lang-btn {
    padding: 5px 10px;
    font-size: 11px;
    min-width: 36px;
  }
}

/* 🔥 RESPONSIVE - Très petits écrans (éviter le chevauchement) */
@media (max-width: 360px) {
  .css-button-sliding-to-left--brave {
    top: 8px;
    left: 8px;
    min-width: 70px;
    height: 30px;
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .language-toggle {
    top: 8px;
    right: 8px;
  }
  
  .lang-btn {
    padding: 4px 8px;
    font-size: 10px;
    min-width: 32px;
  }
}

.site-1-wrapper {
  /* Variables spécifiques au site 1 */
  --bg: #010010; 
  --fg: #fff;
  --card-1: #b2b2b2;
  --card-2: #ce2017;
  --card-3: #2f2f2f;
}

/* Titres du site 1 */
.site-1-wrapper h1 {
  font-family: "suisse works", sans-serif;
  font-size: var(--font-3xl);
  font-weight: 500;
  line-height: 1.125;
}

.site-1-wrapper p {
  font-family: "Suisse works", sans-serif;
  font-size: var(--font-lg);
  font-weight: 500;
  line-height: 1;
}
/* Animation du titre intro uniquement */
.site-1-wrapper .intro-heading .word {
  display: inline;
  white-space: nowrap;
}

.site-1-wrapper .intro-heading .char {
  display: inline-block;
}

/* Animation outro - Version simple */
.site-1-wrapper .outro-heading {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(50px);
  transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* État visible */
.site-1-wrapper .outro-heading.visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}
.site-1-wrapper .intro-image {
  display: none;                    /* Caché par défaut (desktop) */
}
.site-1-wrapper section {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 2rem;
  background-color: var(--bg);
  color: var(--fg);
}

.site-1-wrapper .intro,
.site-1-wrapper .outro {
  text-align: center;
  align-content: center;
  
}

.site-1-wrapper .intro h1,
.site-1-wrapper .outro h1 {
  width: 30%;
  margin: 0 auto;
  
}

.site-1-wrapper .sticky {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-1-wrapper .sticky-header {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.site-1-wrapper .sticky-header h1 {
  position: relative;
  text-align: center;
  will-change: transform, opacity;
  transform: translateY(40px);
  opacity: 0;
}

.site-1-wrapper .card-container {
  position: relative;
  width: 75%;
  display: flex;
  perspective: 1000px;
  transform: translateY(40px) translateZ(0); /* 🔥 Force GPU */
  will-change: width, gap;
}

.site-1-wrapper .card {
  position: relative;
  flex: 1;
  aspect-ratio: 5/7;
  transform-style: preserve-3d;
  transform-origin: top;
  /* 🔥 Optimisation GPU */
  will-change: transform, border-radius;
  transform: translateZ(0); /* Force GPU layer */
}

.site-1-wrapper #card-1 {
  border-radius: 20px 0 0 20px;
}

.site-1-wrapper #card-3 {
  border-radius: 0 20px 20px 0;
}

.site-1-wrapper .card-front,
.site-1-wrapper .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
}

.site-1-wrapper .card-back {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: rotateY(180deg);
  padding: 2rem;
}

.site-1-wrapper .card-back span {
  position: absolute;
  top: 2rem;
  left: 2rem;
  opacity: 0.4;
}

.site-1-wrapper #card-1 .card-back {
  background-color: var(--card-1);
  color: var(--bg);
}

.site-1-wrapper #card-2 .card-back {
  background-color: var(--card-2);
}

.site-1-wrapper #card-3 .card-back {
  background-color: var(--card-3);
}

/* Responsive Site 1 */
@media (max-width: 1000px) {
  .site-1-wrapper h1 {
    font-size: var(--font-mobile-3xl);
  }

  .site-1-wrapper .intro h1,
  .site-1-wrapper .outro h1 {
    width: 100%;
  }

  .site-1-wrapper .sticky {
    height: max-content;
    padding: 4rem 2rem;
    flex-direction: column;
  }

  .site-1-wrapper .sticky-header {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 4rem;
  }

  .site-1-wrapper .sticky-header h1 {
    opacity: 1;
  }

  .site-1-wrapper .card-container {
    width: 100%;
    flex-direction: column;
    gap: 2rem;
  }

  .site-1-wrapper .card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
       aspect-ratio: 5/7; 
    border-radius: 20px !important;
  }

  .site-1-wrapper #card-1,
  .site-1-wrapper #card-2,
  .site-1-wrapper #card-3,
  .site-1-wrapper .card-back {
    transform: none;
  }
  
  .site-1-wrapper .intro-image {
    display: block;                 /* Visible sur mobile */
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
    aspect-ratio: 5/7;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .site-1-wrapper .intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.8;
     border-radius: 20px;
  }
  
  /* 🔥 ANIMATION CSS - Fade-in optimisé pour mobile */
  .site-1-wrapper .intro-image {
    opacity: 0;
    transform: translateY(30px);
     transition: opacity 0.8s ease-out 2s, transform 0.8s ease-out 1.8s;
    will-change: opacity, transform; /* 🔥 Prépare le GPU */
  }
  
  .site-1-wrapper .intro-image.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
}

/* ===========================================
   SITE 2 : WorkingStiff Animated Teams
   =========================================== */
.site-2-wrapper {
  /* Variables spécifiques au site 2 */
  --base-100: #010010; /* Remplacé #171717 par #010010 */
  --base-200: #f2f5ea;
  --base-300: #fc694c;
  background-color: var(--base-100);
  color: var(--base-500);
}

/* Titres du site 2 */
.site-2-wrapper h1 {
  font-family: "Suisse works", sans-serif;
  text-transform: uppercase;
  font-size: var(--font-5xl);
  font-weight: 800;
  line-height: 0.9;
}

.site-2-wrapper p {
  font-family: "Suisse intl mono", monospace;
  text-transform: uppercase;
  font-size: var(--font-sm);
  font-weight: 500;
  line-height: 1;
}

.site-2-wrapper section {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  padding: 1rem;
}
.site-2-wrapper .hero h1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;

}


.site-2-wrapper .hero,
.site-2-wrapper .outro-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  
}

.site-2-wrapper .hero h1,
.site-2-wrapper .outro-2 h1 {
  width: 75%;
  color: var(--base-300);
}

.site-2-wrapper .team {
  
  display: flex;
  gap: 1rem;
}

.site-2-wrapper .team-member {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(242, 245, 234, 0.35);
  border-radius: 1.5rem;
  will-change: transform;
}

.site-2-wrapper .team-member-info h1 span.color-accent {
  color: var(--base-300) !important; /* Force l'orange */
}

.site-2-wrapper .team-member:nth-child(1) {
  z-index: 2;
}

.site-2-wrapper .team-member:nth-child(2) {
  z-index: 1;
}

.site-2-wrapper .team-member:nth-child(3) {
  z-index: 0;
}

.site-2-wrapper .team-member-name-initial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.site-2-wrapper .team-member-name-initial h1 {
  color: var(--base-300);
  font-size: var(--font-mega);
  will-change: transform;
}

.site-2-wrapper .team-member-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--base-200);
  border-radius: 1.5rem;
  will-change: transform;
}

.site-2-wrapper .team-member-img {
  aspect-ratio: 1;
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.site-2-wrapper .team-member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.site-2-wrapper .team-member-info h1 {
  font-size: var(--font-333xl);
  color: var(--base-300);
}

.site-2-wrapper .team-member-info h1 span,
.site-2-wrapper .team-member-info p {
  color: var(--base-100);
}

/* Taille réduite pour le français seulement */
.lang-fr .site-2-wrapper .team-member-info h1 {
  font-size: var(--font-2xl); /* ou une taille personnalisée */
  line-height: 1.1;
}
.site-2-wrapper .team-member {
  transform: translateY(125%);
}

.site-2-wrapper .team-member-name-initial h1 {
  transform: scale(0);
}

.site-2-wrapper .team-member:nth-child(1) .team-member-card {
  transform: translate(300%, -50%) scale(0.75) rotate(20deg);
}

.site-2-wrapper .team-member:nth-child(2) .team-member-card {
  transform: translate(200%, -50%) scale(0.75) rotate(20deg);
}

.site-2-wrapper .team-member:nth-child(3) .team-member-card {
  transform: translate(100%, -50%) scale(0.75) rotate(20deg);
}

/* ===========================================
   SCROLL FLOAT ANIMATION (Site 2)
   =========================================== */

.site-2-wrapper .scroll-float-text {
  display: inline-block;
  overflow: visible;
}

.site-2-wrapper .scroll-float-text .char {
  display: inline-block;
  will-change: opacity, transform;
}

/* Style spécifique pour l'outro-2 (optionnel) */


.site-2-wrapper .outro-2-title .word {
  display: inline-block;
  white-space: nowrap;
}

.site-2-wrapper .outro-2-title .char {
  display: inline-block;
  will-change: opacity, transform;
}

/* Le lien garde son style */
.site-2-wrapper .outro-2-title a {
  color: #fc694c;

  display: inline; /* Important pour ne pas casser le flow */
}

.site-2-wrapper .outro-2-title a .word {
  display: inline; /* Le lien reste inline */
}

/* Style complet et moderne */
/* Style complet et moderne */
.site-2-wrapper .link-box {
  color: #fc694c; /* Couleur différente = cliquable */
  text-decoration: none;
  background: rgba(247, 41, 0, 0.15);
  padding: 0.02em 0.2em;
  border-radius: 21px;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
   text-decoration: none;
}

/* Flèche qui apparaît au hover */
.site-2-wrapper .link-box::after {
  content: '→';
  font-size: .5em;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  
}

/* Hover : effet complet */
.site-2-wrapper .link-box:hover {
  background: rgba(252, 105, 76, 0.3);
  border: 2px solid #fc694c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 105, 76, 0.4);
 
}

.site-2-wrapper .link-box:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.site-2-wrapper .link-box .char {
  display: inline-block;
}



/* Responsive Site 2 */
@media (max-width: 1000px) {
   
  .site-2-wrapper h1 {
    font-size: var(--font-mobile-4xl);
  }
   .lang-fr .site-2-wrapper h1 {
    font-size: var(--font-mobile-3xl);
  }

  .site-2-wrapper .hero h1 {
    width: 100%;
    line-height: 1.1;
    margin-top: -20rem;
    margin-bottom: -30rem;
  }
  .site-2-wrapper .outro-2 h1 {
    width: 100%;
    line-height: 1.1;
    margin-top: -50rem;
    margin-bottom: -20rem;
  }

  .site-2-wrapper .team {
    height: 400svh;           /* Modifié: 250svh → 300svh */
    flex-direction: column;
    align-items: center;
    gap: 40svh;              /* Ajouté */
    padding: 50svh 0;         /* Ajouté */
  }

  .site-2-wrapper .team-member {
    max-width: 400px;
    height: auto;              /* Ajouté */
    min-height: 500px; 
    transform: translateY(0%) !important;
  }

  .site-2-wrapper .team-member-name-initial h1 {
    font-size: var(--font-mobile-giant);
    transform: scale(1);
  }
  

  .site-2-wrapper .team-member .team-member-card {
    transform: translate(-50%, -50%);  /* Modifié: enlevé scale/rotate/!important */
    will-change: transform, opacity;   /* Ajouté */
  }

  .site-2-wrapper .team-member-info h1 {
    font-size: var(--font-mobile-4xl);
  }
   .lang-fr .site-2-wrapper .team-member-info h1 {
    font-size: var(--font-mobile-2xl);
  }

  .site-2-wrapper .team-member-img {
    width: 100%;              /* Ajouté */
  }

  body {
    overflow-x: hidden;       /* Ajouté */
  }

  .site-2-wrapper .team-member-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);  /* Ajouté */
    
  }
  .site-2-wrapper .hero h1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-2-wrapper .team-member:nth-child(1) .team-member-card {
  transform: translate(300%, -50%) scale(0.90) rotate(20deg);
}

.site-2-wrapper .team-member:nth-child(2) .team-member-card {
  transform: translate(200%, -50%) scale(0.90) rotate(20deg);
}

.site-2-wrapper .team-member:nth-child(3) .team-member-card {
  transform: translate(100%, -50%) scale(0.90) rotate(20deg);
}

 .site-2-wrapper .link-box {
    background: rgba(252, 105, 76, 0.25);
    border: 2px solid rgba(252, 105, 76, 0.5);
  }

}








/* ===========================================
   SITE 3 : WonJYou Marquee X Horizontal Scroll
   =========================================== */
:root {
  /* Variables Site 3 - OBLIGATOIRES pour le fade */
  --light: #edf1e8;
  --dark: #010010;
}


.site-3-wrapper h1 {
  font-family: "Suisse works", sans-serif;
  font-size: var(--font-3xl);
  font-weight: 500;
  letter-spacing: -0.075rem;
  line-height: 1.125;
}

.site-3-wrapper h3 {
  font-family: "Suisse intl ", sans-serif;
  font-size: var(--font-2xl);
  font-weight: 500;
  letter-spacing: -0.025rem;
  line-height: 1.125;
}

.site-3-wrapper .container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--light);
  will-change: background-color;
 
}

.site-3-wrapper .hero-3,
.site-3-wrapper .outro-3 {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 2rem;
  align-content: center;
  text-align: center;
  
}

/* Style pour le SVG en arrière-plan */
.site-3-wrapper .hero-3-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
 height: auto;  
  opacity: 0.04;  /* 50% d'opacité */
  z-index: 0;    /* Derrière le texte */
  object-fit: cover;  /* Remplit toute la section */
}

/* Le h1 doit passer au-dessus */
.site-3-wrapper .hero-3 h1 {
  position: relative;
  z-index: 1;
  width: 75%;
  margin: 0 auto;
  color: #fc694c; /* Fallback pour les navigateurs non supportés */
  margin-bottom: -7rem;
   
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .site-3-wrapper .hero-3 h1 {
    background: linear-gradient(to bottom, #010010,  #fc694c 60%, #edf1e8 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.site-3-wrapper .outro-3 h1 {
  width: 75%;
  margin: 0 auto;
   line-height: 1.05;

}

.site-3-wrapper .outro-3 {
  background-color: var(--dark);
  color: var(--light);
  
}

.site-3-wrapper .outro-3::before {
  content: '';
  position: absolute;
  top: -5.5vh;  /* Juste assez pour couvrir l'espace de pinning */
  left: 0;
  width: 100%;
  height: 5.5vh;  /* Hauteur précise de l'espace */
  background-color: var(--dark);
  z-index: 1;
}

.site-3-wrapper .marquee {
  position: relative;
  width: 100%;
  height: 50svh;
  overflow: hidden;
}

.site-3-wrapper .marquee-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  width: 150%;
  height: 100%;
}

.site-3-wrapper .marquee-images {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-75%, -50%);
  width: 200%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  will-change: transform;
}

.site-3-wrapper .marquee-img {
  flex: 1;
  width: 100%;
  aspect-ratio: 5/3;
  overflow: hidden;  /* Important : cache le débordement */
}

.site-3-wrapper .marquee-img img {
  transform: scale(1.1);  /* Zoom 20% */
  transition: transform 0.3s ease;  /* Optionnel : animation smooth */
}

/* Optionnel : zoom au hover */
.site-3-wrapper .marquee-img:hover img {
  transform: scale(1.2);
}

.site-3-wrapper .horizontal-scroll {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.site-3-wrapper .horizontal-scroll-wrapper {
  position: relative;
  width: 300%;
  height: 100dvh;
  display: flex;
  will-change: transform;
}

.site-3-wrapper .horizontal-slide {
  flex: 1;
  height: 100%;
  display: flex;
  gap: 2rem;
  padding: 2rem;
}

.site-3-wrapper .horizontal-slide:not(.horizontal-spacer) {
  background-color: var(--dark);
  color: var(--light);
}

.site-3-wrapper .horizontal-slide .col:nth-child(1) {
  flex: 3;
}

.site-3-wrapper .horizontal-slide .col:nth-child(2) {
  flex: 2;
}

.site-3-wrapper .horizontal-scroll .col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-3-wrapper .horizontal-slide .col h3,
.site-3-wrapper .horizontal-slide .col img {
  width: 75%;
}

.site-3-wrapper .horizontal-slide .col img {
  height: 75%;
}

/* ============================================
   🔶 HEXAGONE avec TRANSITION FLUIDE
   ============================================ */
.site-3-wrapper .horizontal-slide:nth-last-child(2) .col img {
  /* État normal : Rectangle avec 6 points (même nombre que hover) */
  clip-path: polygon(
    0% 0%,      /* Coin haut gauche */
    100% 0%,    /* Coin haut droit */
    100% 0%,    /* Point supplémentaire aligné sur le coin */
    100% 100%,  /* Coin bas droit */
    0% 100%,    /* Coin bas gauche */
    0% 0%       /* Point supplémentaire aligné sur le coin */
  );
  /* Transition douce et progressive */
  transition: clip-path 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.5s ease;
}

/* État hover : Hexagone avec 6 points */
.site-3-wrapper .horizontal-slide:nth-last-child(2) .col img:hover {
  clip-path: polygon(
    35% 0%,     /* Coin supérieur gauche coupé */
    80% 0%,     /* Coin supérieur droit coupé */
    100% 10%,   /* Point haut droit */
    100% 100%,  /* Coin bas droit intact */
    0% 100%,    /* Coin bas gauche intact */
    0% 25%      /* Point haut gauche */
  );
  transform: scale(1.03) rotate(1deg);
}

/* ============================================
   💎 LOSANGE pour la dernière image
   ============================================ */
.site-3-wrapper .horizontal-slide:last-child .col img {

    clip-path: polygon(50% 10%, 75% 50%, 50% 100%, 25% 50%);
  transition: clip-path 0.3s ease, transform 0.3s ease;
}

/* Optionnel : Effet hover sur le losange */
.site-3-wrapper .horizontal-slide:last-child .col img:hover {
  clip-path: polygon(40% 0%, 100% 40%, 50% 100%, 0% 50%);
  transform: scale(1.05);
}





/* Responsive Site 3 */
@media (max-width: 1000px) {
  .site-3-wrapper h1 {
    font-size: var(--font-mobile-2xl);
    letter-spacing: -0.05rem;
  }

  .site-3-wrapper h3 {
    font-size: var(--font-mobile-lg);
  }

  .site-3-wrapper .hero-3 h1,
  .site-3-wrapper .outro-3 h1 {
    width: 100%;
    margin-top: -12rem;
   
  }
  .site-3-wrapper .outro-3 h1 {
   font-size: var(--font-mobile-3xl);
   
  }

  .site-3-wrapper .marquee-wrapper {
    width: 300%;
  }

  .site-3-wrapper .horizontal-slide {
    padding: 4rem;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .site-3-wrapper .horizontal-slide .col:nth-child(1) {
    align-items: flex-start;
  }

  .site-3-wrapper .horizontal-slide .col h3 {
    width: 100%;
  }

  .site-3-wrapper .horizontal-slide .col img {
    width: 100%;
    height: 100%;
  }
  
  /* Losange aussi en mobile */
  .site-3-wrapper .horizontal-slide:last-child .col img {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  }
}

/* ===========================================
   🆕 SITE 4 : Box Model 3D Stack - NOUVEAU CODE
   =========================================== */

/* Variables spécifiques au site 4 */
.site-4-wrapper {
  --site4-bg: #010010;      /* Reprend le dark du projet */
  --site4-fg: #edf1e8;      /* Reprend le light du projet */
  --site4-accent: #fc694c;  /* Reprend l'accent du site 2 */
  background-color: var(--site4-bg);
  color: var(--site4-fg);
}

/* Titres du site 4 */
.site-4-wrapper h1 {
  font-family: "Suisse works", sans-serif;
  font-size: var(--font-3xl);
  font-weight: 500;
  line-height: 1;
}

.site-4-wrapper p {
  font-family: "Suisse intl", sans-serif;
  font-size: var(--font-sm);
  font-weight: 400;
  line-height: 1.5;
}

/* Sections intro et outro */
.site-4-wrapper .intro-4,
.site-4-wrapper .outro-4 {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: -40dvh; /* Pour compenser le pinning du stack */
 
}

.site-4-wrapper .intro-4 h1,
.site-4-wrapper .outro-4 h1 {
  width: 75%;
  margin: 0 auto;
  
  
}

/* Section principale avec le stack */
.site-4-wrapper .stack-section {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
    overflow: visible !important;
  z-index: 100;
   margin-bottom: -20dvh;
}


/* 🆕 Container du stack 3D */
.site-4-wrapper .stack {
  display: grid;
  grid-template-areas: "stack";
  perspective: 5000px;
  position: relative;
  width: 40vmin;
  height: 40vmin;
  transition: transform 0.3s ease;
   overflow: visible;
}

/* Overlay de fond qui change de couleur au hover */
.site-4-wrapper .stack::before {
  display: none; /* 🆕 Désactive l'overlay */
}

.site-4-wrapper .stack:hover::before {
  background: #1a1a2e;  /* Légèrement plus clair au hover */
}

/* 🆕 Animation au hover : cartes qui s'ouvrent en 3D */
.site-4-wrapper .stack:hover .card {
  --bg-opacity: 5%;
  transition-duration: 2s;
  transition-timing-function: cubic-bezier(0.85, 0, 0.15, 1);
  transform: 
    rotateX(45deg) rotate(45deg) 
    translateZ(var(--z-offset)) 
    translateY(20vh) 
    translateX(20vh);
}

/* Décalage Z pour chaque carte */
.site-4-wrapper .stack:hover .card:nth-child(1) { --z-offset: 75vh; }
.site-4-wrapper .stack:hover .card:nth-child(2) { --z-offset: 50vh; }
.site-4-wrapper .stack:hover .card:nth-child(3) { --z-offset: 25vh; }
.site-4-wrapper .stack:hover .card:nth-child(4) { --z-offset: 0vh; }
.site-4-wrapper .stack:hover .card:nth-child(5) { --z-offset: -25vh; }

/* Labels qui apparaissent au hover */
.site-4-wrapper .stack:hover .card::after {
  opacity: 1;
  transform: rotate(-45deg) rotateY(45deg) translateX(0px);
}

/* Délais d'apparition des labels */
.site-4-wrapper .stack:hover .card:nth-child(1)::after { transition-delay: 1.5s; }
.site-4-wrapper .stack:hover .card:nth-child(2)::after { transition-delay: 1.7s; }
.site-4-wrapper .stack:hover .card:nth-child(3)::after { transition-delay: 1.9s; }
.site-4-wrapper .stack:hover .card:nth-child(4)::after { transition-delay: 2.1s; }
.site-4-wrapper .stack:hover .card:nth-child(5)::after { transition-delay: 2.3s; }

/* Transitions spécifiques pour la carte de contenu */
.site-4-wrapper .stack:hover .card.content {
  background: transparent;
  color: var(--site4-fg);
  border-color: transparent;
  transition: 
    border-color 1s cubic-bezier(0.85, 0, 0.15, 1) 0s,
    background-color 1s cubic-bezier(0.85, 0, 0.15, 1) 0s,
    color 1s cubic-bezier(0.85, 0, 0.15, 1) 0s,
    transform 2s cubic-bezier(0.85, 0, 0.15, 1) 0s;
}

/* Délais pour chaque couche */
.site-4-wrapper .stack:hover .card.padding {
  transition-delay: 0.1s;
}

.site-4-wrapper .stack:hover .card.border {
  transition-delay: 0.2s;
}

.site-4-wrapper .stack:hover .card.background {
  background: var(--site4-fg);
  transition: 
    background-color 2s cubic-bezier(0.85, 0, 0.15, 1) 0.3s, 
    transform 2s cubic-bezier(0.85, 0, 0.15, 1) 0.2s;
}

.site-4-wrapper .stack:hover .card.box-shadow {
  transition-delay: 0.4s;
  box-shadow:
    0 -1px 25px rgba(0, 0, 0, 0.4),
    0 7.6px 6.1px rgba(0, 0, 0, 0.051),
    0 14.3px 11.5px rgba(0, 0, 0, 0.059),
    0 25.5px 20.5px rgba(0, 0, 0, 0.07),
    0 47.6px 38.4px rgba(0, 0, 0, 0.094),
    0 114px 92px rgba(0, 0, 0, 0.19);
}

/* 🆕 Styles de base pour chaque carte */
.site-4-wrapper .card {
  grid-area: stack;
  --z-offset: 0;
  --bg-opacity: 0%;
  
  transition: transform 4s ease;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: var(--site4-fg);
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Z-index pour l'empilement */
.site-4-wrapper .card:nth-child(1) { z-index: 5; }
.site-4-wrapper .card:nth-child(2) { z-index: 4; }
.site-4-wrapper .card:nth-child(3) { z-index: 3; }
.site-4-wrapper .card:nth-child(4) { z-index: 2; }
.site-4-wrapper .card:nth-child(5) { z-index: 1; }

/* Labels qui apparaissent au hover */
.site-4-wrapper .card::after {
  content: "Box";
  position: absolute;
  left: -45%;
  top: 110%;
  font-family: "Suisse intl mono", monospace;
  font-size: var(--font-sm);
  text-shadow: 0 1px 3px rgba(255, 0, 0, 0.75);
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease 0s, transform 0.5s ease;
  transform: rotate(-45deg) rotateY(45deg) translateX(20px);
  background: rgba(53, 53, 53, 0.384);
}

/* 🆕 Carte de contenu (avec texte) */
.site-4-wrapper .card.content {
  transition: 
    border-color 4s ease,
    background-color 5s ease 2s,
    color 4s ease 0s,
    transform 4s ease 0s;
  padding: 5vmin;
  font-size: max(2.5vmin, 0.9rem);
  line-height: 1.5;
  background: var(--site4-fg);
  border: 5px solid var(--site4-accent);
  color: var(--site4-bg);
}

.site-4-wrapper .card.content::after { 
  content: "Brave Browser"; 
  left: -50%;
}

.site-4-wrapper .card.content p:first-of-type {
  margin-top: 0;
}

/* 🆕 Carte de padding (motif hachuré cyan) */
.site-4-wrapper .card.padding {
  background: transparent;
  transition-delay: 0.1s;
}

.site-4-wrapper .card.padding::after { 
  content: "Privacy layer"; 
}

.site-4-wrapper .card.padding::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    0% 0%, 0% 100%, 
    5vmin 100%, 5vmin 5vmin, 
    calc(100% - 5vmin) 5vmin, 
    calc(100% - 5vmin) calc(100% - 5vmin), 
    5vmin calc(100% - 5vmin), 5vmin 100%, 
    100% 100%, 100% 0%
  );
  background: repeating-linear-gradient(
    -45deg, 
    #edf1e8, #edf1e8 1px, 
    rgba(255, 255, 255, 0.05) 1px, 
    rgba(255, 255, 255, 0.05) 10px
  );
}

/* 🆕 Carte de bordure */
.site-4-wrapper .card.border {
  background: transparent;
  transition-delay: 0.2s;
}

.site-4-wrapper .card.border::after { 
  content: "Brave Wallet"; 
  color: var(--site4-accent);
}

.site-4-wrapper .card.border::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    0% 0%, 0% 100%, 
    5px 100%, 5px 5px, 
    calc(100% - 5px) 5px, 
    calc(100% - 5px) calc(100% - 5px), 
    5px calc(100% - 5px), 5px 100%, 
    100% 100%, 100% 0%
  );
  background: linear-gradient(var(--site4-accent), var(--site4-accent));
}

/* 🆕 Carte de background */
.site-4-wrapper .card.background {
  transition: 
    background-color 4s ease 0.3s,
    transform 4s ease 0.3s; 
    
}

.site-4-wrapper .card.background::after { 
  content: "Security layer"; 
}

/* 🆕 Carte d'ombre */
.site-4-wrapper .card.box-shadow {
  background:  rgba(148, 135, 192, 0.489);
  transition: 
    box-shadow 4s ease 0.4s,
    transform 4s ease 0.4s; 
  
  box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.02),
    0 6.7px 5.3px rgba(0, 0, 0, 0.028),
    0 12.5px 10px rgba(0, 0, 0, 0.035),
    0 22.3px 17.9px rgba(0, 0, 0, 0.042),
    0 41.8px 33.4px rgba(0, 0, 0, 0.05),
    0 100px 80px rgba(0, 0, 0, 0.07);
}

.site-4-wrapper .card.box-shadow::after { 
  content: "Blockchain"; 
}

/* 🆕 Gestion des prompts desktop/mobile */
.site-4-wrapper .mobile-prompt {
  display: none;
}

@media (hover: none) {
  .site-4-wrapper .desktop-prompt {
    display: none;
  }
  
  .site-4-wrapper .mobile-prompt {
    display: inline;
  }
  
  /* Sur mobile, l'effet se déclenche au tap */
  .site-4-wrapper .stack:active .card {
    --bg-opacity: 5%;
    transition-duration: 2s;
    transition-timing-function: cubic-bezier(0.85, 0, 0.15, 1);
    transform: 
      rotateX(45deg) rotate(45deg) 
      translateZ(var(--z-offset)) 
      translateY(20vh) 
      translateX(20vh);
  }
}

/* 🆕 Responsive Site 4 */
@media (max-width: 1000px) {
  .site-4-wrapper h1 {
    font-size: var(--font-mobile-3xl);
  }

  .site-4-wrapper .intro-4 h1,
  .site-4-wrapper .outro-4 h1 {
    width: 100%;
 
  }

  .site-4-wrapper .stack {
    width: 60vw;
    height: 60vw;
  }

  .site-4-wrapper .card::after {
    left: -20%;
    top: 70%;
    font-size: var(--font-mobile-xs);
  }

  .site-4-wrapper .card.content::after {
    left: -23%;
  }
}

@media (orientation: landscape) and (min-width: 1000px) {
  .site-4-wrapper .stack {
    width: 40vh;
    height: 40vh;
  }
}

/* 🆕 FIN DU NOUVEAU CODE SITE 4 */

.site5-wrapper {
  width: 200px;
  height: 100%;
  margin: -200px auto 0;
 
  perspective: 1000px;
  backface-visibility: hidden;
  
}
.pulse-button {
  position: relative;
  top: 50%;
  left: 50%;
  margin-left: -70px;
  margin-top: -70px;
  display: block;
  width: 140px;
  height: 140px;
  font-size: var(--font-mobile-lg);
  font-weight: 300;
  font-family: "suisse works", sans-serif;
  text-align: center;
  line-height: 140px;
  letter-spacing: -1px;
  color: white;
  border: none;
  border-radius: 0%;
  background: #fc694c;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(2, 255, 31, 0.5);
  animation: pulse 1.5s infinite;
}

.pulse-button:hover {
  animation: none;
  background: #ce2017;
  transition: ease-in .4s;
}

/* 🎯 TOOLTIP - VERSION CORRIGÉE */
.pulse-button::before {
  content: attr(data-tooltip-keys);
  
  /* Position */
  position: absolute;
  bottom: calc(100% + 15px);  /* 15px au-dessus du bouton */
  left: 50%;
  transform: translateX(-50%);
  
  /* Style */
  background-color: #9066cf ;
  color: #ffffff;
  padding: 10px 16px;
 
  
  /* Texte */
  font-size: var(--font-sm);
  font-weight: 400;
  font-family: "Suisse intl mono", monospace;
  white-space: nowrap;
  letter-spacing: normal;
  line-height: 1.4;
  text-align: center;
  
  /* Affichage */
  display: block;
  width: max-content;
  max-width: 250px;
  
  /* Animation */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  
  /* Design */
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
  z-index: 9999;
}

/* Flèche */
.pulse-button::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  
  border: 6px solid transparent;
  border-top-color: #9066cf;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  
  z-index: 9999;
}

/* Animation au hover */
.pulse-button:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.pulse-button:hover::after {
  opacity: 1;
}


@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 #fc694c;
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
}

/* Versions avec préfixes pour compatibilité */
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0.7);
  }
  70% {
    -webkit-transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }
  100% {
    -webkit-transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
}

/* =========
   footer
   ======== */
.footer-1 {
    position: relative;
    background-color: #010010;
    color: #727272;
    padding: 10px 20px;
    box-sizing: border-box;    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    width: 100%;
    min-height: 40px;
    margin-top: 3%; /* Pas de marge négative */
}

.footer-1 .text {
    font-size: 12px;
    font-family: "Suisse intl", sans-serif;
    opacity: 0.7;
}

.footer-1 .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
    opacity: 0.5  ;
}

.footer-1 .logo-link:hover {
    transform: scale(1.2);
     opacity: 1  ;
}

.footer-1 .logo-link img {
    display: block;
    object-fit: contain;
}

@media (max-width: 600px) {
    .footer-1 {
        padding: 10px 15px;
        font-size: 12px;
        margin-top: 5%;
    }
    .footer-1 .text {
    font-size:10px;
   
}
}

@media (max-width: 400px) {
    .footer-1 {
        flex-direction: column;
        gap: 0px;
         font-size: 10px;
    }
}