/* Malya Formation : « Les quatre portes » (aperçu prestige). Chaque porte est un original ChatGPT (porte_*.webp, ratio 1086 x 1448 respecté, aucun recadrage) ;
   disques d'icônes = acc_disque_emeraude.webp. Textes, titres et liens repris de l'accueil v2. Aucune forme dessinée à la main. */

.v2 .pt { padding-top: clamp(8px, 2vw, 20px); }
.v2 .pt-head { text-align: center; max-width: 900px; margin: 0 auto; }
.v2 .pt-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.08; margin: 10px 0 14px; color: var(--texte); }
.v2 .pt-head h1 .hl { color: #fddd90; background: linear-gradient(100deg, #fff1c4, #fddd90 45%, #f1a95c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.v2 .pt-head .lede { margin: 0 auto; max-width: 62ch; color: #e6f0ed; }

.v2 .pt-portes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: 10px; }
@media (max-width: 1020px) { .v2 .pt-portes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .v2 .pt-portes { grid-template-columns: 1fr; } }

.v2 .porte { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0 0 22px; border-radius: 12px; overflow: hidden; border-width: 0; background: linear-gradient(180deg, rgba(5, 52, 46, .92), rgba(1, 26, 33, .97)); box-shadow: 0 0 0 1px rgba(253, 221, 144, .26), 0 22px 50px -28px rgba(0, 0, 0, .9); transition: transform .35s ease, box-shadow .35s ease; }
.v2 .porte:hover, .v2 .porte:focus-visible { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(253, 221, 144, .6), 0 30px 60px -26px rgba(253, 221, 144, .35); }
.v2 .porte:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.v2 .pt-img { display: block; position: relative; aspect-ratio: 1086 / 1448; overflow: hidden; border-radius: 11px 11px 0 0; }
.v2 .pt-img img { display: block; width: 100%; height: 100%; transition: transform .8s ease, filter .6s ease; }
.v2 .porte:hover .pt-img img, .v2 .porte:focus-visible .pt-img img { transform: scale(1.045); filter: brightness(1.1) saturate(1.06); }
.v2 .pt-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(to bottom, transparent, rgba(1, 26, 33, .96)); pointer-events: none; }

.v2 .pt-ico { position: relative; z-index: 2; width: 60px; height: 60px; margin: -40px 0 0 22px; display: grid; place-items: center; background: url(acc_disque_emeraude.webp) center / 118% 118% no-repeat; border-radius: 50%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.v2 .pt-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff3c4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.v2 .pt-cat { display: flex; align-items: center; gap: 10px; margin: 14px 22px 0; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fddd90; }
.v2 .pt-cat::before { content: ""; flex: none; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, #fddd90); }
.v2 .porte h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; margin: 8px 22px 10px; color: #fff; }
.v2 .porte p { margin: 0 22px; font-size: 16.5px; line-height: 1.5; color: #d3e2de; flex: 1; }
.v2 .pt-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 22px 0; }
.v2 .pt-meta span { padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(79, 209, 197, .5); color: #a8f3ea; font-size: 14px; font-weight: 700; }
.v2 .pt-go { display: inline-flex; align-items: center; gap: 8px; margin: 16px 22px 0; font-size: 14.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fddd90; }
.v2 .pt-go .ar { transition: transform .25s; }
.v2 .porte:hover .pt-go .ar { transform: translateX(6px); }

.v2 .pt-interne { margin: 26px 0 0; padding: 18px 22px; border-radius: 10px; border: 2px dashed rgba(249, 175, 102, .6); background: rgba(249, 175, 102, .07); color: #ffe6c8; font-size: 15.5px; line-height: 1.5; }
.v2 .pt-interne b { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; color: #ffd9a8; }
@media (prefers-reduced-motion: reduce) { .v2 .porte, .v2 .pt-img img { transition: none; } .v2 .porte:hover { transform: none; } }
@media print { .v2 nav, .v2 footer, .msoc-fab, .v2 .cdr, .v2 .trait-lumiere { display: none !important; } .v2 .pt-interne { background: #fff !important; color: #111 !important; border: 3px solid #111 !important; } .v2 .pt-interne b { color: #111 !important; } }

/* surtitres sur deux lignes réservées en 4 colonnes : les titres restent alignés d'une porte à l'autre */
@media (min-width: 1021px) { .v2 .pt-cat { min-height: 2.9em; align-items: flex-start; } .v2 .pt-cat::before { margin-top: .6em; } }
