body.offres-page {
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
}

.terminal {
  padding: 150px 24px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offres-intro {
  width: 100%;
  max-width: 900px;
  margin: 0 0 28px;
  text-align: center;
}

.offres-intro h1 {
  color: #f5f5f7;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.offres-intro p {
  color: rgba(245, 245, 247, 0.55);
  font-size: 15px;
  margin: 0;
}

.tva-note {
  color: rgba(245, 245, 247, 0.35) !important;
  font-size: 12px !important;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 10px !important;
}

.terminal__window {
  width: 100%;
  max-width: 900px;
  background: #0d0d10;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.08);
}

.terminal__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #151518;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.terminal__titlebar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot--red { background: #ff5f56; }
.dot--yellow { background: #ffbd2e; }
.dot--green { background: #27c93f; }

.terminal__titletext {
  margin-left: 10px;
  color: rgba(245, 245, 247, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.terminal__body {
  padding: 24px 26px 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #d6d6e0;
  min-height: 320px;
}

.terminal__line {
  margin: 0 0 6px;
}

.terminal__line .cmd {
  color: #c4b5fd;
}

#terminal-status {
  color: rgba(214, 214, 224, 0.55);
}

.dots {
  animation: blinkDots 1.2s steps(4) infinite;
}

@keyframes blinkDots {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.offre-card {
  margin: 18px 0 22px;
  padding-left: 14px;
  border-left: 2px solid rgba(139, 92, 246, 0.4);
  opacity: 0;
  transform: translateY(6px);
  animation: offreIn 0.4s ease forwards;
}

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

.offre-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: #f5f5f7;
  font-weight: 700;
}

.offre-card__index {
  color: #8b5cf6;
  margin-right: 8px;
}

.offre-card__prix {
  color: #a78bfa;
  white-space: nowrap;
  text-align: right;
}

.offre-card__prix-prefix {
  display: block;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

.offre-card__desc {
  color: rgba(214, 214, 224, 0.65);
  margin: 4px 0 8px;
}

.offre-card__features {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.offre-card__features li::before {
  content: "> ";
  color: #8b5cf6;
}

.offre-card--clickable {
  cursor: pointer;
}

.offre-card__more {
  display: inline-block;
  margin-left: 10px;
  color: #a78bfa;
  font-size: 12.5px;
}

.offre-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}

.offre-modal-overlay[hidden] {
  display: none;
}

.offre-modal {
  position: relative;
  background: #0d0d10;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.12);
}

.offre-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(245, 245, 247, 0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.offre-modal__close:hover {
  color: #f5f5f7;
}

.offre-modal__content h2 {
  color: #f5f5f7;
  margin: 0 0 6px;
  font-size: 20px;
}

.offre-modal__desc {
  color: rgba(214, 214, 224, 0.8);
  line-height: 1.6;
  margin: 0 0 16px;
}

.offre-modal__desc p {
  margin: 0 0 12px;
}

.offre-modal__desc ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.offre-modal__desc li {
  margin-bottom: 4px;
}

.offre-modal__desc p:last-child,
.offre-modal__desc ul:last-child {
  margin-bottom: 0;
}

.offre-modal__desc a {
  color: #c4b5fd;
}

.offre-modal__desc h1,
.offre-modal__desc h2,
.offre-modal__desc h3 {
  color: #f5f5f7;
  margin: 16px 0 8px;
}

.offre-modal__desc h1:first-child,
.offre-modal__desc h2:first-child,
.offre-modal__desc h3:first-child {
  margin-top: 0;
}

.offre-modal__desc h1 {
  font-size: 17px;
}

.offre-modal__desc h2 {
  font-size: 15px;
}

.offre-modal__desc h3 {
  font-size: 13.5px;
}

.offre-modal__section {
  margin: 0 0 18px;
}

.offre-modal__section h3 {
  color: rgba(245, 245, 247, 0.55);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.offre-modal__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 7px;
  margin-bottom: 6px;
  cursor: pointer;
  color: #d6d6e0;
  font-size: 13.5px;
  transition: border-color 0.15s ease;
}

.offre-modal__option:hover {
  border-color: rgba(139, 92, 246, 0.45);
}

.offre-modal__option input {
  accent-color: #8b5cf6;
  flex-shrink: 0;
}

.offre-modal__option span:first-of-type {
  flex: 1;
}

.offre-modal__option-prix {
  color: #a78bfa;
  font-weight: 700;
  white-space: nowrap;
}

.offre-modal__total {
  color: #f5f5f7;
  font-size: 15px;
  margin: 4px 0 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.offre-modal__total strong {
  color: #a78bfa;
}

.offre-card__cta {
  display: inline-block;
  margin-top: 4px;
  color: #0a0a0d;
  background: #8b5cf6;
  border: none;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.offre-card__cta:hover {
  background: #a78bfa;
  transform: translateY(-1px);
}

.terminal__prompt .cursor {
  animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
  50% { opacity: 0; }
}

.terminal__empty,
.terminal__error {
  color: #f87171;
}

@media (max-width: 640px) {
  .terminal {
    padding: 130px 14px 60px;
  }
  .terminal__body {
    padding: 18px 16px 30px;
    font-size: 13px;
  }
}
