/* alm/video-tutorial-grid — variante « liens » (CARRIERE-SITE, 29/10/2026) : cartes de témoignage.
   Chargée seulement par une page qui emploie variant = « liens » (inc/blocks/_loader.php). */

/* En-têtes */
.alm-vtg-entete { margin: 0 0 34px; }
.alm-vtg-entete h2 { margin: 0; font-family: var(--font-title, 'Jost', sans-serif); font-weight: 600; color: var(--alm-blue, #004899); line-height: 1.15; }
.alm-vtg-entete--gauche { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.alm-vtg-entete--gauche .alm-vtg-entete__textes { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.alm-vtg-entete--gauche .alm-eyebrow { margin: 0; }
.alm-vtg-entete--gauche h2 { font-size: clamp(30px, 3.2vw, 42px); }
.alm-vtg-entete__lien { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 2px solid var(--alm-blue, #004899); color: var(--alm-blue, #004899); font-weight: 700; font-size: 15px; text-decoration: none; }
.alm-vtg-entete__lien:hover { color: #003674; border-color: #003674; }
.alm-vtg-entete--filet h2 { margin-bottom: 14px; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; text-transform: uppercase; }
.alm-vtg-entete__filet { display: block; height: 2px; background: var(--alm-orange, #EE7203); }
.alm-vtg-entete--filet { margin-bottom: 40px; }

/* Grille */
.alm-vtg-cartes { display: grid; gap: 24px; grid-template-columns: repeat(var(--alm-vtg-cols, 3), minmax(0, 1fr)); }
.alm-vtg-cartes--2cols { --alm-vtg-cols: 2; }
.alm-vtg-cartes--3cols { --alm-vtg-cols: 3; }
.alm-vtg-cartes--4cols { --alm-vtg-cols: 4; gap: 20px; }
@media (max-width: 1100px) { .alm-vtg-cartes--4cols { --alm-vtg-cols: 3; } }
@media (max-width: 900px)  { .alm-vtg-cartes--3cols, .alm-vtg-cartes--4cols { --alm-vtg-cols: 2; } }
@media (max-width: 600px)  { .alm-vtg-cartes { --alm-vtg-cols: 1 !important; } }

/* Carte */
.alm-vtg-carte { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #E6E6DF; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 38, 79, .06); color: inherit; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.alm-vtg-carte:hover { box-shadow: 0 14px 36px rgba(0, 38, 79, .12); transform: translateY(-2px); }
.alm-vtg-carte:focus-visible { outline: 3px solid var(--alm-orange, #EE7203); outline-offset: 3px; }
.alm-vtg-carte__media { position: relative; display: block; background: var(--alm-blue, #004899); }
.alm-vtg-carte__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.alm-vtg-carte__lecture { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--alm-orange, #EE7203); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.alm-vtg-carte__corps { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 22px 24px 26px; }
.alm-vtg-carte__nom { margin: 0; font-family: var(--font-title, 'Jost', sans-serif); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--alm-blue, #004899); }
.alm-vtg-carte__metier { font-size: 15px; color: #4A4A45; }
.alm-vtg-carte__metier--capitales { font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #6B6B64; }
.alm-vtg-carte__texte { margin-top: 8px; font-size: 16px; line-height: 1.5; color: #1A1A1A; }
.alm-vtg-carte__lien { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14px; color: var(--alm-orange, #EE7203); }

/* Petites cartes (« Les autres témoignages ») */
.alm-vtg-cartes--petites .alm-vtg-carte { border: 0; border-radius: 14px; box-shadow: none; }
.alm-vtg-cartes--petites .alm-vtg-carte__corps { gap: 4px; padding: 16px 18px 18px; }
.alm-vtg-cartes--petites .alm-vtg-carte__nom { font-size: 19px; }
.alm-vtg-cartes--petites .alm-vtg-carte__metier { font-size: 14px; }
