
/* Expertise & Social — V1.0 Premium */
:root{--es-prune:#6f164f;--es-prune-dark:#3b0b29;--es-gold:#c58a19;--es-cream:#fff8f2;--es-line:#ead9e3;--es-ink:#2f2430;--es-muted:#6e5d68;--es-shadow:0 18px 50px rgba(59,11,41,.12)}
html{scroll-behavior:smooth}body{overflow-x:hidden}
.es-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(111,22,79,.10);box-shadow:0 8px 26px rgba(59,11,41,.06)}
.es-header-inner{width:min(1480px,calc(100% - 36px));min-height:84px;margin:auto;display:grid;grid-template-columns:minmax(265px,330px) minmax(0,1fr) auto;align-items:center;gap:24px}
.es-brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.es-brand img{width:58px;height:58px;object-fit:contain;border-radius:16px;flex:0 0 auto}.es-brand-copy{min-width:0}.es-brand-title{display:block;color:var(--es-prune-dark);font:800 15px/1.15 Manrope,Inter,Arial,sans-serif;letter-spacing:.07em;white-space:nowrap}.es-brand-sub{display:block;color:var(--es-muted);font:700 9px/1.3 Manrope,Inter,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap;margin-top:4px}
.es-nav{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1vw,18px);min-width:0}.es-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--es-ink);text-decoration:none;font:750 13px/1 Manrope,Inter,Arial,sans-serif;white-space:nowrap}.es-nav a:hover,.es-nav a:focus-visible{color:var(--es-prune)}
.es-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.es-phone,.es-diagnostic{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;padding:11px 16px;text-decoration:none;font:800 12px/1.1 Manrope,Inter,Arial,sans-serif}.es-phone{color:var(--es-prune);border:1px solid rgba(111,22,79,.28);background:#fff}.es-diagnostic{color:#fff;background:linear-gradient(135deg,var(--es-prune),#9c2e73);box-shadow:0 12px 24px rgba(111,22,79,.22);border:0;cursor:pointer}.es-menu-toggle{display:none;width:46px;height:46px;border-radius:14px;border:1px solid var(--es-line);background:#fff;color:var(--es-prune);font-size:24px;cursor:pointer}
@media(max-width:1320px){.es-phone{display:none}.es-header-inner{grid-template-columns:minmax(250px,310px) minmax(0,1fr) auto;gap:16px}.es-nav{gap:11px}.es-nav a{font-size:12.5px}}
@media(max-width:1080px){.es-header-inner{grid-template-columns:minmax(0,1fr) auto}.es-nav{display:none;position:absolute;top:84px;left:18px;right:18px;background:#fff;border:1px solid var(--es-line);border-radius:22px;padding:14px;box-shadow:var(--es-shadow);flex-direction:column;align-items:stretch;gap:2px}.es-nav.is-open{display:flex}.es-nav a{padding:10px 12px;border-radius:12px}.es-nav a:hover{background:#fff4f8}.es-menu-toggle{display:inline-grid;place-items:center}.es-actions{gap:8px}.es-diagnostic{padding:11px 14px}}
@media(max-width:680px){.es-header-inner{width:min(100% - 18px,1480px);min-height:72px;gap:7px}.es-brand{gap:7px}.es-brand img{width:42px;height:42px}.es-brand-title{font-size:11px;letter-spacing:.02em}.es-brand-sub{display:none}.es-actions{gap:6px}.es-actions .es-phone{font-size:0;width:42px;height:42px;padding:0;border-radius:13px}.es-actions .es-phone:before{content:'☎';font-size:20px;line-height:1}.es-actions .es-diagnostic{font-size:10.5px;width:auto;min-width:90px;height:42px;padding:0 9px;line-height:1.05;text-align:center;border-radius:13px}.es-actions .es-diagnostic:after{content:none}.es-nav{top:72px}.es-menu-toggle{width:42px;height:42px;border-radius:13px}}

/* Premium home hero overrides */
body.home-page .hero{background:radial-gradient(circle at 12% 10%,rgba(197,138,25,.17),transparent 32%),radial-gradient(circle at 92% 18%,rgba(111,22,79,.14),transparent 38%),linear-gradient(135deg,#fff 0%,#fff8f2 56%,#f6e1d6 100%)}
body.home-page .hero-grid{padding:64px 0 76px;gap:52px}body.home-page .hero h1{font-size:clamp(42px,5.7vw,72px);line-height:1.03;letter-spacing:-.055em;max-width:820px}body.home-page .lead{font-size:18px;max-width:760px}
.es-proof-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:26px}.es-proof{background:rgba(255,255,255,.84);border:1px solid rgba(111,22,79,.13);border-radius:18px;padding:14px 15px;box-shadow:0 10px 24px rgba(59,11,41,.06)}.es-proof strong{display:block;color:var(--es-prune-dark);font-size:15px}.es-proof span{display:block;color:var(--es-muted);font-size:11px;margin-top:4px;line-height:1.35}
body.home-page .hero-photo figure{border-radius:38px 38px 10px 38px}body.home-page .hero-photo img{object-position:center 10%;height:560px}
body.home-page .badge{right:-8px;bottom:30px;width:238px;background:linear-gradient(145deg,var(--es-prune-dark),#8f2868)}
@media(max-width:900px){body.home-page .hero-grid{grid-template-columns:1fr;padding-top:40px}.es-proof-strip{grid-template-columns:1fr 1fr}body.home-page .hero-photo{max-width:620px;margin:auto;width:100%}}
@media(max-width:560px){body.home-page .hero h1{font-size:39px}.es-proof-strip{grid-template-columns:1fr}.hero-actions .btn{width:100%}body.home-page .hero-photo img{height:410px}.badge{position:static!important;width:auto!important;margin-top:12px;border-radius:20px!important}}

/* Global premium consistency */
.btn{transition:transform .2s ease,box-shadow .2s ease}.btn:hover{transform:translateY(-2px)}
.resource,.ecard,.job-card{transition:transform .22s ease,box-shadow .22s ease}.resource:hover,.ecard:hover,.job-card:hover{transform:translateY(-4px)}
.resource{overflow:visible!important}.resource-img{overflow:hidden!important}.resource-icon{z-index:10!important;bottom:-30px!important;border:4px solid #fff!important;box-shadow:0 12px 28px rgba(59,11,41,.22)!important}.resource-body{padding-top:42px!important}
img{max-width:100%}

/* === CORRECTIF FINAL PASTILLES RESSOURCES — 18/07/2026 ===
   Les pastilles doivent rester entièrement visibles entre l'image et le corps de carte. */
.resource-grid .resource{
  position:relative;
  overflow:visible !important;
}
.resource-grid .resource-img{
  position:relative;
  z-index:3;
  overflow:visible !important;
  border-radius:23px 23px 0 0;
}
.resource-grid .resource-img > img{
  border-radius:23px 23px 0 0;
  clip-path:inset(0 round 23px 23px 0 0);
}
.resource-grid .resource-img::after{
  border-radius:23px 23px 0 0;
  clip-path:inset(0 round 23px 23px 0 0);
}
.resource-grid .resource-icon{
  left:18px !important;
  bottom:-31px !important;
  width:62px !important;
  height:62px !important;
  z-index:20 !important;
  border:4px solid #fff !important;
  box-shadow:0 14px 30px rgba(59,11,41,.24) !important;
}
.resource-grid .resource-body{
  position:relative;
  z-index:1;
  background:#fff;
  padding-top:44px !important;
  border-radius:0 0 23px 23px;
}
@media (max-width:640px){
  .resource-grid .resource-icon{
    width:58px !important;
    height:58px !important;
    bottom:-29px !important;
  }
  .resource-grid .resource-body{padding-top:42px !important;}
}

/* === UNIFORMISATION GLOBALE DES PAGES — V1.0 PREMIUM === */
:root{
  --es-surface:#ffffff;
  --es-soft:#fff8f3;
  --es-soft-2:#f9eef4;
  --es-radius-sm:16px;
  --es-radius:24px;
  --es-radius-lg:34px;
  --es-content:1180px;
}
body{
  font-family:Manrope,Inter,Arial,sans-serif!important;
  color:var(--es-ink);
  background:linear-gradient(180deg,#fff 0%,#fffaf7 58%,#fff 100%);
  line-height:1.65;
}
body>main, body>.main, body>.content{min-height:55vh}
.wrap,.container,.section-inner,.hero-inner{
  width:min(var(--es-content),calc(100% - 44px));
  margin-left:auto;
  margin-right:auto;
}
section,.section{scroll-margin-top:96px}
.section{padding:76px 0}
.section-soft{background:linear-gradient(180deg,#fffaf7,#fff)}
.eyebrow{
  color:var(--es-prune)!important;
  font-weight:800!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
  font-size:12px!important;
}
.title,h1{
  color:var(--es-prune-dark);
  letter-spacing:-.045em;
}
h1{font-size:clamp(38px,5vw,66px);line-height:1.05;margin:10px 0 20px}
h2{font-size:clamp(27px,3.2vw,42px);line-height:1.14;color:var(--es-prune-dark);letter-spacing:-.025em}
h3{color:var(--es-prune-dark);line-height:1.25}
p,li{color:var(--es-muted)}

/* Boutons identiques sur l'ensemble du site */
.btn,.button,button[type="submit"],input[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:50px;padding:13px 22px;border-radius:999px;
  border:1px solid transparent;text-decoration:none!important;
  font:800 14px/1.15 Manrope,Inter,Arial,sans-serif;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.btn:not(.secondary):not(.outline),button[type="submit"],input[type="submit"]{
  color:#fff;background:linear-gradient(135deg,var(--es-prune),#9d2b72);
  box-shadow:0 12px 26px rgba(111,22,79,.20);
}
.btn.secondary,.btn.outline{
  color:var(--es-prune);background:#fff;border-color:rgba(111,22,79,.24);
}
.btn:hover,.button:hover,button[type="submit"]:hover,input[type="submit"]:hover{transform:translateY(-2px);filter:brightness(1.02)}

/* Cartes, formulaires et panneaux cohérents */
.card,.box,.panel,.ecard,.job-card,.resource,.legal-card,.content-card{
  background:var(--es-surface);
  border:1px solid rgba(111,22,79,.13);
  border-radius:var(--es-radius);
  box-shadow:0 18px 44px rgba(59,11,41,.08);
}
input,select,textarea{
  font:600 15px/1.4 Manrope,Inter,Arial,sans-serif;
  border:1px solid rgba(111,22,79,.20)!important;
  border-radius:15px!important;
  background:#fff!important;
  color:var(--es-ink)!important;
}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(111,22,79,.10);border-color:var(--es-prune)!important}

/* En-têtes de pages secondaires */
body:not(.home-page) .hero{
  background:radial-gradient(circle at 8% 8%,rgba(197,138,25,.14),transparent 34%),radial-gradient(circle at 92% 12%,rgba(111,22,79,.12),transparent 38%),linear-gradient(135deg,#fff,#fff8f3);
  border-bottom:1px solid rgba(111,22,79,.08);
}
body:not(.home-page) .hero .wrap,body:not(.home-page) .hero-grid{padding-top:64px;padding-bottom:64px}

/* Articles uniformisés */
body.page-article main.wrap{max-width:900px;padding-top:64px;padding-bottom:80px}
body.page-article main.wrap>p:first-of-type{font-size:19px;line-height:1.75;color:#51404b}
body.page-article .card{padding:26px;margin:30px 0}
body.page-article ul{padding-left:22px}

/* Pages légales et pages simples */
body.page-mentions-legales main,body.page-politique-confidentialite main,body.page-gestion-cookies main,
body.page-mentions-legales .content,body.page-politique-confidentialite .content,body.page-gestion-cookies .content{
  width:min(960px,calc(100% - 44px));margin:48px auto 80px;background:#fff;
  border:1px solid rgba(111,22,79,.13);border-radius:28px;padding:clamp(24px,4vw,52px);
  box-shadow:0 18px 44px rgba(59,11,41,.07);
}

/* Footer global */
footer,.footer,.foot{
  margin-top:0!important;padding:36px max(22px,calc((100% - var(--es-content))/2))!important;
  background:linear-gradient(135deg,#351027,#651348)!important;
  color:#fff!important;border-top:0!important;
  font-family:Manrope,Inter,Arial,sans-serif!important;
}
footer a,.footer a,.foot a{color:#fff!important;text-decoration:none}
footer p,.footer p,.foot p,footer li,.footer li,.foot li{color:rgba(255,255,255,.82)!important}

/* Page merci / 404 cohérentes */
body.page-merci,body.page-404{min-height:100vh;background:var(--es-soft)}
body.page-merci .box,body.page-404 .box{max-width:920px;margin:72px auto;padding:clamp(30px,5vw,64px)}

/* Neutralisation des anciens boutons flottants redondants sur petit écran */
@media(max-width:780px){
  .km-return-nav{display:none!important}
  .float-actions{bottom:12px!important;right:12px!important}
}
@media(max-width:900px){
  .section{padding:58px 0}
  .wrap,.container,.section-inner,.hero-inner{width:min(100% - 28px,var(--es-content))}
}
@media(max-width:560px){
  h1{font-size:36px}.title{font-size:36px!important}
  h2{font-size:28px}
  .section{padding:46px 0}
  .btn,.button,button[type="submit"],input[type="submit"]{width:100%}
}


/* Formulaires premium : accessibilité, conversion et retours d'état */
.es-optimized-form{position:relative}
.es-optimized-form label{display:block;color:var(--es-prune,#58113f);font-weight:800}
.es-optimized-form label>span[aria-hidden="true"]{color:#a3115b}
.es-optimized-form input,.es-optimized-form select,.es-optimized-form textarea{min-height:52px;padding:14px 15px!important;margin-top:8px}
.es-optimized-form textarea{min-height:132px;resize:vertical}
.es-optimized-form input::placeholder,.es-optimized-form textarea::placeholder{color:#8b7a85;opacity:1}
.es-optimized-form input:invalid:not(:placeholder-shown),.es-optimized-form textarea:invalid:not(:placeholder-shown),.es-optimized-form select:invalid{border-color:#b42318!important}
.es-optimized-form input:valid:not(:placeholder-shown),.es-optimized-form textarea:valid:not(:placeholder-shown){border-color:#17845d!important}
.field-help,.form-required{display:block;margin-top:7px;color:#71616c;font-size:12px;line-height:1.45;font-weight:600}
.es-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.consent-row{display:flex!important;gap:11px;align-items:flex-start;padding:4px 0;font-weight:650!important;color:#3e2d37!important}
.consent-row input{width:19px!important;height:19px!important;min-height:0!important;flex:0 0 19px;margin:2px 0 0!important;accent-color:var(--es-prune,#6f164f)}
.consent-row a{color:var(--es-prune,#6f164f);font-weight:800}
.form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:2px}
.form-actions .btn{min-width:220px}
.form-status{margin:0;min-height:22px;color:#4b3944;font-weight:700}
.form-required{width:100%;margin-top:0}
.submit-loading{display:none}
.es-optimized-form.is-submitting{pointer-events:none;opacity:.78}
.es-optimized-form.is-submitting .submit-label{display:none}
.es-optimized-form.is-submitting .submit-loading{display:inline}
.es-optimized-form .field-error{margin:6px 0 0;color:#b42318;font-size:12px;font-weight:750}
.es-optimized-form [aria-invalid="true"]{border-color:#b42318!important;outline:3px solid rgba(180,35,24,.10)!important}
@media(max-width:700px){.es-optimized-form.form{grid-template-columns:1fr}.es-optimized-form .full{grid-column:1}.form-actions .btn{width:100%}.modal{padding:22px}.modal-head{align-items:flex-start}}

/* === V2 SPRINT 1 : architecture SEO, hubs et guides === */
.v2-shell{width:min(1180px,calc(100% - 40px));margin:auto}.v2-hero{padding:72px 0 54px;background:linear-gradient(135deg,#fff8f1,#fff);border-bottom:1px solid rgba(116,20,79,.12)}.v2-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.04;letter-spacing:-.055em;color:#3b0b29;margin:10px 0 18px}.v2-hero p{max-width:820px;font-size:18px;line-height:1.7;color:#5d4a56}.v2-breadcrumb{font-size:13px;color:#76636e;margin:18px 0}.v2-breadcrumb a{color:#74144f;text-decoration:none}.v2-section{padding:68px 0}.v2-section.alt{background:#fff8f1}.v2-section h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;color:#3b0b29;margin:0 0 14px}.v2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}.v2-card{background:#fff;border:1px solid rgba(116,20,79,.16);border-radius:24px;padding:24px;box-shadow:0 18px 44px rgba(59,11,41,.08);display:flex;flex-direction:column}.v2-card h3{color:#3b0b29;font-size:21px;line-height:1.25;margin:0 0 10px}.v2-card p{color:#66545f;line-height:1.6;margin:0 0 18px}.v2-card a{margin-top:auto;color:#74144f;font-weight:800;text-decoration:none}.v2-pill{display:inline-flex;width:max-content;border-radius:999px;padding:7px 11px;background:#f6e4ef;color:#74144f;font-size:12px;font-weight:900;margin-bottom:12px}.v2-cta{border-radius:28px;padding:34px;background:linear-gradient(135deg,#3b0b29,#74144f);color:#fff;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.v2-cta h2{color:#fff;margin:0 0 8px}.v2-cta p{margin:0;color:#f7e9f1;line-height:1.6}.v2-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:14px 20px;background:#fff;color:#74144f;font-weight:900}.v2-guide{max-width:900px;margin:auto;padding:48px 0 78px}.v2-guide h1{font-size:clamp(38px,5vw,60px);line-height:1.06;letter-spacing:-.05em;color:#3b0b29}.v2-guide h2{font-size:31px;color:#3b0b29;margin:46px 0 14px}.v2-guide h3{font-size:22px;color:#74144f;margin:30px 0 10px}.v2-guide p,.v2-guide li{font-size:17px;line-height:1.78;color:#4e3e48}.v2-guide .lead{font-size:20px;color:#66545f}.v2-toc{background:#fff8f1;border:1px solid rgba(116,20,79,.14);border-radius:22px;padding:22px 26px;margin:28px 0}.v2-toc a{color:#74144f;text-decoration:none}.v2-note{border-left:5px solid #c58510;background:#fff8e9;border-radius:0 18px 18px 0;padding:20px 22px;margin:28px 0}.v2-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:15px}.v2-table th,.v2-table td{border:1px solid #e4d7de;padding:14px;text-align:left;vertical-align:top}.v2-table th{background:#f8edf3;color:#3b0b29}.v2-faq details{border:1px solid #e5d7df;border-radius:16px;padding:16px 18px;margin:10px 0;background:#fff}.v2-faq summary{font-weight:900;color:#3b0b29;cursor:pointer}.v2-related{margin-top:44px;padding-top:30px;border-top:1px solid #e4d7de}.v2-links{display:flex;flex-wrap:wrap;gap:10px}.v2-links a{border-radius:999px;padding:10px 14px;background:#f6e4ef;color:#74144f;text-decoration:none;font-weight:800}.v2-expertise-strip{padding:42px 0;background:#fff}.v2-expertise-strip .v2-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px}.v2-mini{border:1px solid rgba(116,20,79,.13);border-radius:18px;padding:18px;background:#fff}.v2-mini a{text-decoration:none;color:#3b0b29;font-weight:900}.v2-author{display:grid;grid-template-columns:80px 1fr;gap:18px;align-items:center;background:#fff8f1;border-radius:22px;padding:20px;margin:34px 0}.v2-author img{width:80px;height:80px;border-radius:50%;object-fit:cover}.v2-author strong{display:block;color:#3b0b29;font-size:18px}.v2-author p{font-size:14px;margin:5px 0 0}.v2-updated{font-size:13px;color:#76636e}.v2-navlinks{padding:28px 0;border-top:1px solid rgba(116,20,79,.12);background:#fff}.v2-navlinks .v2-links{justify-content:center}.v2-home-intro{padding:46px 0;background:#fff}.v2-home-intro .v2-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.v2-grid,.v2-expertise-strip .v2-grid,.v2-home-intro .v2-grid{grid-template-columns:1fr 1fr}.v2-cta{grid-template-columns:1fr}}@media(max-width:620px){.v2-grid,.v2-expertise-strip .v2-grid,.v2-home-intro .v2-grid{grid-template-columns:1fr}.v2-shell{width:min(100% - 26px,1180px)}.v2-guide{padding-left:14px;padding-right:14px}.v2-table{font-size:13px}.v2-table th,.v2-table td{padding:9px}.v2-author{grid-template-columns:60px 1fr}.v2-author img{width:60px;height:60px}}
