:root {
  --bg: #050407;
  --white: #f8f2ec;
  --muted: rgba(248, 242, 236, 0.62);
  --line: rgba(248, 242, 236, 0.12);
  --purple: #8b5cf6;
  --pink: #ec4899;
  --orange: #ff7a3d;
  --grad: linear-gradient(100deg, #8b5cf6 0%, #ec4899 55%, #ff7a3d 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(107, 70, 255, 0.35), transparent 32%),
    radial-gradient(circle at 78% 35%, rgba(236, 72, 153, 0.28), transparent 34%),
    radial-gradient(circle at 45% 68%, rgba(255, 122, 61, 0.22), transparent 34%),
    #050407;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: -1;
}

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

.section {
  position: relative;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

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

em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(5, 4, 7, 0.76);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--grad);
  display: inline-block;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.9);
}

.logo em {
  font-size: 21px;
}

.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  color: var(--muted);
}

.header-cta {
  justify-self: end;
  padding: 13px 21px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-label {
  margin: 0 0 28px;
  color: rgba(248, 242, 236, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: rgba(248, 242, 236, 0.55);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--grad);
}

.centered {
  justify-content: center;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(56px, 6.4vw, 92px);
}

.section h2 {
  font-size: clamp(48px, 5vw, 76px);
}

.lead,
.section-intro {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  color: #120912;
  background: var(--grad);
  font-weight: 750;
  font-size: 14px;
  box-shadow: 0 18px 50px rgba(236, 72, 153, 0.32);
}

.ghost-link {
  color: var(--muted);
  font-size: 14px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 120px rgba(0,0,0,0.42);
}

.video-card.landscape {
  aspect-ratio: 16 / 9;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ticker corrigé */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker-content {
  display: flex;
  padding: 22px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  flex-shrink: 0;
}

.ticker-content span {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
}

.ticker-content span:nth-child(even) {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
  font-style: italic;
}

.ticker-content span::after {
  content: "•";
  margin-left: 30px;
  color: rgba(255,255,255,0.32);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stats redesign */
.stats-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

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

.stats-cards article {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 26px 70px rgba(0,0,0,0.22);
}

.stats-cards article::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -50px;
  bottom: -60px;
  border-radius: 999px;
  background: var(--grad);
  opacity: 0.18;
  filter: blur(10px);
}

.stats-cards strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.stats-cards span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* reste layout */
.process-grid,
.compare-grid,
.avatar-grid,
.pricing-grid,
.usecase-grid,
.testimonial-cards {
  margin-top: 62px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(0,0,0,0.34);
}

.process-grid article {
  padding: 52px 42px;
  border-right: 1px solid var(--line);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  color: #7c3aed;
}

.process-grid h3,
.compare-card h3,
.usecase-grid h3 {
  margin: 34px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 26px;
}

.process-grid p,
.compare-card li,
.usecase-grid p,
.pricing-card li {
  color: var(--muted);
  line-height: 1.7;
}

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

.compare-card,
.usecase-grid article,
.pricing-card,
.testimonial-cards article {
  border-radius: 22px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line);
}

.compare-card {
  padding: 42px;
}

.compare-card.highlighted {
  background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(236,72,153,0.08));
  border-color: rgba(236,72,153,0.7);
}

.pill,
.recommended {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 800;
}

.pill.hot,
.recommended {
  background: var(--grad);
  color: #170817;
  border-color: transparent;
}

.compare-card ul,
.pricing-card ul {
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.compare-card li,
.pricing-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.compare-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  color: #b45cf6;
}

.compare-bottom strong,
.compare-bottom span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

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

.avatar-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.avatar-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-langs {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lang-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-lang-row {
  margin-top: 18px;
}

.lang-btn,
.avatar-lang {
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  min-width: 74px;
  height: 36px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.avatar-lang {
  min-width: 45px;
  height: 28px;
  padding: 0 10px;
  font-size: 10px;
}

.lang-btn.active,
.avatar-lang.active {
  background: var(--grad);
  border-color: transparent;
  color: #170817;
}

.avatar-info {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 18px;
  bottom: 46px;
  pointer-events: none;
}

.avatar-info strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.avatar-info span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-card {
  padding: 42px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,0,0,0.52));
  border-color: rgba(236,72,153,0.65);
  transform: translateY(-10px);
}

.pricing-card h3 {
  margin: 24px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.pricing-card > p {
  color: var(--muted);
}

.price {
  margin-top: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.price-note {
  color: rgba(248,242,236,0.42);
  font-size: 12px;
}

.secondary-cta,
.wide {
  margin-top: auto;
  width: 100%;
}

.secondary-cta {
  min-height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 750;
  background: rgba(255,255,255,0.04);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.usecase-grid article {
  padding: 42px;
}

.usecase-grid span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

/* Nouveaux témoignages */
.testimonials-section {
  background: rgba(0,0,0,0.15);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testimonial-cards article {
  padding: 28px;
  min-height: 360px;
}

.client-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #170817;
  font-weight: 900;
  margin-bottom: 18px;
}

.stars {
  color: #ec4899;
  letter-spacing: 0.16em;
  font-size: 13px;
  margin-bottom: 22px;
}

.testimonial-cards p {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 26px;
}

.testimonial-cards strong {
  display: block;
  margin-bottom: 6px;
}

.testimonial-cards span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.faq-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

details {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  color: var(--white);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "⌄";
  position: absolute;
  right: 0;
  top: 2px;
  font-family: Inter, sans-serif;
  font-size: 22px;
  color: rgba(248, 242, 236, 0.55);
  transition: transform 0.25s ease, color 0.25s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
  color: #ec4899;
}

details p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.final-section {
  min-height: 640px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: visible;
  padding-top: 150px;
  padding-bottom: 150px;
}

.final-inner {
  max-width: 760px;
  overflow: visible;
}

.final-inner h2 {
  font-size: clamp(56px, 6.4vw, 90px);
  line-height: 1.12;
  padding-top: 10px;
  overflow: visible;
}

.final-inner p {
  margin: 28px auto;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.final-meta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

footer {
  min-height: 110px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer div {
  display: flex;
  gap: 28px;
}

footer p {
  justify-self: end;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.glow-a {
  width: 420px;
  height: 420px;
  left: 8%;
  top: 18%;
  background: #6d28d9;
}

.glow-b {
  width: 520px;
  height: 520px;
  right: 4%;
  bottom: 2%;
  background: #be185d;
}

.video-badge,
.video-caption,
.sound-bars {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.video-badge {
  top: 20px;
  left: 20px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(5, 4, 7, 0.58);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.video-badge span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.video-caption {
  left: 24px;
  bottom: 58px;
}

.video-caption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
}

.video-caption span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.sound-bars {
  right: 22px;
  bottom: 58px;
  display: flex;
  gap: 4px;
  align-items: end;
}

.sound-bars i {
  width: 4px;
  border-radius: 999px;
  background: var(--grad);
  animation: bars 0.9s infinite alternate;
}

.sound-bars i:nth-child(1) { height: 18px; }
.sound-bars i:nth-child(2) { height: 28px; animation-delay: 0.1s; }
.sound-bars i:nth-child(3) { height: 22px; animation-delay: 0.2s; }
.sound-bars i:nth-child(4) { height: 34px; animation-delay: 0.3s; }

@keyframes bars {
  from { transform: scaleY(0.55); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

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

  .stats-cards,
  .avatar-grid,
  .pricing-grid,
  .usecase-grid,
  .testimonial-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 0 16px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-grid {
    gap: 38px;
  }

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

  .stats-cards,
  .avatar-grid,
  .pricing-grid,
  .usecase-grid,
  .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card.featured {
    transform: none;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 20px;
  }

  footer div {
    flex-direction: column;
    gap: 12px;
  }

  footer p {
    justify-self: start;
  }
}