/* =====================================================================
   video-facade.css — VIGNETTE DE CONSENTEMENT VIDEO (YouTube)
   ---------------------------------------------------------------------
   ROLE      : style de la vignette maison qui remplace une video YouTube
               tant que la cliente n'a pas accepte les cookies associes
               (systeme de consentement "maison").
   CHARGE    : sur les pages qui integrent une video -> index.php et
               page-atelier-phenix.php (et toute future page a video).
   DEPEND DE : base.css (variables de theme, ombres) ; le bandeau de
               consentement lui-meme (.cookie-banner) est dans base.css.
   SOURCE    : sous-section ".yt-facade" de l'ancien main.css, a l'identique.
   ===================================================================== */


/* =========================
   VIGNETTE DE REMPLACEMENT (tant que la video n'est pas consentie)
   ========================= */

.yt-facade{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-2) 55%, var(--brand-brown) 100%);
    font-family: inherit;
}
.yt-facade-btn{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-primary-2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, background 0.18s ease;
}
.yt-facade-btn::before{
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 5px;
}
.yt-facade:hover .yt-facade-btn,
.yt-facade:focus-visible .yt-facade-btn{
    transform: scale(1.08);
    background: #fff;
}
.yt-facade:focus-visible{
    outline: 3px solid #fff;
    outline-offset: -6px;
}
.yt-facade-title{
    font-weight: 700;
    font-size: 1.05rem;
    max-width: 90%;
}
.yt-facade-note{
    font-size: 0.8rem;
    opacity: 0.92;
    max-width: 90%;
}