/* Exemple photographique : géométrie et animation horizontale conservées. */
.q-section .q-card{position:relative;isolation:isolate;overflow:hidden;color:white;background:#0B1830}
.q-section .q-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.q-photo-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(11,24,48,.28),rgba(11,24,48,.08) 30%,rgba(11,24,48,.82) 66%,#0B1830 100%)}
.q-card .q-top{gap:12px;align-items:center;position:relative}
.q-card .q-top>span:first-child{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:#0B1830;flex:none}
.q-card.t2 .q-top>span:first-child{background:#6EE7A8}.q-card.t3 .q-top>span:first-child{background:#F2A541}.q-card.t4 .q-top>span:first-child{background:#1B7A4E;color:white}
.q-photo-label{padding:5px 10px;border-radius:999px;background:rgba(11,24,48,.65);color:white;font-size:10px;letter-spacing:.02em;backdrop-filter:blur(10px)}
.q-section .q-card .q-name{color:white;text-shadow:0 2px 16px #0005;font-size:40px}
.q-section .q-card .q-dist{color:#e5ecef;font-size:14px;opacity:1}
.q-card-content{position:relative}.q-card .q-photo-credit{display:block;font-size:10px;line-height:1.4;margin-top:12px;color:#c9d5e6;text-decoration:underline;text-underline-offset:3px;width:fit-content}
.q-section .q-card .q-btn{background:#fff;color:#0B1830}.q-section .q-card.t2 .q-btn{background:#6EE7A8;color:#0B1830}.q-section .q-card.t3 .q-btn{background:#F2A541;color:#0B1830}.q-section .q-card.t4 .q-btn{background:#1B7A4E;color:#fff}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.q-card:hover .q-photo{transform:scale(1.06)}}
@media(max-width:767px){.q-section .q-card{padding:24px}.q-section .q-card .q-name{font-size:36px}}
