:root {
  --bg: #0F0F13;
  --bg2: #16161D;
  --bg3: #1C1C26;
  --purple: #9B8FFF;
  --purple-dark: #5B5BD6;
  --purple-glow: rgba(155, 143, 255, 0.12);
  --purple-glow2: rgba(155, 143, 255, 0.06);
  --green: #3DDB85;
  --blue: #5EB8FF;
  --red: #FF6B6B;
  --white: #EEEEF5;
  --muted: #7878A0;
  --muted2: #55556E;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --border-purple: rgba(155, 143, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  width: 100%;
  height: 100%;
}

#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  padding: 0 1.25rem;
  background: rgba(15, 15, 19, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.logo-x {
  color: var(--purple);
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--white);
}

.grad-text {
  background: linear-gradient(135deg, #9B8FFF 0%, #C4B9FF 50%, #5EB8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

main {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 1.25rem 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-glow2);
  border: 1px solid var(--border-purple);
  padding: 0.28rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.page-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.page-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0;
}

.step-item {
  display: flex;
  align-items: center;
  position: relative;
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1.5px solid var(--border2);
  color: var(--muted2);
  background: var(--bg2);
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-dot .dot-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted2);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.step-dot.active {
  border-color: var(--purple);
  color: var(--white);
  background: var(--purple-glow);
  box-shadow: 0 0 0 4px rgba(155, 143, 255, 0.1);
}

.step-dot.active .dot-label {
  color: var(--purple);
}

.step-dot.done {
  border-color: var(--green);
  color: var(--green);
  background: rgba(61, 219, 133, 0.08);
}

.step-dot.done .dot-num {
  display: none;
}

.step-dot.done::before {
  content: '✓';
  font-size: 0.8rem;
}

.step-line {
  width: 56px;
  height: 1px;
  background: var(--border);
  transition: background 0.35s;
  flex-shrink: 0;
}

.step-line.done {
  background: rgba(61, 219, 133, 0.3);
}

.step-section {
  display: none;
  animation: sectionIn 0.4s ease;
}

.step-section.active {
  display: block;
}

@keyframes sectionIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-glow2);
  border: 1px solid var(--border-purple);
  padding: 0.28rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.block-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.offre-card {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  user-select: none;
}

.offre-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(155, 143, 255, 0.08);
}

.offre-card.selected {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(155, 143, 255, 0.09) 0%, var(--bg3) 100%);
  box-shadow: 0 0 0 1px var(--purple), 0 12px 40px rgba(155, 143, 255, 0.13);
}

.offre-card.featured {
  border-color: var(--border-purple);
  background: linear-gradient(180deg, rgba(155, 143, 255, 0.07) 0%, var(--bg3) 100%);
}

.offre-best {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--purple);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.offre-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 0.65rem;
}

.offre-card.selected .offre-check {
  opacity: 1;
}

.offre-icon {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.offre-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.offre-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.65rem;
}

.offre-card.selected .offre-price {
  color: var(--purple);
}

.offre-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.offre-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.offre-features li {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}

.offre-features li::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-color: rgba(61, 219, 133, 0.1);
  border: 1px solid rgba(61, 219, 133, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5L4.5 7.5L8 3' stroke='%233DDB85' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.form-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fg label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.fg input,
.fg select,
.fg textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--muted2);
}

.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1L5.5 6L10 1' stroke='%237878A0' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.fg select option {
  background: var(--bg3);
  color: var(--white);
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--border-purple);
  background: var(--bg3);
  box-shadow: 0 0 0 3px rgba(155, 143, 255, 0.07);
}

.fg textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

.style-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.style-chip {
  padding: 0.4rem 0.9rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.style-chip:hover {
  border-color: var(--border2);
  color: var(--white);
}

.style-chip.selected {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-glow2);
}

.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.color-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  position: relative;
  flex-shrink: 0;
}

.color-chip:hover {
  transform: scale(1.18);
}

.color-chip.selected {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.color-chip.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.6rem;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.9);
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.page-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.page-check:hover {
  border-color: var(--border2);
}

.page-check.selected {
  border-color: var(--purple);
  background: var(--purple-glow2);
}

.page-check-box {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  border: 1.5px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 0.6rem;
  color: #fff;
}

.page-check.selected .page-check-box {
  background: var(--purple);
  border-color: var(--purple);
}

.page-check-label {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.2s;
}

.page-check.selected .page-check-label {
  color: var(--white);
}

.btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  background: var(--purple);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  touch-action: manipulation;
}

.btn-main:hover:not(:disabled) {
  background: #B0A5FF;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(155, 143, 255, 0.3);
}

.btn-main:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border2);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  touch-action: manipulation;
}

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

.error-msg {
  display: none;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--red);
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-top: 1rem;
}

.error-msg.visible {
  display: flex;
}

.gen-wrap {
  text-align: center;
  padding: 4rem 1rem;
}

.gen-orb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #C4B9FF, var(--purple-dark));
  margin: 0 auto 2rem;
  box-shadow: 0 0 60px rgba(155, 143, 255, 0.45);
  animation: orbFloat 2.2s ease-in-out infinite;
  position: relative;
}

.gen-orb::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(155, 143, 255, 0.18);
  animation: orbRing 2.2s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(155, 143, 255, 0.45); }
  50% { transform: scale(1.07); box-shadow: 0 0 90px rgba(155, 143, 255, 0.65); }
}

@keyframes orbRing {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.18); opacity: 0.08; }
}

.gen-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.gen-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.gen-steps {
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted2);
  transition: color 0.3s;
}

.gen-step.active { color: var(--white); }
.gen-step.done { color: var(--green); }

.gen-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
  transition: background 0.3s;
}

.gen-step.active .gen-step-dot {
  background: var(--purple);
  animation: dotBlink 1s ease-in-out infinite;
}

.gen-step.done .gen-step-dot {
  background: var(--green);
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.apercu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.apercu-info {
  font-size: 0.82rem;
  color: var(--muted);
}

.apercu-info strong {
  color: var(--white);
}

.vp-toggle {
  display: flex;
  gap: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
}

.vp-btn {
  padding: 5px 12px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--muted2);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vp-btn.active {
  background: var(--bg2);
  color: var(--white);
}

.browser-frame {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.browser-bar {
  background: var(--bg3);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
  flex: 1;
  min-width: 0;
  font-size: 0.66rem;
  color: var(--muted2);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body {
  height: 520px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
}

.browser-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  flex-shrink: 0;
}

.browser-body.mobile-view {
  background: var(--bg3);
  padding: 16px;
  align-items: flex-start;
}

.browser-body.mobile-view iframe {
  width: 375px;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--border);
}

.retouche-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.retouche-block label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.6rem;
}

.retouche-row {
  display: flex;
  gap: 0.5rem;
}

.retouche-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.retouche-input:focus {
  border-color: var(--border-purple);
  box-shadow: 0 0 0 3px rgba(155, 143, 255, 0.07);
}

.retouche-input::placeholder {
  color: var(--muted2);
}

.retouche-history {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.retouche-item {
  font-size: 0.76rem;
  color: var(--muted2);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.retouche-item::before {
  content: '↻';
  color: var(--purple);
  flex-shrink: 0;
}

.valid-recap {
  background: var(--bg3);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.valid-recap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0.4;
}

.valid-recap-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.recap-lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.recap-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.recap-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recap-line span:first-child {
  color: var(--muted);
}

.recap-line strong {
  color: var(--white);
  font-weight: 600;
}

.recap-line.total strong {
  color: var(--purple);
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.valid-note {
  font-size: 0.76rem;
  color: var(--muted2);
  line-height: 1.6;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.confirm-wrap {
  text-align: center;
  padding: 3rem 1rem;
}

.confirm-icon {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.confirm-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.confirm-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto 2rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 380px;
  margin: 0 auto 2rem;
  text-align: left;
}

.tl-item {
  display: flex;
  gap: 1rem;
}

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}

.tl-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 4px auto;
}

.tl-item:last-child .tl-line {
  display: none;
}

.tl-content {
  padding: 4px 0 1.25rem;
}

.tl-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.tl-desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .offres-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-line {
    width: 28px;
  }

  .browser-body {
    height: 360px;
  }

  .browser-body.mobile-view {
    padding: 10px;
  }

  .browser-body.mobile-view iframe {
    width: 100%;
  }

  .apercu-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-main,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .retouche-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  main {
    padding: 88px 1rem 60px;
  }

  .page-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-dot {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .step-line {
    width: 20px;
  }

  .form-block {
    padding: 1.1rem;
  }

  .offre-card {
    padding: 1.25rem 1rem;
  }
}

@media (min-width: 560px) {
  .btn-row {
    flex-direction: row;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .offres-grid {
    grid-template-columns: 1fr 1fr;
  }
}
