:root {
  --bg: #faf5ff;
  --bg-soft: #eef2ff;
  --primary: #6366f1;
  --primary-soft: #e0e7ff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #f97316;
  --card: #ffffff;
  --border: #e5e7eb;
  --glass: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e0f2fe 0, #faf5ff 45%, #fef9c3 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.5rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.logo-mark:hover {
  transform: scale(1.05);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.logo-text:hover {
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  background: rgba(99,102,241,0.08);
  transform: translateX(-3px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 3rem 0 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: slideInLeft 0.8s ease;
}

.hero-highlight {
  background: linear-gradient(120deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 30rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border: 1px solid rgba(148,163,184,0.3);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-icon {
  font-size: 0.9rem;
  display: inline-flex;
  flex-shrink: 0;
}

.hero-badge:hover {
  background: rgba(255,255,255,1);
  border-color: var(--primary);
  transform: scale(1.05);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(79,70,229,0.25);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(79,70,229,0.35);
}

.btn-primary:active::before {
  width: 300px;
  height: 300px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99,102,241,0.12);
}

.hero-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #3730a3;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 999px;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

.hero-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 0.9rem;
}

.hero-avatar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid white;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: -8px;
}

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

.hero-stat {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.hero-stat span {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #3730a3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.step-title {
  font-weight: 600;
  font-size: 1rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.75) 0%, rgba(224,231,255,0.4) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 2rem;
  font-size: 0.9rem;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: none;
}

.benefit-tag {
  display: inline-flex;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-soft), var(--bg-soft));
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(99,102,241,0.2);
}

.benefit-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.4;
}

.benefit-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.cta {
  text-align: center;
  padding: 4rem 0 3rem;
  scroll-margin-top: 100px;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  background-size: 200% 200%;
  animation: fadeInUp 0.6s ease, gradientShift 6s ease infinite;
  color: white;
  border-radius: 1.75rem;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 24px 60px rgba(79,70,229,0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(79,70,229,0.45);
}

.cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cta-text {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  opacity: 0.95;
}

.cta .btn-primary {
  background: white;
  color: #4f46e5;
  box-shadow: none;
}

.cta .btn-primary:hover {
  box-shadow: 0 14px 40px rgba(15,23,42,0.35);
}

footer {
  padding: 2rem 0 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  background: transparent;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 16px 40px rgba(15,23,42,0.09);
  animation: fadeInUp 0.6s ease;
}

@media (max-width: 768px) {
  .card {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
  }
}

.title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

form {
  display: grid;
  gap: 1.2rem;
  animation: fadeInUp 0.6s ease;
}

#submitBtn {
  margin-top: 0.5rem;
  width: 100%;
  transition: all 0.3s ease;
}

#submitBtn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  animation: fadeInUp 0.5s ease;
  animation-fill-mode: both;
}

.field:nth-child(1) { animation-delay: 0.05s; }
.field:nth-child(2) { animation-delay: 0.1s; }
.field:nth-child(3) { animation-delay: 0.15s; }
.field:nth-child(4) { animation-delay: 0.2s; }
.field:nth-child(5) { animation-delay: 0.25s; }

label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s ease;
}

label:hover {
  color: var(--primary);
}

.hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.field:hover .hint {
  opacity: 1;
}

input, select, textarea {
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  font: inherit;
  outline: none;
  background: #f9fafb;
  transition: all 0.2s ease;
}

input:hover, select:hover, textarea:hover {
  border-color: #d1d5db;
  background: white;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
  background: white;
}

.optional {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}

input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

input:valid:not(:placeholder-shown) {
  border-color: #22c55e;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0.75rem;
}

.upload-zone {
  border: 2px dashed rgba(148,163,184,0.8);
  border-radius: 1rem;
  padding: 1.2rem;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-zone:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.upload-zone input[type="file"] {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.upload-zone input[type="file"]::-webkit-file-upload-button {
  border-radius: 999px;
  border: none;
  padding: 0.5rem 0.9rem;
  background: var(--primary-soft);
  color: #3730a3;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-zone input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.small {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.separator {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3) 50%, transparent);
  margin: 2.5rem 0;
  border: none;
}

.step-2-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-2-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  nav {
    order: 2;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  nav a {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }
  
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.5rem;
  }
  
  .hero-card {
    order: -1;
  }
}

/* Animations d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered reveal system */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-scale {
  transform: scale(0.9);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

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

.hero {
  animation: fadeInUp 0.6s ease;
}

.hero-card {
  animation: float 5s ease-in-out infinite;
}

.hv-shell {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 100px rgba(15, 23, 42, 0.22);
}

.hv-video-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hv-video-card:hover {
  transform: scale(1.03);
}

.hv-rec-btn {
  transition: all 0.3s ease;
}

.hv-rec-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.65);
}

.hv-rec-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Animated shimmer on hero-highlight */
.hero-highlight {
  background: linear-gradient(120deg, #6366f1, #ec4899, #6366f1);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Staggered badge entrance */
.hero-badge {
  animation: fadeInUp 0.5s ease both;
}
.hero-badge:nth-child(1) { animation-delay: 0.3s; }
.hero-badge:nth-child(2) { animation-delay: 0.45s; }
.hero-badge:nth-child(3) { animation-delay: 0.6s; }

/* Animated step numbers */
.step-number {
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  transform: scale(1.15);
}

/* Avatar hover effects */
.avatar {
  transition: all 0.3s ease;
}

.avatar:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Hover effects sur les cartes */
.step-card, .benefit-card, .hero-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before, .benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(120deg, #6366f1, #ec4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.step-card:hover, .benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-soft);
  box-shadow: 0 16px 45px rgba(99,102,241,0.2) !important;
}

.step-card:hover::before, .benefit-card:hover::before {
  transform: scaleX(1);
}

/* Mosaïque photos candidats : tailles inégales dans un rectangle,
   cases plus hautes pour moins rogner les sujets */
.candidate-mosaic {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;  /* largeur des colonnes */
  grid-auto-rows: 140px;                   /* réduit de 220px à 140px */
  gap: 1rem;                               /* réduit de 1.4rem à 1rem */
  margin: 1.5rem 0 2rem;                   /* réduit les marges */
}

/* style commun des images */
.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;                        /* on remplit la case, léger crop */
  border-radius: 12px;                      /* réduit de 18px à 12px */
  display: block;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* placement (on garde la disposition qui te plaît) */
.m1 { grid-column: 1;         grid-row: 1 / span 2; }
.m2 { grid-column: 2 / span 2; grid-row: 1; }
.m3 { grid-column: 2;         grid-row: 2; }
.m4 { grid-column: 3;         grid-row: 2; }

/* petits ajustements pour centrer mieux les sujets (facultatif) */
.m1 { object-position: 50% 25%; }  /* un peu plus haut dans l'image */
.m2 { object-position: 50% 45%; }
.m3 { object-position: 50% 40%; }
.m4 { object-position: 50% 35%; }

/* Responsive tablette */
@media (max-width: 900px) {
  .candidate-mosaic {
    grid-template-columns: 1.5fr 1.5fr;
    grid-auto-rows: 130px;
  }

  .m1 { grid-column: 1; grid-row: 1 / span 2; }
  .m2 { grid-column: 2; grid-row: 1; }
  .m3 { grid-column: 2; grid-row: 2; }
  .m4 { grid-column: 1; grid-row: 3; }
}

/* Responsive mobile */
@media (max-width: 600px) {
  .candidate-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;  /* un peu plus haut sur mobile */
  }

  .m1, .m2, .m3, .m4, {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Citation candidat avec visage dans la carte hero */

.hero-quote-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1rem 0 1.4rem;
}

.hero-face {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.hero-face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 25%; /* cadre bien le visage */
  transform: scale(1.9);   /* ZOOM x1.35 */
}

.hero-quote-content {
  flex: 1;
}

.hero-quote {
  margin: 0 0 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 0.9rem;
}

.hero-quote-name {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.9;
}

/* Sur mobile, on empile plus proprement */
@media (max-width: 600px) {
  .hero-quote-row {
    align-items: center;
  }
}

/* === Scène complète "fenêtre vidéo" === */

.hv-section {
  margin: 80px auto;
  padding: 0 24px;
  max-width: 1200px;
}

/* Fenêtre principale type macOS */
.hv-shell {
  position: relative;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  padding-bottom: 40px;
}

/* grand arc en fond */
.hv-shell::before {
  content: "";
  position: absolute;
  inset: -40%;
  margin: auto;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  pointer-events: none;
}

/* header macOS */
.hv-shell-header {
  height: 40px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to bottom, #f7f7fb, #ececf4);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  z-index: 1;
}

.hv-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d0d0d5;
  box-shadow: inset 0 0 2px rgba(15, 23, 42, 0.25);
}

/* Corps de la scène */
.hv-shell-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 64px 40px;
  gap: 40px;
}

/* Colonne gauche */
.hv-left {
  flex: 1;
  max-width: 440px;
}

.hv-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #0b1020;
}

.hv-description {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.hv-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.hv-checklist li {
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 0.75rem;
  padding-left: 0;
  line-height: 1.5;
}

.hv-checklist li:last-child {
  margin-bottom: 0;
}

.hv-line {
  height: 12px;
  border-radius: 999px;
  background: #e4e7f0;
  margin-bottom: 12px;
  width: 70%;
}

.hv-line:nth-child(2) {
  width: 80%;
}

.hv-line.short {
  width: 45%;
}

.hv-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hv-primary-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hv-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.35);
}

.hv-primary-btn:active::before {
  width: 300px;
  height: 300px;
}

/* Carte vidéo à droite */
.hv-video-card {
  position: relative;
  flex-shrink: 0;
  width: 330px;
  border-radius: 32px;
  overflow: hidden;
  background: #0b1020;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.4);
}

.hv-video-media {
  position: relative;
  height: 360px;
  overflow: hidden;
}

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

/* barre en haut de la vidéo */
.hv-video-topbar {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
}

.hv-badge {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
}

.hv-speed {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.7);
}

/* footer de la carte vidéo */
.hv-video-footer {
  padding: 14px 18px 18px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
}

/* bouton rouge "enregistrement vidéo" */
.hv-rec-btn {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ef4444; /* rouge */
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(239, 68, 68, 0.55);
}

.hv-rec-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  display: inline-block;
  position: relative;
}

.hv-rec-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: #fecaca; /* petit cercle clair pour rappeler le rec */
}

/* Responsive */
@media (max-width: 960px) {
  .hv-shell-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 36px;
  }

  .hv-video-card {
    align-self: center;
  }

  .hv-section {
    margin: 60px auto;
  }
}

/* Layout principal avec sidebar */
.main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 2rem;
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--text-main);
}

.sidebar-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--text-main);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0;
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.benefits-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.benefits-list p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.testimonial {
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  padding: 1rem;
  border-radius: 0.5rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-main);
  margin: 0 0 0.5rem 0;
  font-style: italic;
  line-height: 1.5;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.sidebar-note {
  background: #fff8e6;
  border: 1px solid #fef3c7;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

.sidebar-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #d97706;
}

/* Responsive */
@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .card {
    order: 2;
  }

  .sidebar {
    order: 1;
  }
}
