* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*police*/
@font-face
{
    font-family: 'Valorant';
    src: url('font/Valorant_Font.ttf');
    font-weight: normal;
    font-style: normal;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Valorant', sans-serif;
    background-color: #0f1923;
    color: #fff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

*,
button, 
input, 
select, 
textarea {
  font-family: inherit;
}

/* Styles du Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 50px 20px 30px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 70, 85, 0.2);
    width: 100%;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff4655, transparent);
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.6);
}

.footer_content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer_links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer_link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
}

.footer_link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff4655;
    transition: width 0.3s ease;
}

.footer_link:hover {
    color: #ff4655;
    text-shadow: 0 0 8px rgba(255,70,85,0.6);
}

.footer_link:hover::after {
    width: 100%;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

/* Conteneur principal */
.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.3) 0%, rgba(15, 25, 35, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.glitch {
    font-size: 8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ff4655;
    text-shadow: 
        0 0 20px rgba(255, 70, 85, 0.8),
        0 0 40px rgba(255, 70, 85, 0.6),
        0 0 60px rgba(255, 70, 85, 0.4);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    color: #ece8e1;
    margin-top: 1rem;
    text-shadow: 0 0 10px rgba(236, 232, 225, 0.5);
}
/*hero,merde cest agent dans se jeu*/
/* Carousels Section */
.carousels-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #0f1923 0%, #1a2332 100%);
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container.left {
    flex-direction: row;
}

.carousel-container.right {
    flex-direction: row-reverse;
}

.carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll-left 56s linear infinite;
}

.carousel-track.reverse {
    animation: scroll-right 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-card {
    min-width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #1a2332 0%, #0f1923 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ff4655;
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.3);
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 70, 85, 0.5);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-card:hover img {
    transform: scale(1.1);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(15, 25, 35, 0.95), transparent);
}

.card-info h3 {
    font-size: 1.5rem;
    color: #ff4655;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-info p {
    color: #ece8e1;
    font-size: 0.9rem;
}
/*carouselles des agents*/
/* Text Content */
.text-content {
    flex: 1;
    max-width: 500px;
}

.text-content h2 {
    font-size: 3rem;
    color: #ff4655;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(255, 70, 85, 0.5);
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ece8e1;
    margin-bottom: 1.5rem;
    text-align: justify;
}
/*texte titre et texte informatif des agents*/
/* Footer */
.contact-footer {
    background: linear-gradient(135deg, #0f1923 0%, #ff4655 100%);
    padding: 6rem 2rem 2rem;
    margin-top: 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}
/*pour le footer */
/* Contact Form */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(15, 25, 35, 0.95) 100%);
    padding: 60px 60px 30px 60px;
    border-top: 2px solid rgba(255, 70, 85, 0.3);
    margin-top: 100px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4655, transparent);
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.6);
}

.footer_content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer_links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer_link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
}

.footer_link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff4655;
    transition: width 0.3s ease;
}

.footer_link:hover {
    color: #ff4655;
    text-shadow: 0 0 8px rgba(255,70,85,0.6);
}

.footer_link:hover::after {
    width: 100%;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}


/* Conteneur principal de la pub */
#pubContainer2 {
    position: fixed;
    top: 20%;
    right: 20px;
    width: 300px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 9999;
    pointer-events: auto;
    animation: fadeIn2 0.5s ease;
}

/* Bouton de fermeture */
.closeBtn2 {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff5555;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 10000;
}

/* Carrousel */
.carousel2 {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel2 a {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s linear;
    z-index: 1;
}

.carousel2 a.active2 {
    opacity: 1;
    z-index: 2;
}

.carousel2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animation d’apparition */
@keyframes fadeIn2 {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Conteneur principal de la pub --- */
#pubContainer1 {
    position: fixed;
    top: 20%;
    left: 20px;
    width: 300px;
    height: 450px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 9999;
    pointer-events: auto;
    animation: fadeIn1 0.5s ease;
}

/* Bouton de fermeture */
.closeBtn1 {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff5555;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 10000;
}

/* Carrousel */
.carousel1 {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel1 a {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s linear;
    z-index: 1;
}

.carousel1 a.active1 {
    opacity: 1;
    z-index: 2;
}

.carousel1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*pour les maps*/
 .container2{
    display:flex;
    width:100%;
    height: 50rem;
    align-items:stretch;
    gap:40px;
    }
 .map-selector-section{
    width:300px;
    display: flex;
    flex-direction:column;
    gap:20px;
    position:relative;
 }
 .selector-header{
    background:linear-gradient(135deg, rgba(255,70,85,0.3), rgba(255,70,85,0.1));
    border:2px solid rgba(255,70,85,0.5);
    border-radius:var(--radius);
    padding:20px;
    text-align:center;
    box-shadow:0 0 30px rgba(255,70,85,0.3);
 }
 .selector-header h2{
    font-size:28px;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:2px;
    }
 .map-list-container2{
    flex:1;
    background:var(--panel);
    border-radius:var(--radius);
    border:2px solid rgba(255,70,85,0.3);
    padding:10px;
    overflow-y:auto;
    overflow-x:hidden;
    box-shadow:0 10px 40px rgba(122, 32, 32, 0.5);
    position:relative;
    display:flex;
    align-items:flex-start; 
    justify-content:center;
 }
 .map-list-container2::-webkit-scrollbar{
    width:8px;
 }
 .map-list-container2::-webkit-scrollbar-track{
    background:rgba(255,255,255,0.05);

 }
 .map-list-container2::-webkit-scrollbar-thumb{
    background:var(--accent);
    border-radius:10px;
    }
 .triangle-grid{
    display:flex;
    flex-direction:column;
    gap:0;
    align-items:flex-start;
    position:relative;
    width:100%;
    padding-top:10px;
    padding-bottom:10px;
 }
 .map-triangle{
    width:0;
    height:0;
    position:relative;
    cursor:pointer;
    transition:all 0.4s ease;
 }
 .map-triangle:nth-child(odd){
    border-top:70px solid transparent;
    border-bottom:70px solid transparent;
    border-left:180px solid rgba(255,255,255,0.08);
    align-self:flex-start;
 }
 .map-triangle:nth-child(even){
    border-top:70px solid transparent;
    border-bottom:70px solid transparent;
    border-right:180px solid rgba(255,255,255,0.08);
    align-self:flex-end;
 }
 .map-triangle:hover{
    z-index:10;
    filter:drop-shadow(0 0 15px rgba(255,70,85,0.5));
 }
 .map-triangle:nth-child(odd):hover{
    border-left-color:rgba(255,70,85,0.5);
 }
 .map-triangle:nth-child(even):hover{
    border-right-color:rgba(255,70,85,0.5);
 }
 .map-triangle.active{
    z-index:20;
    filter:drop-shadow(0 0 25px rgba(255,70,85,0.9));
 }
 .map-triangle:nth-child(odd).active{
    border-left-color:rgba(255,70,85,0.9);
 }
 .map-triangle:nth-child(even).active{
    border-right-color:rgba(255,70,85,0.9);
 }
.triangle-content{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  text-align:center;
  width:120px;
  pointer-events:none;
}


.map-triangle:nth-child(odd) .triangle-content{
  right:50px;  
}


.map-triangle:nth-child(even) .triangle-content{
    left:50px;
}

 .triangle-name{
    font-size:15px;
    font-weight:bold;
    color:white;
    text-transform:uppercase;
    letter-spacing:1.2px;
    text-shadow:2px 2px 6px rgba(0,0,0,0.9);
 }
 .info-panel{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:20px;
 }
 .map-display{
    flex:1;
    background:var(--panel);
    border-radius:var(--radius);
    border:2px solid rgba(255,70,85,0.3);
    box-shadow:0 10px 40px rgba(0,0,0,0.5);
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
 }
 .map-preview{
    width:100%;
    height:100%;
    background:linear-gradient(135deg, rgba(255,70,85,0.1), rgba(255,70,85,0.05));
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:64px;
    color:rgba(255,255,255,0.15);
    font-weight:bold;
    transition:opacity 0.4s ease;
    position:relative;
 }
 .map-preview::before{
    content:'';
    position:absolute;
    width:200px;
    height:200px;
    background:radial-gradient(circle, rgba(255,70,85,0.3), transparent);
    border-radius:50%;
    animation:pulse-glow 3s ease-in-out infinite;
 }
 @keyframes pulse-glow{
    0%, 100%{transform:scale(1); opacity:0.5;}
    50%{transform:scale(1.2); opacity:0.8;}
    }
 .map-title{
    position:absolute;
    top:30px;
    left:30px;
    font-size:42px;
    font-weight:bold;
    color:var(--accent);
    text-transform:uppercase;
    text-shadow:2px 2px 8px rgba(0,0,0,0.8);
    z-index:10;
 }
 .map-description{
    background:var(--panel);
    border-radius:var(--radius);
    border:2px solid rgba(255,70,85,0.3);
    padding:30px;
    height:180px;
    box-shadow:0 10px 40px rgba(0,0,0,0.5);
 }
 .map-description h3{
    color:var(--accent);
    font-size:24px;
    margin-bottom:15px;
    display:flex;
    align-items:center;
    gap:10px;
 }
 .map-description h3::before{
    content:'▶';
    font-size:16px;
 }
 .map-description p{
    font-size:16px;
    line-height:1.6;
 }
/*navbar*/
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(255, 70, 85, 0.2);
    border-bottom: 1px solid rgba(255, 70, 85, 0.2);
}

.lien_page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.nav_left {
    display: flex;
    align-items: center;
    gap: 70px;
}

.nav_links {
    display: flex;
    gap: 45px;
}

.logo_navbar {
    height: 55px;
    width: 55px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(255, 70, 85, 0.3));
}

.logo_navbar:hover {
    transform: scale(1.15) rotate(14deg);
    filter: drop-shadow(0 0 20px rgba(255, 70, 85, 0.6));
}

.links {
    text-decoration: none;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.links::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4655, transparent);
    transition: transform 0.3s ease;
}

.links:hover {
    color: #ff4655;
    text-shadow: 0 0 20px rgba(255, 70, 85, 0.5);
}

.links:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav_icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon_btn {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.15), rgba(255, 70, 85, 0.05));
    border: 1.5px solid rgba(255, 70, 85, 0.4);
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.icon_btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 70, 85, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.icon_btn:hover::before {
    width: 300px;
    height: 300px;
}

.icon_btn:hover {
    background: linear-gradient(135deg, #ff4655, #ff2a3d);
    border-color: #ff4655;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 70, 85, 0.5);
}

.icon_btn span {
    position: relative;
    z-index: 1;
}
/*navbar*/

/* Animation d’apparition */
@keyframes fadeIn1 {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}





/*partie histoire*/
.container5 {
        max-width: 1200px;
        margin: 0 auto;
    }
    .nav-buttons {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .nav-btn {
        background: linear-gradient(135deg, #ff4655 0%, #bd3944 100%);
        color: #ece8e1;
        border: 2px solid #ff4655;
        padding: 15px 35px;
        font-size: 1.1em;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 70, 85, 0.4);
        background: linear-gradient(135deg, #bd3944 0%, #ff4655 100%);
    }

    .nav-btn.active {
        background: linear-gradient(135deg, #0f1923 0%, #1a2632 100%);
        border-color: #ff4655;
        box-shadow: 0 0 20px rgba(255, 70, 85, 0.5);
    }

    .content-section {
        background: rgba(26, 38, 50, 0.7);
        border: 2px solid #ff4655;
        border-radius: 10px;
        padding: 40px;
        min-height: 400px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        display: none;
        animation: fadeIn 0.5s ease;
    }

    .content-section.active {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .content-section h2 {
        color: #ff4655;
        font-size: 2.5em;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 3px;
        border-bottom: 3px solid #ff4655;
        padding-bottom: 15px;
    }

    .content-section p {
        line-height: 1.8;
        font-size: 1.1em;
        margin-bottom: 20px;
        color: #d4d0c8;
    }

    .content-section h3 {
        color: #fd4556;
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .editable-zone {
        border: 2px dashed #ff4655;
        padding: 30px;
        margin-top: 20px;
        min-height: 200px;
        border-radius: 8px;
        background: rgba(255, 70, 85, 0.05);
    }

    .editable-zone p {
        color: #ece8e1;
        font-style: italic;
}
/*partie histoire*/

/* Responsive */
@media (max-width: 1000rem) {
    .glitch {
        font-size: 5rem;
    }
    
    .carousel-container {
        flex-direction: column !important;
        gap: 3rem;
    }
    
    .text-content {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
@media (max-width: 768px) {
    .lien_page {
        flex-direction: column;
        gap: 20px;
        padding: 15px 30px;
    }
    .nav_left {
        flex-direction: column;
        gap: 20px;
    }
    .nav_links {
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .carousel-card {
        min-width: 250px;
        height: 350px;
    }
    
    .contact-form {
        padding: 2rem;
    }

}





