/* ==========================================================================
   GOONS - footer public, variante « deux portes »
   (includes/play-footer-doors.php, liee par ce partiel).

   Chargee seulement avec cette variante, APRES play-nav.css dont elle reprend les
   jetons (--play-*) et quelques classes (.play-footer, .play-footer-logo,
   .play-social-icon, .play-footer-legal, .play-footer-lang). Tout le reste est
   prefixe pf- et place sous .play-footer--doors : la variante classique
   (?footer=classic) ne recoit aucune de ces regles.

   Principe : une famille = une ligne, etiquette a gauche et liens a la suite.
   Sous 721px chaque groupe devient une ligne d'accordeon (classe is-js posee
   par le script du partiel : sans JavaScript rien n'est replie).
   ========================================================================== */

.play-footer--doors { padding: 52px 0 28px; }

.play-footer--doors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.play-footer--doors a { transition: color 0.18s ease; }

/* --- Marque + newsletter --------------------------------------------------- */
.play-footer--doors .pf-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--play-border);
}

.play-footer--doors .pf-brand { min-width: 0; }
.play-footer--doors .play-footer-logo { margin-bottom: 14px; }

.play-footer--doors .pf-brand p {
    max-width: 54ch;
    margin: 0 0 16px;
    color: var(--play-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.play-footer--doors .pf-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.play-footer--doors .pf-cta .play-btn { box-shadow: none; }

.play-footer--doors .pf-cta span {
    color: var(--play-faint);
    font-size: 12.5px;
}

.play-footer--doors .pf-news {
    flex: 0 0 420px;
    max-width: 100%;
}

.play-footer--doors .pf-news-title {
    display: block;
    margin: 0 0 4px;
    color: var(--play-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.play-footer--doors .pf-news-sub {
    margin: 0 0 10px;
    color: var(--play-muted);
    font-size: 12.5px;
    line-height: 18px;
}

.play-footer--doors .pf-news-row {
    display: flex;
    gap: 8px;
}

.play-footer--doors .pf-news-row input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--play-border-strong);
    border-radius: 999px;
    background: var(--play-surface-2);
    color: var(--play-text);
    font-family: inherit;
    font-size: 14px;
}

.play-footer--doors .pf-news-row input::placeholder { color: var(--play-faint); }

.play-footer--doors .pf-news-row input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.play-footer--doors .pf-news-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--play-text);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.play-footer--doors .pf-news-btn:hover {
    border-color: var(--play-cyan);
    box-shadow: 0 0 24px var(--accent-glow);
}

.play-footer--doors .pf-news-btn:disabled { opacity: 0.6; cursor: default; }

.play-footer--doors .pf-news-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    color: var(--play-faint);
    font-size: 11.5px;
    line-height: 1.5;
}

.play-footer--doors .pf-news-consent input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    accent-color: var(--play-cyan);
}

.play-footer--doors .pf-news-consent a { color: var(--play-muted); }
.play-footer--doors .pf-news-consent a:hover { color: var(--play-text); }

.play-footer--doors .pf-news-status {
    min-height: 0;
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--play-muted);
}

.play-footer--doors .pf-news-status:empty { display: none; }
.play-footer--doors .pf-news-status.is-ok { color: var(--play-lime); }
.play-footer--doors .pf-news-status.is-error { color: #ff8fa3; }

/* --- Blocs FREE et PRO ----------------------------------------------------- */
.play-footer--doors .pf-block {
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--play-border);
}

.play-footer--doors .pf-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.play-footer--doors .pf-tag {
    flex: 0 0 auto;
    padding: 3px 6px;
    border: 1px solid rgba(107, 255, 158, 0.36);
    border-radius: 5px;
    background: rgba(107, 255, 158, 0.12);
    color: var(--play-lime);
    font-family: var(--play-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 12px;
}

.play-footer--doors .pf-block--pro .pf-tag {
    border-color: rgba(0, 229, 255, 0.36);
    background: rgba(0, 229, 255, 0.12);
    color: var(--play-cyan);
}

.play-footer--doors .pf-title {
    margin: 0;
    color: var(--play-text);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 22px;
}

.play-footer--doors .pf-sub {
    color: var(--play-muted);
    font-size: 13px;
}

.play-footer--doors .pf-head-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.play-footer--doors .pf-head-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--play-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.play-footer--doors .pf-head-links a.pf-all { color: var(--play-text); }
.play-footer--doors .pf-head-links a:hover { color: var(--play-cyan); }

.play-footer--doors .pf-head-links svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.play-footer--doors .pf-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 0 44px;
}

.play-footer--doors .pf-pro {
    display: flex;
    align-items: flex-start;
    gap: 44px;
}

.play-footer--doors .pf-pro > .pf-fold {
    flex: 1 1 auto;
    min-width: 0;
}

/* Une famille : etiquette + liens a la suite. */
.play-footer--doors .pf-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 5px 0;
}

.play-footer--doors .pf-label {
    flex: 0 0 132px;
    color: var(--play-faint);
    font-family: var(--play-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 20px;
    text-transform: uppercase;
}

.play-footer--doors .pf-rows--world .pf-label { flex-basis: 118px; }
.play-footer--doors .pf-label { white-space: nowrap; }

.play-footer--doors .pf-row ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 16px;
    min-width: 0;
}

.play-footer--doors .pf-row a,
.play-footer--doors .pf-col li a {
    color: rgba(242, 244, 255, 0.86);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    /* Pas de nowrap : dans une autre langue un libelle plus long que sa colonne passe
       sur deux lignes au lieu de deborder sur la colonne voisine. */
    overflow-wrap: break-word;
}

.play-footer--doors .pf-row a:hover,
.play-footer--doors .pf-col li a:hover { color: var(--play-cyan); }

/* Carte de l'abonnement */
.play-footer--doors .pf-plan {
    flex: 0 0 300px;
    padding: 16px 18px;
    border: 1px solid var(--accent-line);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(0, 229, 255, 0.1), rgba(255, 43, 214, 0.07));
}

.play-footer--doors .pf-plan p { margin: 0; }

.play-footer--doors .pf-plan-tag {
    color: var(--play-cyan);
    font-family: var(--play-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.play-footer--doors .pf-plan-price {
    margin: 6px 0 4px !important;
    color: var(--play-muted);
    font-size: 13px;
}

.play-footer--doors .pf-plan-price b {
    color: var(--play-text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.play-footer--doors .pf-plan-price span { color: var(--play-faint); }

.play-footer--doors .pf-plan-incl {
    margin-bottom: 12px !important;
    color: var(--play-muted);
    font-size: 12.5px;
    line-height: 18px;
}

.play-footer--doors .pf-plan-incl a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--play-border-strong);
    text-underline-offset: 3px;
}

.play-footer--doors .pf-plan-incl a:hover { color: var(--play-text); }

.play-footer--doors .pf-plan-link {
    color: var(--play-text);
    font-size: 13px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.play-footer--doors .pf-plan-link:hover { color: var(--play-cyan); }

/* --- Titres de groupe : simple texte sur ordinateur, bouton d'accordeon sur mobile */
.play-footer--doors .pf-fold-title { margin: 0; }

.play-footer--doors .pf-fold-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    /* Un <button> remet text-transform et letter-spacing a zero : on reprend ceux du titre. */
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: left;
    cursor: default;
}

.play-footer--doors .pf-fold-btn i {
    margin-left: 4px;
    color: var(--play-faint);
    font-family: var(--play-mono);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
}

.play-footer--doors .pf-chev {
    display: none;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.24s ease;
}

/* Dans les blocs, le titre du groupe ne sert qu'a l'accordeon mobile : le bloc a
   deja son titre (Instruments, Studio). Masque a l'ecran, garde pour les lecteurs. */
.play-footer--doors .pf-block .pf-fold-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- Colonnes -------------------------------------------------------------- */
.play-footer--doors .pf-site {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 0 32px;
    padding-top: 26px;
}

.play-footer--doors .pf-col .pf-fold-title,
.play-footer--doors .pf-follow-title {
    margin: 0 0 10px;
    color: var(--play-faint);
    font-family: var(--play-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 14px;
    text-transform: uppercase;
}

.play-footer--doors .pf-col ul {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.play-footer--doors .play-footer-social {
    display: flex;
    gap: 10px;
    margin: 0;
}

.play-footer--doors .play-social-icon {
    width: 36px;
    height: 36px;
}

/* --- Bas de page ----------------------------------------------------------- */
.play-footer--doors .pf-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 22px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--play-border);
}

.play-footer--doors .pf-facts {
    margin: 0;
    color: var(--play-faint);
    font-family: var(--play-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.play-footer--doors .pf-facts i {
    color: var(--play-lime);
    font-style: normal;
}

.play-footer--doors .play-footer-legal a {
    color: var(--play-muted);
    font-size: 12.5px;
    text-decoration: none;
    white-space: nowrap;
}

.play-footer--doors .play-footer-legal a:hover { color: var(--play-text); }

.play-footer--doors .pf-publisher {
    flex: 1 1 60%;
    margin: 0;
    color: var(--play-faint);
    font-size: 12px;
    line-height: 1.6;
}

.play-footer--doors .pf-publisher a { color: var(--play-muted); }
.play-footer--doors .pf-publisher a:hover { color: var(--play-text); }

/* ==========================================================================
   TABLETTE
   ========================================================================== */
@media (max-width: 1120px) {
    .play-footer--doors .pf-cols { gap: 0 28px; }
    .play-footer--doors .pf-label { flex-basis: 108px; }
    .play-footer--doors .pf-rows--world .pf-label { flex-basis: 108px; }
    .play-footer--doors .pf-rows--studio .pf-label { flex-basis: 138px; }   /* pleine largeur : « Effects & vocals » sur une ligne */
    .play-footer--doors .pf-pro { flex-direction: column; gap: 18px; }
    .play-footer--doors .pf-plan { flex: 0 0 auto; align-self: stretch; }
    .play-footer--doors .pf-site { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; }
    .play-footer--doors .pf-news { flex-basis: 360px; }
}

@media (max-width: 900px) {
    .play-footer--doors .pf-cols { grid-template-columns: 1fr; }
    .play-footer--doors .pf-label,
    .play-footer--doors .pf-rows--world .pf-label { flex-basis: 138px; }
}

/* ==========================================================================
   TELEPHONE : chaque groupe est une ligne d'accordeon
   ========================================================================== */
@media (max-width: 720px) {
    .play-footer--doors { padding-top: 36px; }

    .play-footer--doors .pf-top {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 24px;
    }

    .play-footer--doors .pf-news { flex: 0 0 auto; width: 100%; }
    /* Largeur de son texte : etire, le bouton faisait une barre d'un bord a l'autre. */
    .play-footer--doors .pf-cta .play-btn { flex: 0 0 auto; width: auto; }

    .play-footer--doors .pf-block { padding: 18px 0 0; border-bottom: 0; }
    .play-footer--doors .pf-head { margin-bottom: 12px; }
    .play-footer--doors .pf-head-links { flex: 0 0 100%; margin-left: 0; }

    .play-footer--doors .pf-cols,
    .play-footer--doors .pf-pro,
    .play-footer--doors .pf-site {
        display: block;
        padding-top: 0;
    }

    .play-footer--doors .pf-site { margin-top: 18px; }

    .play-footer--doors .pf-fold { border-top: 1px solid var(--play-border); }
    .play-footer--doors .pf-site .pf-fold:last-of-type,
    .play-footer--doors .pf-block--pro .pf-fold { border-bottom: 1px solid var(--play-border); }

    /* Le titre redevient visible : c'est la ligne de l'accordeon. */
    .play-footer--doors .pf-block .pf-fold-title,
    .play-footer--doors .pf-col .pf-fold-title {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        margin: 0;
        color: var(--play-text);
        font-family: inherit;
        font-size: 16px;
        font-weight: 650;
        letter-spacing: 0;
        line-height: 20px;
        text-transform: none;
        white-space: normal;
    }

    .play-footer--doors .pf-fold-btn { min-height: 50px; }
    .play-footer--doors.is-js .pf-fold-btn { cursor: pointer; }
    .play-footer--doors.is-js .pf-chev { display: block; color: var(--play-muted); }
    .play-footer--doors.is-js .pf-fold.is-open .pf-chev { transform: rotate(180deg); }
    .play-footer--doors .pf-fold-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    /* Replie seulement quand le script a tourne. */
    .play-footer--doors.is-js .pf-fold:not(.is-open) > .pf-body { display: none; }
    .play-footer--doors .pf-fold > .pf-body { padding-bottom: 12px; }

    .play-footer--doors .pf-row {
        display: block;
        padding: 6px 0 4px;
    }

    .play-footer--doors .pf-label { display: block; line-height: 16px; }
    .play-footer--doors .pf-row ul { gap: 0 18px; }

    /* Cibles tactiles : 34px de haut par lien (32px et 14px avant le 2026-11-24). */
    .play-footer--doors .pf-row a,
    .play-footer--doors .pf-col li a {
        display: inline-block;
        font-size: 15.5px;
        line-height: 34px;
    }

    /* Lisibilite sur telephone (2026-11-24, « tout est un peu petit ») : mesure a 390px, le
       footer avait des etiquettes a 10px et la plupart de ses textes entre 11,5 et 13px.
       Plus rien sous 12px, le texte courant a 15-16px. Le champ e-mail passe a 16px :
       en dessous, Safari sur iPhone zoome la page quand on le touche. */
    .play-footer--doors .pf-brand p { font-size: 15.5px; }
    .play-footer--doors .pf-cta span,
    .play-footer--doors .pf-news-sub,
    .play-footer--doors .pf-news-status,
    .play-footer--doors .pf-plan-incl,
    .play-footer--doors .play-footer-legal a { font-size: 13.5px; }
    .play-footer--doors .pf-news-title { font-size: 15px; }
    .play-footer--doors .pf-news-row input { font-size: 16px; }
    .play-footer--doors .pf-news-btn { font-size: 14.5px; }
    .play-footer--doors .pf-news-consent,
    .play-footer--doors .pf-publisher { font-size: 13px; }
    .play-footer--doors .pf-title { font-size: 17px; }
    .play-footer--doors .pf-sub,
    .play-footer--doors .pf-plan-price,
    .play-footer--doors .pf-plan-link { font-size: 14px; }
    .play-footer--doors .pf-head-links a { font-size: 14.5px; }
    .play-footer--doors .pf-tag,
    .play-footer--doors .pf-plan-tag { font-size: 11px; }
    .play-footer--doors .pf-label { font-size: 11.5px; line-height: 18px; }
    .play-footer--doors .pf-fold-btn i { font-size: 12px; }
    .play-footer--doors .pf-facts { font-size: 12px; }

    .play-footer--doors .pf-col ul { gap: 0; }

    .play-footer--doors .pf-plan { margin: 16px 0 0; }

    .play-footer--doors .pf-follow { margin-top: 20px; }
    .play-footer--doors .pf-follow-title { display: none; }

    .play-footer--doors .pf-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 22px;
    }

    .play-footer--doors .play-footer-legal { gap: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .play-footer--doors .pf-chev { transition: none; }
}
