:root {
  --bg: #05070a;
  --text: #e9eef7;
  --muted: rgba(255, 255, 255, 0.6);
  --muted2: rgba(255, 255, 255, 0.45);
  --card: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.08);
  --accent: #2e7bff;
  --accentSoft: rgba(130, 170, 255, 0.4);
  --radius: 18px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --gap: 22px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

a {
  color: inherit;
}

.white {
  color: white;
}

/* Utilitaire : masqué sur mobile uniquement */
@media (max-width: 640px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Layout helpers */
.container {
  width: min(1100px, 92%);
  margin: auto;
}

.txt-center {
  text-align: center;
}

.txt-left {
  text-align: left;
}

.center {
  align-items: center;
}

.between {
  justify-content: space-between;
}

.row {
  display: flex;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gap {
  gap: 14px;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 50% 40%, rgba(46, 123, 255, 0.18), transparent 70%),
    radial-gradient(circle, transparent 35%, rgba(0, 0, 0, 0.75) 80%);
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
  z-index: 50;
}

/* largeur de la barre */
.topbar .row {
  padding: 10px 0;
  position: relative;
}

.pp {
  width: 100px;
  height: 100px;
  margin: -12px 0;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nav__link--active {
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Type */
.h1 {
  font-size: clamp(32px, 7vw, 82px);
  font-weight: 950;
  line-height: 1.05;
}

.h1 .line1 {
  display: block;
  white-space: nowrap;
}

.h1 .accent {
  display: block;
  margin-top: 12px;
}



.h2 {
  font-size: clamp(26px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.h3 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 18px;
}

.h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 6px 0 8px;
}

.lead {
  font-size: clamp(17px, 3vw, 25px);
  max-width: 760px;
  margin: auto;
  color: var(--muted);
  line-height: 1.6;
}

.lead.small {
  font-size: clamp(15px, 2.5vw, 20px);
  text-align: justify;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

/* Accent */
.accent {
  color: var(--accentSoft);
}

/* Badge / dots */
.badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 123, 255, 0.1);
}

.dotdispo {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(13, 255, 0);
  box-shadow: 0 0 0 4px rgba(46, 123, 255, 0.1);
}

.dot.sm {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease
}

.btn--primary {
  width: 150px;
  height: 55px;
  background: rgba(46, 123, 255, 0.45);
  border-color: rgba(46, 123, 255, 0.35);
  color: white;
}

.btn--primary:hover {
  box-shadow: 0 14px 40px rgba(46, 123, 255, 0.4);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(66, 143, 255, 0.95), rgba(100, 80, 240, 0.9));
}

/* Change background color when hovered */


.btn--ghost {
  width: 150px;
  height: 55px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 200px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35;
  filter: brightness(1.5);
}

.hero-video-about {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  object-fit: cover;
  flex-shrink: 0;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
      rgba(5, 7, 10, 0.6) 0%,
      rgba(5, 7, 10, 0.75) 50%,
      rgba(5, 7, 10, 0.95) 100%);
}

.hero>.container {
  position: relative;
  z-index: 3;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 18px;
}

.stat strong {
  display: block;
  font-size: 36px;
}

.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 80px 0;
  overflow-x: hidden;
}

/* Grids */
.grid {
  display: grid;
  gap: var(--gap);
  width: 100%;
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.grid--contact {
  grid-template-columns: 1fr 1.2fr;
  margin-top: 22px;
  align-items: start;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card--metric {
  padding: 30px;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.card--metric strong {
  font-size: 42px;
}

.card--metric span {
  color: var(--muted2);
  font-size: 13px;
}

.card--project {
  padding: 0;
  overflow: hidden;
}

.media {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.pad {
  padding: 18px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(130, 170, 255, 0.55);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

/* Testimonials background */
.testimonials-bg {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 10% 50%, rgba(46, 123, 255, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(130, 60, 255, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(46, 123, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 75% 70%, rgba(80, 200, 255, 0.05) 0%, transparent 50%),
    rgba(10, 12, 20, 0.6);
  border-top: 1px solid rgba(100, 130, 255, 0.15);
  border-bottom: 1px solid rgba(100, 130, 255, 0.15);
  padding: 100px 0;
  margin-top: 0;
  margin-bottom: 0;
}


/* Testimonial Cards (new design) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.tcard {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.tcard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.tcard--featured {
  border-color: rgba(46, 123, 255, 0.3);
  background: linear-gradient(145deg, rgba(46, 123, 255, 0.07) 0%, rgba(100, 80, 255, 0.04) 100%);
}

.tcard--featured:hover {
  border-color: rgba(46, 123, 255, 0.5);
}

.tcard__quote {
  font-size: 88px;
  line-height: 0.6;
  font-family: Georgia, serif;
  color: rgba(46, 123, 255, 0.25);
  font-weight: 900;
  user-select: none;
  position: absolute;
  top: 24px;
  left: 28px;
}

.tcard__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin-top: 32px;
  flex-grow: 1;
}

.tcard__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
}

.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.35), rgba(100, 80, 255, 0.25));
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(130, 170, 255, 0.9);
  flex-shrink: 0;
}

.tcard__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.tcard__role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

.tcard__stars {
  margin-left: auto;
  font-size: 14px;
  color: #f4c542;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Tools Background */
.tools-bg {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 95% 40%, rgba(46, 180, 255, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 5% 70%, rgba(46, 123, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 5%, rgba(100, 60, 255, 0.05) 0%, transparent 55%),
    rgba(10, 12, 20, 0.5);
  border-top: 1px solid rgba(100, 130, 255, 0.12);
  border-bottom: 1px solid rgba(100, 130, 255, 0.12);
  padding: 80px 0;
}



.tools-grid {
  display: grid;
  margin-top: 80px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: default;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}


.tool-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
}

.tool-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.tool-cat {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pour qui */
.for-who-bg {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 65% 70% at 85% 50%, rgba(46, 123, 255, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 15% 25%, rgba(80, 60, 200, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 45% 95%, rgba(46, 180, 255, 0.06) 0%, transparent 55%),
    rgba(10, 12, 20, 0.55);
  border-top: 1px solid rgba(100, 130, 255, 0.13);
  border-bottom: 1px solid rgba(100, 130, 255, 0.13);
  padding: 100px 0;
}


.for-who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.for-who__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.for-who__card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 123, 255, 0.25);
}

.for-who__icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.for-who__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.for-who__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .for-who__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .for-who__grid {
    grid-template-columns: 1fr;
  }
}



/* Pricing Cards */
.card--pricing {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--pricing:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 90px rgba(46, 123, 255, 0.25);
}

.card--featured {
  border-color: rgba(46, 123, 255, 0.4);
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.08) 0%, rgba(46, 123, 255, 0.02) 100%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.8), rgba(46, 123, 255, 0.6));
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(46, 123, 255, 0.3);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stroke);
}

.pricing-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(46, 123, 255, 0.1);
  border-radius: 14px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.price-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--muted2);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pricing-features li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 4px;
}

.card--featured .pricing-features li {
  color: rgba(255, 255, 255, 0.75);
}

/* About Page - Professional Components */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.about-hero-content p {
  text-align: justify;
}

.problem-card,
.solution-card {
  padding: 32px;
}

.problem-card {
  background: rgba(255, 50, 50, 0.03);
  border-color: rgba(255, 50, 50, 0.15);
}

.solution-card {
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.08) 0%, rgba(46, 123, 255, 0.02) 100%);
  border-color: rgba(46, 123, 255, 0.3);
}

.problem-header {
  margin-bottom: 20px;
}

.problem-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.problem-badge--bad {
  background: rgba(255, 50, 50, 0.15);
  color: #ff6666;
}

.problem-badge--good {
  background: rgba(46, 123, 255, 0.15);
  color: var(--accent);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem-icon {
  min-width: 20px;
  padding-top: 2px;
}

.problem-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.problem-item p {
  text-align: justify;
}

.value-card-pro {
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.value-card-pro:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent);
  border-color: rgba(46, 123, 255, 0.4);
}

.value-card-pro p {
  text-align: justify;
}

.value-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(46, 123, 255, 0.4);
  line-height: 1;
  margin-bottom: 16px;
}

.value-card-pro h3 {
  margin-bottom: 12px;
}

.stat-card-pro {
  text-align: center;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.stat-card-pro:hover {
  border-color: rgba(46, 123, 255, 0.4);
  transform: translateY(-3px);
}

/* Responsive About Page */
@media (max-width: 980px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-image {
    order: -1;
  }
}

/* Contact extras */
.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(46, 123, 255, 0.1);
  margin-bottom: 10px;
}

.iconbox {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 123, 255, 0.1);
}

.list {
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 13px;
  margin-top: 10px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  color: var(--muted2);
  font-size: 12px;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  outline: none;
}

/* Footer */
.footer {

  width: 100%;
  text-align: center;
}

.line {
  height: 1px;
  background: var(--stroke);
  margin-bottom: 18px;
}

/* Tarifs CTA Block */
.tarifs-cta {
  margin-top: 48px;
  position: relative;
  border-radius: 20px;
  padding: 2px;
  /* border gradient trick */
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.35), rgba(100, 60, 220, 0.3), rgba(46, 123, 255, 0.15));
  transition: opacity 0.3s ease;
}

.tarifs-cta:hover {
  opacity: 0.95;
}

.tarifs-cta__inner {
  background: linear-gradient(135deg, rgba(10, 14, 28, 0.97) 0%, rgba(14, 20, 40, 0.97) 100%);
  border-radius: 18px;
  padding: 44px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tarifs-cta__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(100, 160, 255, 0.7);
  margin: 0;
}

.tarifs-cta__heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.tarifs-cta__desc {
  font-size: 14px;
  color: var(--muted2);
  margin: 0;
  max-width: 420px;
}

.tarifs-cta__btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.85), rgba(19, 80, 186, 0.75));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(46, 123, 255, 0.25);
  transition: box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.tarifs-cta__btn:hover {
  box-shadow: 0 14px 40px rgba(46, 123, 255, 0.4);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(66, 143, 255, 0.95), rgba(100, 80, 240, 0.9));
}

@media (max-width: 600px) {
  .tarifs-cta__inner {
    padding: 28px 20px;
  }

  .tarifs-cta__heading {
    font-size: 18px;
  }

  .tarifs-cta__desc {
    max-width: 100%;
  }
}


/* Video Placeholders */
.video-preview-block {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(46, 123, 255, 0.05);
  border: 1px dashed rgba(46, 123, 255, 0.3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.video-placeholder:hover {
  border-color: rgba(46, 123, 255, 0.6);
  border-style: solid;
  background: rgba(46, 123, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(46, 123, 255, 0.15);
}

.play-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(46, 123, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  border: 2px solid rgba(46, 123, 255, 0.4);
  transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(46, 123, 255, 0.4);
}

/* Responsive */
@media (max-width: 980px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .grid--contact {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 26px;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  /* Vidéo hero : moins zoomée sur mobile portrait */
  .hero-video {
    display: block;
    min-width: 100%;
    min-height: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Titre hero : nowrap désactivé sur mobile pour éviter le débordement */
  .h1 .line1 {
    white-space: normal;
  }

  /* Stats dans le hero : masquées sur mobile */
  .hero .stats {
    display: none;
  }

  /* Titre hero : moins d'espace entre les deux lignes */
  .h1 .accent {
    margin-top: 4px;
  }

  /* Boutons hero côte à côte */
  .hero .row.gap {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* Projets : reste 2 colonnes (2 par ligne) */
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services/Tarifs : 1 colonne sur mobile (comme avant) */
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pour qui : reste 2 colonnes */
  .for-who__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Contact : pile l'aside mais avec moins d'espace */
  .grid--contact {
    grid-template-columns: 1fr;
  }

  .grid--contact>aside.stack {
    gap: 12px;
  }

  .grid--contact>aside.stack .card {
    padding: 16px 16px;
  }

  .grid--contact>aside.stack .card .h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .grid--contact>aside.stack .card p,
  .grid--contact>aside.stack .card .muted {
    font-size: 13px;
  }

  .stats {
    gap: 16px;
  }

  .stat strong {
    font-size: 28px;
  }

  /* Nav mobile — design premium */
  .nav-toggle {
    display: flex;
  }

  .nav {
    /* Slide animé via max-height au lieu de display:none */
    display: flex;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: linear-gradient(160deg, rgba(6, 10, 24, 0.98) 0%, rgba(10, 16, 38, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(46, 123, 255, 0.2);
    flex-direction: column;
    gap: 0;
    z-index: 100;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav.is-open {
    max-height: 420px;
  }

  .nav__link {
    padding: 17px 28px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: background 0.22s ease, color 0.22s ease, padding-left 0.22s ease;
    opacity: 0;
    transform: translateX(-14px);
  }

  /* Barre accent à gauche au hover/active */
  .nav__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), #a855f7);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .nav__link:hover,
  .nav__link--active {
    background: rgba(46, 123, 255, 0.07);
    color: #fff;
    padding-left: 40px;
  }

  .nav__link:hover::before,
  .nav__link--active::before {
    opacity: 1;
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  /* Animation en cascade quand le menu s'ouvre */
  .nav.is-open .nav__link {
    animation: navLinkIn 0.32s ease forwards;
  }

  .nav.is-open .nav__link:nth-child(1) {
    animation-delay: 0.06s;
  }

  .nav.is-open .nav__link:nth-child(2) {
    animation-delay: 0.12s;
  }

  .nav.is-open .nav__link:nth-child(3) {
    animation-delay: 0.18s;
  }

  .nav.is-open .nav__link:nth-child(4) {
    animation-delay: 0.24s;
  }

  .nav.is-open .nav__link:nth-child(5) {
    animation-delay: 0.30s;
  }

  .topbar .row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .tarifs-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-video-about {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Seulement les boutons explicitement full-width */
  .btn.full {
    width: 100%;
  }

  /* Titre hero sur 2 lignes + plus grand sur mobile */
  .hero .h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero .h1 .accent {
    font-size: 36px;
  }

  /* Hero : badge plus haut, plus d'espace en bas */
  .hero .container {
    padding-top: 16px;
    padding-bottom: 48px;
  }

  /* Tarifs : réduit l'espace entre le titre et les cards */
  .grid.grid--3.txt-left {
    margin-top: 0;
  }

  .section {
    padding: 48px 0;
  }

  .pp {
    width: 70px;
    height: 70px;
  }

  .card--metric strong {
    font-size: 32px;
  }

  .testimonials-bg,
  .tools-bg,
  .for-who-bg {
    padding: 60px 0;
  }

  /* Grille tarifaire : cellules compactes sur petit écran */
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-container table th,
  .table-container table td {
    padding: 10px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Footer centré sur mobile */
  .footer>div {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 12px;
  }

  .footer>div>div {
    justify-content: center;
  }

  /* Vidéos portfolio mobile align */
  .portfolio-video {
    max-height: 300px;
  }
}

/* ─── COMPOSANTS VIDÉOS ────────────────────────────────────────────────── */
.portfolio-video {
  width: 100%;
  max-height: 450px;
  background-color: #000;
  object-fit: contain;
  display: block;
}

.portfolio-video.small {
  max-height: 300px;
}

/* ─── ANIMATION NAV MOBILE ──────────────────────────────────────────────── */

@keyframes navLinkIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── ANIMATIONS AU SCROLL ─────────────────────────────────────────────── */

/* État initial : invisible + décalé */
[data-animate] {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="fade-up"] {
  transform: translateY(36px);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="slide-left"] {
  transform: translateX(-40px);
}

[data-animate="slide-right"] {
  transform: translateX(40px);
}

/* État final : visible */
[data-animate].is-visible {
  opacity: 1;
  transform: none !important;
}

/* Délai en cascade pour les enfants d'une grille */
[data-animate-group]>*:nth-child(1) {
  animation-delay: 0ms;
}

[data-animate-group]>*:nth-child(2) {
  animation-delay: 80ms;
}

[data-animate-group]>*:nth-child(3) {
  animation-delay: 160ms;
}

[data-animate-group]>*:nth-child(4) {
  animation-delay: 240ms;
}

/* Stagger via data-delay */
[data-delay="1"] {
  transition-delay: 80ms !important;
}

[data-delay="2"] {
  transition-delay: 160ms !important;
}

[data-delay="3"] {
  transition-delay: 240ms !important;
}

[data-delay="4"] {
  transition-delay: 320ms !important;
}

[data-delay="5"] {
  transition-delay: 400ms !important;
}

[data-delay="6"] {
  transition-delay: 480ms !important;
}

/* ─── TIMELINE VERTICALE (about.html valeurs) ──────────────────────────── */

.about-timeline {
  position: relative;
  width: 100%;
  padding: 20px 0;
  text-align: left;
}

/* Ligne centrale */
.about-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(46, 123, 255, 0.4) 10%, rgba(46, 123, 255, 0.4) 90%, transparent);
}

.about-tl-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  width: 100%;
}

/* Numéro flottant */
.about-tl-num {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(46, 123, 255, 0.5);
  top: -20px;
}

/* Point central */
.about-tl-dot {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(46, 123, 255, 0.2);
  transform: translateX(-50%);
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

.about-tl-item:hover .about-tl-dot {
  box-shadow: 0 0 0 10px rgba(46, 123, 255, 0.12);
}

/* Carte gauche par défaut */
.about-tl-content {
  width: 45%;
  margin-right: auto;
}

/* Carte droite */
.about-tl-item--right {
  flex-direction: row-reverse;
}

.about-tl-item--right .about-tl-content {
  margin-right: 0;
  margin-left: auto;
}

/* Mobile : tout à droite de la ligne */
@media (max-width: 700px) {
  .about-timeline::before {
    left: 16px;
  }

  .about-tl-num {
    left: 16px;
  }

  .about-tl-dot {
    left: 16px;
  }

  .about-tl-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }

  .about-tl-item--right {
    flex-direction: row;
  }
}