/* ═══════════════════════════════════════
   JOXSKILLS SAS — Main Stylesheet
   ═══════════════════════════════════════ */

: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:        #1A2332;
  --shadow:      0 4px 24px rgba(26,58,100,0.08);
  --shadow-lg:   0 12px 48px rgba(26,58,100,0.13);
  --font:        'Sora', sans-serif;
  --body:        'DM Sans', sans-serif;
  --radius:      12px;
  --radius-sm:   8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
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; }

/* ── BACKGROUNDS ── */
.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(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 6vw;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; }

.logo-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.logo-name {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo-name span { color: var(--blue); }

.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; }

.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;
  align-items: center;
  padding: 8rem 6vw 5rem;
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -10%; right: -8%;
  width: 55vw; height: 90vh;
  background: linear-gradient(140deg, var(--blue-pale) 0%, #E0F3FF 40%, var(--green-pale) 100%);
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  z-index: 0;
  animation: morphBlob 12s ease-in-out infinite alternate;
}

@keyframes morphBlob {
  from { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
  to   { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.5s ease both;
}
.hero-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.4); }
}

h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 .blue  { color: var(--blue); }
h1 .green { color: var(--green); }

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
  flex-wrap: wrap;
}
.metric-val {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.metric-val.g { color: var(--green); }
.metric-label { font-size: 0.8rem; color: var(--mid); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s ease;
  border: none;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,138,196,0.3);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,138,196,0.4);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); }

/* ── 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.5); }
.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.6); }

/* ── AXES GRID ── */
.axes-intro { max-width: 640px; margin-bottom: 4rem; }

.axes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.axis-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.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.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mid);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.axis-arrow {
  position: absolute;
  top: 2.2rem; right: 2.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  { background: var(--blue-pale);  color: var(--blue); }
.green-accent .axis-arrow { background: var(--green-pale); color: var(--green); }
.axis-card:hover .axis-arrow { transform: translate(3px,-3px); }

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

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

.axis-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}
.axis-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}
.axis-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.axis-services li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  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: 0.3rem; position: relative; }
.why-big-label { font-size: 1rem; font-weight: 300; opacity: 0.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: 0.75rem; opacity: 0.7; margin-top: 0.2rem; }

.float-badge {
  position: relative;
  margin-top: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-lg);
}
.float-badge-icon { font-size: 1.3rem; }
.float-badge-text { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.float-badge-sub  { font-size: 0.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;
  font-size: 1.1rem;
}
.why-point:nth-child(odd)  .why-point-icon { background: var(--blue-pale); }
.why-point:nth-child(even) .why-point-icon { background: var(--green-pale); }
.why-point-title { font-family: var(--font); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.why-point-desc  { font-size: 0.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% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.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;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  color: #fff;
}
.blue-dot  { background: var(--blue);  box-shadow: 0 0 0 6px rgba(26,138,196,0.15); }
.green-dot { background: var(--green); box-shadow: 0 0 0 6px rgba(26,158,63,0.15); }
.pstep-title { font-family: var(--font); font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.pstep-desc  { font-size: 0.82rem; color: rgba(255,255,255,0.5); 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 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.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: 42px; height: 42px;
  border-radius: 8px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-title { font-family: var(--font); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.contact-item-val   { font-size: 0.85rem; color: var(--text-soft); }
.contact-item-val a { color: var(--blue); text-decoration: none; }

.axes-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.axes-pill  { font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 20px; letter-spacing: 0.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(--radius);
  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: 0.4rem; }
.fgroup label { font-size: 0.75rem; font-weight: 600; color: var(--text); letter-spacing: 0.04em; }
.fgroup input,
.fgroup select,
.fgroup textarea {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--body);
  font-size: 0.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); }
.fgroup textarea { resize: vertical; min-height: 110px; }
.fgroup-full { grid-column: 1 / -1; }

.form-notice {
  min-height: 1.4rem;
  font-size: 0.85rem;
  margin-top: 0.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: 0.95rem;
  justify-content: center;
}

/* ── FOOTER ── */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  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-name {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.footer-logo-name span { color: var(--blue-light); }
.footer-logo-name em { font-style: normal; font-size: 0.75rem; font-weight: 400; color: rgba(255,255,255,0.4); margin-left: 0.3rem; }
.footer-tagline { font-size: 0.82rem; max-width: 260px; line-height: 1.6; }
.footer-social { margin-top: 1rem; display: flex; gap: 0.8rem; }
.footer-social a { color: rgba(255,255,255,0.4); 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: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-col a  { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.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.07);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── REVEAL ANIMATION ── */
@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: 0.1s; }
.rv.d2 { transition-delay: 0.2s; }
.rv.d3 { transition-delay: 0.3s; }
.rv.d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .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; }
  .footer-cols { gap: 2rem; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 5vw; }
  .process-steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  #hero { padding: 7rem 5vw 4rem; }
  .hero-metrics { gap: 1.5rem; }
}
