/* ================================
   COPIEUR-KILLER - STYLES
   ================================ */

:root {
  --primary: #2563EB;
  --secondary: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --text: #1F2937;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================
   BOUTONS
   ================================ */

.btn-primary-ck {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.btn-primary-ck:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary-ck.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.2rem;
  display: block;
  margin: 2rem auto;
  width: fit-content;
}

.btn-secondary-ck {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary-ck:hover {
  background: var(--primary);
  color: white;
}

/* ================================
   HERO SECTION (Landing)
   ================================ */

.hero-ck {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  position: relative;
  overflow: hidden;
}

.hero-ck::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-ck::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  animation: pulse 10s ease-in-out 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

/* Particules flottantes */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float-particle 15s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 80%; animation-delay: 2s; }
.particle-3 { top: 30%; right: 15%; animation-delay: 4s; }
.particle-4 { bottom: 20%; left: 70%; animation-delay: 1s; }
.particle-5 { top: 70%; right: 25%; animation-delay: 3s; }
.particle-6 { bottom: 40%; left: 20%; animation-delay: 5s; }

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.5;
  }
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  animation: fadeInDown 0.6s ease;
}

.badge-icon {
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-baseline {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.5rem 0;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-trust {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  animation: fadeInUp 0.6s ease 0.6s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Visual Cards */
.hero-visual {
  display: none; /* Hidden on mobile */
}

@media (min-width: 1024px) {
  .hero-ck {
    justify-content: space-between;
  }

  .hero-content {
    text-align: left;
  }

  .hero-visual {
    display: block;
    position: relative;
    width: 400px;
    height: 500px;
  }

  .visual-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .visual-card.card-1 {
    top: 0;
    left: 0;
    animation: float 3s ease-in-out infinite;
  }

  .visual-card.card-2 {
    top: 40%;
    right: 0;
    animation: float 3s ease-in-out 0.5s infinite;
  }

  .visual-card.card-3 {
    bottom: 0;
    left: 20%;
    animation: float 3s ease-in-out 1s infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .card-icon {
    font-size: 2rem;
  }

  .card-title {
    font-size: 0.9rem;
    color: var(--text-light);
  }

  .card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
  }
}

/* ================================
   SECTIONS
   ================================ */

section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

/* How It Works */
.how-it-works {
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-icon {
  font-size: 3rem;
  margin: 1rem 0;
}

.step-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.step-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.problem-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--danger);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials */
.testimonials {
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-rating {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Final */
.cta-final {
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-trust {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ================================
   AUDIT PAGE - TINDER CARDS
   ================================ */

.audit-page {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  min-height: 100vh;
}

.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  box-shadow: var(--shadow);
  z-index: 100;
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 1rem;
  transition: width 0.3s ease;
  width: 0;
}

.progress-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

.audit-container {
  padding-top: 10rem;
  padding-bottom: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.cards-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  min-height: 400px;
}

.tinder-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  user-select: none;
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%) rotate(10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

.tinder-card:active {
  cursor: grabbing;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.question-zone {
  background: var(--primary);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.question-number {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.question-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.question-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.question-input {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Tap Options */
.tap-options,
.choice-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tap-option,
.choice-option {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  padding: 1.25rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.tap-option:hover,
.choice-option:hover {
  border-color: var(--primary);
  background: #EFF6FF;
  transform: scale(1.05);
}

.choice-option.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Slider */
.slider-container {
  padding: 1rem 0;
}

.slider {
  width: 100%;
  height: 8px;
  border-radius: 1rem;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
}

.slider-value {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Custom Input pour valeurs supérieures au max du slider */
.custom-input-container {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-radius: 1rem;
  border: 2px solid #3B82F6;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-input-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E40AF;
  margin-bottom: 0.75rem;
  text-align: center;
}

.custom-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid #3B82F6;
  border-radius: 0.75rem;
  background: white;
  color: var(--text-color);
  text-align: center;
  transition: all 0.2s ease;
  margin-bottom: 0.75rem;
}

.custom-input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.btn-validate-custom {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-validate-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-validate-custom:active {
  transform: translateY(0);
}

/* Input */
.input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.text-input {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
}

.text-input:focus {
  outline: none;
  border-color: var(--primary);
}

.text-input.error {
  border-color: var(--danger);
}

.input-unit {
  font-weight: 600;
  color: var(--text-light);
}

/* Forfait Form (Q5) */
.forfait-form-container {
  padding: 1.5rem;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-radius: 1rem;
  border: 2px solid #3B82F6;
  animation: slideDown 0.3s ease;
}

.forfait-input-group {
  margin-bottom: 1rem;
}

.forfait-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E40AF;
  margin-bottom: 0.5rem;
}

.forfait-input-group .text-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1.05rem;
  border: 2px solid #3B82F6;
  background: white;
  border-radius: 0.75rem;
}

.forfait-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.forfait-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #3B82F6;
}

.forfait-checkbox-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  user-select: none;
}

/* Button Next */
.btn-next {
  width: 100%;
  margin-top: auto;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  min-height: 3.25rem;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: white;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-next:active {
  transform: translateY(0);
}

/* Bouton Précédent */
.btn-previous {
  position: fixed;
  top: 7rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 5px -1px rgba(107, 114, 128, 0.3);
  z-index: 150;
}

.btn-previous:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(107, 114, 128, 0.4);
}

.btn-previous:active {
  transform: translateX(-50%) translateY(0);
}

/* Masquer sur très petit écran */
@media (max-width: 480px) {
  .btn-previous {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    top: 7.5rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .btn-previous:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .btn-previous:active {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.swipe-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.swipe-icon {
  animation: swipeDown 1.5s ease-in-out infinite;
}

@keyframes swipeDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ================================
   RESULTATS PAGE
   ================================ */

.resultats-page {
  background: var(--bg-alt);
}

.resultats-container {
  padding: 4rem 0;
}

/* Score Circle */
.score-section {
  text-align: center;
  margin-bottom: 3rem;
}

.score-circle {
  width: 250px;
  height: 250px;
  margin: 2rem auto;
  position: relative;
}

.score-circle svg {
  transform: rotate(-90deg);
}

.score-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 10;
}

.score-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
}

.score-label {
  font-size: 2rem;
  color: var(--text-light);
}

.score-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Économies */
.economies-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.economie-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.economie-annuelle {
  border-top: 4px solid var(--secondary);
}

.economie-mensuelle {
  border-top: 4px solid var(--primary);
}

.economie-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.economie-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0;
}

.economie-sublabel {
  font-size: 1rem;
  color: var(--text-light);
}

/* Actions */
.actions-section {
  margin: 4rem 0;
}

.actions-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.action-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
}

.action-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.action-number {
  background: var(--secondary);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.action-header h3 {
  font-size: 1.3rem;
  margin: 0;
}

.action-description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.action-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.action-gain {
  color: var(--secondary);
  font-size: 1.5rem;
}

.action-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.action-effort,
.action-delai {
  background: var(--bg-alt);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Form Section */
.form-section {
  background: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 3rem 0;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.rapport-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.upload-section {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.upload-section h3 {
  margin-bottom: 0.5rem;
}

.upload-section > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.upload-group {
  margin-bottom: 1.5rem;
}

.upload-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-label:hover {
  border-color: var(--primary);
  background: #EFF6FF;
}

.upload-icon {
  font-size: 2rem;
}

.upload-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-left: auto;
}

input[type="file"] {
  display: none;
}

.files-preview {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.file-tag {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
}

.form-notice {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.loading-state {
  text-align: center;
  padding: 3rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* ================================
   MERCI PAGE
   ================================ */

.merci-page {
  background: var(--bg-alt);
}

.merci-container {
  padding: 4rem 0;
}

.merci-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.merci-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.merci-lead {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  max-width: 600px;
  margin: 3rem auto;
  text-align: left;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--border);
}

.timeline-item.completed .timeline-icon {
  background: var(--secondary);
}

.timeline-item.in-progress .timeline-icon {
  background: var(--warning);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Rapport Preview */
.rapport-preview {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 3rem 0;
}

.rapport-preview h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.rapport-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.rapport-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.rapport-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.rapport-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.rapport-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Next Steps */
.next-steps {
  margin: 3rem 0;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.next-step-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.next-step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.next-step-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Audit Reference */
.audit-reference {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
}

.audit-reference code {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Courier New', monospace;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.reference-note {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Actions */
.merci-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
}

/* Share Section */
.share-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.share-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.share-btn.twitter {
  background: #1DA1F2;
  color: white;
}

.share-btn.linkedin {
  background: #0A66C2;
  color: white;
}

.share-btn.email {
  background: var(--text);
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-baseline {
    font-size: 1.3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .steps-grid,
  .problems-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .score-circle {
    width: 200px;
    height: 200px;
  }

  .score-number {
    font-size: 3rem;
  }

  .economie-value {
    font-size: 2rem;
  }

  .action-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .form-section {
    padding: 2rem 1rem;
  }
}
