:root {
  --bg: #050505;
  --bg-soft: #0b0f13;
  --card: #111318;
  --card-2: #13161b;
  --text: #f4f4f4;
  --muted: #cfd2d8;
  --muted-2: #a9afb7;
  --accent: #59dfff;
  --accent-strong: #22c8f1;
  --border: rgba(89, 223, 255, 0.78);
  --shadow: 0 0 0 1px rgba(89,223,255,.32), 0 0 24px rgba(34, 200, 241, .12);
  --container: 1200px;
  --radius: 22px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(90, 110, 140, 0.28), transparent 28%),
    linear-gradient(180deg, #070707 0%, #030303 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid rgba(89, 223, 255, 0.18);
}

.navbar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(89,223,255,.25), rgba(89,223,255,.06));
  border: 1px solid rgba(89,223,255,.55);
  box-shadow: 0 0 18px rgba(89,223,255,.16) inset;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 900;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: rgba(89,223,255,.34);
  background: rgba(89,223,255,.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(89,223,255,.32);
  background: rgba(89,223,255,.07);
  color: var(--text);
}

.page {
  flex: 1;
  padding: 54px 0 40px; /* réduit le padding bas */
  min-height: auto; /* IMPORTANT */
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 18px;
}

.title-xl,
.title-lg,
.title-md {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: .95;
}

.title-xl { font-size: clamp(3.7rem, 6vw, 6rem); }
.title-lg { font-size: clamp(3rem, 4vw, 5.2rem); text-align: center; }
.title-md { font-size: clamp(2.5rem, 5vw, 4rem); }

.lead {
  color: var(--muted);
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  max-width: 760px;
}

.hero-copy .lead { max-width: 680px; margin-top: 28px; }

.hero-actions,
.actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: .2s ease;
}

.btn-primary {
  color: #041118;
  background: linear-gradient(180deg, #69e1fb 0%, #4fc9e6 100%);
  box-shadow: 0 10px 24px rgba(79, 201, 230, 0.2);
}

.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.03); }

.btn-secondary,
.btn-outline {
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(89,223,255,.8);
}
.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(89,223,255,.08);
}

.visual-frame {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(131, 141, 160, .5), rgba(37, 43, 52, .85) 42%, rgba(10, 10, 10, .96) 88%);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-head {
  margin-bottom: 46px;
}
.section-head.center { text-align: center; }
.section-head .lead { margin: 18px auto 0; }
.accent-line {
  width: 84px;
  height: 2px;
  background: var(--accent);
  margin-top: 22px;
}
.center .accent-line { margin-left: auto; margin-right: auto; }

.grid-4,
.grid-3 {
  display: grid;
  gap: 32px;
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(17,19,24,.96), rgba(10,11,14,.98));
  border: 1px solid rgba(89,223,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 28px 30px;
}

.card-dark {
  background: linear-gradient(180deg, rgba(18, 20, 25, .9), rgba(14, 16, 20, .98));
  border: 1px solid rgba(89,223,255,.36);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
}

.card-icon {
  width: 54px;
  height: 54px;
  object-fit: cover;
  margin-bottom: 0px;
}

.card-title {
  font-size: clamp(1.5rem, 2.5vw, 3.0rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}

.card p,
.card li,
.card-dark p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.45;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0 0 26px;
}
.card li + li { margin-top: 6px; }
.card .btn-outline { min-height: 48px; width: 100%; }

.feature-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 24px;
  padding: 0 0 18px;
  border-left: 1px solid rgba(89,223,255,.7);
}
.feature-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 10px;
}
.feature-card .content { padding: 0 18px 0 4px; }
.feature-card .card-title { margin-bottom: 16px; }

.check-list {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}
.check-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
}
.check-item .tick {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.check-item p {
  margin: 0;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.45;
}
.check-item strong { color: var(--text); }

.industry-card {
  background: linear-gradient(180deg, rgba(22,24,29,.92), rgba(12,13,17,.98));
  border-left: 4px solid var(--accent);
  padding: 30px;
  min-height: 100%;
}
.industry-card img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  margin-bottom: 22px;
}
.link-text {
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  margin-top: 16px;
  text-decoration: underline;
}

.metric-card {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.metric-label {
  color: var(--accent);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .94rem;
	margin-top: 20px;
  margin-bottom: 26px;
}
.metric-value {
  font-size: clamp(2.6rem, 4vw, 5.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.05em;
  margin-bottom: 55px;
}
.metric-card p { margin-top: 0; }

.method-list {
  display: grid;
  gap: 54px;
  margin-top: 40px;
}
.method-step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}
.step-number {
  color: var(--accent);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: .9;
}
.step-content h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  margin: 0 0 14px;
  letter-spacing: -.04em;
}
.step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.4;
  max-width: 980px;
}
.step-line {
  width: 2px;
  height: 34px;
  background: var(--accent);
  margin-top: 18px;
  opacity: .8;
}

.testimonial-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 30px 34px;
}
.quote-mark {
  color: var(--accent);
  font-size: 4.5rem;
  line-height: .9;
  margin: 18px 0 16px;
  font-weight: 900;
}
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
  max-width: 95%;
  margin: 0 0 28px;
}
.person-name {
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .94rem;
  margin-top: auto;
}
.person-role {
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.cta-box {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(19,21,25,.92), rgba(14,16,19,.98));
  position: relative;
}
.cta-box .accent-line { margin-bottom: 30px; }
.cta-copy { max-width: 980px; }
.cta-copy .lead { margin: 26px auto 0; max-width: 760px; }
.cta-copy .btn { margin-top: 32px; min-width: 290px; }

.small-note { font-size: .95rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid,
  .two-col { grid-template-columns: 1fr; }
  .visual-frame,
  .two-col .visual-frame { min-height: 420px; }
  .method-step { grid-template-columns: 110px 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8,8,8,.98);
    border: 1px solid rgba(89,223,255,.25);
    border-radius: 18px;
    padding: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; border-radius: 12px; }
  .title-xl { font-size: clamp(3rem, 15vw, 4.6rem); }
  .title-lg { text-align: left; font-size: clamp(2.5rem, 12vw, 4rem); }
  .grid-4,
  .grid-3 { grid-template-columns: 1fr; }
  .method-step { grid-template-columns: 1fr; gap: 18px; }
  .method-list { gap: 34px; }
  .step-line { display: none; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .page { padding-top: 34px; }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card ul {
  flex-grow: 1; /* pousse le bouton vers le bas */
}

.card .btn {
  margin-top: auto;
}

.industry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.industry-card p {
  flex-grow: 1; /* pousse le lien vers le bas */
}

.industry-card .link-text {
  margin-top: auto;
}

body[data-page="methodology"] .step-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.footer {
  padding: 6px 0;
  border-top: 1px solid rgba(89,223,255,.18);
  color: var(--muted-2);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* empêche le retour à la ligne */
  gap: 20px;
  padding: 0;
  min-height: auto;
}

.footer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap; /* empêche coupure */
}

.footer-link {
  white-space: nowrap;
}

@media (max-width: 500px) {
  .footer-minimal {
    flex-direction: column;
  }
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}
