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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #3b0008 0, #150006 40%, #000 90%);
  color: #f8f8f8;
}

.stock-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: #050005;
  border-bottom: 1px solid rgba(255, 75, 75, 0.6);
  color: #f8f8f8;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stock-highlight {
  font-weight: 700;
  color: #ff4b4b;
}

.stock-separator {
  opacity: 0.6;
}

.stock-remaining {
  font-weight: 800;
  color: #5ee3a8;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 56px;
  padding: 64px 16px 56px;
}

.attention {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.attention-header {
  max-width: 640px;
  text-align: center;
}

.warning {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: #ffffff;
}

.subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: #dddddd;
  margin-bottom: 32px;
}

.subtitle span {
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
}

.emphasis-red {
  color: #ff4b4b;
  font-weight: 700;
}

.underline {
  text-decoration: underline;
}

.hook-text {
  font-size: 16px;
  line-height: 1.6;
  color: #d6d6d6;
  max-width: 520px;
  margin: 0 auto;
}

.attention-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.attention-book {
  display: flex;
  justify-content: center;
  position: relative;
}

.book-image {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 2;
}

.attention-book::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.65), transparent 65%),
    radial-gradient(circle at 50% 80%, rgba(255, 70, 70, 0.9), transparent 70%);
  filter: blur(12px);
  opacity: 0.9;
  z-index: 1;
}

.attention-value {
  background: radial-gradient(circle at top left, #3d020b 0, #190007 55%, #080006 100%);
  border-radius: 14px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 80, 80, 0.6);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.85);
}

.value-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd4d4;
  margin-bottom: 14px;
}

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.value-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  color: #f6f1e6;
}

.value-label {
  max-width: 280px;
}

.value-price {
  white-space: nowrap;
  font-weight: 600;
  color: #ff8c8c;
}

.value-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.value-total-label {
  font-size: 14px;
  color: #f6f1e6;
}

.value-total-old {
  font-size: 15px;
  color: #ff9f9f;
  text-decoration: line-through;
  opacity: 0.85;
}

.value-total-new {
  font-size: 18px;
  font-weight: 800;
  color: #5ee3a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.book-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.book-cover {
  width: 210px;
  height: 290px;
  background: linear-gradient(145deg, #1e1e1e, #111);
  border-radius: 6px;
  padding: 18px 18px 24px;
  border: 2px solid rgba(255, 215, 128, 0.8);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-title {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f7f3df;
}

.book-subtitle {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0dac0;
}

.book-author {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f2cc6f;
}

.book-text {
  font-size: 14px;
  line-height: 1.6;
  color: #cfcfcf;
  max-width: 320px;
}

.cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta-title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 640px;
}

.cta-title span {
  color: #ff4b4b;
  font-weight: 700;
}

.cta-book-image {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 13px;
  color: #cccccc;
}

.field input {
  background: #111111;
  border-radius: 6px;
  border: 1px solid #2b2b2b;
  padding: 10px 12px;
  color: #f6f6f6;
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s;
}

.field input::placeholder {
  color: #666666;
}

.field input:focus {
  border-color: #ff4b4b;
  box-shadow: 0 0 0 1px rgba(255, 75, 75, 0.6);
  background: #161616;
}

.cta-button {
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff3030, #ff5b5b);
  color: #120305;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.65);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.12s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.75);
  filter: brightness(1.03);
}

.cta-button:active {
  transform: translateY(1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
  filter: brightness(0.97);
}

.cta-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.helper-text {
  margin-top: 4px;
  font-size: 11px;
  color: #9a9a9a;
}

.form-message {
  min-height: 18px;
  margin-top: 8px;
  font-size: 13px;
}

.form-message.success {
  color: #7fe29f;
}

.form-message.error {
  color: #ff8c8c;
}

/* Popup de remerciement */
.thanks-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.thanks-modal.is-visible {
  display: flex;
}

.thanks-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.thanks-modal-content {
  position: relative;
  max-width: 420px;
  width: 90%;
  padding: 22px 22px 20px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, #1a0006, #050005);
  border: 1px solid rgba(255, 75, 75, 0.8);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9);
  text-align: left;
}

.thanks-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #ff8c8c;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: transform 0.1s ease, color 0.12s ease;
}

.thanks-modal-close:hover {
  transform: scale(1.05);
  color: #ffffff;
}

.thanks-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.thanks-title span {
  color: #ff4b4b;
}

.thanks-text {
  font-size: 14px;
  color: #e0e0e0;
}

@media (max-width: 880px) {
  .book-card {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hook-text {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 20px 14px 32px;
  }

  .warning {
    font-size: 32px;
  }
}

