/* H-TIC RDV Expert. Astra et Elementor stylent boutons, images et paragraphes :
   sélecteurs préfixés .hre + !important sur les propriétés qu'ils écrasent (leçon du module /contact/, 13/10). */
.hre{--n:#071434;--n2:#13265e;--y:#F8BC0C;--mut:#5B6890;--line:#e6e9f2;color:var(--n);font-family:inherit;text-align:left}
.hre *{box-sizing:border-box}
.hre p{margin:0!important;padding:0!important}
.hre__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;max-width:1180px;margin:0 auto}
.hre--seul .hre__grid{grid-template-columns:minmax(0,560px);justify-content:center}

/* Cartes */
.hre__card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:24px;padding:0 0 24px;overflow:hidden;
  box-shadow:0 22px 44px -30px rgba(7,20,52,.45);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;
  animation:hreIn .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 90ms)}
.hre__card:hover{transform:translateY(-6px);box-shadow:0 34px 60px -30px rgba(7,20,52,.55)}
.hre__head{position:relative;display:flex;align-items:center;gap:16px;padding:26px 24px 24px;margin-bottom:20px;color:#fff;
  background:radial-gradient(120% 140% at 100% 0%,#22408f 0%,var(--n2) 38%,var(--n) 100%)}
.hre__head::after{content:"";position:absolute;left:24px;right:24px;bottom:-1px;height:4px;border-radius:4px 4px 0 0;background:var(--y);
  transform-origin:left;transform:scaleX(.18);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.hre__card:hover .hre__head::after{transform:scaleX(1)}
.hre .hre__photo{flex:none;display:block;width:96px;height:96px;border-radius:50%;overflow:hidden;background:#0d1d47;
  border:3px solid var(--y);box-shadow:0 0 0 6px rgba(248,188,12,.16)}
/* Portraits de l'équipe = bustes détourés (410x574) : zoom sur le visage. Une photo déjà cadrée serre reste lisible. */
.hre .hre__photo img,.hre .hre__who img{display:block;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;
  border-radius:0!important;object-fit:cover!important;object-position:50% 0!important;transform:scale(1.45);transform-origin:50% 12%}
.hre .hre__who .hre__photo{width:68px;height:68px;border-width:2px;box-shadow:none}
.hre .hre__photo--vide{display:inline-flex;align-items:center;justify-content:center;background:var(--n);color:var(--y);font-size:34px;font-weight:700}
.hre p.hre__tag{display:inline-block;margin:0 0 6px!important;padding:4px 10px!important;border-radius:999px;background:var(--y);color:var(--n);
  font-size:12px;font-weight:700;letter-spacing:.03em;line-height:1.3!important}
.hre p.hre__name{font-size:24px;font-weight:700;line-height:1.15!important;color:#fff}
.hre p.hre__role{margin-top:2px!important;color:#D5DBF2;font-size:14px;line-height:1.35!important}
.hre p.hre__qlabel{padding:0 24px!important;font-size:13px;font-weight:700;color:var(--mut);text-transform:uppercase;letter-spacing:.05em}
.hre ul.hre__q{list-style:none!important;margin:10px 0 22px!important;padding:0 24px!important;display:flex;flex-direction:column;gap:10px;flex:1}
.hre .hre__q li{position:relative;margin:0!important;padding:10px 12px 10px 40px!important;border-radius:12px;background:#F4F6FB;font-size:15px;line-height:1.4}
.hre .hre__q li::before{content:"?";position:absolute;left:10px;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:50%;
  background:var(--n);color:var(--y);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.hre button.hre__cta{margin:0 24px!important;padding:15px 20px!important;border:0!important;border-radius:999px!important;background:var(--y)!important;color:var(--n)!important;
  font:inherit;font-size:16px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;
  cursor:pointer;transition:transform .2s,background .2s}
.hre button.hre__cta:hover{background:#ffcb2e!important;transform:translateY(-2px)}

/* Fenêtre */
.hre__dlg{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:24px;background:#fff;color:var(--n);
  box-shadow:0 40px 80px -20px rgba(7,20,52,.6)}
.hre__dlg[open]{animation:hreUp .45s cubic-bezier(.2,.8,.2,1)}
.hre__dlg::backdrop{background:rgba(7,20,52,.62);backdrop-filter:blur(4px)}
.hre__form{position:relative;padding:28px}
.hre button.hre__close{position:absolute;top:14px;right:14px;width:38px!important;height:38px!important;padding:0!important;margin:0!important;border:1px solid var(--line)!important;
  border-radius:50%!important;background:#fff!important;color:var(--n)!important;font-size:22px!important;line-height:1!important;box-shadow:none!important;cursor:pointer}
.hre__who{display:flex;align-items:center;gap:14px;margin:0 44px 22px 0;padding:16px;border-radius:18px;background:var(--n);color:#fff}
.hre p.hre__wtag{color:var(--y);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.hre p.hre__wname{font-size:19px;font-weight:700;line-height:1.25!important;color:#fff}
.hre p.hre__wnote{margin-top:2px!important;color:#D5DBF2;font-size:14px;line-height:1.4!important}
.hre p.hre__step{display:flex;align-items:center;gap:8px;margin:20px 0 10px!important;font-size:17px;font-weight:700}
.hre .hre__step span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--y);color:var(--n);font-size:13px}
.hre .hre__step small{font-weight:400;color:var(--mut);font-size:14px}
.hre__days{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(76px,1fr);gap:8px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x mandatory}
.hre__day{display:flex;flex-direction:column;gap:6px;scroll-snap-align:start}
.hre p.hre__dayh{display:flex;flex-direction:column;align-items:center;padding:6px 0!important;line-height:1.1!important;font-size:12px;color:var(--mut);text-transform:capitalize}
.hre .hre__dayh b{font-size:20px;color:var(--n)}
.hre button.hre__slot{padding:9px 4px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;color:var(--n)!important;
  font:inherit;font-size:13px!important;font-weight:600!important;line-height:1.2!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;cursor:pointer;transition:all .15s}
.hre button.hre__slot:hover{border-color:var(--n)!important}
.hre button.hre__slot[aria-pressed="true"]{background:var(--n)!important;border-color:var(--n)!important;color:var(--y)!important;transform:scale(1.04)}
.hre__days[data-plein="oui"] button.hre__slot[aria-pressed="false"]{opacity:.45}
.hre__fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hre__f{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:var(--mut)}
.hre__f--wide{grid-column:1/-1}
.hre .hre__f input,.hre .hre__f textarea{width:100%;margin:0!important;padding:10px 12px!important;border:1px solid #cfd5e6!important;border-radius:10px!important;background:#fff!important;
  color:var(--n)!important;font:inherit;font-size:15px!important;font-weight:400;box-shadow:none!important}
.hre .hre__f textarea{min-height:84px;resize:vertical}
.hre__hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden}
.hre__consent{display:flex;gap:8px;align-items:flex-start;margin-top:14px;font-size:13px;color:var(--mut)}
.hre__consent a{color:var(--n)}
.hre button.hre__send{width:100%;margin:16px 0 0!important;padding:15px 20px!important;border:0!important;border-radius:999px!important;background:var(--y)!important;color:var(--n)!important;
  font:inherit;font-size:16px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;box-shadow:none!important;cursor:pointer}
.hre button.hre__send:disabled{opacity:.55;cursor:default}
.hre p.hre__err{margin-top:10px!important;color:#c02a2f;font-size:14px}
.hre__done{text-align:center;padding:24px 8px}
.hre p.hre__donet{font-size:24px;font-weight:700;margin-bottom:8px!important}
.hre :focus-visible{outline:3px solid var(--y);outline-offset:2px}

@keyframes hreIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes hreUp{from{opacity:0;transform:translateY(30px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hre__card,.hre__dlg[open]{animation:none}.hre__card,.hre__head::after{transition:none}}
@media (max-width:560px){.hre__form{padding:20px 16px}.hre__fields{grid-template-columns:minmax(0,1fr)}.hre__who{margin-right:40px}.hre p.hre__name{font-size:21px}}
