/* ═══════════════════════════════════════
   JOXSKILLS SAS — Main Stylesheet v2.0
   ═══════════════════════════════════════ */
:root {
  --blue:        #1A8AC4;
  --blue-light:  #2FA3DF;
  --blue-dark:   #116699;
  --blue-pale:   #E8F4FB;
  --green:       #1A9E3F;
  --green-light: #28C454;
  --green-dark:  #116B2B;
  --green-pale:  #E8F7ED;
  --white:       #FFFFFF;
  --off:         #F7F8FA;
  --border:      #E2E8F0;
  --mid:         #8C9DB5;
  --text:        #1A2332;
  --text-soft:   #4A5568;
  --dark:        #1a2840;
  --dark2:       #1e2e45;
  --shadow:      0 4px 24px rgba(26,58,100,0.08);
  --shadow-lg:   0 12px 48px rgba(26,58,100,0.14);
  --font:        'Sora', sans-serif;
  --body:        'DM Sans', sans-serif;
  --r:           12px;
  --rs:          8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--body); color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.bg-white { background: var(--white); }
.bg-off   { background: var(--off); }
.bg-dark  { background: var(--dark); }

/* ══ NAV ══ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
#site-nav.scrolled { box-shadow: 0 2px 20px rgba(26,58,100,0.09); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 48px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-btn { background: var(--blue) !important; color: #fff !important; padding: 0.5rem 1.3rem; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-btn:hover { background: var(--blue-dark) !important; color: #fff !important; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ══ HERO ══ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9rem 6vw 3rem;
  position: relative;
  background: #1a2840;
  overflow: hidden;
}

/* Animated grid background */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,138,196,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,138,196,0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift { from { transform: translateY(0); } to { transform: translateY(56px); } }

/* Glowing orbs — plus clairs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(26,138,196,0.28); top: -100px; left: -80px; animation-duration: 9s; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(26,158,63,0.22); bottom: -80px; right: -80px; animation-duration: 11s; animation-delay: -3s; }
.hero-orb-3 { width: 320px; height: 320px; background: rgba(47,163,223,0.18); top: 40%; right: 20%; animation-duration: 7s; animation-delay: -5s; }
@keyframes orbFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,20px) scale(1.08); } }

/* ── Floating tech SVG objects ── */
.hero-floats { position: absolute; inset: 0; pointer-events: none; }

.hfloat {
  position: absolute;
  opacity: 0.75;
  filter: drop-shadow(0 4px 16px rgba(26,138,196,0.25));
}
.hfloat svg { display: block; }

/* Positions & sizes */
.hf-1 { width: 52px; top: 18%; left:  7%; animation: hfloat1 7s ease-in-out infinite; }
.hf-2 { width: 58px; top: 12%; right: 9%; animation: hfloat2 9s ease-in-out infinite; }
.hf-3 { width: 50px; top: 62%; left:  5%; animation: hfloat3 8s ease-in-out infinite; }
.hf-4 { width: 48px; bottom:18%; right:7%; animation: hfloat1 6s ease-in-out infinite reverse; }
.hf-5 { width: 56px; top: 40%; right:4%; animation: hfloat2 10s ease-in-out infinite; }
.hf-6 { width: 58px; bottom:22%; left: 6%; animation: hfloat3 7.5s ease-in-out infinite reverse; }

@keyframes hfloat1 { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-14px) rotate(3deg);} }
@keyframes hfloat2 { 0%,100%{transform:translateY(0) rotate(4deg);} 50%{transform:translateY(-10px) rotate(-2deg);} }
@keyframes hfloat3 { 0%,100%{transform:translateY(0) rotate(0deg);} 50%{transform:translateY(-18px) rotate(5deg);} }

.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  text-align: center;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(26,138,196,0.15);
  border: 1px solid rgba(26,138,196,0.35);
  color: var(--blue-light);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 20px;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease both;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-light);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.5);} }

h1 {
  font-family: var(--font);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}
/* ── Arc hero title ── */
.hero-h1-arc { display: flex; flex-direction: column; align-items: center; gap: 0.1em; }

.h1-line1 {
  display: block;
  font-size: 0.45em;
  font-weight: 400;
  font-family: var(--body);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  animation: fadeUp 0.55s 0.05s ease both;
  margin-bottom: 0.2em;
}

.h1-line2 {
  display: block;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: fadeUp 0.55s 0.12s ease both;
  /* Arc effect via SVG path text simulation with CSS perspective */
  background: linear-gradient(90deg, var(--blue-light) 0%, #fff 45%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(26,138,196,0.3));
}

.h1-line3 {
  display: block;
  font-size: 0.32em;
  font-weight: 300;
  font-family: var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  animation: fadeUp 0.55s 0.19s ease both;
  margin-top: 0.4em;
}
.h1-line3 em { font-style: italic; color: rgba(255,255,255,0.55); font-family: var(--font); font-weight: 600; text-transform: none; letter-spacing: 0; }

/* Horseshoe arc decoration around h1 */
.hero-h1-arc::before {
  content: '';
  position: absolute;
  width: min(520px, 90vw);
  height: min(260px, 45vw);
  border: 1px solid rgba(26,138,196,0.18);
  border-bottom: none;
  border-radius: min(260px,45vw) min(260px,45vw) 0 0;
  top: calc(50% - min(200px,35vw));
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: fadeUp 0.6s 0.4s ease both;
}
.hero-h1-arc::after {
  content: '';
  position: absolute;
  width: min(640px, 96vw);
  height: min(320px, 53vw);
  border: 1px solid rgba(26,158,63,0.1);
  border-bottom: none;
  border-radius: min(320px,53vw) min(320px,53vw) 0 0;
  top: calc(50% - min(240px,40vw));
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: fadeUp 0.6s 0.5s ease both;
}

h1 .blue  { color: var(--blue-light); -webkit-text-fill-color: var(--blue-light); }
h1 .green { color: var(--green-light); -webkit-text-fill-color: var(--green-light); }

.hero-desc {
  font-size: 1.05rem; line-height: 1.78; color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 auto 2.5rem;
  animation: fadeUp 0.55s 0.26s ease both;
  font-weight: 300;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.55s 0.33s ease both;
}

/* Floating tech badges */
.hero-badges {
  position: relative; z-index: 2;
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeUp 0.55s 0.45s ease both;
}
.hbadge {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 20px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.hbadge:hover { background: rgba(26,138,196,0.15); border-color: rgba(26,138,196,0.4); color: var(--blue-light); }
.hbadge-1 { animation: float1 6s ease-in-out infinite; }
.hbadge-2 { animation: float2 7s ease-in-out infinite; }
.hbadge-3 { animation: float3 5.5s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
@keyframes float2 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-4px);} }
@keyframes float3 { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* Metrics bar */
.hero-metrics {
  position: relative; z-index: 2;
  width: 100%; max-width: 800px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2.5rem;
  animation: fadeUp 0.55s 0.5s ease both;
}
.metric { text-align: center; padding: 0 2rem; flex: 1; }
.metric-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.metric-val { font-family: var(--font); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 0.4rem; }
.metric-val span { font-size: 1.4rem; }
.metric-val.blue-val  { color: var(--blue-light); }
.metric-val.green-val { color: var(--green-light); }
.metric-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }

/* Scroll indicator */
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), transparent); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0%,100%{opacity:0;transform:scaleY(0.5) translateY(-10px);} 50%{opacity:1;transform:scaleY(1) translateY(0);} }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.9rem; border-radius: var(--rs);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.22s ease; border: none;
}
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(26,138,196,0.35); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,138,196,0.45); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,0.14); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); color: var(--blue); }

/* ══ TECH STRIP ══ */
.tech-strip { background: var(--dark); overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1rem 0; }
.tech-strip-inner {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: stripScroll 25s linear infinite;
}
.tech-strip-inner span {
  font-family: var(--font); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 0 0.5rem;
}
@keyframes stripScroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ══ SECTIONS ══ */
.section { padding: 6rem 6vw; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.section-label::before { content:''; width:20px; height:2px; background:var(--blue); border-radius:1px; }
.section-label.light { color: rgba(255,255,255,0.4); }
.section-label.light::before { background: rgba(255,255,255,0.3); }

h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -0.025em;
  color: var(--text); margin-bottom: 1rem;
}
h2.white { color: #fff; }
h2 .blue  { color: var(--blue); }
h2 .green { color: var(--green); }

.lead { font-size: 1rem; line-height: 1.75; color: var(--text-soft); max-width: 540px; font-weight: 300; margin-top: 0.5rem; }
.lead.light { color: rgba(255,255,255,0.5); }

/* ══ AXES GRID — 2×2 + 1 centré, tous portrait ══ */
.axes-intro { max-width: 640px; margin-bottom: 4rem; }
.axes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* Tous les pôles pleine largeur */
.axes-grid .axis-card:first-child { grid-column: 1 / -1; }
.axes-grid .axis-landscape { grid-column: 1 / -1; }

/* Pole 04 (dernier) — pleine largeur aussi en paysage */
.axes-grid .axis-card:last-child { grid-column: 1 / -1; max-width: 100%; margin: 0; }

/* Pôles 02-04 en paysage — icône + contenu côte à côte */
.axis-landscape {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto;
  gap: 0 1.8rem;
  align-items: start;
  grid-column: 1 / -1; /* pleine largeur */
}
.axis-landscape .axis-number { grid-column: 1 / -1; }
.axis-landscape .axis-arrow-btn { top: 1.5rem; right: 1.5rem; }
.axis-landscape .axis-icon-wrap { margin-bottom: 0; grid-column: 1; grid-row: 2 / 6; align-self: start; margin-top: 0.2rem; }
.axis-landscape .axis-name    { grid-column: 2; margin-bottom: 0.2rem; }
.axis-landscape .axis-tagline { grid-column: 2; margin-bottom: 0.8rem; }
.axis-landscape .axis-desc    { grid-column: 2; margin-bottom: 1rem; }
.axis-landscape .axis-services { grid-column: 2; display: flex; flex-direction: column; gap: 0.45rem; }

/* Deux colonnes de services dans le pôle fusionné */
.axis-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.25rem; }
.axis-services-subtitle { font-family: var(--font); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.blue-accent  .axis-services-subtitle { color: var(--blue); }
.green-accent .axis-services-subtitle { color: var(--green); }

.axis-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.axis-card::after {
  content:''; position:absolute; bottom:0;left:0;right:0; height:3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.axis-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.axis-card:hover::after { transform: scaleX(1); }

.axis-number { font-family:var(--font); font-size:0.68rem; font-weight:700; letter-spacing:.15em; color:var(--mid); text-transform:uppercase; margin-bottom:1rem; }

.axis-arrow-btn {
  position:absolute; top:2rem; right:2rem;
  width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.9rem; transition:transform 0.3s;
}
.blue-accent  .axis-arrow-btn { background:var(--blue-pale);  color:var(--blue); }
.green-accent .axis-arrow-btn { background:var(--green-pale); color:var(--green); }
.axis-card:hover .axis-arrow-btn { transform:translate(3px,-3px); }

.axis-icon-wrap {
  width:60px; height:60px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.5rem;
}
.blue-icon  { background:var(--blue-pale);  color:var(--blue); }
.green-icon { background:var(--green-pale); color:var(--green); }

.axis-name { font-family:var(--font); font-size:1.3rem; font-weight:800; letter-spacing:.02em; margin-bottom:.3rem; }
.blue-accent  .axis-name { color:var(--blue); }
.green-accent .axis-name { color:var(--green); }

.axis-tagline { font-size:.78rem; font-weight:600; color:var(--mid); text-transform:uppercase; letter-spacing:.08em; margin-bottom:1.2rem; }
.axis-desc { font-size:.88rem; line-height:1.75; color:var(--text-soft); margin-bottom:1.5rem; }

.axis-services { list-style:none; display:flex; flex-direction:column; gap:.45rem; }
.axis-services li { display:flex; align-items:center; gap:.6rem; font-size:.82rem; color:var(--text-soft); }
.axis-services li::before { content:''; width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.blue-accent  .axis-services li::before { background:var(--blue); }
.green-accent .axis-services li::before { background:var(--green); }

/* ══ WHY ══ */
.why-layout { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.why-visual-inner {
  background:linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--green-dark) 100%);
  border-radius:20px; padding:3rem; color:#fff; position:relative; overflow:hidden;
}
.why-visual-inner::before { content:''; position:absolute; top:-40px;right:-40px; width:180px;height:180px; border-radius:50%; background:rgba(255,255,255,0.06); }
.why-big-num { font-family:var(--font); font-size:5rem; font-weight:800; line-height:1; margin-bottom:.3rem; position:relative; }
.why-big-label { font-size:1rem; font-weight:300; opacity:.8; margin-bottom:2.5rem; position:relative; }
.why-mini-stats { display:grid; grid-template-columns:1fr 1fr; gap:1rem; position:relative; }
.mini-stat { background:rgba(255,255,255,0.1); border-radius:10px; padding:1rem; }
.mini-stat-val { font-family:var(--font); font-size:1.6rem; font-weight:800; }
.mini-stat-lbl { font-size:.75rem; opacity:.7; margin-top:.2rem; }

.float-badge { margin-top:1.2rem; background:var(--white); border-radius:var(--rs); padding:.9rem 1.2rem; display:inline-flex; align-items:center; gap:.7rem; box-shadow:var(--shadow-lg); }
.float-badge-icon { font-size:1.3rem; }
.float-badge-text { font-size:.8rem; font-weight:600; color:var(--text); }
.float-badge-sub  { font-size:.7rem; color:var(--mid); }

.why-points { display:flex; flex-direction:column; gap:1.5rem; margin-top:2rem; }
.why-point  { display:flex; gap:1rem; align-items:flex-start; }
.why-point-icon { width:40px;height:40px; border-radius:8px; flex-shrink:0; display:flex;align-items:center;justify-content:center; }
.why-point:nth-child(odd)  .why-point-icon { background:var(--blue-pale);  color:var(--blue); }
.why-point:nth-child(even) .why-point-icon { background:var(--green-pale); color:var(--green); }
.why-point-title { font-family:var(--font); font-size:.95rem; font-weight:700; margin-bottom:.25rem; }
.why-point-desc  { font-size:.85rem; color:var(--text-soft); line-height:1.65; }

/* ══ PROCESS ══ */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; margin-top:3.5rem; position:relative; }
.process-steps::before { content:''; position:absolute; top:28px; left:calc(12.5% + 28px); right:calc(12.5% + 28px); height:1px; background:rgba(255,255,255,0.08); }
.pstep { text-align:center; }
.pstep-dot { width:56px;height:56px; border-radius:50%; margin:0 auto 1.5rem; display:flex;align-items:center;justify-content:center; position:relative;z-index:1; color:#fff; }
.blue-dot  { background:var(--blue);  box-shadow:0 0 0 8px rgba(26,138,196,0.15); }
.green-dot { background:var(--green); box-shadow:0 0 0 8px rgba(26,158,63,0.15); }
.pstep-title { font-family:var(--font); font-size:.95rem; font-weight:700; color:#fff; margin-bottom:.6rem; }
.pstep-desc  { font-size:.82rem; color:rgba(255,255,255,0.45); line-height:1.65; }

/* ══ CTA ══ */
.cta-box { background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 40%,var(--green-dark) 100%); border-radius:20px; padding:5rem; text-align:center; position:relative; overflow:hidden; }
.cta-glow { position:absolute; top:50%;left:50%; transform:translate(-50%,-50%); width:400px;height:400px; border-radius:50%; background:rgba(255,255,255,0.04); }
.cta-box h2 { color:#fff; font-size:clamp(1.8rem,3.5vw,2.6rem); margin-bottom:1rem; }
.cta-box p  { color:rgba(255,255,255,0.75); font-size:1rem; line-height:1.7; max-width:500px; margin:0 auto 2.5rem; }

/* ══ CONTACT ══ */
.contact-layout { display:grid; grid-template-columns:1fr 1.4fr; gap:5rem; align-items:start; }
.contact-items { margin-top:2rem; display:flex; flex-direction:column; gap:1.5rem; }
.contact-item { display:flex; align-items:flex-start; gap:1rem; }
.contact-icon { width:44px;height:44px; border-radius:8px; background:var(--blue-pale); color:var(--blue); display:flex;align-items:center;justify-content:center; flex-shrink:0; }
.contact-item-title { font-family:var(--font); font-size:.85rem; font-weight:700; margin-bottom:.2rem; }
.contact-item-val   { font-size:.85rem; color:var(--text-soft); }
.contact-item-val a { color:var(--blue); text-decoration:none; }
.contact-item-val a:hover { text-decoration:underline; }

.axes-pills { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:2.5rem; }
.axes-pill  { font-size:.73rem; font-weight:600; padding:.4rem .9rem; border-radius:20px; letter-spacing:.04em; }
.axes-pill.b { background:var(--blue-pale);  color:var(--blue); }
.axes-pill.g { background:var(--green-pale); color:var(--green); }

/* ══ FORM ══ */
.contact-form-wrap { background:var(--off); border:1px solid var(--border); border-radius:var(--r); padding:2.5rem; }
.form-title { font-family:var(--font); font-size:1.2rem; font-weight:700; margin-bottom:1.8rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.fgroup { display:flex; flex-direction:column; gap:.4rem; }
.fgroup label { font-size:.75rem; font-weight:600; color:var(--text); letter-spacing:.04em; }
.fgroup input, .fgroup select, .fgroup textarea {
  background:var(--white); border:1.5px solid var(--border); border-radius:var(--rs);
  padding:.78rem 1rem; font-family:var(--body); font-size:.9rem; color:var(--text);
  outline:none; transition:border-color 0.2s; width:100%;
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(26,138,196,0.1); }
.fgroup textarea { resize:vertical; min-height:115px; }
.fgroup-full { grid-column:1/-1; }
.form-notice { min-height:1.4rem; font-size:.85rem; margin-top:.5rem; font-weight:600; }
.form-notice.success { color:var(--green); }
.form-notice.error   { color:#e53e3e; }
.form-submit { margin-top:1.2rem; width:100%; padding:1rem; font-size:.95rem; justify-content:center; }

/* ══ FOOTER ══ */
#site-footer { background:var(--dark2); color:rgba(255,255,255,0.5); padding:3rem 6vw; }
.footer-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:3rem; flex-wrap:wrap; gap:2rem; }
.footer-logo img { height:40px; width:auto; object-fit:contain; opacity:.85; }
.footer-logo-name { font-family:var(--font); font-size:1.1rem; font-weight:800; color:#fff; margin-bottom:.5rem; letter-spacing:.02em; }
.footer-logo-name span { color:var(--blue-light); }
.footer-logo-name em { font-style:normal; font-size:.75rem; font-weight:400; color:rgba(255,255,255,0.35); margin-left:.4rem; }
.footer-tagline { font-size:.82rem; max-width:260px; line-height:1.6; margin-top:.5rem; }
.footer-social { margin-top:1rem; display:flex; gap:.8rem; }
.footer-social a { color:rgba(255,255,255,0.35); transition:color 0.2s; }
.footer-social a:hover { color:var(--blue-light); }
.footer-cols { display:flex; gap:4rem; flex-wrap:wrap; }
.footer-col h4 { font-family:var(--font); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,0.3); margin-bottom:1rem; }
.footer-col a { display:block; font-size:.85rem; color:rgba(255,255,255,0.55); text-decoration:none; margin-bottom:.5rem; transition:color 0.2s; }
.footer-col a:hover { color:var(--blue-light); }
.footer-bottom { padding-top:2rem; border-top:1px solid rgba(255,255,255,0.06); display:flex; justify-content:space-between; font-size:.78rem; flex-wrap:wrap; gap:1rem; align-items:center; }
.footer-credit { color:rgba(255,255,255,0.25); font-size:.72rem; }
.footer-credit a { color:rgba(255,255,255,0.35); text-decoration:none; transition:color 0.2s; }
.footer-credit a:hover { color:var(--blue-light); }

/* ══ REVEAL ══ */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);} to{opacity:1;transform:translateY(0);} }
.rv { opacity:0; transform:translateY(28px); transition:opacity 0.65s ease, transform 0.65s ease; }
.rv.show { opacity:1; transform:translateY(0); }
.rv.d1{transition-delay:.1s;} .rv.d2{transition-delay:.2s;} .rv.d3{transition-delay:.3s;} .rv.d4{transition-delay:.4s;}

/* ══ RESPONSIVE ══ */
@media(max-width:960px){
  .axis-services-grid { grid-template-columns: 1fr; }
  .axes-grid .axis-card:last-child { max-width: 100%; }
  .axis-landscape { grid-template-columns: 1fr; }
  .axis-landscape .axis-icon-wrap { grid-column: 1; grid-row: auto; margin-bottom: 1rem; }
  .axis-landscape .axis-name,
  .axis-landscape .axis-tagline,
  .axis-landscape .axis-desc,
  .axis-landscape .axis-services { grid-column: 1; }
  .axis-landscape .axis-services { grid-template-columns: 1fr; }
  .nav-links{display:none;}
  .nav-burger{display:flex;}
  .nav-links.open{display:flex;flex-direction:column;position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:1.5rem 6vw;gap:1.2rem;box-shadow:var(--shadow);}
  .axes-grid{grid-template-columns:1fr;}
  .why-layout{grid-template-columns:1fr;gap:3rem;}
  .contact-layout{grid-template-columns:1fr;gap:3rem;}
  .process-steps{grid-template-columns:1fr 1fr;gap:2rem;}
  .process-steps::before{display:none;}
  .cta-box{padding:3rem 2rem;}
  .hero-metrics{flex-wrap:wrap;gap:1.5rem;padding:1.5rem;}
  .metric-sep{display:none;}
}
@media(max-width:640px){
  .section{padding:4rem 5vw;}
  .process-steps{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  #hero{padding:7rem 5vw 3rem;}
  .hero-metrics{justify-content:center;}
  .metric{padding:0 1rem;}
  .footer-cols{gap:2rem;}
  .cta-box{padding:2.5rem 1.5rem;}
}

/* ══ JOXLAB ══ */
.joxlab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.joxlab-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.joxlab-card:hover { border-color: rgba(26,158,63,0.4); transform: translateY(-4px); }
.joxlab-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(26,158,63,0.15); border: 1px solid rgba(26,158,63,0.3);
  color: var(--green-light); font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}
.joxlab-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.joxlab-name { font-family: var(--font); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.joxlab-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1.5rem; }
.btn-outline-light {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25); font-family: var(--font);
  font-size: 0.85rem; font-weight: 600; padding: 0.7rem 1.4rem;
  border-radius: var(--rs); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; transition: all 0.2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.joxlab-single {
  margin-top: 2.5rem;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}
.joxlab-single-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  font-weight: 300;
}

.joxlab-notify {
  margin-top: 3rem; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r);
  padding: 2.5rem; max-width: 560px;
}
.joxlab-notify h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.joxlab-notify p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.joxlab-form { display: flex; flex-direction: column; gap: 1rem; }
.joxlab-form input[type="email"] {
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff; padding: 0.78rem 1rem; border-radius: var(--rs);
  font-family: var(--body); font-size: 0.9rem; outline: none; width: 100%;
  transition: border-color 0.2s;
}
.joxlab-form input[type="email"]:focus { border-color: var(--green-light); }
.joxlab-form input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }
.joxlab-rgpd { display: flex; gap: 0.8rem; align-items: flex-start; }
.joxlab-rgpd input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.joxlab-rgpd label { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ══ EXPERTISE ══ */
.expertise-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.expertise-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.expertise-item { display: flex; gap: 1rem; align-items: flex-start; }
.expertise-icon { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.expertise-title { font-family: var(--font); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text); }
.expertise-desc { font-size: 0.85rem; color: var(--text-soft); line-height: 1.65; }

.refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ref-card {
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 1.2rem;
  transition: border-color 0.2s;
}
.ref-card:hover { border-color: var(--blue); }
.ref-placeholder { border-style: dashed; opacity: 0.7; }
.ref-sector { font-family: var(--font); font-size: 0.82rem; font-weight: 700; color: var(--blue); margin-bottom: 0.5rem; }
.ref-desc { font-size: 0.82rem; color: var(--text-soft); line-height: 1.6; }

/* ══ RGPD checkbox in form ══ */
.rgpd-group { display: flex !important; flex-direction: row !important; gap: 0.8rem; align-items: flex-start; }
.rgpd-group input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: auto; }
.rgpd-group label { font-size: 0.78rem; color: var(--text-soft); line-height: 1.6; font-weight: 400; }
.rgpd-group label a { color: var(--blue); }

/* ══ TESTIMONIAL PLACEHOLDER ══ */
.testimonial-placeholder { font-style: italic; color: var(--mid) !important; border: 1px dashed var(--border) !important; padding: 0.5rem 0.8rem !important; border-radius: 4px; background: var(--off); }
.testimonial-placeholder::before { display: none !important; }

/* ══ LEGAL PAGES ══ */
.legal-page { padding-top: 8rem !important; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h1 { font-family: var(--font); font-size: 2.2rem; font-weight: 800; margin-bottom: 2rem; color: var(--text); }
.legal-content h2 { font-family: var(--font); font-size: 1.15rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.8rem; color: var(--text); }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 0.6rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content a { color: var(--blue); }

/* ══ RESPONSIVE UPDATES ══ */
@media(max-width:960px){
  .joxlab-grid { grid-template-columns: 1fr; }
  .expertise-layout { grid-template-columns: 1fr; gap: 3rem; }
  .refs-grid { grid-template-columns: 1fr; }
}

/* ══ DOMAINS GRID (JOXCONSULTING) ══ */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.domain-item {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}
.domain-item:hover { border-color: var(--blue); }
.domain-title {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.domain-desc {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.6;
}
/* Last domain item centered if odd */
.domains-grid .domain-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
}

.axis-sector-mention {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--blue);
  border-left: 3px solid var(--blue);
  padding-left: 0.8rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ══ FOOTER CONTACT MINI ══ */
.footer-contact-mini {
  font-size: 0.8rem;
  margin-top: 0.6rem;
  line-height: 1.8;
}
.footer-contact-mini a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-mini a:hover { color: var(--blue-light); }

@media(max-width:960px){
  .domains-grid { grid-template-columns: 1fr; }
  .domains-grid .domain-item:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; }
}

/* ══ COOKIE BANNER ══ */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(760px, calc(100vw - 2rem));
  background: var(--dark2);
  border: 1px solid rgba(26,138,196,0.25);
  border-radius: var(--r);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; font-family: var(--font); font-size: 0.9rem; color: #fff; margin-bottom: 0.3rem; }
.cookie-text p { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.55; margin: 0; }
.cookie-link { font-size: 0.75rem; color: var(--blue-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  padding: 0.55rem 1.2rem; border-radius: 6px; cursor: pointer; border: none;
  transition: all 0.2s; white-space: nowrap;
}
.cookie-accept { background: var(--blue); color: #fff; }
.cookie-accept:hover { background: var(--blue-dark); }
.cookie-refuse { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
.cookie-refuse:hover { background: rgba(255,255,255,0.08); color: #fff; }

@media(max-width:600px){
  #cookie-banner { bottom: 0; left: 0; right: 0; transform: none; width: 100%; border-radius: var(--r) var(--r) 0 0; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}


/* ══ HERO TITLE — deux phrases ══ */
.hero-content { max-width: 820px; }
.h1-line2 .h1-sentence { display: block; font-size: 0.72em; line-height: 1.12; letter-spacing: -0.025em; }
.h1-line2 .h1-sentence + .h1-sentence { margin-top: 0.12em; }


/* ══ HERO TITLE — trois verbes ══ */
.h1-line2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.32em; }
.h1-line2 .h1-sentence { display: inline-block; font-size: 0.82em; line-height: 1.12; }
.h1-line2 .h1-sentence + .h1-sentence { margin-top: 0; }
.h1-line2 .h1-mid-word { color: #fff; -webkit-text-fill-color: #fff; }

/* Champ piège anti-robots (formulaire JOXLAB) : invisible pour les visiteurs */
.champ-piege{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* Confirmation après envoi d'un formulaire : encadré bien visible à la place du formulaire */
.form-confirmation { text-align:center; padding:2rem 1.5rem; border-radius:16px; background:rgba(56,161,105,.12);
  border:1px solid rgba(56,161,105,.45); animation:jox-apparition .35s ease-out; outline:none; }
.form-confirmation[hidden] { display:none; }
.form-confirmation-icone { width:56px; height:56px; margin:0 auto 1rem; border-radius:50%; background:var(--green, #38a169);
  color:#fff; font-size:1.8rem; line-height:56px; font-weight:700; }
.form-confirmation-titre { font-size:1.35rem; font-weight:700; margin:0 0 .5rem; color:inherit; }
.form-confirmation-texte { margin:0 0 1.25rem; opacity:.9; }
.form-confirmation-retour { background:none; border:0; padding:0; font:inherit; font-size:.9rem; color:inherit; opacity:.8;
  text-decoration:underline; cursor:pointer; }
.form-confirmation-retour:hover { opacity:1; }
@keyframes jox-apparition { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .form-confirmation { animation:none; } }

/* ══ PAGES INTÉRIEURES (pôles, à propos, contact) et PAGES LÉGALES ══ */
.page-entete { padding: calc(72px + 4rem) 6vw 3.5rem; color: #fff; }
.fil-ariane { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.fil-ariane a { color: rgba(255,255,255,.75); text-decoration: none; }
.fil-ariane a:hover { color: #fff; text-decoration: underline; }
.page-titre { font-family: var(--font); font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.15; color: #fff; max-width: 900px; margin: 0; }
.page-chapo { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,.75); max-width: 720px; margin: 1.25rem 0 0; font-weight: 300; }
.page-corps { padding-top: 4rem; padding-bottom: 4rem; }
.page-corps-court { padding-bottom: 0; }
.page-texte { max-width: 820px; margin: 0 auto; font-size: 1.02rem; line-height: 1.8; color: var(--text-soft); }
.page-texte h2 { font-family: var(--font); font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--text); margin: 2.75rem 0 1rem; line-height: 1.3; }
.page-texte h3 { font-family: var(--font); font-size: 1.12rem; color: var(--text); margin: 2rem 0 .6rem; }
.page-texte p { margin: 0 0 1.1rem; }
.page-texte ul { margin: 0 0 1.4rem; padding-left: 1.25rem; }
.page-texte li { margin-bottom: .55rem; }
.page-texte li::marker { color: var(--blue); }
.page-texte a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.page-texte strong { color: var(--text); }
.page-autres h2 { text-align: center; margin-bottom: 2rem; }
.page-autres-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.page-autre { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; border-radius: 14px; background: #fff; border: 1px solid var(--border);
  text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.page-autre:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(26,58,100,.10); border-color: var(--blue); }
.page-autre-pole { font-family: var(--font); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.page-autre-titre { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.page-autre-lien { font-size: .85rem; color: var(--blue); margin-top: auto; padding-top: .5rem; }
.page-cta { padding-top: 0; }
/* Rubrique TPE, PME et cabinets (page Conseil IT) */
.offre-tpe-chapo { max-width: 760px; margin: -1rem auto 2rem; text-align: center; color: var(--text-soft); line-height: 1.7; }
.offre-tpe-carte { color: var(--text-soft); font-size: .93rem; line-height: 1.6; }
.offre-tpe-carte:hover { transform: none; box-shadow: none; border-color: var(--border); }
.offre-tpe + .page-autres { padding-top: 0; }
.offre-tpe .page-autres-grille { max-width: 1160px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.telephonie-etapes { max-width: 1240px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.telephonie-atouts { max-width: 900px; margin: 2rem auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .6rem 1.5rem; color: var(--text-soft); font-size: .95rem; }
.telephonie-atouts li { position: relative; padding-left: 1.6rem; line-height: 1.55; }
.telephonie-atouts li::before { content: ""; position: absolute; left: .25rem; top: .3rem; width: .45rem; height: .8rem;
  border: solid var(--green, #00953e); border-width: 0 .17rem .17rem 0; transform: rotate(45deg); }
.telephonie-cta { text-align: center; margin: 2rem 0 0; }
.telephonie + .page-autres { padding-top: 0; }
.page-autres + .page-cta { padding-top: 0; }
/* Liens « En savoir plus » des cartes de l'accueil */
.axis-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.25rem; font-family: var(--font); font-size: .85rem; font-weight: 600;
  color: var(--blue); text-decoration: none; }
.axis-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.axis-more-clair { color: var(--green-light); margin-left: 1rem; }
a.axis-arrow-btn { text-decoration: none; }
/* Pages légales : sous la barre de navigation fixe, texte lisible */
.legal-page { padding-top: calc(72px + 3rem); }
.legal-content { max-width: 820px; margin: 0 auto; line-height: 1.8; color: var(--text-soft); }
.legal-content h1 { font-family: var(--font); color: var(--text); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.5rem; }
.legal-content h2 { font-family: var(--font); color: var(--text); font-size: 1.25rem; margin: 2rem 0 .75rem; }
.legal-content a { color: var(--blue); }
@media (max-width: 640px) { .page-entete { padding-top: calc(72px + 2.5rem); } .axis-more-clair { margin-left: 0; } }

/* Aucun défilement horizontal sur téléphone (orbes du bandeau, animations d'apparition) */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
/* Colonnes du contact : une adresse e-mail longue ne doit pas élargir la page */
.contact-layout > * { min-width: 0; }
.contact-item-val { overflow-wrap: anywhere; }
/* Lien de langue (FR / EN) dans le menu */
.nav-langue { font-weight: 700 !important; letter-spacing: .05em; border: 1px solid var(--border); border-radius: 6px; padding: .3rem .6rem; }
.nav-langue:hover { border-color: var(--blue); }

/* ══ HERO — sous-titre : défilement VERTICAL des verbes d'action (différent du bandeau horizontal des technologies) ══
   Six phrases empilées dans la même case de grille (la hauteur suit la plus longue, même sur téléphone), 3 s chacune.
   Le verbe prend la couleur du titre (bleu / vert en alternance), la suite reste discrète. */
.h1-rotator { display: grid; justify-items: center; margin-top: 0.7em; font-size: 1.3em; font-weight: 300;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.72); }
.h1-rotator > span { grid-area: 1 / 1; opacity: 0; animation: jxMetiers 18s infinite; }
.h1-rotator b { font-weight: 700; color: var(--blue-light, #4fb3e8); }
.h1-rotator > span:nth-child(even) b { color: var(--green-light, #3cc27a); }
.h1-rotator > span:nth-child(2) { animation-delay: 3s; }
.h1-rotator > span:nth-child(3) { animation-delay: 6s; }
.h1-rotator > span:nth-child(4) { animation-delay: 9s; }
.h1-rotator > span:nth-child(5) { animation-delay: 12s; }
.h1-rotator > span:nth-child(6) { animation-delay: 15s; }
.h1-rotator .h1-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes jxMetiers {
  0%           { opacity: 0; transform: translateY(70%); filter: blur(2px); }
  2.5%, 14%    { opacity: 1; transform: none; filter: none; }
  16.67%, 100% { opacity: 0; transform: translateY(-70%); filter: blur(2px); }
}
@media (max-width: 600px) { .h1-rotator { font-size: 1.15em; letter-spacing: 0.06em; } }
/* Mouvements réduits : toutes les phrases affichées à la suite, sans animation */
@media (prefers-reduced-motion: reduce) {
  .h1-rotator { display: block; font-size: 1.1em; line-height: 1.6; }
  .h1-rotator > span { animation: none; opacity: 1; }
  .h1-rotator .h1-sep { position: static; width: auto; height: auto; clip: auto; margin-right: 0.4em; }
}
