/* EPICU · Mon EPICU, page de connexion (visiteur non connecté). Pleine largeur, photo d'une adresse EPICU, formulaire d'origine de la carte restylé. */
#ec-cx{--or:#C73A14;--or-f:#9E2E10;--or-c:#FCE9E2;--sable:#F4EFEA;--sable2:#EAE2D9;--ch:#2B2B2B;--gris:#5F5953;--trait:#E3DBD2;--t:'Poppins',system-ui,sans-serif;--x:'Montserrat',system-ui,sans-serif;--haut:0px}
body:has(#ec-cx){overflow-x:clip}
#ec-cx{position:relative;width:100vw;margin:0 0 0 calc(50% - 50vw);background:var(--sable);color:var(--ch);font:400 16px/1.6 var(--x);-webkit-font-smoothing:antialiased}
#ec-cx *{box-sizing:border-box}
#ec-cx p{margin:0}
#ec-cx :focus-visible{outline:2px solid var(--ch);outline-offset:3px}
#ec-cx svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
#ec-cx .ecx-grille{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:calc(100vh - var(--haut));margin-top:calc(-1 * var(--haut))}
#ec-cx .ecx-photo{position:relative;min-height:640px;overflow:hidden;border-radius:0 40px 40px 0}
#ec-cx .ecx-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%;border-radius:0}
#ec-cx .ecx-lieu{position:absolute;left:28px;bottom:28px;display:flex;align-items:center;gap:12px;background:#fff;border-radius:18px;padding:12px 16px 12px 12px;box-shadow:0 12px 30px rgba(0,0,0,.16);max-width:calc(100% - 56px)}
#ec-cx .ecx-pas{width:40px;height:40px;border-radius:12px;background:var(--or);color:#fff;display:grid;place-items:center;flex:none}
#ec-cx .ecx-lieu b{display:block;font:600 15px/1.2 var(--t)}#ec-cx .ecx-lieu small{display:block;color:var(--gris);font-size:13px}
#ec-cx .ecx-pastille{position:absolute;right:28px;top:calc(var(--haut) + 32px);background:var(--or);color:#fff;font:700 14px/1.15 var(--t);padding:14px 16px;border-radius:999px;transform:rotate(6deg);box-shadow:0 10px 24px rgba(199,58,20,.3);text-align:center}
#ec-cx .ecx-texte{padding:calc(var(--haut) + 36px) clamp(24px,5vw,80px) 56px clamp(24px,4vw,64px);display:flex;flex-direction:column;justify-content:center;max-width:640px;align-self:center;width:100%}
#ec-cx .ecx-surtitre{display:flex;align-items:center;gap:8px;font:600 14px/1 var(--t);color:var(--or);margin:0 0 14px}
#ec-cx .ecx-surtitre::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--or)}
#ec-cx .ecx-h1{font:800 clamp(34px,3.7vw,50px)/1.04 var(--t)!important;letter-spacing:-.015em!important;margin:0!important;text-wrap:balance;text-transform:none!important;color:var(--ch)!important}
#ec-cx .ecx-sur{display:inline-block;background:var(--or);color:#fff;padding:0 .14em;border-radius:.14em;transform:rotate(-2deg)}
#ec-cx .ecx-promesse{font-size:17px;color:var(--gris);margin:16px 0 0;max-width:500px}
#ec-cx .ecx-resume{font:600 15px/1.4 var(--t);color:var(--ch);margin:10px 0 20px;text-wrap:pretty}
#ec-cx .ecx-atouts{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:10px}
#ec-cx .ecx-atouts li{display:flex;gap:12px;align-items:center;font:500 15px/1.35 var(--x);text-wrap:pretty;margin:0}
#ec-cx .ecx-ic{width:34px;height:34px;border-radius:10px;background:var(--or-c);color:var(--or);display:grid;place-items:center;flex:none}
#ec-cx .ecx-preuve{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;color:var(--gris);font-size:13.5px}
#ec-cx .ecx-preuve span{display:inline-flex;gap:6px;align-items:center}
#ec-cx .ecx-preuve svg{width:16px;height:16px;stroke:var(--or);stroke-width:2.2}
/* carte : le formulaire d'origine de la carte, restylé (mêmes champs, mêmes actions) */
#ec-cx .ecx-carte{background:#fff;border-radius:28px;box-shadow:0 1px 2px rgba(43,43,43,.05),0 18px 44px rgba(43,43,43,.09);padding:26px}
#ec-cx .epicu-membres{max-width:none!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;font:inherit;color:inherit}
#ec-cx .em-card{background:none!important;box-shadow:none!important;padding:0!important;margin:0!important;border:0!important;max-width:none!important;border-radius:0!important;text-align:left!important}
#ec-cx .em-card > .em-kicker,#ec-cx .em-card > .em-title,#ec-cx .em-card > .em-sub{display:none!important}
#ec-cx .em-tabs{display:flex!important;background:var(--sable)!important;border-radius:14px!important;padding:4px!important;gap:4px!important;margin:0 0 20px!important;border:0!important}
#ec-cx .em-tabs button{flex:1;min-height:44px!important;border:0!important;border-radius:11px!important;background:none!important;font:600 14.5px/1 var(--t)!important;color:var(--gris)!important;cursor:pointer;text-transform:none!important;letter-spacing:0!important;padding:0 8px!important;box-shadow:none!important}
#ec-cx .em-tabs button[aria-selected="true"]{background:#fff!important;color:var(--ch)!important;box-shadow:0 1px 4px rgba(0,0,0,.08)!important}
#ec-cx .em-aide{display:block;background:var(--or-c);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.5;color:#5A2412;margin:0 0 2px}
#ec-cx .em-aide b{font-weight:700}
#ec-cx .em-form{display:grid!important;gap:14px!important;margin:0!important}
#ec-cx .em-form[hidden]{display:none!important}
#ec-cx .em-form label{display:grid!important;gap:7px;font:600 14px/1.2 var(--t)!important;color:var(--ch)!important;margin:0!important;text-transform:none!important}
#ec-cx .em-form label small{font:500 13px var(--x);color:var(--gris)}
#ec-cx .em-form input[type=email],#ec-cx .em-form input[type=text]:not(.em-hp),#ec-cx .em-form input[type=password],#ec-cx .em-form select{display:block!important;width:100%!important;min-height:52px!important;border:1.5px solid var(--trait)!important;border-radius:16px!important;padding:0 16px!important;font:500 16px var(--x)!important;color:var(--ch)!important;background:#fff!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;margin:0!important}
#ec-cx .em-form input:focus,#ec-cx .em-form select:focus{border-color:var(--or)!important;box-shadow:0 0 0 4px rgba(199,58,20,.18)!important;outline:2px solid transparent!important}
#ec-cx .em-form input:user-invalid{border-color:var(--or)!important;box-shadow:0 0 0 4px rgba(199,58,20,.12)!important}
#ec-cx .em-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
#ec-cx .em-plus{border-top:1px solid var(--sable2);padding-top:12px}
#ec-cx .em-plus summary{cursor:pointer;font:600 14px/1 var(--t);color:var(--or);min-height:44px;display:flex;align-items:center;gap:6px;list-style:none}
#ec-cx .em-plus summary::-webkit-details-marker{display:none}
#ec-cx .em-plus summary small{font:500 13px var(--x);color:var(--gris)}
#ec-cx .em-plus[open] summary{margin-bottom:10px}
#ec-cx .em-plus-in{display:grid;gap:14px}
#ec-cx .em-check{display:flex!important;gap:12px;align-items:flex-start;font:500 14px/1.5 var(--x)!important;color:var(--gris)!important;background:var(--sable);border-radius:14px;padding:12px 14px}
#ec-cx .em-check input{width:22px!important;height:22px!important;min-height:0!important;margin:1px 0 0!important;accent-color:var(--or);flex:none}
#ec-cx .em-ts:empty{display:none}
#ec-cx .em-btn{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:54px!important;border:0!important;border-radius:12px!important;background:var(--or)!important;color:#fff!important;font:700 16px/1.2 var(--t)!important;cursor:pointer;text-transform:none!important;letter-spacing:0!important;padding:0 16px!important;box-shadow:none!important}
#ec-cx .em-btn:hover{background:var(--or-f)!important}
#ec-cx .em-btn[disabled]{opacity:.7;cursor:progress}
#ec-cx .em-link{background:none!important;border:0!important;padding:4px 0!important;min-height:44px;font:600 14px/1.3 var(--t)!important;color:var(--or)!important;text-align:left;cursor:pointer;text-transform:none!important;box-shadow:none!important}
#ec-cx .em-legal{font-size:13px!important;color:var(--gris)!important;margin:4px 0 0!important;line-height:1.5!important}
#ec-cx .em-legal a{color:var(--or)!important}
#ec-cx .em-msg:empty{display:none}
#ec-cx .em-msg{font:600 14px/1.45 var(--x);border-radius:12px;padding:10px 14px;background:var(--sable);color:var(--ch);margin:0}
#ec-cx .em-msg.is-err{background:var(--or-c);color:var(--or-f)}
#ec-cx .em-msg.is-ok{background:#E8F1E4;color:#2F5A25}
@media (max-width:1180px){#ec-cx .ecx-grille{grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}}
@media (max-width:900px){
 #ec-cx .ecx-grille{grid-template-columns:minmax(0,1fr);min-height:0}
 #ec-cx .ecx-photo{min-height:300px;height:calc(300px + var(--haut));border-radius:0 0 32px 32px}
 #ec-cx .ecx-photo img{object-position:50% 60%}
 #ec-cx .ecx-pastille{display:none}
 #ec-cx .ecx-lieu{left:12px;bottom:14px;padding:6px 12px 6px 6px;border-radius:14px;gap:10px;max-width:calc(100% - 24px)}
 #ec-cx .ecx-pas{width:32px;height:32px;border-radius:10px}
 #ec-cx .ecx-lieu b{font-size:13.5px}#ec-cx .ecx-lieu small{display:none}
 #ec-cx .ecx-texte{padding:22px 16px 48px;max-width:none}
 #ec-cx .ecx-h1{font-size:31px!important}
 #ec-cx .ecx-promesse{font-size:15.5px;margin-top:10px}
 #ec-cx .ecx-resume{margin:8px 0 16px;font-size:14.5px}
 #ec-cx .ecx-carte{padding:20px;border-radius:24px}
}
@media (max-width:480px){#ec-cx .em-aide{font-size:13.5px;padding:10px 12px}}
@media (prefers-reduced-motion:reduce){#ec-cx *{transition:none!important}}
#ec-cx form[data-em="lien"] .em-aide ~ .em-aide{display:none!important}
body:has(#ec-cx) .ec-bulle,body:has(#ec-cx) #epicu-conseiller{display:none!important}
