*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    background-color: #090909;
    color: #f4d9a6;
    font-family: 'Press Start 2P', Arial, sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

.hero{
    min-height: 100vh;
    background-image: url('../Assets/bg-accueil.png');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid #aa5b16;
}

.barre-navigation{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 36px;
    border-bottom: 1px solid rgba(95,45,8,0.6);
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(2px);
}

.bloc-logo{
    width: 140px;
    height: 48px;
    display: block;
    object-fit: contain;
}

.navigation{
    display: flex;
    gap: 18px;
    align-items: center;
}

.navigation .nav-link{
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f3d19a;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s, transform 0.12s;
}

.navigation .nav-link img{
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
}

.navigation .nav-link:hover{
    color: #ffb347;
    background: rgba(255,157,47,0.08);
    transform: translateY(-2px);
}

.banniere{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 78vh;
    text-align: center;
}

.contenu-banniere{
    width: 900px;
    padding: 40px;
}

.titre-principal{
    width: 450px;
    height: 180px;
    margin: 40px auto 25px;
    display: block;
    object-fit: contain;
}

.petite-banniere{
    display: inline-block;
    padding: 12px 30px;
    margin-bottom: 30px;
    border: 1px solid #d67a19;
    background-color: rgba(0,0,0,0.5);
}

.petite-banniere p{
    color: #ffbe63;
    font-weight: bold;
}

h1{
    font-size: 42px;
    margin-bottom: 20px;
    color: #fff1d2;
    line-height: 1.35;
}

.texte-intro{
    width: 760px;
    margin: auto;
    margin-bottom: 40px;
    line-height: 2;
    color: #d8c3a2;
    font-size: 14px;
}

.section{
    width: 1200px;
    margin: auto;
    padding: 90px 0;
    border-bottom: 1px solid #3b1d06;
}

.titre-section{
    text-align: center;
    margin-bottom: 60px;
}

.titre-section h2{
    font-size: 42px;
    color: #ffb347;
}

.ligne-cartes{
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.carte,
.carte-large{
    background-color: #120909;
    border: 1px solid #70350b;
    transition: 0.2s;
}

.carte{
    width: 330px;
    min-height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.carte-large{
    width: 100%;
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carte:hover,
.carte-large:hover{
    transform: translateY(-5px);
    border-color: #d67a19;
}

.carte h3,
.carte-large h3{
    font-size: 26px;
    color: #ffb347;
    line-height: 1.5;
}

.carte p,
.carte-large p{
    line-height: 1.8;
    color: #d0b28a;
    font-size: 13px;
}

.downloads{
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.bouton{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border: 1px solid #d67a19;
    color: #f4d9a6;
    transition: 0.2s;
}

.bouton-orange{
    background-color: #b8510d;
}

.bouton-orange:hover{
    background-color: #d66a17;
}

.bouton-transparent{
    background-color: rgba(0,0,0,0.4);
}

.bouton-transparent:hover{
    background-color: rgba(255,140,0,0.15);
}

.bloc-telechargement{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rang-cartes{
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.carte-petit{
    width: 280px;
    min-height: 250px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    background-color: #120909;
    border: 1px solid #70350b;
}

.carte-petit h3{
    font-size: 22px;
}

.carte-petit p{
    font-size: 12px;
    line-height: 1.6;
}

.subchoix{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.iconlogo{
    width: 80px;
    height: 80px;
    display: block;
    object-fit: contain;
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 40px 60px;
}

.footer-gauche{
    display: flex;
    align-items: center;
    gap: 20px;
}

.rotcoin{
    width: 60px;
    height: 60px;
    display: block;
    object-fit: contain;
}

.footer-gauche h3{
    margin-bottom: 5px;
    color: #ffb347;
}

.footer-gauche p{
    color: #a78d6d;
}

.footer-droite{
    display: flex;
    gap: 25px;
}

.footer-droite a{
    color: #c9a87f;
}

.footer-droite a:hover{
    color: #ffb347;
}

@media screen and (max-width: 1250px){
    .section{
        width: 95%;
    }

    .texte-intro{
        width: 100%;
    }
}

@media screen and (max-width: 1024px){
    .section{
        width: 98%;
        padding: 70px 20px;
    }

    .contenu-banniere{
        width: 95%;
        padding: 30px 20px;
    }

    .titre-principal{
        width: 380px;
        height: 150px;
    }

    h1{
        font-size: 32px;
    }

    .texte-intro{
        width: 100%;
        font-size: 13px;
    }

    .carte{
        width: calc(50% - 13px);
        min-width: 250px;
    }

    .carte-large{
        width: 100%;
    }

    .carte-petit{
        width: calc(50% - 9px);
        min-width: 220px;
    }

    .titre-section h2{
        font-size: 36px;
    }
}

@media screen and (max-width: 900px){
    .barre-navigation{
        display: none;
    }

    .titre-principal{
        width: 280px;
        height: 120px;
    }

    .contenu-banniere{
        width: 95%;
        padding: 25px 15px;
    }

    h1{
        font-size: 26px;
        line-height: 1.3;
    }

    .texte-intro{
        width: 100%;
        font-size: 12px;
        line-height: 1.6;
    }

    .petite-banniere{
        padding: 10px 25px;
    }

    .titre-section h2{
        font-size: 28px;
    }

    .ligne-cartes{
        gap: 15px;
    }

    .carte{
        width: 100%;
    }

    .carte h3{
        font-size: 22px;
    }

    .carte p{
        font-size: 12px;
    }

    .carte-large{
        width: 100%;
        padding: 25px;
    }

    .carte-large h3{
        font-size: 22px;
    }

    .carte-petit{
        width: calc(50% - 9px);
        min-width: 200px;
        padding: 20px;
        min-height: 230px;
    }

    .carte-petit h3{
        font-size: 18px;
    }

    .carte-petit p{
        font-size: 11px;
    }

    .iconlogo{
        width: 70px;
        height: 70px;
    }

    .subchoix{
        gap: 8px;
        flex-direction: column;
    }

    .bouton{
        padding: 12px 20px;
        font-size: 12px;
    }

    .footer{
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-gauche{
        flex-direction: column;
        gap: 15px;
    }

    .footer-droite{
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 768px){
    .section{
        width: 100%;
        padding: 50px 20px;
    }

    h1{
        font-size: 22px;
    }

    .titre-principal{
        width: 240px;
        height: 100px;
    }

    .titre-section h2{
        font-size: 24px;
    }

    .carte{
        width: 100%;
    }

    .carte h3{
        font-size: 20px;
    }

    .carte-petit{
        width: 100%;
        min-height: 200px;
    }

    .carte-petit h3{
        font-size: 18px;
    }

    .texte-intro{
        font-size: 11px;
    }

    .footer-gauche h3{
        font-size: 16px;
    }
}

@media screen and (max-width: 480px){

    .banniere{
        min-height: 70vh;
    }

    .titre-principal{
        width: 200px;
        height: 80px;
        margin: 20px auto 15px;
    }

    .contenu-banniere{
        padding: 20px 10px;
    }

    h1{
        font-size: 18px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .petite-banniere{
        padding: 8px 20px;
        margin-bottom: 20px;
    }

    .petite-banniere p{
        font-size: 11px;
    }

    .texte-intro{
        font-size: 10px;
        line-height: 1.5;
    }

    .titre-section{
        margin-bottom: 30px;
    }

    .titre-section h2{
        font-size: 20px;
    }

    .ligne-cartes{
        gap: 10px;
    }

    .carte{
        width: 100%;
        padding: 15px;
    }

    .carte h3{
        font-size: 18px;
    }

    .carte p{
        font-size: 10px;
    }

    .carte-large{
        padding: 15px;
    }

    .carte-large h3{
        font-size: 18px;
    }

    .rang-cartes{
        gap: 10px;
    }

    .carte-petit{
        width: 100%;
        padding: 15px;
        min-height: 180px;
        gap: 12px;
    }

    .carte-petit h3{
        font-size: 16px;
    }

    .carte-petit p{
        font-size: 9px;
    }

    .iconlogo{
        width: 60px;
        height: 60px;
    }

    .subchoix{
        gap: 5px;
        flex-direction: column;
    }

    .bouton{
        padding: 12px 16px;
        font-size: 11px;
        width: 100%;
    }

    .footer{
        padding: 20px 10px;
        gap: 20px;
    }

    .footer-gauche{
        gap: 10px;
    }

    .footer-gauche h3{
        font-size: 14px;
    }

    .footer-gauche p{
        font-size: 10px;
    }

    .rotcoin{
        width: 45px;
        height: 45px;
    }

    .footer-droite{
        gap: 15px;
    }

    .footer-droite a{
        font-size: 11px;
    }
}