/* ═══════════ LE HERO CAPI v5 « La planche de titre » ═══════════
   A+B combines, sur la recette des heros assurance-vie et PER : colonne ivoire qui
   AFFIRME et porte les chiffres du corps de page, panneau nuit ou le certificat devient
   une vraie planche de titre au porteur : trait de coupe perfore, ciseaux poses dessus,
   coupon III A DEMI DETACHE (le dessin demontre la transmission), visa grave en marge.
   Numerotation I/II/III des deux cotes, survol d'un releve qui allume son coupon et
   coud un fil d'or. Scope .cch, zero fuite. */
.cch{background:#f9f7f1;padding:44px 24px 52px}
.cch .ch-in{max-width:1180px;margin:0 auto;min-height:610px;background:#ffffff;border:1px solid rgba(200,169,110,.5);position:relative;display:grid;grid-template-columns:minmax(0,1fr) 520px;overflow:hidden}
.cch .ch-in::before{content:"";position:absolute;inset:10px;border:1px solid rgba(200,169,110,.35);pointer-events:none;z-index:3}
/* ── colonne ivoire ── */
.cch .ch-page{position:relative;padding:44px 40px 34px 48px;display:flex;flex-direction:column;z-index:2}
.cch .ch-run{display:flex;align-items:baseline;justify-content:space-between;gap:18px;border-bottom:1px solid #c8a96e;padding-bottom:10px}
.cch .ch-run1{font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:#7a5d29}
.cch .ch-run2{font-family:'Spectral',Georgia,serif;font-style:italic;font-size:13px;color:#7a5d29}
.cch .ch-h1{font-family:'Spectral',Georgia,serif;font-weight:500;font-size:42px;line-height:1.14;color:#0d1b3e;margin:14px 0 0}
.cch .ch-h1 span{display:block}
.cch .ch-h1 em{font-style:italic;color:#7a5d29}
.cch .ch-lede{font-family:'Spectral',Georgia,serif;font-size:16.5px;line-height:1.6;color:#333e5a;font-weight:300;margin:10px 0 0;max-width:470px}
.cch .ch-lede strong{color:#0d1b3e;font-weight:500}
/* le releve des coupons */
.cch .ch-tbl{margin:18px 0 0}
.cch .ch-tbl-titre{display:flex;align-items:baseline;gap:14px;margin:0 0 2px}
.cch .ch-tbl-t1{font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:#7a5d29}
.cch .ch-tbl-sub{font-family:'Spectral',Georgia,serif;font-style:italic;font-size:12px;font-weight:400;color:#7a5d29;white-space:nowrap;display:flex;align-items:center;gap:12px;flex:1 1 auto}
.cch .ch-tbl-sub::after{content:"";height:1px;flex:1;min-width:56px;background:linear-gradient(90deg,#c8a96e,rgba(200,169,110,0))}
.cch .ch-seuil{position:relative;display:grid;grid-template-columns:44px 1fr;align-items:baseline;gap:0 10px;padding:10px 6px 9px 0;border-top:1px solid rgba(200,169,110,.4);cursor:default;transition:background .25s}
.cch .ch-seuil:last-of-type{border-bottom:1px solid rgba(200,169,110,.4)}
.cch .ch-seuil::before{content:"";position:absolute;left:-6px;top:0;bottom:0;width:3px;background:#c8a96e;opacity:0;transition:opacity .25s}
.cch .ch-seuil.on{background:rgba(200,169,110,.16)}
.cch .ch-seuil.on::before{opacity:1}
.cch .ch-num{justify-self:center;font-family:'Spectral',Georgia,serif;font-weight:500;font-size:15px;color:#7a5d29;width:30px;height:30px;border:1px solid #c8a96e;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffffff;transform:translateY(4px)}
.cch .ch-l1{display:block;font-family:'Spectral',Georgia,serif;font-weight:500;font-size:19px;color:#0d1b3e;line-height:1.25}
.cch .ch-fig{font-variant-numeric:tabular-nums lining-nums}
.cch .ch-des{display:block;font-family:'Spectral',Georgia,serif;font-size:12.5px;line-height:1.5;color:#333e5a;font-weight:300;margin-top:2px}
/* actions */
.cch .ch-ctas{display:flex;align-items:center;gap:22px;margin-top:17px;flex-wrap:wrap}
.cch .ch-btn{position:relative;display:inline-block;white-space:nowrap;text-decoration:none;font-family:'Segoe UI',system-ui,sans-serif;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#e0c48a;background:linear-gradient(180deg,rgba(224,196,138,.12),rgba(224,196,138,0) 46%),#1c4194;padding:17px 27px 17px 26px;border:1px solid rgba(122,93,41,.6);box-shadow:inset 0 1px 0 rgba(248,232,190,.95),inset 1px 0 0 rgba(224,196,138,.75),inset -1px 0 0 rgba(200,169,110,.68),inset 0 -1px 0 rgba(138,107,46,1),inset 0 2px 5px rgba(4,9,24,.5),inset 0 -20px 30px rgba(10,20,46,.55);transition:background .25s,color .25s,border-color .25s}
.cch .ch-btn::before{content:"";display:inline-block;width:5px;height:5px;background:#e0c48a;transform:rotate(45deg);vertical-align:1px;margin-right:14px;transition:transform .32s ease,background-color .25s}
.cch .ch-btn::after{content:"";position:absolute;inset:4px;pointer-events:none;border:1px solid rgba(224,196,138,.42);border-top-color:rgba(242,222,172,.58);border-bottom-color:rgba(170,134,66,.46)}
.cch .ch-btn:hover{color:#f2deac;background:linear-gradient(180deg,rgba(224,196,138,.18),rgba(224,196,138,0) 52%),#163578;border-color:rgba(122,93,41,.85)}
.cch .ch-btn:hover::before{transform:rotate(135deg);background:#f2deac}
.cch .ch-btn:focus-visible{outline:2px solid #7a5d29;outline-offset:3px}
.cch .ch-btn:active{transform:translateY(1px)}
.cch .ch-ren{font-family:'Spectral',Georgia,serif;font-size:15px;color:#7a5d29;text-decoration:none;border-bottom:1px solid rgba(200,169,110,.65);padding-bottom:3px;transition:color .25s,border-bottom-color .25s}
.cch .ch-ren::after{content:"\2192";display:inline-block;margin-left:9px;font-size:13px;transition:transform .28s}
.cch .ch-ren:hover{color:#0d1b3e;border-bottom-color:#7a5d29}
.cch .ch-ren:hover::after{transform:translateX(4px)}
.cch .ch-ren:focus-visible{outline:2px solid #7a5d29;outline-offset:3px}
.cch .ch-amf{font-family:'Spectral',Georgia,serif;font-style:italic;font-size:11.5px;line-height:1.55;color:#566283;margin:14px 0 0;max-width:460px}
/* ── panneau nuit : la planche de titre ── */
.cch .ch-pan{position:relative;background:#0a142e;margin:-1px;padding:46px 8px 40px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:0}
.cch .ch-pan::before{content:"";position:absolute;inset:10px;border:1px solid rgba(200,169,110,.4);pointer-events:none}
.cch .ch-pan-titre{position:relative;font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:#e0c48a;margin:0 0 6px;display:flex;align-items:center;gap:18px}
.cch .ch-pan-titre::before,.cch .ch-pan-titre::after{content:"";width:56px;height:1px;background:linear-gradient(90deg,transparent,#c8a96e)}
.cch .ch-pan-titre::after{background:linear-gradient(90deg,#c8a96e,transparent)}
.cch .ch-pan svg{display:block;width:100%;max-width:520px;height:auto}
.cch .ch-cart{position:relative;text-align:center;font-family:'Spectral',Georgia,serif;font-style:italic;font-size:14px;color:#e0c48a;margin:8px 0 0;display:flex;align-items:center;gap:16px}
.cch .ch-cart::before,.cch .ch-cart::after{content:"";width:64px;height:1px;background:linear-gradient(90deg,transparent,rgba(200,169,110,.7))}
.cch .ch-cart::after{background:linear-gradient(90deg,rgba(200,169,110,.7),transparent)}
.cch .ch-cart i{font-style:normal;font-size:8px;color:#c8a96e;vertical-align:2px}
/* etats des coupons */
.cch .ch-pan svg a{cursor:pointer}
.cch .ch-pan svg a .cp-bord{transition:stroke .25s,opacity .25s}
.cch .ch-pan svg a .cp-tit{transition:fill .25s}
.cch .ch-pan svg a .cp-halo{transition:fill-opacity .3s}
.cch .ch-pan svg a.lit .cp-bord{stroke:#e0c48a;opacity:1}
.cch .ch-pan svg a.lit .cp-tit{fill:#ffffff}
.cch .ch-pan svg a.lit .cp-halo{fill-opacity:.12}
.cch .ch-pan svg a:focus-visible{outline:none}
.cch .ch-pan svg a:focus-visible .cp-focus{opacity:1}
.cch .cp-focus{opacity:0;transition:opacity .2s}
/* le trait de coupe se perfore une fois au chargement */
.cch .cc-coupe{stroke-dasharray:500;stroke-dashoffset:500;animation:cch-percer 1.4s ease-out .3s forwards}
@keyframes cch-percer{to{stroke-dashoffset:0}}
/* le calque du fil d'or */
.cch .ch-fils{position:absolute;inset:0;pointer-events:none;z-index:4}
.cch .ch-fil{fill:none;stroke:#c8a96e;stroke-width:1.1;stroke-dasharray:4 5;opacity:0;transition:opacity .2s}
.cch .ch-fils.on .ch-fil{opacity:.95}
/* ── responsive ── */
@media(max-width:1180px){
 .cch .ch-in{grid-template-columns:minmax(0,1fr) 440px}
 .cch .ch-page{padding:34px 30px 28px 38px}
 .cch .ch-h1{font-size:36px}
 .cch .ch-h1 span{display:inline}
}
@media(max-width:1000px){
 .cch .ch-in{grid-template-columns:minmax(0,1fr)}
 .cch .ch-page{padding:34px 26px 30px}
 .cch .ch-h1{font-size:34px}
 .cch .ch-btn{width:100%;text-align:center}
 .cch .ch-fils{display:none}
}
@media(max-width:620px){
 .cch{padding:26px 12px 34px}
 .cch .ch-pan{padding:40px 2px 34px}
 .cch .ch-h1{font-size:29px}
 .cch .ch-h1 span{display:inline}
 .cch .ch-run{flex-direction:column;align-items:flex-start;gap:2px}
 .cch .ch-tbl-titre{flex-direction:column;align-items:flex-start;gap:1px}
 .cch .ch-tbl-sub::after{display:none}
 .cch .ch-lede{font-size:15.5px;line-height:1.55}
 .cch .ch-seuil{padding:8px 6px 7px 0}
 .cch .ch-des{font-size:12px;line-height:1.45}
 .cch .ch-ctas{margin-top:14px}
 .cch .ch-pan{padding:34px 2px 30px}
 /* sous 620 px l'echelle du dessin impose son plancher : on retire les mentions
    d'agrement (sous-titres, visas, numeros de coupon) et on garde l'essentiel,
    le nom du titre et les trois coupons */
 .cch .cc-min{display:none}
}
@media(max-width:360px){
 .cch .ch-h1{font-size:26px}
 /* l'echelle du dessin tombe a 0,52 : on remonte les deux seuls textes restants */
 .cch .cc-tp{font-size:16px;letter-spacing:2.2px}
 .cch .cp-tit{font-size:17px;letter-spacing:.5px}
}
@media (prefers-reduced-motion:reduce){
 .cch *,.cch *::before,.cch *::after{animation:none!important;transition:none!important}
 .cch .cc-coupe{stroke-dashoffset:0}
}
