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

body {
  font-family: Arial, Helvetica, sans-serif;
  border-top: 4px solid red;
}



#scroll-redline, 
#scroll-redline-left {
    position: fixed;
    top: 0;
    width: 8px;
    height: 0%;
    z-index: 9999;
    background-image: radial-gradient(circle, red 2px, transparent 2px);
    background-size: 100% 12px;
    background-repeat: repeat-y;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
}

/* On les place chacun de leur côté */
#scroll-redline {
    right: 0;
}

#scroll-redline-left {
    left: 0;
}
/* =========================
   BANNIÈRE LOGOS
========================= */

.logo-main-nav-wrapper {
  width: 100%;
}

/* Conteneur des logos */
.logo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  text-align: center;

  border-bottom: 2px solid red;

  padding: 20px 0;

  justify-items: center; 
}

.logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
   display: block;
  object-fit: contain;
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px red);
}

.logo img {
  max-width: 120px;
}

.logo img:first-child,
.logo img:nth-child(3) {
  max-width: 170px;
}

.logo img:nth-child(2) {
  max-width: 130px;

}

/* =========================
   MENU NAVIGATION
========================= */

nav {
  width: 100%;
  border-bottom: 2px solid red;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;

  list-style: none;
  padding: 15px 0;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
}

.langues img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}


/* Hover */
nav ul li a:hover {
  color: red;
}


 nav ul li a {
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: red;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}


nav ul li a.langues:hover {
  color: rgba(0, 0, 255, 0);
}

nav ul li a.langues::after {
  background: rgba(0, 0, 255, 0); 
}

nav ul li a.langues:hover::after {
  width: 100%; 
}


.menu {
    background-color: rgb(255, 255, 255);
    border-top: 2px solid red;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* main */  

.ensemblemain {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #080808 10%,
        #242424 33%,
        #777777 66%,
        #ffffff 100%
    );
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}



.ensemblemain::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/bruit.png") repeat;
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.ensemblemain::after {
    animation: grain 0.25s steps(4) infinite;
}

@keyframes grain {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
    
        transform: rotate(360deg); 
    }
}

.presentation-title:hover {
    color: red;
}

.presentation-title:hover::after {
    opacity: 1;
    transform: scale(1);
}



.presentation h2 {
    position: relative;
    font-size: 3rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    margin-bottom: 60px;

    animation: fadeIn 2s ease forwards;
}


.presentation p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    text-align: center;

    animation: fadeIn 3s ease forwards;
}




.links-sections {
    display: flex;
    gap: 100px;
    max-width: 900px;
    margin: 80px auto;
}

.link-card {
    position: relative;
    width: 100%;
    text-decoration: none;
    color: black;
}

.link-card img {
    width: 100%;
    height: auto;
    display: block;
}

.link-card h3 {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;

    color: red;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.2s ease;
}


.link-card:hover h3 {
    opacity: 1;
}


.link-card h3::before,
.link-card h3::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: red;
    background: transparent;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    opacity: 0;
}

.link-card:hover h3::before {
    opacity: 1;
    animation: glitch-1 0.3s infinite linear alternate-reverse;
}

.link-card:hover h3::after {
    opacity: 1;
    animation: glitch-2 0.25s infinite linear alternate-reverse;
}


.img-hover {

    border: 2px solid transparent; 
    transition: border-color 0.3s ease; /* Transition douce */
    cursor: pointer;
    display: block;
}

/* Effet au survol */
.img-hover:hover {
    border-color: red; /* La bordure devient rouge */
}
/* ========================= 
   FOOTER 
   ========================= */

footer {
    display: flex;
    justify-content: space-between; 
    align-items: center;            
    padding: 20px 20px;             
    border-top: 4px solid red;
    background-color: white;    
    margin-top: 0px;    
}


.footer-section {
    flex: 1; 
    display: flex;
}


.insta-container {
    justify-content: flex-start; 
}

.email-container {
    justify-content: center;     
}

.gif-container {
    justify-content: flex-end; 
}


.insta-container i {
    font-size: 40px;
    color: #000;
}

.email-container a {
    color: #000;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 20px;
}

.gif-container img {
    max-width: 200px; 
    height: auto;
}


.email-container a, 
.insta-container i {
    color: #000; 
}


.email-container a:hover, 
.insta-container i:hover {
    color: red; 
}

/* =========================
   PAGE TWWC RECORDS 
========================= */

/* PAGE TWWC */
body.twwc-records {
    color: white;
}

.logo2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  text-align: center;

  

  padding: 20px 0;

  justify-items: center; 
}

.logo2 img {
  transition: transform 0.3s ease, filter 0.3s ease;
   display: block;
  object-fit: contain;
}

.logo2 img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px red);
}

.logo2 img {
  max-width: 180px;
}

.logo2 img:first-child,
.logo2 img:nth-child(3) {
  max-width: 80px;
}

.logo2 img:nth-child(2) {
  max-width: 50px;

}

/* SECTION AVEC IMAGE DE FOND */
/* IMAGE DE FOND */
.intro-bg {
    background-image: url("images/studio.png");
    background-size: cover;        /* voir toute l'image */
    background-position: center;   /* montrer le haut gauche */
    background-repeat: no-repeat;
    background-attachment: fixed; 

    width: 100%;
    min-height: 120vh;              /* prend toute la hauteur */
    display: flex;
    flex-direction: column;          /* empile texte et overlay */
          /* texte en haut à gauche */
    justify-content: flex-start;
    position: relative;              /* pour overlay */
}

/* TEXTE HAUT À GAUCHE */
.intro-content {
    padding: 30px 0 0 30px;        /* top right bottom left */
    max-width: 600px;
}

/* TITRE ET PARAGRAPHE */
.intro-text h1 {
    font-size: 67px;
    margin-bottom: 20px;
    color: red;                 /* rouge */
}

.main-title {
    font-size: 96px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ff0000;
    transition: color 0.3s ease;
}

.lien-twwc-visu {
  color: red;
}

.lien-twwc-visu:hover {
  text-decoration: underline;
  transform: scale(0.5);
  filter: drop-shadow(0 0 10px red);
}


/* HOVER */
.main-title:hover {
    color: #ffffff;

    /* contour noir */
    -webkit-text-stroke: 2px #000;
}


.intro-text p {
    font-size: 18px;
    width: auto;
    max-width: 100%;
    line-height: 1.6;
    color: red;                /* rouge */
}


.choose-character {
    text-align: center;
    padding: 150px 10%;
    color: red;
    margin-top: 0px;
}

.choose-character h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.choose-character h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #ff0000;
}

/* GRID */
.character-grid {
    display: flex;
    justify-content: center;
    gap: 90px;
}

/* LIEN */
.character-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* IMAGE */
.character-item img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
    box-shadow: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;

}

.character-item:hover img {
    transform: scale(1.06);
    box-shadow: 0 14px 35px rgba(255, 0, 79, 0.35);
}



/* TITRE */
.character-title {
    margin-top: 20px;
    font-size: 32px; /* PLUS GRAND */
    font-weight: 800;
    letter-spacing: 2px;
    color: red;
    text-transform: uppercase;

    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* HOVER */
.character-item:hover img {
    transform: scale(1.06);
}

.character-item:hover .character-title {
    opacity: 1;
    transform: scale(1);
}


/* SECTION STUDIO */
.studio {
  padding: 80px 10% 40px;
}

.studio-content {
  display: flex;              /* OBLIGATOIRE */
  align-items: flex-start;
  gap: 60px;                  /* espace texte / image */
  max-width: 1200px;          /* PLUS LARGE */
  margin: 0 auto;
  padding: 30px 0;
}


.studio-text {
  flex: 1;
  color: red;
  margin-top: -30px;
}

.studio-text h2 {
  font-size: 67px;
    margin-bottom: 20px;
    color: red;    
}

.tarifs {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 28px;
  font-style: bold;
  line-height: 2.65;
}

.packs {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 28px;
  font-style: bold;
  line-height: 1.75;
}

.studio-text-image {
  display: block;
  margin-top: 30px;      /* espace avec le paragraphe */
  width: 100%;            /* pas pleine largeur */
  max-width: 420px;      /* limite élégante */
  object-fit: cover;
}


.studio-image {
  flex: 0 0 50vw;      /* ~1/3 de l’écran */
  margin-right: -10%;
  margin-top: -100px
}

.studio-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  
}

/* Responsive */
@media (max-width: 768px) {
  .studio-content {
    flex-direction: column;
  }
}



.second-title {
    font-size: 96px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ff004f;
    transition: color 0.3s ease;
}

/* HOVER */
.second-title:hover {
    color: #ffffff;

    /* contour noir */
    -webkit-text-stroke: 2px #000;
}


.intro-text p {
    font-size: 18px;
    width: auto;
    max-width: 100%;
    line-height: 1.6;
    color: red;                /* rouge */
}

.contact-records {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    font-size: 18px;
    color: red;
    font-style: italic;
    margin-bottom: -70px;
    margin-top: -50px;
}

.rdv {
  background: rgb(255, 0, 0);        /* pas de fond */
  border: 2px solid #000000;          /* contour noir */
  color: #000000;                     /* texte noir */
  padding: 10px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;              /* optionnel */
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  display: block;
}


.rdvstud {
    font-size: 36px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.rdvstud:hover {
    text-decoration: none;
    color: #ffffff;
}

/*=========================
   PAGE TWWC MODE 
========================= */

body.twwc-records {
    color: white;
}

.logo3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  text-align: center;

  

  padding: 20px 0;

  justify-items: center; 
}

.logo3 img {
  transition: transform 0.3s ease, filter 0.3s ease;
   display: block;
  object-fit: contain;
}

.logo3 img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px red);
}

.logo3 img {
  max-width: 180px;
}

.logo3 img:first-child,
.logo3 img:nth-child(3) {
  max-width: 110px;
}

.logo3 img:nth-child(2) {
  max-width: 85px;
}

/* ===== MODE PAGE ===== */

body.twwc-mode {
   height: 100vh;
    overflow-x: hidden;
}

.mode-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* GAUCHE */
.mode-list {
    width: 40%;
    padding: 80px 0 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end;
    overflow-y: auto;
}

.mode-list img {
    width: 160px;
    cursor: pointer;
}

.mode-item {
    width: calc(100vw * 0.4 - 40px);
    background: red;
    padding: 10px;
    border: 2px solid black;
}


.mode-item img {
    width: 100%;
    display: block;
}

.mode-meta {
    margin-bottom: 8px;
    font-size: 30px;
    letter-spacing: 0.1em;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

.mode-number {
    display: block;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: letter-spacing 0.12s ease, opacity 0.12s ease;
}

.mode-item:hover .mode-number {
    letter-spacing: 0.2em;
    opacity: 0.9;
}


.mode-name {
    display: block;
    text-transform: uppercase;
    margin-top: 2px;
}

/* DROITE */
.mode-preview {
  width: 60%;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    padding-top: 80px; /* alignement avec la gauche */
    display: flex;
    justify-content: center;
}


.mode-preview {
    width: 60%;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    padding-top: 80px;
    display: flex;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s linear;
}

.mode-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
}

@keyframes printFlash {
    from { opacity: 0.4; }
    to { opacity: 0; }
}

.mode-preview.flash::after {
    animation: printFlash 0.18s linear;
}


#mode-preview-image {
    max-width: 90%;
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    display: block;
}

#sound-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 10px;
    letter-spacing: 0.15em;
    opacity: 1.35;
    cursor: pointer;
    z-index: 9999;
    user-select: none;
    transition: opacity 1.15s ease;
    color: rgb(255, 0, 0);
}

#sound-toggle:hover {
    opacity: 0.35;
}


/*=========================
   PAGE TWWC VISUALS 
========================= */

body .twwc-visuals {
  margin: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
  background-color: #ffffff;
}

.logo4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  text-align: center;

  

  padding: 20px 0;

  justify-items: center; 
}

.logo4 img {
  transition: transform 0.3s ease, filter 0.3s ease;
   display: block;
  object-fit: contain;
}

.logo4 img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px red);
}

.logo4 img {
  max-width: 180px;
}

.logo4 img:first-child,
.logo4 img:nth-child(3) {
  max-width: 80px;
}

.logo4 img:nth-child(2) {
  max-width: 50px;

}

.clickable-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.coming-soon-gif {
  width: 50vw;   /* 50% de la largeur de l'écran */
  height: auto;  /* garde les proportions */
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
}

/* Hover simple */
.coming-soon-gif:hover {
  opacity: 0.8;
}

/* =========================
   ADAPTATIONS RESPONSIVES (Mobile-first overrides)
   ========================= */

html {
  -webkit-text-size-adjust: 100%; /* évite le zoom de texte sur mobile */
}

/* Règles communes pour tablettes et mobiles */
@media (max-width: 1024px) {
  .logo {
    grid-template-columns: repeat(3, 1fr);
    padding: 12px 8px;
    gap: 8px;
  }

  .logo img {
    max-width: 130px;
  }

  nav ul {
    justify-content: flex-start;
    gap: 18px;
    padding: 10px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav ul li {
    flex: 0 0 auto;
  }

  .ensemblemain {
    padding: 80px 14px;
  }

  .presentation h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    letter-spacing: 4px;
  }

  .presentation p, .intro-text p {
    font-size: 1rem;
    padding: 0 6px;
    box-sizing: border-box;
  }

  .links-sections {
    flex-direction: column;
    gap: 22px;
    max-width: 420px;
    margin: 40px auto;
    padding: 0 10px;
  }

  .link-card h3 {
    font-size: 1.25rem;
    top: 24px;
  }

  .intro-bg {
    background-attachment: scroll;
    min-height: 80vh;
  }

  .choose-character {
    padding: 80px 6%;
  }

  .character-grid {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .character-item img {
    width: 220px;
    height: 220px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .gif-container img {
    max-width: 160px;
  }

  .studio-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px 8px;
  }

  .studio-image {
    margin-right: 0;
    margin-top: 0;
    flex: none;
  }

  /* Mode page : empiler la preview sous la liste */
  .mode-container {
    display: block;
  }

  .mode-list {
    width: 100%;
    padding: 30px 10px;
    align-items: center;
  }

  .mode-item {
    width: 100%;
  }

  .mode-list img {
    width: 140px;
  }

  .mode-preview {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px 10px 40px;
    opacity: 1;
    pointer-events: auto;
  }

  #sound-toggle {
    bottom: 16px;
    right: 16px;
    font-size: 12px;
    opacity: 0.9;
  }
}

/* Règles spécifiques aux très petits écrans */
@media (max-width: 480px) {
  .presentation h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .main-title, .second-title {
    font-size: 28px;
  }

  /* Logos plus petits sur très petits écrans */
  .logo img {
    max-width: 60px;
  }

  nav ul li a {
    font-size: 14px;
    padding: 6px 8px;
  }

  /* Liens (index) : restreindre la largeur des cartes et réduire les images */
  .links-sections {
    max-width: 340px;
  }

  .links-sections .link-card {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .links-sections .link-card img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    display: block;
  }

  .links-sections .link-card h3 {
    font-size: 1rem;
    top: 18px;
  }

  .character-item img {
    width: 160px;
    height: 160px;
  }

  /* GIF du footer plus petit */
  .gif-container img {
    max-width: 120px;
  }

  /* Icone Instagram plus petite */
  .insta-container i {
    font-size: 34px;
  }

  .coming-soon-gif {
    width: 90vw;
  }

  .footer-section.email-container a {
    font-size: 16px;
    word-break: break-word;
  }
}


