*, body, html {
    margin: 0;
    text-decoration: none;
    font-family: Arial,Helvetica,sans-serif;
    border: none;
    font-size: 12px;
    color: #404040;
}

html {
    overflow: hidden;
    scroll-behavior: smooth;
}

body {
    color: #fff;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.3;
    height: 100%;
    overflow-x: hidden;
}

.parallax-container {
    height: 100vh;
    perspective: 1px;
    perspective-origin: center top;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

a:link, a:visited, a {
    color: #1A4DC2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main {
    background:
        url('../images/radiator-springs.jpg') no-repeat bottom center,
        linear-gradient(to bottom, #b8b8b8 0px, #fff 47px, #fff 48px, #fff 300px, #ddd 1000px);
    background-position: bottom center;
    padding-top: 0;
    display: flow-root;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.main-content {
    position: relative;
    background: linear-gradient(to bottom, transparent 0px, white 300px);
    border-radius: 0 0 10px 10px;
    margin: 0 auto 107px auto;
    padding: 20px;
    max-width: 1340px;
    min-height: 1600px;
    text-align: center;
    z-index: 1;
    box-shadow: 0 15px 8px -13px rgba(0, 0, 0, 0.75);
}

.adsense {
    width: 728px;
    height: 90px;
    margin: 30px auto;
    position: relative;
}

.adsense-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 728px;
    height: 90px;
    background: #ddd;
    color: #666;
    font-size: 14px;
    text-align: center;
    line-height: 90px;
    font-family: Arial, sans-serif;
    user-select: none;
    border: #bbb solid 1px;
}

.adsense > ins.adsbygoogle:empty + .adsense-placeholder {
    display: block;
}

.adsense > ins.adsbygoogle:not(:empty) + .adsense-placeholder {
    display: none;
}

h2 {
    text-align: center;
    font-size: 19pt;
    color: #A00;
    font-family: 'Magneto', 'sans-serif';
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.33));
}

img {
    max-width: 800px;
}

footer {
    height: 300px;
    margin: 0 auto;
    text-align: center;
    color: #CCCCCC;
    background: url('/images/logo_woc.png') no-repeat calc(50% + 350px) center, linear-gradient(to bottom, #222 0%, #3a3a3a 100%);
    background-size: auto;
}

footer a, footer a:link, footer a:visited {
    color: #DDDDDD;
    text-decoration: underline;
}

footer a:hover {
    color: #EEEEEE;
}

.blister-layout {
    display: flex;
    width: 100%;
    margin: 20px 0;
}

.left-column,
.right-column {
    width: 50%;
}

.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left-column img {
    max-width: 90%;
    height: auto;
}

.right-column {
    padding: 10px;
    min-height: 300px; /* optionnel */
    background: #f9f9f9; /* optionnel pour visualiser la colonne */
}

[id] {
    scroll-margin-top: 60px;
}

/* --- Bouton Retour en haut --- */
.back-to-top {
    position: fixed;
    right: 20px; /* Espace par rapport au bord droit (mettez 0 si vous le voulez collé au bord) */
    top: 50%;
    transform: translateY(-50%); /* Centre parfaitement le bouton verticalement à 50% */
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px; /* Léger arrondi identique à votre capture */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    /* Centrage de la flèche à l'intérieur */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Style du texte/icône */
    color: #A00; /* Reprend le rouge de vos titres h2 */
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-to-top:link, .back-to-top:visited {
    color: #666666;
}

/* Comportement au survol (hover) */
.back-to-top:hover {
    background-color: #f5f5f5;
    color: #A00; /* Empêche la couleur de changer au survol */
    text-decoration: none; /* Évite le soulignement par défaut des liens */
    transform: translateY(-50%) scale(1.05); /* Effet d'accentuation discret */
}

#screen {
    background: url("/images/screen.jpg") no-repeat;
    height: 550px;
    margin: 0 auto;
    padding-top: 41px;
    width: 914px;
}

.news-list {
    list-style-type: none;
    padding-left: 0;
}

@media (max-width: 979px) {
    .back-to-top {
        right: 0;
        top: calc(50% + 44px);
    }

    /* Blister-layout (modale) : colonne sur mobile */
    .blister-layout {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        width: 100%;
    }

    /* Img globale : autoriser le plein écran */
    img {
        max-width: 100%;
    }
}

@media (min-width: 1920px) {
    main {
        background-size: 100% auto;
    }
}

@media (max-width: 979px) {
    *, body, html {
        font-size: 10px;
    }

    .main-content {
        padding: 10px 4px;
        box-sizing: border-box;
    }

    h2 {
        font-size: 14pt;
    }
}

@media (max-width: 914px) {
    #screen {
        background: none;
        width: 100%;
        height: 100%;
    }

    #screen iframe {
        width: 100%;
        height: 100%;
    }
}
