/* =========================================================
   STAR DUO - FENÊTRE DUO
   Présentation identique au Solo
========================================================= */

body {
    padding-bottom: 0;
}

#bandeauHautDuo {
    direction: ltr;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 500;
    font-family: Arial, sans-serif;
}

#marqueDuo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#logoDuo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}

#nomDuo {
    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
    animation: apparitionStarDuo 0.9s ease-out;
}

/* duo.png : même emplacement et même taille que solo.png */
#imageDuo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
    user-select: none;
    -webkit-user-drag: none;
}

#titreDuo {
    position: relative;
    width: min(900px, calc(100% - 40px));
    margin: 6px auto 22px;
    z-index: 300;
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1.28;
    font-weight: 400;
    text-align: center;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

/* Référence 667 x 667 ; le JS applique 90 % comme Solo */
#cadreDuo {
    position: relative;
    width: 667px;
    height: 667px;
    flex: 0 0 auto;
}

#zoneImageDuo {
    position: relative;
    width: 667px;
    height: 667px;
    overflow: hidden;
}

#imagePresentationDuo {
    display: block;
    width: 667px;
    height: 667px;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

#informationsDuo {
    width: min(667px, calc(100% - 30px));
    margin: 16px auto 0;
    padding: 0 12px 28px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
    text-align: center;
}

#texteConstructionDuo {
    display: block;
    width: 100%;
    margin: 0 auto;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 620px) {
    #bandeauHautDuo {
        height: 62px;
        padding: 7px 10px;
    }

    #logoDuo,
    #imageDuo {
        width: 48px;
        height: 48px;
    }

    #nomDuo {
        font-size: 28px;
    }

    #titreDuo {
        width: calc(100% - 30px);
        max-width: 390px;
        margin-top: 6px;
        margin-bottom: 18px;
        font-size: 18px;
        line-height: 1.35;
        font-weight: 400;
        text-align: center;
    }

    #informationsDuo {
        width: calc(100% - 30px);
        max-width: 390px;
        margin-top: 14px;
        padding: 0 4px 22px;
    }

    #texteConstructionDuo {
        font-size: 20px;
        line-height: 1.35;
    }
}

@media (max-width: 390px) {
    #informationsDuo {
        width: calc(100% - 28px);
    }

    #texteConstructionDuo {
        font-size: 18px;
    }
}

/* ==========================================
   TABLETTE - DUO
   ========================================== */

@media (pointer: coarse) and (min-width: 621px) and (max-width: 1400px) {
    #titreDuo {
        margin-top: 4px;
        margin-bottom: 8px;
        font-size: 22px;
        line-height: 1.2;
    }

    #informationsDuo {
        margin-top: 8px;
        padding-bottom: 12px;
    }

    #texteConstructionDuo {
        font-size: 20px;
        line-height: 1.2;
    }
}

/* TABLETTE EN PAYSAGE */

@media (pointer: coarse) and (min-width: 621px) and (max-width: 1400px) and (orientation: landscape) {
    #titreDuo {
        width: min(580px, calc(100% - 40px));
        font-size: 19px;
        margin-bottom: 6px;
    }

    #informationsDuo {
        width: min(520px, calc(100% - 40px));
        margin-top: 5px;
    }

    #texteConstructionDuo {
        font-size: 18px;
    }
}

/* DUO - MEME PRESENTATION CENTRALE QUE SOLO - AFFICHAGE PC */

@media (min-width: 800px) and (min-height: 600px) and (orientation: landscape) {
    #bandeauHautDuo {
        position: fixed;
        box-sizing: border-box;
        top: 0;
        left: 50%;
        width: min(var(--largeur-fond-paysage), 100%);
        transform: translateX(-50%);
        z-index: 500;
    }

    #titreDuo {
        box-sizing: border-box;
        width: min(580px, calc(100% - 40px));
        max-width: 580px;
        margin: 6px auto 18px;
        padding: 0;
        font-size: 24px;
        line-height: 1.25;
    }

    #cadreDuo {
        margin-left: auto;
        margin-right: auto;
    }

    #informationsDuo {
        width: min(667px, calc(100% - 40px));
        margin-top: 16px;
    }
}
