/* ==================== Tokens ==================== */
:root {
  --navy: #000213;
  --blue: #203675;
  --blue-dark: #16264f;
  --accent: #5b8dee;
  --grad-primary: linear-gradient(180deg, #1630e4, #355cbb);
  --grad-header-btn: linear-gradient(180deg, #1731e3, #3257be);
  --dark-bg: #000213;
  --dark-card: #131a2e;
  --dark-card-2: #0c142b;
  --contact-bg: #050505;
  --contact-grad: linear-gradient(135deg, #0b1024 0%, #17307a 55%, #3f7ae8 100%);
  --footer-grad: linear-gradient(135deg, #05061a 0%, #0a0e2c 45%, #223a72 100%);
  --border-light: #e6e6ea;
  --border-light-2: #e2e3e8;
  --text-muted: #5b5d6b;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Bricolage Grotesque', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--navy);
  font-family: var(--font-heading);
  letter-spacing: -0.7px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 80px 0; }

.eyebrow {
  display: block;
  font: 600 12px var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.5); letter-spacing: 2.5px; margin-bottom: 22px; }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font: 300 clamp(28px,4.5vw,40px)/1.2 var(--font-heading);
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.section-head p {
  font: 400 15px/1.6em var(--font-body);
  letter-spacing: 0;
  margin: 0;
  color: var(--navy);
}
.section-head .eyebrow { margin-bottom: 14px; }

/* ==================== Reveal-on-scroll ==================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes reveal-child {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.reveal-stagger.is-visible > * { animation: reveal-child .7s cubic-bezier(.16,1,.3,1) backwards; }
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .13s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .21s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .29s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .37s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: .53s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: .61s; }

.hero-text > * { animation: reveal-child .8s cubic-bezier(.16,1,.3,1) backwards; }
.hero-text > *:nth-child(1) { animation-delay: .15s; }
.hero-text > *:nth-child(2) { animation-delay: .25s; }
.hero-text > *:nth-child(3) { animation-delay: .35s; }
.hero-text > *:nth-child(4) { animation-delay: .45s; }
.hero-text > *:nth-child(5) { animation-delay: .55s; }
.hero-text > *:nth-child(6) { animation-delay: .65s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-stagger.is-visible > *, .hero-text > * { animation: none; }
  .hero-scroll { animation: none; transform: translateX(-50%); }
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 500 15px var(--font-body);
  letter-spacing: 0;
  border-radius: 36px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  color: #ffffff;
  background: var(--grad-primary);
  padding: 16px 20px 16px 32px;
  font: 500 16px var(--font-body);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 24px -10px rgba(32,54,117,0.45); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); box-shadow: 0 6px 14px -8px rgba(32,54,117,0.4); background: #ffffff; color: var(--navy); }
.btn-primary:active svg { stroke: var(--navy); }

.btn-ghost {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 16px 32px;
  backdrop-filter: blur(4px);
  font: 500 16px var(--font-body);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 24px -10px rgba(0,0,0,0.35); }
.btn-ghost:active { transform: translateY(-1px) scale(0.98); background: #ffffff; color: var(--navy); border-color: #ffffff; }

.btn-contact {
  color: #ffffff;
  background: var(--grad-header-btn);
  padding: 11px 22px;
  font: 500 14px var(--font-body);
  white-space: nowrap;
}
.btn-contact:hover { background: var(--blue-dark); }
.btn-contact:active { background: #ffffff; color: var(--navy); }

.btn-pill-light {
  color: var(--navy);
  background: #ffffff;
  letter-spacing: 0;
  padding: 13px 28px;
  font: 500 14px var(--font-body);
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 48px;
}
.btn-pill-light:hover { background: rgba(255,255,255,0.9); }

/* ==================== Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
  background: transparent;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(255,255,255,0.0001);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 1; min-width: 0; }
.brand img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.main-nav a {
  font: 500 14px var(--font-body);
  letter-spacing: 0;
  color: var(--navy);
  text-decoration: none;
  transition: color .25s ease;
}
.main-nav a:hover { color: var(--blue); }

.site-header.is-on-dark .main-nav a { color: #ffffff; }
.site-header.is-on-dark .main-nav a:hover { color: var(--accent); }
.site-header.is-on-dark .nav-toggle span { background: #ffffff; }

.brand img { transition: opacity .25s ease; }
.nav-toggle span { transition: background-color .25s ease; }

@media (min-width: 961px) {
  .hero { padding-left: 133px; padding-right: 133px; }
  .hero-inner { padding-left: 0 !important; padding-right: 0 !important; }
}

.nav-toggle { display: none; }

/* ==================== Vertical section dots ==================== */
.section-dots {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.section-dots a {
  display: block;
  position: relative;
  border-radius: 50%;
  background: #c7cbe0;
  width: 8px;
  height: 8px;
  transition: all .25s ease;
  text-decoration: none;
}
.section-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: var(--navy, #0a1230);
  color: #ffffff;
  font: 500 12px/1 var(--font-heading);
  letter-spacing: 0.3px;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.section-dots a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.section-dots a.active {
  width: 11px;
  height: 11px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(32,54,117,0.15);
}

/* ==================== Tarifs licences Odoo ==================== */
.pricing-section { background: #f7f7f8; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 0 0 20px 20px;
  padding: 34px 30px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 36px -20px rgba(0,0,0,0.25); }
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--plan-color, var(--accent));
}
.pricing-card--free { --plan-color: #5b8dee; }
.pricing-card--standard { --plan-color: #e4593f; }
.pricing-card--custom { --plan-color: #2fa36b; }
.pricing-card .pricing-plan { color: var(--plan-color, var(--navy)); }
.pricing-card--featured { border-color: var(--plan-color, var(--accent)); box-shadow: 0 14px 32px -18px rgba(228,89,63,0.45); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--plan-color, var(--accent));
  color: #ffffff;
  font: 600 12px var(--font-heading);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.pricing-plan { margin: 0 0 14px; font: 500 18px var(--font-heading); letter-spacing: -0.5px; color: var(--navy); }
.pricing-price { margin: 0 0 10px; font: 300 44px/1.1 var(--font-heading); letter-spacing: -1px; color: var(--navy); }
.pricing-per { display: block; font: 400 14px var(--font-body); letter-spacing: 0; color: var(--text-muted); margin-top: 6px; }
.pricing-from { font: 400 16px var(--font-body); letter-spacing: 0; color: var(--text-muted); margin-right: 4px; vertical-align: middle; }
.pricing-desc { margin: 0 0 20px; font: 400 15px/1.6 var(--font-body); color: var(--text-muted); }
.pricing-features { list-style: none; margin: 0 0 28px; padding: 0; }
.pricing-features li {
  position: relative;
  padding: 6px 0 6px 26px;
  font: 400 15px/1.5 var(--font-body);
  color: var(--navy);
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--plan-color, var(--accent));
  font-weight: 700;
}
.pricing-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 999px;
  font: 500 15px var(--font-heading);
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.pricing-cta--primary { background: var(--blue); color: #ffffff; }
.pricing-cta--primary:hover { background: var(--accent); }
.pricing-cta--ghost { border: 1px solid var(--border-light); color: var(--navy); }
.pricing-cta--ghost:hover { border-color: var(--accent); color: var(--accent); }
.pricing-note {
  margin: 32px auto 0;
  max-width: 720px;
  text-align: center;
  font: 400 13px/1.7 var(--font-body);
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ==================== Chiffres clés (dans Pourquoi nous) ==================== */
.pourquoi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.why-value {
  display: block;
  font: 300 38px/1.1 var(--font-heading);
  letter-spacing: -1px;
  color: #ffffff;
}
.why-label {
  margin: 6px 0 0;
  font: 400 14px/1.5 var(--font-body);
  color: #9aa3c2;
}
@media (max-width: 560px) {
  .pourquoi-stats { grid-template-columns: 1fr; gap: 22px; }
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  background: #000213;
  padding: 100px 40px 110px;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  margin-top: calc(-1 * var(--header-h, 88px));
  display: flex;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  text-decoration: none;
  animation: hero-scroll-float 2.4s ease-in-out infinite;
  transition: border-color .25s ease, background .25s ease;
}
.hero-scroll:hover { border-color: #ffffff; background: rgba(255,255,255,0.12); }
@keyframes hero-scroll-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(9px); }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(32,36,44,0) 0%, #000000 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px,1.05fr) minmax(320px,1fr);
  gap: 64px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.odoo-chip {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  margin-bottom: 28px;
  background: #ffffff;
  white-space: nowrap;
  max-width: 100%;
}
.odoo-chip img { max-width: 100px; height: auto; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-tags .pill-tag { margin-bottom: 0; }

.hero-text h1 {
  font-family: var(--font-heading);
  color: #ffffff;
  margin: 0 0 26px;
  letter-spacing: -1px;
  font-weight: 300;
  font-size: clamp(30px,5.5vw,55px);
  line-height: 1.1;
}
.hero-lede {
  font-family: var(--font-body);
  letter-spacing: 0;
  color: #ffffff;
  max-width: 520px;
  margin: 0 0 40px;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 36px; }
.hero-cta-row .btn { flex: 1 1 auto; justify-content: center; }
.hero-footnote {
  font-family: var(--font-body);
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.5em;
  color: #ffffff;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero-image { display: flex; position: relative; z-index: 2; }
.hero-trustbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 48px;
  align-self: end;
  position: relative;
  z-index: 1;
}
.trust-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.trust-item span {
  font: 500 14px var(--font-body);
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  max-width: 130px;
}
.trust-item svg { flex-shrink: 0; }
.hero-tilt {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.hero-tilt img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,2,19,0.25);
}

/* ==================== What is Odoo ==================== */
.odoo-section { background: #ffffff; }
.odoo-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 18px;
}
.odoo-cell { border-radius: 16px; aspect-ratio: 1 / 1.08; }
.odoo-cell--photo { background-position: center; background-size: cover; background-repeat: no-repeat; }
.odoo-cell--card, .odoo-cell--dark {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1), border-color .25s ease;
}
.odoo-cell--card { border: 1px solid var(--border-light); }
.odoo-cell--card:hover { box-shadow: 0 20px 36px -16px rgba(0,2,19,0.15); transform: translateY(-6px); border-color: var(--blue); }
.odoo-cell--dark { background: var(--navy); }
.odoo-cell--dark:hover { box-shadow: 0 20px 36px -16px rgba(0,0,0,0.5); transform: translateY(-6px); }
.odoo-cell--card svg, .odoo-cell--dark svg { margin-bottom: 12px; }
.odoo-cell--card h3, .odoo-cell--dark h3 { font: 500 16px var(--font-heading); margin: 0 0 8px; }
.odoo-cell--card h3 { color: var(--navy); }
.odoo-cell--dark h3 { color: #ffffff; }
.odoo-cell--card p { font: 400 13px/1.5em var(--font-body); letter-spacing: 0; color: var(--text-muted); margin: 0; }
.odoo-cell--dark p { font: 400 13px/1.5em var(--font-body); letter-spacing: 0; color: #ffffff; margin: 0; }

/* ==================== Why NETmanage ==================== */
.pourquoi-section { background: var(--navy); }
.pourquoi-layout {
  display: grid;
  grid-template-columns: minmax(300px,0.85fr) minmax(380px,1.15fr);
  gap: 64px;
  align-items: start;
}
.pourquoi-sticky { position: sticky; top: 0; padding-bottom: 100px; }
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  margin-bottom: 24px;
  white-space: nowrap;
}
.pill-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.pill-tag span:last-child {
  font: 600 12px var(--font-heading);
  color: #ffffff;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.pourquoi-sticky h2 {
  font: 300 clamp(28px,4.5vw,40px)/1.1 var(--font-heading);
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.pourquoi-sticky h2 .accent { color: var(--accent); }
.pourquoi-sticky p {
  font: 300 15px/1.6em var(--font-body);
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}
.pourquoi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.pourquoi-card {
  padding: 20px;
  min-height: 150px;
  border-radius: 16px;
  background: var(--dark-card);
  transition: box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1), border-color .25s ease;
  border: 1px solid transparent;
}
.pourquoi-card--accent { background: var(--grad-primary); }
.pourquoi-card--navy { background: var(--navy); }
.pourquoi-card--light { background: #ffffff; border-color: var(--border-light); }
.pourquoi-card--light .tag-row span { color: var(--text-muted); }
.pourquoi-card--light h3 { color: var(--navy); }
.pourquoi-card--light p { color: var(--text-muted); }
.pourquoi-card:hover { box-shadow: 0 20px 36px -16px rgba(0,0,0,0.5); transform: translateY(-6px); border-color: var(--accent); }
.pourquoi-card .tag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pourquoi-card .tag-row span { font: 500 12px var(--font-heading); color: #9aa3c2; letter-spacing: 0.2px; }
.pourquoi-card h3 { font: 500 19px var(--font-heading); color: #ffffff; margin: 0 0 8px; }
.pourquoi-card p { font: 300 14px/1.5em var(--font-body); letter-spacing: 0; color: #ffffff; margin: 0; }

/* ==================== Partner credibility ==================== */
.partenaire-section { background: #ffffff; }
.partenaire-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  background: #f7f7f8;
  border-radius: 20px;
  padding: 36px 44px;
}
.partenaire-badge { width: 160px; }
.partenaire-badge img { width: 140px; height: 140px; object-fit: contain; }
.partenaire-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.partenaire-point { display: flex; flex-direction: column; gap: 16px; }
.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.partenaire-point span {
  font: 500 15px var(--font-heading);
  color: var(--navy);
  line-height: 1.4em;
  font-family: var(--font-body);
  letter-spacing: 0;
  font-weight: 400;
}

/* ==================== Services ==================== */
.services-section { background: #ffffff; }
.services-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
  height: 460px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  flex: 1 1 0%;
  min-width: 0;
  background-color: var(--navy);
  background-image: linear-gradient(160deg, rgba(19,26,46,.55) 0%, rgba(0,2,19,.88) 100%);
  background-size: cover;
  background-position: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: flex .6s cubic-bezier(.16,1,.3,1), padding .3s ease;
}
.service-card.is-active { flex: 2.4 1 0%; padding: 28px 26px; }
.service-number {
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 12px var(--font-heading);
  color: #ffffff;
  flex-shrink: 0;
}
.service-icon { margin: auto 0 0; }
.service-content { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.service-content h3 {
  font-weight: 300;
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-content p {
  font: 400 13px/1.55em var(--font-body);
  letter-spacing: 0;
  color: #dbe1ee;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card.is-active .service-content h3,
.service-card.is-active .service-content p { -webkit-line-clamp: unset; overflow: visible; }

/* ==================== Process ==================== */
.process-section { background: #f7f7f8; position: relative; }
.process-head { margin-bottom: 30px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.process-head h2 { font: 300 clamp(26px,4.5vw,40px)/1.2 var(--font-heading); color: var(--navy); margin: 0; letter-spacing: -0.3px; }
.process-head p { font: 400 14px/1.5em var(--font-body); letter-spacing: 0; color: var(--navy); margin: 0; text-align: right; max-width: 440px; }

.process-table-head {
  display: grid;
  grid-template-columns: 40px 220px 1fr 90px 40px;
  gap: 24px;
  padding: 0 12px 14px;
  border-bottom: 1px solid #dcdce2;
}
.process-table-head span {
  font: 500 12px var(--font-heading);
  color: #8a8d9c;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.process-row {
  display: grid;
  grid-template-columns: 40px 220px 1fr 90px 40px;
  gap: 24px;
  align-items: center;
  padding: 24px 12px;
  border-bottom: 1px solid #dcdce2;
  background: transparent;
  transition: background .3s ease, padding .3s ease;
  cursor: default;
}
.process-row.is-active { padding: 24px; background: #ffffff; }
.process-icon { color: var(--blue); display: flex; align-items: center; }
.process-row h3 {
  font: 500 18px var(--font-heading);
  margin: 0;
  color: var(--navy);
  transition: color .25s ease;
}
.process-row.is-active h3 { color: var(--blue); }
.process-row p { font: 400 14px/1.5em var(--font-body); letter-spacing: 0; margin: 0; color: var(--text-muted); }
.process-number { font: 400 14px var(--font-body); letter-spacing: 0; color: var(--text-muted); }
.process-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dcdce2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transform: rotate(0deg);
  transition: transform .3s cubic-bezier(.16,1,.3,1), background .25s ease, border-color .25s ease, color .25s ease;
}
.process-row.is-active .process-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* ==================== Clients ==================== */
.clients-section { background: #ffffff; }
.center-title { font: 300 30px/1.2 var(--font-heading); color: var(--navy); margin: 0 0 40px; letter-spacing: -0.3px; text-align: center; }
.clients-row {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
}
.client-logo { width: 130px; height: 60px; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.client-logo:hover { transform: translateY(-4px) scale(1.06); }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ==================== FAQ ==================== */
.faq-section { background: #f7f7f8; }
.faq-layout { display: grid; grid-template-columns: minmax(220px,1fr) minmax(380px,2fr); gap: 64px; align-items: start; }
.faq-left h2 { font: 300 clamp(28px,4vw,40px)/1.15 var(--font-heading); color: var(--navy); margin: 16px 0; letter-spacing: -0.7px; }
.faq-left p { font: 400 15px/1.6em var(--font-body); letter-spacing: 0; color: var(--text-muted); margin: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-item summary {
  font: 500 17px var(--font-heading);
  letter-spacing: -0.7px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--navy); transition: transform .2s ease; }
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.faq-icon::after { top: 0; left: 7px; width: 1.5px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item p { font: 400 15px/1.6em var(--font-body); letter-spacing: 0; color: var(--text-muted); margin: 14px 0 0; }

@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ==================== Contact ==================== */
.contact-section { position: relative; background: var(--contact-bg); overflow: hidden; padding: 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 820px; }
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 64px;
  max-width: 600px;
  margin: 0 auto;
}
.contact-info h2 { font: 300 clamp(30px,6vw,48px)/1.1 var(--font-heading); color: rgba(255,255,255,0.95); margin: 0 0 22px; letter-spacing: -0.5px; }
.contact-info > p { font: 200 16px/1.6em var(--font-body); letter-spacing: 0; color: #ffffff; margin: 0 0 36px; }
.contact-direct p { font: 200 16px/1.5em var(--font-body); letter-spacing: 0; color: #ffffff; margin: 0 0 16px; }
.contact-links { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.contact-links a {
  display: flex;
  align-items: center;
  letter-spacing: 0;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font: 500 14px var(--font-heading);
  transition: color .2s ease;
}
.contact-links a:hover { color: #ffffff; }
.contact-links svg { flex-shrink: 0; }

.contact-panel {
  background: var(--contact-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 56px;
  align-self: stretch;
  height: 100%;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 40px 80px -24px rgba(0,0,0,0.35);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field label { font: 500 12px var(--font-heading); color: #6b6f7d; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-light-2);
  border-radius: 8px;
  font: 400 14px var(--font-body);
  letter-spacing: 0;
  color: var(--navy);
  outline: none;
  transition: border-color .2s ease;
  font-family: var(--font-body);
}
.form-field input:focus, .form-field textarea:focus { border-color: #0a0a0a; }
.form-field textarea { resize: vertical; min-height: 180px; overflow-y: hidden; line-height: 1.5; }
.contact-form button {
  font: 500 15px var(--font-heading);
  color: #ffffff;
  background: #0a0a0a;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  font-family: var(--font-body);
  letter-spacing: 0;
  transition: background .2s ease;
}
.contact-form button:hover { background: #232323; }
.form-note { font: 200 12px/1.5em var(--font-body); letter-spacing: 0; color: #000000; margin: 0; text-align: center; }
.form-note--error { color: #c0392b; }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==================== Footer ==================== */
.site-footer { position: relative; padding: 64px 51px 48px; background: #000213; }
.footer-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-title { font: 600 14px var(--font-heading); letter-spacing: 0.2px; color: #ffffff; margin: 0 0 8px; }
.footer-text { font: 400 14px/1.75em var(--font-body); letter-spacing: 0; color: #ffffff; margin: 0 0 22px; }
.footer-text--last { margin: 0; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.footer-social a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--blue); color: #ffffff; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font: 500 13px var(--font-body); letter-spacing: 0; color: #ffffff; text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: #ffffff; }

.footer-bottom { max-width: 1360px; margin: 0 auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font: 400 12px var(--font-body); letter-spacing: 0; color: #ffffff; text-decoration: none; transition: color .2s ease; }
.footer-legal a:hover { color: #ffffff; }
.footer-bottom p { font: 400 12.5px var(--font-body); letter-spacing: 0; color: #ffffff; margin: 0; }

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2f6fed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(47,111,237,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: background .2s ease, opacity .3s ease, transform .3s ease, visibility .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: #4a82f5; }

/* ==================== Responsive ==================== */
@media (max-width: 1100px) {
  .partenaire-row { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
  .partenaire-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 960px) {
  .section-dots { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h, 64px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h, 64px));
    background: #ffffff;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    padding: 24px 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { color: var(--navy) !important; text-align: right; width: 100%; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    order: 3;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
  .btn-contact { order: 2; flex-shrink: 0; }

  .brand { flex-shrink: 0; }
  .brand img { height: 32px; width: auto; max-width: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 40px; line-height: 38px; }
  .hero-image { order: 1; }
  .hero-text { order: 0; }
  .hero-trustbar { flex-direction: row; align-items: center; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
  .trust-item { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
  .trust-item span { text-align: center; max-width: 110px; }

  #odoo h2, #services h2, #processus h2 { font-size: 32px !important; }
  #contact h2 { font-size: 32px !important; width: 100% !important; height: auto !important; }
  .section-head p, .process-head p, .faq-left p, .contact-info > p, .partenaire-lede { font-size: 16px !important; }

  #odoo, #partenaire, #services, #processus, #faq {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .partenaire-lede { margin-top: 0 !important; }
  .partenaire-row { height: auto !important; }

  .pourquoi-sticky h2, .partenaire-lede {
    font-size: 32px !important;
    line-height: 30px !important;
    text-align: left !important;
  }
  .pourquoi-sticky h2 .accent { font-size: 32px !important; line-height: 30px !important; }
  .process-head h2, .process-head p { text-align: left !important; }
  .process-head p { text-align: left !important; width: 100% !important; font-size: 15px !important; line-height: 1.6em !important; letter-spacing: 0; color: var(--text-muted); }

  .odoo-grid { grid-template-columns: repeat(2,1fr); }
  .odoo-cell { height: 255px; aspect-ratio: unset; }
  .pourquoi-layout { grid-template-columns: 1fr; }
  .pourquoi-sticky { position: static; padding-bottom: 40px; }
  .pourquoi-grid { grid-template-columns: 1fr; }

  .partenaire-lede { }
  .partenaire-point { flex-direction: row; align-items: center; }

  .services-row { flex-direction: column; height: auto; }
  .service-card { flex: none; position: relative; aspect-ratio: 1 / 1; min-height: 0; }
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,2,19,0.92) 0%, rgba(0,2,19,0.5) 45%, transparent 70%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 45%, transparent 70%);
    mask-image: linear-gradient(to top, #000 0%, #000 45%, transparent 70%);
    z-index: 0;
  }
  .service-card > * { position: relative; z-index: 1; }
  .service-card.is-active { aspect-ratio: 1 / 1; }
  .service-content h3, .service-content p { -webkit-line-clamp: unset; overflow: visible; }

  .process-table-head { display: none; }
  .process-row { grid-template-columns: 32px 1fr; grid-template-areas: "icon title" "icon desc" "icon meta"; row-gap: 4px; align-items: start; }
  .process-icon { grid-area: icon; align-self: flex-start; margin-top: 2px; }
  .process-row h3 { grid-area: title; }
  .process-row p { grid-area: desc; }
  .process-number, .process-arrow { display: none; }

  .contact-layout { grid-template-columns: 1fr; min-height: auto !important; }
  .contact-info { padding: 48px 24px !important; max-width: none; justify-content: flex-start !important; }
  .contact-panel { padding: 40px 24px !important; }

  #contact { height: auto !important; overflow: visible !important; padding-top: 15px !important; }
  .contact-info { padding: 48px 24px !important; }
  .contact-panel { width: 100% !important; height: auto !important; padding: 40px 20px !important; }
  #contact-form.contact-form { width: 100% !important; max-width: 460px !important; height: auto !important; padding: 32px 24px !important; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .pourquoi-sticky { width: 100% !important; }
  .partenaire-lede { margin-left: 0 !important; width: 100% !important; }
  .contact-panel { width: 100% !important; }
  #contact-form.contact-form { width: 100% !important; max-width: 460px !important; height: auto !important; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero { padding: 100px 20px 80px; }
  .site-header { padding: 12px 20px !important; }
  .site-footer { padding-left: 20px !important; padding-right: 20px !important; }
  .odoo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-tilt img { height: 240px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .partenaire-points { gap: 24px; }
  .clients-row { gap: 32px; }
  .client-logo { width: 100px; height: 46px; }
  .contact-form { padding: 28px 20px; }
  .process-row { padding: 20px 8px; }

  .site-header::before { background-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header { padding: 12px 20px !important; gap: 12px; }
  .brand img { height: 26px; }
  .btn-contact { padding: 8px 14px !important; font-size: 13px; }

  #odoo h2, #services h2, #processus h2, #contact h2 { font-size: 26px !important; }
  .center-title { font-size: 24px; }
  #contact h2 { line-height: 32px !important; }
  .footer-grid { padding-left: 0 !important; padding-right: 0 !important; }
  #odoo, #partenaire, #services, #processus, #faq { padding-top: 56px !important; padding-bottom: 56px !important; }
}

/* ==================== Mega menu (Solutions) ==================== */
.nav-item.has-mega { display: flex; align-items: center; }
.mega-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font: 500 14px var(--font-body);
  letter-spacing: 0;
  color: var(--navy);
  transition: color .25s ease;
}
.mega-toggle:hover { color: var(--blue); }
.site-header.is-on-dark .mega-toggle { color: #ffffff; }
.site-header.is-on-dark .mega-toggle:hover { color: var(--accent); }
.mega-caret { transition: transform .25s ease; }
.has-mega.is-open .mega-caret { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: rgba(0, 2, 19, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  padding: 36px 40px 44px;
}
.has-mega.is-open .mega-menu { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.mega-col {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 24px 26px 28px;
}
.mega-col h3 {
  font: 600 15px var(--font-heading);
  color: #ffffff;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0;
}
.mega-col a {
  display: block;
  font: 400 14px var(--font-body);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 6px 0;
  letter-spacing: 0;
  transition: color .25s ease;
}
.mega-col a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .nav-item.has-mega { width: 100%; flex-direction: column; align-items: flex-end; }
  .mega-toggle { color: var(--navy) !important; width: 100%; justify-content: flex-end; padding: 0 !important; }
  .mega-menu {
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    box-shadow: none;
    padding: 16px 0 0;
    width: 100%;
  }
  .mega-grid { grid-template-columns: 1fr; gap: 14px; }
  .mega-col { background: #f4f5f9; border: 1px solid var(--border-light); text-align: right; }
  .mega-col h3 { color: var(--navy); border-bottom-color: var(--border-light-2); }
  .mega-col a { color: var(--navy) !important; }
  .mega-col a:hover { color: var(--blue) !important; }
}
