/* SalesPioneer.ai — styles communs (polices, bandeau cookies, messages, affichage mobile) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/space-grotesk-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/space-grotesk-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/space-grotesk-latin-700-normal.woff2) format('woff2')}

html{-webkit-text-size-adjust:100%}
[hidden]{display:none!important}
body{overflow-x:hidden}
img{max-width:100%}
button[aria-busy="true"],a[aria-busy="true"]{opacity:.6;cursor:progress}
.sp-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#00358E;color:#fff;padding:10px 14px;border-radius:8px}
.sp-skip:focus{left:8px}
.sp-thanks{margin:0;font-size:16px;line-height:1.6;color:#060E22}

/* Messages */
#sp-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:200;max-width:min(560px,calc(100% - 32px));background:#B42318;color:#fff;font:500 15px/1.5 Inter,sans-serif;padding:14px 18px;border-radius:12px;box-shadow:0 12px 30px rgba(6,14,34,.25);transition:opacity .25s,transform .25s}
#sp-toast.ok{background:#1C7C4A}
#sp-toast.show{opacity:1;transform:translate(-50%,0)}

/* Bandeau cookies */
#sp-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:150;max-width:760px;margin:0 auto;background:#060E22;color:#E4EAF5;border-radius:16px;padding:18px 20px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;box-shadow:0 20px 50px rgba(6,14,34,.35);font:400 14px/1.5 Inter,sans-serif}
#sp-consent p{margin:0;flex:1 1 320px}
#sp-consent a{color:#B9CCF2}
#sp-consent div{display:flex;gap:8px}
#sp-consent button{cursor:pointer;font:600 14px Inter,sans-serif;padding:10px 16px;border-radius:8px;border:2px solid #B9CCF2;background:transparent;color:#fff}
#sp-consent .sp-c-yes{background:#fff;border-color:#fff;color:#00358E}

/* Bouton menu (mobile) */
.sp-burger{display:none;cursor:pointer;background:#fff;border:1px solid #D2DBEA;border-radius:10px;width:44px;height:44px;align-items:center;justify-content:center;padding:0}
.sp-burger span{display:block;width:20px;height:2px;background:#060E22;position:relative}
.sp-burger span::before,.sp-burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:#060E22}
.sp-burger span::before{top:-6px}.sp-burger span::after{top:6px}

/* ---------- Tablette ---------- */
@media (max-width:1100px){
  [style*="grid-template-columns: repeat(4, minmax(0, 1fr))"],[style*="grid-template-columns: repeat(5, minmax(0, 1fr))"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ---------- Mobile ---------- */
@media (max-width:900px){
  header>div{padding:12px 16px!important;flex-wrap:nowrap!important}
  header nav,header>div>div:last-child>a{display:none!important}
  .sp-burger{display:inline-flex}
  html.sp-nav-open header nav{display:flex!important;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch!important;gap:0!important;background:#fff;border-bottom:1px solid #D2DBEA;box-shadow:0 20px 40px rgba(6,14,34,.12);padding:8px 16px 16px;z-index:60}
  html.sp-nav-open header nav>*{padding:12px 0!important;margin:0!important;border-bottom:1px solid #EBF0F8!important}
  html.sp-nav-open header nav a{font-size:17px!important}
  html.sp-nav-open header nav .sp-dd a{border-bottom:0!important}
  html.sp-nav-open header>div>div:last-child>a{display:inline-flex!important}
  html.sp-nav-open header>div{flex-wrap:wrap!important}
  .sp-dd>.sp-panel,.sp-dd:hover>.sp-panel,.sp-dd:focus-within>.sp-panel{display:none!important}
  .sp-dd{padding:0!important;margin:0!important}

  section[style*="56px"]{padding-left:20px!important;padding-right:20px!important}
  section[style*="padding: 72px 56px 88px"]{padding-top:40px!important;padding-bottom:56px!important}
  section[style*="padding: 96px 56px"],section[style*="padding: 88px 56px 96px"],section[style*="padding: 88px 56px;"]{padding-top:56px!important;padding-bottom:56px!important}
  section[style*="padding: 88px 56px 0"]{padding-top:56px!important}
  section[style*="padding: 64px 56px 96px"],section[style*="padding: 56px 56px 96px"],section[style*="padding: 0 56px 96px"],section[style*="padding: 24px 56px 96px"]{padding-bottom:56px!important}
  div[style*="padding: 0 56px"],div[style*="padding: 14px 56px"]{padding-left:20px!important;padding-right:20px!important}
  footer>div,footer [style*="56px"]{padding-left:20px!important;padding-right:20px!important}

  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],[style*="grid-template-columns: repeat(3, minmax(0, 1fr))"],[style*="grid-template-columns: repeat(4, minmax(0, 1fr))"],[style*="grid-template-columns: repeat(5, minmax(0, 1fr))"]{grid-template-columns:1fr!important}
  [style*="grid-template-rows: subgrid"]{grid-row:auto!important;grid-template-rows:none!important;display:flex!important;flex-direction:column!important}
  [style*="grid-template-columns: 70px 270px 1fr 24px"]{grid-template-columns:52px 1fr 20px!important}
  [style*="grid-template-columns: 70px 270px 1fr 24px"]>span:nth-child(2){grid-column:2;grid-row:2}
  [style*="grid-template-columns: 70px 270px 1fr 24px"]>span:nth-child(3){grid-column:2;grid-row:1}
  [style*="grid-template-columns: 70px 270px 1fr 24px"]>span:nth-child(4){grid-column:3;grid-row:1/span 2}

  h1[style]{font-size:clamp(32px,9vw,42px)!important;line-height:1.1!important}
  h2[style*="font-size: 4"],h2[style*="font-size: 5"]{font-size:30px!important;line-height:1.15!important}
  [style*="font-size: 56px"],[style*="font-size: 50px"],[style*="font-size: 48px"],[style*="font-size: 46px"],[style*="font-size: 68px"]{font-size:clamp(30px,8.5vw,40px)!important}
  p[style*="font-size: 20px"],p[style*="font-size: 19px"]{font-size:17px!important}

  [style*="flex: 1 1 420px"],[style*="flex: 1 1 460px"],[style*="flex: 1 1 480px"],[style*="flex: 1 1 520px"]{flex-basis:100%!important}
  [style*="min-width: 280px"],[style*="min-width: 300px"],[style*="min-width: 320px"]{min-width:0!important}
  input[style*="width: 300px"]{width:100%!important}
  [style*="padding: 40px 44px"],[style*="padding: 32px 36px"],[style*="padding: 36px 40px"]{padding:24px 20px!important}
  table{display:block;overflow-x:auto}
  [style*="min-height: 2.5em"],[style*="min-height: 6.2em"]{min-height:0!important}
  [style*="min-height: 520px"],[style*="min-height: 560px"],[style*="min-height: 420px"],[style*="min-height: 380px"]{min-height:0!important}
  img[src*="b0ea1d1eb9cd8f416a8ffd7eb29f7d18"]{width:110px!important;left:-8px!important;bottom:-34px!important}
  [style*="flex: 1 1 460px"]{margin-top:36px}
}
@media (max-width:520px){
  [style*="flex-wrap: wrap"]>a[style*="padding: 15px 26px"]{width:100%;justify-content:center}
}
