:root {
  --primary: rgb(232, 53, 95);
  ;
  --primary-dark: #c4143f;
  --primary-light: #fdeef2;
  --primary-light-2: #fbe4ea;
  --ink: #14152b;
  --ink-soft: #2f3350;
  --muted: #6b6f8a;
  --bg: #fff;
  --surface: #ffffff;
  --border: #f1e4e9;
  --shadow-color: 224, 20, 74;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-full: 999px;
  --container: 1180px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

section {
  position: relative;
  background: linear-gradient(180deg, #fff, #fbf8fa);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-head.section-head-top {
  text-align: center;
  max-width: 620px;
  margin: 150px auto 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}


.section-head .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
}

.section-head .eyebrow::before {
  display: none;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.text-primary {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  /* box-shadow: 0 14px 30px -8px rgba(var(--shadow-color), 0.55); */
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  /* box-shadow: 0 18px 34px -8px rgba(var(--shadow-color), 0.6); */
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.25);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Page loader ---------- */
.page-loader-ring {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  animation: pageLoaderSpin 0.9s linear infinite;
}

.page-loader-logo {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

@keyframes pageLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader-ring {
    animation: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(253, 251, 252, 1);
  /* backdrop-filter: blur(14px) saturatte(160%); */
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  /* background: linear-gradient(145deg, var(--primary), var(--primary-dark)); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  /* box-shadow: 0 8px 18px -6px rgba(var(--shadow-color), 0.6); */
}

.logo-mark svg {
  width: 24px;
  height: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .logo-brand {
  font-size: 24px;
  letter-spacing: -0.01em;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.logo-text strong {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  /* font-size: 17px; */
  color: var(--ink);
}

.logo-slogan {
  color: var(--muted);
  /* text-transform: uppercase; */
}

.logo-text span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  /* color: var(--muted); */
  /* text-transform: uppercase; */
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  z-index: 999;
  padding: 32px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.mobile-nav a.active {
  color: var(--primary);
}

.mobile-nav a.btn {
  margin-top: 24px;
  border-bottom: none;
  padding: 15px 28px;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 8px 10px 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-badge .badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hero-badge .badge-icon svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 32px;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 36px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-note {
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: var(--ink-soft);
  transform: rotate(-4deg);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -12px;
  background: linear-gradient(145deg, #ffd7e2, #ffb3c6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.avatar-stack .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-stack .avatar--logo {
  background: #fff;
}

.avatar-stack .avatar--logo img {
  object-fit: contain;
  padding: 5px;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.hero-proof p {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-proof strong {
  color: var(--ink);
}

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

@media (min-width: 901px) {
  .hero-grid {
    align-items: center;
  }

  .hero-visual {
    margin-right: min(0px, calc((var(--container) - 70vw) / 2 - 24px));
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    overflow: hidden;
  }

  .hero-visual-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
    border-radius: 0;
  }
}

.hero-bubble {
  position: absolute;
  left: 3%;
  top: 40%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, 72%);
  padding: 13px 18px 13px 13px;
  background: #fff;
  border: 1px solid var(--primary-light-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -18px rgba(20, 21, 43, 0.35);
  opacity: 0;
  transform: scale(0.4) translateY(10px);
  animation: heroBubblePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

.hero-bubble-icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bubble-icon svg:first-child {
  width: 20px;
  height: 20px;
}

.hero-bubble-spark {
  position: absolute;
  top: -8px;
  right: -9px;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hero-bubble-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-bubble-text strong {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

.hero-bubble-text span {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
}

@keyframes heroBubblePop {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(10px);
  }

  60% {
    opacity: 1;
    transform: scale(1.08) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-bubble {
    animation: none;
    opacity: 0;
    transform: scale(0.4) translateY(10px);
  }

  .hero-bubble.in-view {
    animation: heroBubblePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
}

@media (max-width: 470px) {
  .hero-bubble.in-view {
    max-width: 170px;
    top: 30%;
    left: 0;
    padding: 6px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .hero-bubble {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-bubble {
    gap: 10px;
    padding: 11px 14px 11px 11px;
  }

  .hero-bubble-icon {
    width: 34px;
    height: 34px;
  }

  .hero-bubble-text strong {
    font-size: 12.5px;
  }

  .hero-bubble-text span {
    font-size: 11.5px;
  }
}

.deco-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.shape-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--primary-light) 0%, rgba(253, 238, 242, 0) 70%);
  top: -10%;
  right: -10%;
}

/* ---------- Trusted logos / stats strip ---------- */
.stats-strip {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -35px rgba(20, 21, 43, 0.15);
  padding: 0 40px 12px;
  margin-top: 40px;
  position: relative;
  z-index: 5;
  text-align: center;
}

.stats-head {
  text-align: center;
  margin-bottom: 42px;
}

.stats-head h2 {
  font-size: clamp(22px, 3vw, 28px);
}

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

.stat-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.stat-item .feature-icon {
  background: var(--primary-light);
}

.stat-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Generic section spacing ---------- */
.section {
  padding: 110px 0;
}

.section-tight {
  padding: 90px 0;
}

.section-alt {
  background: var(--surface);
}

/* ---------- Notre méthode (3-step horizontal flow) ---------- */
.methode-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
}

.methode-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  height: 100%;
}

.methode-card.methode-card-blank {
  background: transparent;
  border: none;
  padding: 30px 0px;
  height: 100%;
}

.methode-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.methode-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
}

.methode-media {
  width: 100%;
  height: auto;
  max-width: 220px;
  margin: 0 auto 18px;
  /* border-radius: var(--radius-md); */
  /* margin-bottom: 18px; */
  overflow: hidden;
  /* background: var(--bg); */
}

.methode-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.methode-card h3 {
  font-size: 18px;
}

.methode-card p {
  font-size: 14px;
  color: var(--muted);
}

.methode-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  flex-shrink: 0;

  @media (min-width: 900px) {
    margin-top: 108px;
  }
}

.methode-arrow svg {
  width: 28px;
  height: 28px;
}

.methode-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 40px auto 0;
  padding: 16px 30px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.methode-note svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  position: relative;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card:nth-child(2n) .step-num,
.step-card.accent .step-num {
  background: var(--primary);
}

.step-card h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
}

.step-arrow {
  position: absolute;
  top: 44px;
  right: -22px;
  color: var(--border);
  z-index: 2;
}

.step-arrow svg {
  width: 26px;
  height: 26px;
}

/* ---------- Features grid (section 2) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  text-align: left;
  padding: 6px;
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 20px;
}

.feature-card .feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Solution (tools + main promise) ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.solution-media {
  height: 220px;
  border-radius: var(--radius-md);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 22px;
}

.solution-media img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.solution-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--muted);
}

.solution-highlight {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}

.solution-highlight::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  top: -100px;
  right: -60px;
}

.solution-highlight-icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.solution-highlight-icon svg {
  width: 34px;
  height: 34px;
  color: #fff;
}

.solution-highlight-copy {
  position: relative;
}

.solution-highlight-copy h3 {
  color: #fff;
  font-size: clamp(20px, 2.6vw, 25px);
  margin-bottom: 10px;
}

.solution-highlight-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  max-width: 680px;
}

.solution-highlight-copy strong {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
}

/* ---------- Sector showcase (infinite carousel) ---------- */
.showcase-carousel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.showcase-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.showcase-arrow svg {
  width: 20px;
  height: 20px;
}

.showcase-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.showcase-arrow:active {
  transform: scale(0.94);
}

.showcase-viewport {
  flex: 1;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.showcase-viewport:active {
  cursor: grabbing;
}

.showcase-track {
  display: flex;
  gap: 24px;
}

.showcase-card {
  flex: 0 0 calc((100% - 2 * 24px) / 3);
  min-width: 0;
}

.showcase-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -24px rgba(20, 21, 43, 0.25);
  pointer-events: none;
}

.showcase-frame-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--ink);
}

.showcase-frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.showcase-frame-bar span:nth-child(1) {
  background: #ff5f57;
}

.showcase-frame-bar span:nth-child(2) {
  background: #febc2e;
}

.showcase-frame-bar span:nth-child(3) {
  background: #28c840;
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.showcase-label {
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -22px rgba(var(--shadow-color), 0.28);
  border-color: transparent;
}

.service-card .feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 17.5px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}

.service-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(3px);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--primary);
}

.stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-card p.quote {
  font-size: 14.5px;
  color: var(--ink-soft);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-ph {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd7e2, #ffb3c6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 14px;
  flex-shrink: 0;
}

.avatar-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-ph--logo {
  background: #fff;
  border: 1px solid var(--border);
}

.avatar-ph--logo img {
  object-fit: contain;
  padding: 7px;
}

.testimonial-author h3 {
  font-size: 14.5px;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
}

.faq-question .chev {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.faq-question .chev svg {
  width: 16px;
  height: 16px;
}

.faq-item.open .faq-question .chev {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 14.5px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

/* ---------- Final CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -120px;
  left: -80px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -100px;
  right: -60px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 14px;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 30px;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text strong {
  color: #fff;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.95);
}

.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h3 {
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

.footer-col .contact-line svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Legal modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.75);
  /* backdrop-filter: blur(4px); */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  padding: 48px;
  box-shadow: 0 40px 80px -20px rgba(20, 21, 43, 0.45);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-body {
  overflow-y: auto;
  min-height: 0;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -6px rgba(20, 21, 43, 0.25);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.modal-body h2 {
  font-size: 26px;
  margin-bottom: 24px;
  padding-right: 40px;
}

.modal-body h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
}

.modal-body h3:first-of-type {
  margin-top: 0;
}

.modal-body h4 {
  font-size: 15px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.modal-body p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 12px;
}

.modal-body strong {
  color: var(--ink-soft);
}

.legal-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-list li {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .modal-panel {
    padding: 32px 24px;
    max-height: 90vh;
  }

  .modal-body h2 {
    font-size: 22px;
  }
}

/* ---------- Placeholder image utility ---------- */
.img-placeholder {
  background: repeating-linear-gradient(135deg, #f4eef0, #f4eef0 10px, #efe6e9 10px, #efe6e9 20px);
  border: 1px dashed #d9c4cb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #b89aa2;
  text-align: center;
}

.img-placeholder svg {
  width: 28px;
  height: 28px;
}

.img-placeholder span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {

  .steps-grid,
  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }

  .step-arrow {
    display: none;
  }

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

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .header-cta .btn-primary.desktop-only {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-visual {
    margin-top: 44px;
  }

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

  .solution-highlight {
    flex-direction: column;
    text-align: center;
  }

  .solution-highlight-icon {
    margin: 0 auto;
  }

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

  .methode-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

}

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .showcase-card {
    flex-basis: 100%;
  }

  .showcase-carousel {
    gap: 10px;
  }

  .showcase-arrow {
    width: 40px;
    height: 40px;
  }

  .showcase-arrow svg {
    width: 17px;
    height: 17px;
  }

  .section-tight {
    padding: 56px 0;
  }

  .stats-strip {
    padding: 0px 40px 15px;
    margin-top: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps-grid,
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    padding: 48px 24px;
  }

  .solution-highlight {
    padding: 32px 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-note {
    display: none;
  }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 30px -18px rgba(20, 21, 43, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.open {
  transform: translateY(0);
}

.cookie-banner p {
  flex: 1 1 420px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 720px;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ---------- Cookie preferences ---------- */
.modal-panel--sm {
  max-width: 520px;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.cookie-option h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.cookie-option p {
  font-size: 13.5px;
  margin-bottom: 0;
}

.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  margin-top: 2px;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.cookie-toggle span {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: background 0.2s ease;
}

.cookie-toggle span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked+span {
  background: var(--primary);
}

.cookie-toggle input:checked+span::before {
  transform: translateX(18px);
}

.cookie-toggle--locked span {
  background: var(--primary-light);
}

.cookie-toggle--locked span::before {
  transform: translateX(18px);
  background: var(--primary);
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- Callback form (modale "Être rappelé") ---------- */
.callback-honeypot {
  position: absolute;
  left: -9999px;
}

.form-field {
  margin-top: 18px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f8a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  cursor: pointer;
}

.form-consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-consent span {
  font-size: 13px;
  color: var(--muted);
}

.callback-submit-label {
  display: inline;
}

#callbackForm .btn {
  margin-top: 24px;
}

.form-note {
  display: flex;
  margin-top: 35px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  justify-content: center;
}

.form-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 4px;
}

.callback-success {
  text-align: center;
  padding: 20px 0 8px;
}

.callback-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

.callback-success-icon svg {
  width: 26px;
  height: 26px;
}

.callback-success h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.callback-success p {
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .cookie-banner {
    justify-content: flex-start;
    padding: 16px 18px;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }

  .cookie-modal-actions {
    flex-direction: column-reverse;
  }

  .cookie-modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 32px;
  }
}