/* Reset & Base */
:root {
  /* 🎨 Karotte Palette based on the provided image */
  --primary-purple: #5b3cfc;
  --primary-purple-light: #7b61ff;
  --accent-lime: #d4e157;
  --accent-orange: #ff8c42;
  --accent-green: #00c853;
  --accent-pink: #ff80ab;

  --bg-page: #ffffff;
  --bg-cream: #fff9f2;

  --text-dark: #1a1a1a;
  --text-grey: #666666;
  --white: #ffffff;

  /* Fonts */
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Design Tokens */
  --radius-pill: 9999px;
  --radius-card: 32px;
  --radius-small: 16px;

  /* Framer-style Shadows */
  --shadow-sm: 0 2px 8px rgba(91, 60, 252, 0.08);
  --shadow-card: 0 20px 40px rgba(91, 60, 252, 0.08),
    0 0 0 1px rgba(91, 60, 252, 0.04);
  --shadow-float: 0 30px 60px rgba(26, 26, 26, 0.12);
  --shadow-glow: 0 0 40px rgba(212, 225, 87, 0.6);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  font-family: var(--font-display);
  color: var(--primary-purple);
}

.logo-icon {
  background: var(--primary-purple);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 900;
}

.nav-links {
  display: none;
  background: white;
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-links a {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.nav-links a:hover {
  background: var(--bg-cream);
  color: var(--primary-purple);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 20px;
}

.link-secondary {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-purple);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--accent-lime);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(212, 225, 87, 0.4);
}

.btn-primary:hover {
  background: #e6ee9c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 225, 87, 0.5);
}

.btn-green {
  background: var(--accent-green);
  color: white;
}

.btn-green:hover {
  background: #00e676;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-purple);
}

@media (min-width: 768px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  overflow: hidden;
  min-height: 100vh;
  background: var(--white);
}

.hero-bg-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  z-index: -1;
  animation: blobFloat 10s infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(91, 60, 252, 0.15);
  top: -20%;
  right: -10%;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(212, 225, 87, 0.2);
  bottom: 0;
  left: -10%;
  animation-delay: 2s;
}
.blob-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 140, 66, 0.15);
  top: 40%;
  left: 40%;
  animation-delay: 4s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.badge-new {
  display: inline-block;
  margin-bottom: 24px;
  transform: rotate(-2deg);
}

.badge-new span {
  background: var(--primary-purple);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(91, 60, 252, 0.2);
}

.hero-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary-purple);
}

.text-outline {
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-grey);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
  min-width: 220px;
}

.btn-secondary {
  background: white;
  color: var(--primary-purple);
  border: 2px solid var(--bg-cream);
}

.btn-secondary:hover {
  border-color: var(--primary-purple);
  background: white;
}

.glow-effect {
  box-shadow: var(--shadow-glow);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 80px;
  }
  .hero-subtitle {
    font-size: 22px;
  }
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  height: 600px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 650px;
  background: #111;
  border-radius: 50px;
  padding: 12px;
  box-shadow: var(--shadow-float);
  position: relative;
  z-index: 10;
  border: 4px solid #222;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #111;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.screen-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.activity-card {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.activity-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-cream);
  color: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.activity-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--text-dark);
}

.progress-bar {
  height: 6px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 75%;
  height: 100%;
  background: var(--primary-purple);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: white;
  padding: 20px;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  z-index: 5;
  width: 240px;
  display: none;
}

@media (min-width: 1024px) {
  .floating-card {
    display: block;
  }
}

.card-left {
  top: 100px;
  left: 0;
  transform: rotate(-6deg);
}

.card-right {
  top: 200px;
  right: 0;
  transform: rotate(6deg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
}

.ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.rank {
  font-size: 20px;
  color: var(--accent-orange);
}
.points {
  margin-left: auto;
  color: var(--primary-purple);
}

.video-preview {
  height: 120px;
  background: var(--bg-cream);
  border-radius: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.play-btn {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--primary-purple);
}

/* Animations */
.float-animation {
  animation: float 6s ease-in-out infinite;
}
.float-animation-delayed {
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-20px) rotate(-6deg);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Marquee */
.marquee-section {
  background: var(--accent-orange);
  padding: 20px 0;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-transform: uppercase;
  align-items: center;
}

.marquee-content span {
  display: flex;
  align-items: center;
}

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

/* PROOF / TRUST SECTION (New) */
.proof-section {
  padding: 120px 0;
  background-color: #fafafa;
  overflow: hidden;
}

.proof-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.proof-header h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 100px;
}

.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/16;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--accent-orange);
}

.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-overlay i {
  font-size: 48px;
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-card:hover .play-overlay i {
  opacity: 1;
  transform: scale(1.1);
}

.video-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Separator */
.separator-line {
  height: 2px;
  background: var(--accent-orange);
  width: 0;
  margin: 0 auto 100px;
  transition: width 1.2s ease-in-out;
}

.separator-line.active {
  width: 100%;
}

/* Testimonials List */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 100px;
}

.testimonial-item {
  display: flex;
  align-items: center;
  gap: 40px;
  opacity: 0;
  transform: translateX(60px); /* Default right */
  transition: all 0.7s ease-out;
}

.testimonial-item.layout-left {
  flex-direction: row;
  transform: translateX(-60px);
}

.testimonial-item.layout-right {
  flex-direction: row-reverse;
}

.testimonial-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-item:hover .testimonial-photo {
  border-color: var(--accent-orange);
  transform: rotate(2deg) scale(1.05);
}

.testimonial-content {
  flex: 1;
  max-width: 600px;
}

.stars {
  color: #ffd700;
  margin-bottom: 12px;
  font-size: 18px;
}

.testimonial-content blockquote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 16px;
  color: var(--primary-purple);
}

.author-info span {
  font-size: 14px;
  color: var(--text-grey);
}

.text-right {
  text-align: right;
}

.text-right .author-info {
  align-items: flex-end;
}

/* Stats Banner */
.stats-banner {
  background: white;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: inline-block;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1;
}

.stat-suffix {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-grey);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 16px;
    /* Mobile Carousel */
    display: flex;
    scroll-snap-type: x mandatory;
  }

  .video-card {
    min-width: 280px;
    scroll-snap-align: center;
  }

  .testimonial-item {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
  }

  .testimonial-content.text-right {
    text-align: center;
  }

  .text-right .author-info {
    align-items: center;
  }

  .stats-banner {
    flex-direction: column;
    gap: 32px;
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-cream);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.pill-label {
  background: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  color: var(--primary-purple);
  box-shadow: var(--shadow-sm);
}

.section-header h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(
    45deg,
    var(--primary-purple),
    var(--primary-purple-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 300px 300px;
  }
  .large-card {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .small-card {
    grid-column: 2;
    grid-row: 1;
  }
  .medium-card {
    grid-column: 2;
    grid-row: 2;
  }
}

.bento-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
}

.card-text h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.card-text p {
  color: var(--text-grey);
}

.bg-dark {
  background: var(--primary-purple);
  color: white;
}

.bg-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.stat-number {
  font-size: 80px;
  font-weight: 800;
  color: var(--accent-lime);
  line-height: 1;
}

.visual-challenges {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.challenge-pill {
  background: var(--bg-cream);
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

/* Testimonials Section (Purple) */
.testimonials-section {
  background: var(--primary-purple);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-quote {
  font-size: 32px;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.testimonial-author {
  font-style: italic;
  opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
  background: var(--accent-orange);
  padding: 80px 0;
  border-radius: 0;
  color: white;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-container h2 {
  color: white;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  padding: 16px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

.newsletter-form button {
  background: var(--primary-purple);
  color: white;
  padding: 16px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 768px) {
  .newsletter-form {
    flex-direction: row;
  }
  .newsletter-form button {
    width: auto;
  }
}

/* Footer */
footer {
  background: white;
  padding: 80px 0 40px;
  border-top: 1px solid #f0f0f0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  font-size: 32px;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-grey);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 24px;
}
.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-grey);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--primary-purple);
}

.footer-bottom {
  text-align: center;
  color: #ccc;
  font-size: 12px;
  border-top: 1px solid #f5f5f5;
  padding-top: 40px;
}

/* =========================================
   SCROLLYTELLING ROI CALCULATOR (Apple Style)
   ========================================= */

.roi-scrolly-section {
  /* Hauteur virtuelle : détermine la durée du scroll */
  height: 400vh; 
  position: relative;
  background: var(--white);
  z-index: 10;
}

/* La fenêtre qui reste fixée à l'écran */
.roi-sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* La "Carte" qui va se transformer */
.roi-dynamic-card {
  /* État initial = Card */
  width: 90%;
  height: 90%;
  border-radius: 40px;
  background: var(--primary-purple); /* Solid Brand Color */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-radius 0.1s linear, width 0.1s linear, height 0.1s linear;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(91, 60, 252, 0.3); /* Purple Shadow */
  margin: auto;
}

/* Suppression de l'Aurora Background */
.roi-aurora-bg {
  display: none;
}

/* Les Étapes (Steps) */
.roi-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transform: translateY(40px); /* Plus de mouvement pour effet Typeform */
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}

.roi-step.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* TYPEFORM STYLE INPUTS */
.typeform-question {
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
}

.typeform-control-wrapper {
  width: 100%;
  max-width: 600px;
  /* Suppression du fond glassmorphism pour un look plus clean */
}

.control-value-large {
  font-size: 80px;
  font-weight: 800;
  color: var(--accent-lime);
  display: block;
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

/* Modification des sliders pour le fond violet */
.range-track {
  position: relative;
  width: 100%;
  max-width: 600px; /* Largeur max */
  height: 64px; /* Hauteur importante pour l'effet "Large" */
  background: rgba(255, 255, 255, 0.15); /* Fond subtil */
  border-radius: 999px; /* Forme de pilule complète */
  overflow: hidden;
  margin: 0 auto; /* Centré */
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1); /* Profondeur interne */
}

.range-track:hover {
  height: 64px; /* On garde la même hauteur */
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.02); /* Léger effet de zoom au survol */
}

.range-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%; /* JS le mettra à jour */
  background: var(--accent-lime); /* Vert lime vibrant */
  border-radius: 999px 0 0 999px; /* Arrondi gauche */
  transition: width 0.1s linear;
  box-shadow: 0 0 20px rgba(212, 225, 87, 0.4); /* Glow interne */
}

/* Input Range Natif : Invisible mais interactif sur toute la surface */
.range-input-creative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize; /* Curseur gauche-droite */
  margin: 0;
  padding: 0;
  z-index: 20;
  -webkit-appearance: none; /* Force la suppression du style natif */
  appearance: none;
}

/* Scroll Indicator */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* Contenu Typographique */
.step-tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
}

.step-title {
  font-size: 48px; /* Grand titre pour Fullscreen */
  color: white;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.1;
}

/* Inputs stylisés pour le mode Sombre */
.step-controls-wrapper {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 32px;
  backdrop-filter: blur(10px);
}

/* Réutilisation des styles Range Creative précédents */
.control-group { margin-bottom: 32px; }
.control-header { display: flex; justify-content: space-between; margin-bottom: 12px; color: white; }
.control-value { color: var(--accent-lime); font-weight: 700; font-size: 24px; }

/* Step 2 & 3 specific styles */
.big-impact-number {
  font-size: 120px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin: 20px 0;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.loss-color { color: #ff80ab; text-shadow: 0 0 40px rgba(255, 128, 171, 0.4); }
.gain-color { color: var(--accent-lime); text-shadow: 0 0 40px rgba(212, 225, 87, 0.4); }

.final-cta {
  margin-top: 40px;
  transform: scale(1.2);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .roi-scrolly-section { height: 350vh; } /* Un peu moins haut sur mobile */
  .step-title { font-size: 32px; }
  .big-impact-number { font-size: 80px; }
  .step-controls-wrapper { padding: 24px; }
  
  /* Sur mobile, on réduit moins la carte à la fin pour garder la lisibilité */
  .roi-dynamic-card.shrunk {
    width: 95% !important;
    height: 90% !important;
  }
}
