/* Charte Konect - commune aux pages du site vitrine (konect-group.fr). */
:root {
  --ink: #202528;
  --ink-2: #2a3135;
  --ink-3: #3a4247;
  --night: #161a1c;
  --cream: #ebe7e0;
  --cream-2: #f5f2ec;
  --line: #ddd8d0;
  --muted: #8a96a0;
  --muted-dark: #6b6458;
  --blue: #2886aa;
  --blue-2: #3aa0c6;
  --sky: #aee9f8;
  --orange: #e17e39;
  --orange-2: #f09a5c;
  --white: #ffffff;

  --font: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Barlow Condensed', 'Arial Narrow', -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "lnum" 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 800; line-height: .92; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo : le cube + le mot */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 34px; }
.brand b { font-family: var(--font-title); font-weight: 800; font-size: 22px; letter-spacing: .28em; }

/* Étiquettes, boutons */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: 15px;
  letter-spacing: .18em; text-transform: uppercase;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(225, 126, 57, .7); animation: live 1.6s infinite;
}
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(225, 126, 57, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 126, 57, 0); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-title); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; background: var(--orange); color: var(--white);
  transition: transform .25s var(--ease), background .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(225, 126, 57, .8); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px currentColor; background: rgba(255, 255, 255, .06); }

/* Apparitions au défilement (le JS pose .in). Seulement si le JS tourne (classe posée dans le <head>) :
   sinon le contenu resterait invisible, pour un visiteur comme pour un robot qui n'exécute pas le JS. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Réseaux sociaux, dans le pied de page de chaque page */
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.socials a { display: inline-flex; align-items: center; gap: 7px; color: #c9d2d8; text-decoration: none; font-size: 13px; transition: color .2s; }
.socials a:hover, .socials a:focus-visible { color: var(--white); }
.socials svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover svg { color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
