/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bonus{
    position: absolute;
    margin-left: 900px;
    margin-top: 80px;
}

html {
    scroll-behavior: auto;
    height: 100%;
    margin: 0;
}

/* Mode Nuit Permanent */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #000000;
    min-height: 100vh;
    padding-top: 0;
}

/* Pagination DataTables - Style personnalisé */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #6200ea !important;
    color: #ffffff !important;
    border: 1px solid #6200ea !important;
    border-radius: 5px !important;
    margin: 0 3px !important;
    padding: 5px 10px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #7c4dff !important;
    color: #ffffff !important;
    border: 1px solid #7c4dff !important;
}
/* PAGE CREDITS */

/* Section crédits principale */
.credits-section {
    margin-bottom: 50px;
}

.credits-section h2 {
    color: #6200ea;
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.credits-section h3 {
    color: #0099ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Blocs de contenu crédits */
.credits-block {
    background: rgba(0, 211, 234, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(98, 0, 234, 0.3);
    transition: all 0.3s ease;
}

.credits-block:hover {
    background: rgba(98, 0, 234, 0.15);
    border-color: rgba(98, 0, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
}

/* Listes de crédits */
.credits-list {
    list-style: none;
    padding-left: 0;
}

.credits-list li {
    color: #b0b0b0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.credits-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6200ea;
    font-size: 1.2rem;
    font-weight: bold;
}

.credits-list li strong {
    color: #ffffff;
    font-weight: 600;
}

/* Liens dans les crédits */
.credits-list a,
.credits-block a {
    color: #0099ff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.credits-list a:hover,
.credits-block a:hover {
    color: #00d4ff;
    border-bottom: 1px solid #00d4ff;
}

/* Bloc note importante */
.credits-note {
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.2), rgba(0, 153, 255, 0.2));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(98, 0, 234, 0.5);
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 8px 25px rgba(98, 0, 234, 0.3);
}

.credits-note p {
    margin: 0;
    line-height: 1.8;
}

.credits-note p:first-child {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.credits-note p:last-child {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* Icônes emoji dans les titres */
.credits-section h2::before {
    margin-right: 10px;
}

/* Catégories de crédits avec bordures colorées */
.credits-category-images {
    border-left: 4px solid #6200ea;
}

.credits-category-videos {
    border-left: 4px solid #0099ff;
}

.credits-category-icons {
    border-left: 4px solid #00d4ff;
}

.credits-category-data {
    border-left: 4px solid #7c4dff;
}

.credits-category-tools {
    border-left: 4px solid #00bcd4;
}

/* Responsive pour la page crédits */
@media screen and (max-width: 768px) {
    .credits-section h2 {
        font-size: 1.5rem;
    }

    .credits-section h3 {
        font-size: 1.2rem;
    }

    .credits-block {
        padding: 15px;
    }

    .credits-list li {
        font-size: 0.9rem;
    }

    .credits-note {
        padding: 20px;
    }

    .credits-note p:first-child {
        font-size: 1rem;
    }

    .credits-note p:last-child {
        font-size: 0.85rem;
    }
}

/* Animation d'apparition progressive */
.credits-block {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.credits-block:nth-child(1) { animation-delay: 0.1s; }
.credits-block:nth-child(2) { animation-delay: 0.2s; }
.credits-block:nth-child(3) { animation-delay: 0.3s; }
.credits-block:nth-child(4) { animation-delay: 0.4s; }
.credits-block:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titre h1 spécifique page crédits */
.palmares.credits-title {
    margin-top: 100px;
    margin-bottom: 60px;
    font-size: 3rem;
}

/* Licence badges */
.licence-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid #6200ea;
    border-radius: 5px;
    color: #6200ea;
    font-size: 0.85rem;
    font-weight: bold;
    margin-left: 10px;
    text-transform: uppercase;
}

/* Séparateur entre sections */
.credits-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6200ea, transparent);
    margin: 50px 0;
    border-radius: 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #ffffff !important;
    color: #6200ea !important;
    border: 2px solid #6200ea !important;
    font-weight: bold !important;
}

/* Boutton "précédents" :  */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    border: 1px solid #cccccc !important;
    cursor: not-allowed !important;
}

.club {
    font-style: italic;
}

/* Liens des clubs dans le tableau */
.club-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.club-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Lights - Visibles en permanence */
.lights {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

.light {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #ffd700, 0 0 5px #fff;
    animation: float 15s infinite;
}

/* Navigation */
header {
    position: relative;
    display: flex;
    margin-top: 0
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    width: 100%;
}

nav {
    width: 1080px;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid #6200ea;
    left: 0;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 60px;
    max-width: 1080px;
    width: 100%;
    justify-content: center;
}

nav a {
    box-sizing: border-box;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #919191;
    font: 600 20px Arial, sans-serif;
    background: rgba(1, 0, 3, 0.856);
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.137);
    border-radius: 5px;
    position: relative;
}

nav a span {
    letter-spacing: 0.1rem;
    transition: 0.3s;
    position: relative;
}

nav a span::before {
    position: absolute;
    content: "";
}

nav a:hover,
nav a:focus {
    background: rgba(70, 0, 183, 0.521);
}

nav a:hover span,
nav a:focus span {
    color: #fff;
}

nav a:hover span::before,
nav a:focus span::before {
    animation: chitchat linear both 1.2s;
}

.Ronaldo2{
    width: 500px;
    margin-left: 0px;
    padding-bottom: 50px;
}

.Madrid{
    width: 500px;
    position: absolute;
    margin-top: 3600px;
    margin-left: 400px;
}

/* Layout */
main {
    display: flex;
    flex-direction: column;
    width: 1080px;
    margin-top: -100px;
    padding-top: 100px;
    background-color: #161616;
    border-radius: 5px;
}

footer {
    flex-shrink: 0;
    width: 100%;
    background-color: #0a0a0a;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    margin-top: 0;
}

.bas-de-page ul.header2 {
    align-items: flex-start;
    justify-content: flex-start;
}

.bas-de-page ul.header2 li a {
    justify-content: flex-start; /* Les liens alignés à gauche */
}

tr, td {
    color: #fff;
}

/* Titres */
h1,
.match,
.palmares {
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    background: linear-gradient(45deg, #6200ea, #6200ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
    font-weight: bold;
}

.champions {
    font-size: 50px;
    margin-left: -150px;
}

.match {
    font-size: 30px;
    margin: 100px;
}

.palmares {
    font-size: 35px;
    margin-bottom: 80px;
}

.titre {
    margin-bottom: 300px;
    font-size: 40px;
    text-align: center;
    color: #6200ea;
    font-style: italic;
    text-transform: uppercase;
}

.texte {
    color: #ebebeb;
    margin-top: -250px;
    font-size: 25px;
    text-align: center;
}

.texte1 {
    font-size: 1.2rem;
    color: #c5c5c5;
}

.highlight {
    color: #6200ea;
    font-weight: bold;
    font-style: italic;
    font-size: 1.1em;
}

.highlights {
    color: #6200ea;
    font-style: italic;
    font-weight: bold;
    font-size: 1.1em;
}

.uefa {
    color: #6200ea;
    font-weight: bold;
}

.nombres {
    font-size: 3.5rem;
    font-weight: bold;
    color: #6200ea;
    margin-bottom: 10px;
}

/* Vidéo */
.texte-vidéo {
    padding-left: 20%;
    padding-top: 200px;
    margin-bottom: 100px;
}

.video-container {
    width: 100%;
    height: 408px;
    z-index: 2;
    overflow: hidden;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;
    object-position: 0 -200px;
}

.video-overlay {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.493);
    z-index: 1;
}

.top50 {
    text-align: center;
    font-size: 30px;
    padding: 50px 0 100px;
}

/* Textes Ronaldo */
.texte-ronaldo {
    font-size: 20px;
    padding: 100px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: #6200ea;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
}

.texte-ronaldo2 {
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #b3b3b3;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* Contenu */
.contenu {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(20, 20, 20, 0.986);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    font-style: italic;
    color: #fff;
}

.slide::before {
    content: '';
    position: absolute;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.scroll-hint {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    z-index: 0;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.logo {
    font-size: 8rem;
    margin: 30px 0;
    filter: drop-shadow(0 0 30px rgba(0, 153, 255, 0.6));
    animation: glow 2s ease-in-out infinite;
}

/* Blocs Carrés */
.carré,
.carré2,
.carré3 {
    background: rgba(20, 20, 20, 0.986);
    border-radius: 15px;
    padding: 30px;
    width: 220px;
    margin: 20px;
    height: 180px;
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 0 10px #1a1a1a;
}

.carré {
    margin-top: 0px;
    margin-left: 220px;
}

.carré2 {
    margin-top: -200px;
    margin-left: -50px;
}

.carré3 {
    margin-top: -200px;
    margin-left: 490px;
}

.partie1 {
    position: relative;
    margin-left: 200px;
    padding-bottom: 150px;
    padding-top: 100px;
}

.carré4,
.carré5,
.carré6,
.carré7,
.carré8 {
    background: rgba(20, 20, 20, 0.986);
    border-radius: 15px;
    padding: 20px;
    width: 220px;
    display: inline-block;
    margin: 10px -80px;
    margin-left: 100px;
    height: 180px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 0 10px #1a1a1a;
}

.carré4 {
    margin-left: 100px;
}

.carré5 {
    margin-top: -220px;
    margin-left: 100px;
}

.carré6 {
    position: absolute;
    margin-top: 10px;
    margin-left: 105px;
}

.partie2 {
    margin-left: 100px;
}

.partie3 {
    margin-left: 220px;
}

.carré:hover,
.carré2:hover,
.carré3:hover,
.carré4:hover,
.carré5:hover,
.carré6:hover,
.carré7:hover,
.carré8:hover {
    transform: translateY(-5px);
    background-color: #5e5e5e50;
    border: solid #6200ea;
}

/* Images */
.madrid {
    width: 350px;
    margin-top: 30px;
}

.manchester {
    position: absolute;
    width: 150px;
    margin-left: 100px;
    margin-top: 250px;
    padding-bottom: 300px;
}

/* Loader */
.dark-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOutSmooth 1s ease 3s forwards;
}

.loader {
    max-width: fit-content;
    color: rgb(242, 255, 240);
    font-size: 50px;
    font-family: Mine;
    position: relative;
    font-style: italic;
    font-weight: 600;
}

.loader span {
    animation: cut 2s infinite;
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.loader:hover {
    color: #fcffdf;
}

.loader::after,
.loader::before {
    position: absolute;
    content: "";
    width: 100%;
    border-radius: 4px;
    background-color: #6200ea;
    top: 0;
    animation: scan 2s infinite;
    left: 0;
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.loader::after {
    height: 6px;
    filter: blur(10px);
    z-index: 0;
}

.loader::before {
    height: 5px;
    z-index: 1;
    filter: opacity(0.9);
}

/* Tableaux */
#montableau tbody td:hover,
table.dataTable tbody td:hover,
.dataTable tbody td:hover {
    background-color: #6200ea !important;
}

#montableau tbody td,
table.dataTable tbody td,
.dataTable tbody td {
    transition: background-color 0.1s ease;
}

#montableau_info{
    color: #6200ea;
}

.mention1,
.mention2{
    font-weight: bold;
    color: #6200ea;

}

/* Cartes 3D */
.ligne1,
.ligne2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px auto;
    flex-wrap: wrap;
    max-width: 1080px;
}

.carte1,
.carte2,
.carte3,
.carte4 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    perspective: 2500px;
    margin: 0;
}

/* SECTION UPLOAD */

.upload-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.1), rgba(20, 20, 20, 0.95));
    border-radius: 15px;
    border: 2px solid rgba(98, 0, 234, 0.3);
    box-shadow: 0 8px 32px rgba(98, 0, 234, 0.2);
}

.upload-title {
    color: #6200ea;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.upload-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
}

/* Input File Personnalisé */
.file-input-wrapper {
    width: 100%;
    text-align: center;
}

.file-input-wrapper input[type="file"] {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(135deg, #6200ea, #7c4dff);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(98, 0, 234, 0.4);
}

.file-label:hover {
    transform: translateY(3px);
    box-shadow: 0 6px 20px rgba(98, 0, 234, 0.6);
    background: linear-gradient(135deg, #4400ff, #5f2eff);
}

.file-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.file-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#file-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

#file-size {
    color: #6200ea;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Contraintes Upload */
.upload-constraints {
    background: rgba(98, 0, 234, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    border-left: 4px solid #6200ea;
}

.upload-constraints p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 5px 0;
}

/* Bouton Upload */
.btn-upload {
    padding: 15px 50px;
    background: linear-gradient(135deg, #8c00ff, #0000ff);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(68, 0, 255, 0.6);
    background: linear-gradient(135deg, #0400ff, #6200ff);
}

.btn-upload:active {
    transform: translateY(0);
}

/* Messages Upload */
.upload-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.upload-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #4caf50;
    display: block;
}

.upload-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
    display: block;
}

/* === PAGE PARTENAIRES === */

.content-section{
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    color: #efefef;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.team-card {
    background-color: #252525;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    
}


.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #121212;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
   
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.497) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay .team-role {
    color: #6200ea;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    color: #ffffff;
    font-size: 1.6em;
    font-weight: 800;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-role-subtitle {
    color: #6200ea;
    font-size: 0.95em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.team-description {
    color: #b8b8b8;
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0 0 25px 0;
    text-align: left;
    flex: 1;
}

.team-link {
    display: inline-flex;
    align-items: center;
    color: #6200ea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 2px solid #545454;
    border-radius: 6px;
    align-self: flex-start;
}

.team-link:hover {
    background-color: #4c24ff;
    border: #000;
    color: #ffffff;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .team-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }

    .team-image-wrapper {
        height: 280px;
    }

    .team-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .team-info {
        padding: 25px 20px;
    }

    .team-name {
        font-size: 1.4em;
    }

    .team-image-wrapper {
        height: 250px;
    }
}

.cover-image {
    width: 300px;
    height: 300px;
    filter: grayscale(100%);
    object-fit: cover;
}

.wrapper {
    transition: all 0.5s;
    position: relative;
    width: 300px;
    z-index: -1;
}

.carte1:hover .wrapper,
.carte2:hover .wrapper,
.carte3:hover .wrapper,
.carte4:hover .wrapper {
    filter: grayscale(0%);
}

.wrapper::before,
.wrapper::after {
    content: "";
    opacity: 0;
    width: 300px;
    height: 500px;
    transition: all 0.5s;
    position: relative;
    left: 0;
    z-index: 1;
}

.wrapper::before {
    top: 0;
    height: 100%;
    background-image: linear-gradient(to top, transparent 46%, rgba(12, 13, 19, 0.5) 68%, rgba(12, 13, 19) 97%);
}

.wrapper::after {
    bottom: 0;
    opacity: 1;
    background-image: linear-gradient(to bottom, transparent 46%, rgba(0, 0, 0, 0.192) 68%, rgba(0, 0, 0, 0.774) 97%);
}

.carte1:hover .wrapper::before,
.carte2:hover .wrapper::before,
.carte3:hover .wrapper::before,
.carte4:hover .wrapper::before,
.wrapper::after {
    opacity: 1;
}

.carte1:hover .wrapper::after,
.carte2:hover .wrapper::after,
.carte3:hover .wrapper::after,
.carte4:hover .wrapper::after {
    height: 120px;
}

.title {
    width: 100px;
    transition: transform 0.5s;
}

.carte1:hover .title,
.carte2:hover .title,
.carte3:hover .title,
.carte4:hover .title {
    transform: translate3d(0%, -50px, 100px);
}

.character {
    width: 200px;
    opacity: 0;
    transition: all 0.5s;
    position: relative;
    z-index: 2;
}

.carte1:hover .character,
.carte2:hover .character,
.carte3:hover .character,
.carte4:hover .character {
    opacity: 1;
    transform: translate3d(0%, -20%, 100px);
}

/* PAGE DE CONFIRMATION D'ENVOI MAIL */

.confirmation-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.confirmation-box {
    max-width: 700px;
    width: 100%;
    padding: 80px 50px;
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.2), rgba(20, 20, 20, 0.98));
    border-radius: 25px;
    border: 3px solid rgba(98, 0, 234, 0.6);
    box-shadow: 0 20px 60px rgba(98, 0, 234, 0.4), 
                0 0 150px rgba(0, 153, 255, 0.3),
                inset 0 0 50px rgba(98, 0, 234, 0.1);
    text-align: center;
    position: relative;
    z-index: 10;
    animation: slideInConfirm 1s ease-out, glowPulse 3s ease-in-out infinite;
}

.confirmation-box::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #6200ea, #0099ff, #00d4ff, #6200ea);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    opacity: 0.5;
    animation: gradientShift 4s ease infinite;
    filter: blur(10px);
}

.confirmation-box h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(45deg, #6200ea, #6200ea, #6200ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
    text-shadow: 0 0 30px #6200ea;
}

.confirmation-icon {
    font-size: 6rem;
    margin-bottom: 30px;
    display: inline-block;
    animation: checkBounce 1.5s ease-out;
    filter: drop-shadow(0 0 20px rgba(98, 0, 234, 0.8));
}

.confirmation-box p {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin: 20px 0;
    line-height: 1.8;
}

.confirmation-box p:first-of-type {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

.confirmation-divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6200ea, transparent);
    margin: 30px auto;
    border-radius: 2px;
}

.confirmation-box a {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #6200ea, #0099ff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(98, 0, 234, 0.5),
                0 0 50px rgba(0, 153, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.confirmation-box a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.confirmation-box a:hover::before {
    width: 300px;
    height: 300px;
}

.confirmation-box a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(98, 0, 234, 0.7),
                0 0 80px rgba(0, 153, 255, 0.5);
    background: linear-gradient(135deg, #7c4dff, #00d4ff);
}

.confirmation-box a:active {
    transform: translateY(-2px) scale(1.02);
}

/* Animation particules de fond pour confirmation */
.confirmation-page .lights .light {
    animation: floatConfirm 20s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 1;
    }
}

@keyframes floatConfirm {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-150px) translateX(80px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes slideInConfirm {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 20px 60px #6200ea, 
                    0 0 150px #6200ea,
                    inset 0 0 50px #6200ea;
    }
    50% {
        box-shadow: 0 25px 80px #6200ea, 
                    0 0 200px #6200ea,
                    inset 0 0 80px #6200ea;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeOutSmooth {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes scan {
    0% { top: 0; }
    25% { top: 54px; }
    50% { top: 0; }
    75% { top: 54px; }
}

@keyframes cut {
    0% { clip-path: inset(0 0 0 0); }
    25% { clip-path: inset(100% 0 0 0); }
    50% { clip-path: inset(0 0 100% 0); }
    75% { clip-path: inset(0 0 0 0); }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px #6200ea);
    }
    50% {
        filter: drop-shadow(0 0 20px #6200ea);
    }
}

@keyframes chitchat {
    0% { content: "#"; }
    5% { content: "."; }
    10% { content: "^{"; }
    15% { content: "-!"; }
    20% { content: "#$_"; }
    25% { content: "№:0"; }
    30% { content: "#{+."; }
    35% { content: "@}-?"; }
    40% { content: "?{4@%"; }
    45% { content: "=.,^!"; }
    50% { content: "?2@%"; }
    55% { content: "\;1}]"; }
    60% { content: "?{%:%"; right: 0; }
    65% { content: "|{f[4"; right: 0; }
    70% { content: "{4%0%"; right: 0; }
    75% { content: "'1_0<"; right: 0; }
    80% { content: "{0%"; right: 0; }
    85% { content: "]>'"; right: 0; }
    90% { content: "4"; right: 0; }
    95% { content: "2"; right: 0; }
    100% { content: ""; right: 0; }
}

/* Footer Configuration */
.bas-de-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px;
}

.titre_footer h2 {
    color: #6200ea;
    font-size: 50px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.soustitre_footer p {
    color: #b0b0b0;
    font-size: 30px;
    text-align: left;
    margin-bottom: 25px;
}

.texte1_footer p {
    color: #b0b0b0;
    font-style: italic;
    text-align: left;
    font-size: 1rem;
    margin-bottom: 30px;
}

.bas-de-page ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: -50px;
    align-items: end;
}

.bas-de-page ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
    gap: 20px;
}

.bas-de-page ul li a:hover {
    color: #6200ea;
    transform: translateX(-5px);
}

.troyes {
    font-size: 10px;
}

.create {
    font-size: 10px;
    color: #6200ea;
    font-weight: bold;
}

/* Formulaire de contact - Mode Nuit Permanent */
.contact-form {
    width: 500px;
    margin: 30px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #505050;
    border-radius: 10px;
    box-shadow: 0 0px 25px rgb(0, 0, 0);
}

.contact-form label {
    color: #1a1a1a;
}

.en-tete {
    display: flex;
    gap: 15px;
}

.en-tete .field-group {
    flex: 1;
}

.field-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #6200ea;
    text-transform: uppercase;
    margin-bottom: 8px;
}

label span {
    color: #ff0000;
    margin-left: 2px;
}

.obligatoire {
    font-style: italic;
    font-size: 10px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
}

input {
    height: 42px;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #6200ea;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #6200ea;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.791);
    transition: all 0.3s ease;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 150px;
}

.radio-option input[type="radio"] {
    display: none; 
}

.radio-option label {
    display: block;
    padding: 15px 20px;
    background: rgba(98, 0, 234, 0.1);
    border: 2px solid rgba(98, 0, 234, 0.3);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: bold;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-option label:hover {
    background: rgba(98, 0, 234, 0.2);
    border-color: rgba(98, 0, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
}


.radio-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #6200ea, #7c4dff);
    border-color: #6200ea;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(98, 0, 234, 0.5);
}


.radio-option input[type="radio"]:checked + label {
    animation: radioSelect 0.3s ease;
}

@keyframes radioSelect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-option {
        min-width: 100%;
    }
}
.btn-submit:hover {
    background-color: #6200ea;
    transform: translateY(2px);
}

/* Ciblage des images dans la galerie */
.ligne1 img,
.galerie img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.ligne1 img:hover,
.galerie img:hover {
    filter: grayscale(0%); /* ← Retirer le grayscale au hover */
}
.btn-submit:active {
    transform: translateY(0);
}

.formulaire-contact {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.en-tete .groupe-input {
    width: 50%;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #444;
    color: #070707;
    font-family: 'Inter', sans-serif;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: #1f1f1f;
    outline: none;
    box-shadow: 0 0 8px rgba(245, 209, 66, 0.3);
}

.submit-box {
    text-align: center;
}

.formulaire-contact button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 2px solid #6200ea;
    color: #6200ea;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.formulaire-contact button[type="submit"]:hover {
    background-color: #6200ea;
    color: #000;
    box-shadow: 0 0 15px #6200ea;
}

/* === SECTION DOCUMENTS === */
.doc {
    background-color: #252525;
    border-radius: 12px;
    padding: 50px 40px;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.doc h1.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.doc h1.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.doc-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 2px solid #333;
    border-radius: 8px;
    padding: 30px 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.doc-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #6200ea;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.doc-item:hover::before {
    transform: scaleY(1);
}

.doc-item:hover {
    border-color: #6200ea;
    box-shadow: 0 8px 24px #6200ea5d;
    transform: translateY(-5px);
}

.doc-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    display: block;
}

.doc-title {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: block;
}

.doc-description {
    color: #b0b0b0;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px;
    display: block;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    color: #6200ea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #6200ea;
    border-radius: 6px;
    margin-top: auto;
}

.doc-link:hover {
    background-color: #6200ea;
    color: #ffffff;
    transform: translateX(5px);
}

.doc-link::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.doc-link:hover::after {
    margin-left: 12px;
}