/* V11.1 – CV : images fiables, exemples distincts et photo facultative */
.cv-hero-preview{position:relative;min-width:0;padding:20px 12px 24px;isolation:isolate}
.cv-examples-hero{position:relative;display:flex;align-items:center;min-height:370px;gap:0}
.cv-examples-hero .cv-hero-sheet{position:relative;width:63%;max-width:none;min-width:0;height:auto;aspect-ratio:1320/900;object-fit:contain;border:9px solid white;border-radius:22px;box-shadow:0 20px 50px rgba(15,39,79,.18);background:#eaf1ff}
.cv-examples-hero .cv-hero-student{z-index:2;transform:rotate(-7deg) translate(16px,18px)}
.cv-examples-hero .cv-hero-professional{margin-left:-28%;transform:rotate(8deg) translate(-5px,-15px);z-index:1}
.cv-hero-hint{position:absolute;z-index:4;left:50%;bottom:10px;transform:translateX(-50%);max-width:94%;width:max-content;text-align:center;border-radius:999px;background:#103c80;color:#fff;padding:10px 14px;font-size:.79rem;font-weight:850;box-shadow:0 10px 20px rgba(12,37,79,.22)}
.cv-type-picker .cv-type-card{min-width:0;overflow:hidden}
.cv-type-picker .cv-type-card img{height:auto!important;aspect-ratio:1320/900;max-height:340px;width:100%;object-fit:contain!important;background:#eaf2fc;object-position:center}
.cv-type-card.active::after{content:'✓ Modèle sélectionné';position:absolute;top:12px;right:12px;padding:7px 10px;border-radius:999px;font-size:.75rem;font-weight:900;background:#135bd1;color:#fff;box-shadow:0 6px 16px rgba(15,57,123,.18)}
.cv-type-card{position:relative}
.cv-upload-photo{background:#f5f9ff;border:1px dashed #b9cde8;border-radius:15px;padding:15px 16px}
.cv-upload-photo input{background:#fff}
.cv-preview-aside .cv-identity-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;min-width:0}
.cv-preview-aside .cv-identity-row>div:first-child{min-width:0;overflow-wrap:anywhere}
.cv-preview-aside .cv-photo-slot{flex:0 0 90px;width:90px;height:106px;overflow:hidden;background:#edf3fb;border:2px solid #d8e4f4;border-radius:12px}
.cv-preview-aside .cv-photo-slot[hidden]{display:none!important}
.cv-preview-aside .cv-photo-slot img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}
@media (max-width:950px){.cv-examples-hero{min-height:310px}.cv-hero-hint{font-size:.71rem}}
@media (max-width:680px){.cv-hero-preview{padding-inline:0}.cv-examples-hero{min-height:230px}.cv-examples-hero .cv-hero-sheet{width:70%;border-width:6px;border-radius:15px}.cv-examples-hero .cv-hero-professional{margin-left:-36%}.cv-hero-hint{bottom:0}.cv-type-picker .cv-type-card img{max-height:none}}
@media print{body.cv-print-mode #cvPaper .cv-identity-row{display:flex!important;justify-content:space-between!important}body.cv-print-mode #cvPaper .cv-photo-slot:not([hidden]){display:block!important;width:26mm!important;height:32mm!important;flex-basis:26mm!important}body.cv-print-mode #cvPaper .cv-photo-slot img{width:100%!important;height:100%!important;object-fit:cover!important;visibility:visible!important}body.cv-print-mode #cvPaper .cv-topbar{break-inside:avoid}}


/* V11.2 – ajout d'un modèle de photo CV dans le hero */
.cv-photo-model-card{position:absolute;right:0;top:-8px;z-index:3;width:30%;min-width:132px;max-width:185px;margin:0;padding:10px 10px 12px;border-radius:22px;background:rgba(255,255,255,.98);border:1px solid #d9e4f4;box-shadow:0 18px 40px rgba(15,39,79,.18)}
.cv-photo-model-image{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:16px;background:#eef4ff}
.cv-photo-model-card figcaption{margin-top:8px;font-size:.76rem;line-height:1.3;font-weight:800;color:#17448b;text-align:center}
@media (max-width:950px){.cv-photo-model-card{max-width:155px;top:4px}}
@media (max-width:680px){.cv-examples-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:0;row-gap:10px}.cv-photo-model-card{position:relative;grid-column:2;justify-self:end;top:auto;right:auto;width:46%;min-width:120px;max-width:150px;padding:8px;border-radius:16px}.cv-photo-model-card figcaption{font-size:.7rem}.cv-examples-hero .cv-hero-professional{margin-left:-32%;transform:rotate(7deg) translate(-3px,-6px)}}
@media (max-width:520px){.cv-photo-model-card{width:52%;min-width:104px;max-width:132px}.cv-hero-hint{max-width:96%;font-size:.68rem;padding:9px 12px}}
