/*
  Royal Pop Landing — Stylesheet
  ===============================
  Fichier à uploader dans /themes/intertimes/assets/css/royal-pop.css
  Chargé par la page CMS via une balise <link>

  Breakpoints :
   - > 960px  : layout desktop
   - 560-960px : tablette
   - < 560px  : mobile
*/

/* ========== RESET LOCAL (scoped to .rp-page) ========== */
.rp-page {
  font-family: inherit;
  color: #0a0a0a;
  line-height: 1.55;
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  overflow-x: hidden;
  background: #ffffff;
}
.rp-page * { box-sizing: border-box; }
.rp-page h1, .rp-page h2, .rp-page h3, .rp-page h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
}
.rp-page p { margin: 0; }
.rp-page ul { margin: 0; padding: 0; list-style: none; }
.rp-page img { max-width: 100%; height: auto; display: block; }
.rp-page a { color: inherit; text-decoration: none; }

/* ========== CONTAINER ========== */
.rp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
.rp-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b68;
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-block;
}
.rp-h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #0a0a0a;
  margin-bottom: 24px;
}
.rp-h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-bottom: 18px;
}
.rp-h2-white { color: #ffffff; }
.rp-h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.rp-h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.rp-lede {
  font-size: 17px;
  line-height: 1.6;
  color: #1c1c1b;
  max-width: 520px;
  margin-bottom: 32px;
}
.rp-sub {
  font-size: 16px;
  color: #6b6b68;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ========== BUTTON ========== */
.rp-btn {
  display: inline-block;
  padding: 16px 28px;
  background: #0a0a0a;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #0a0a0a;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
}
.rp-btn:hover {
  background: #ffffff;
  color: #0a0a0a !important;
}
.rp-btn-light {
  background: #ffffff;
  color: #0a0a0a !important;
  border-color: #ffffff;
}
.rp-btn-light:hover {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}
.rp-btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* ========== HERO ========== */
.rp-hero {
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.rp-hero h1 em {
  font-style: italic;
  color: #6b6b68;
}
.rp-points {
  border-top: 1px solid #e7e5e4;
  margin: 0 0 36px 0;
}
.rp-points li {
  padding: 14px 0;
  border-bottom: 1px solid #e7e5e4;
  font-size: 14.5px;
  color: #1c1c1b;
}

/* ========== SECTION GENERIQUE ========== */
.rp-section {
  padding: 80px 0;
}
.rp-section-alt {
  background: #fafaf9;
  border-top: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
}

/* ========== NARRATIVE (3 colonnes) ========== */
.rp-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #e7e5e4;
  border: 1px solid #e7e5e4;
  margin-top: 16px;
}
.rp-step {
  background: #fafaf9;
  padding: 36px 32px;
}
.rp-step-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 42px;
  color: #f59e0b;
  line-height: 1;
  margin-bottom: 18px;
}
.rp-step p {
  font-size: 14.5px;
  color: #6b6b68;
  line-height: 1.6;
}

/* ========== DETAIL PRODUIT (2 colonnes) ========== */
.rp-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.rp-detail-img {
  border: 1px solid #e7e5e4;
}
.rp-spec {
  border-top: 1px solid #0a0a0a;
  padding-top: 24px;
  margin-bottom: 28px;
}
.rp-spec dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 18px;
  font-size: 14.5px;
  margin: 0;
}
.rp-spec dt { color: #6b6b68; margin: 0; }
.rp-spec dd { color: #1c1c1b; margin: 0; }
.rp-note {
  font-size: 14px;
  color: #6b6b68;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 32px 0;
}

/* ========== COLORWAYS (4 colonnes) ========== */
.rp-colorways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.rp-swatch {
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.rp-swatch:hover {
  transform: translateY(-2px);
  border-color: #0a0a0a;
}
.rp-disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}
.rp-c1 { background: #c8242c; }
.rp-c2 { background: #2d6a4f; }
.rp-c3 { background: #f9a8d4; }
.rp-c4 { background: #f5f5f0; border-color: #d6d3d1; }
.rp-c5 { background: #1e3a8a; }
.rp-c6 { background: #7c3aed; }
.rp-c7 { background: #fbbf24; }
.rp-c8 { background: #0a0a0a; }
.rp-swatch-name {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 4px;
}
.rp-swatch-ref {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b68;
}

/* ========== WAITLIST CTA (2 colonnes) ========== */
.rp-cta {
  background: #0a0a0a;
  color: #ffffff;
  padding: 80px 0;
}
.rp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.rp-cta h2 em {
  font-style: italic;
  color: #a8a29e;
}
.rp-cta-p {
  color: #a8a29e !important;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 480px;
}
.rp-cta-mail {
  color: #737373;
  font-size: 14px;
  line-height: 1.6;
}
.rp-cta-mail strong { color: #ffffff; }

/* ========== FORM ========== */
.rp-form {
  background: #ffffff;
  color: #0a0a0a;
  padding: 36px 32px;
}
.rp-form h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  margin: 0 0 6px 0;
  font-weight: 400;
}
.rp-form-sub {
  font-size: 14px;
  color: #6b6b68;
  margin: 0 0 24px 0;
}
.rp-field {
  margin-bottom: 16px;
}
.rp-field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1c1c1b;
}
.rp-field input,
.rp-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6d3d1;
  background: #ffffff;
  font-size: 15px;
  color: #0a0a0a;
  font-family: inherit;
  box-sizing: border-box;
}
.rp-field textarea {
  resize: vertical;
  min-height: 130px;
}
.rp-field input:focus,
.rp-field textarea:focus {
  outline: none;
  border-color: #0a0a0a;
}
.rp-form-fine {
  font-size: 12px;
  color: #737373;
  line-height: 1.5;
  margin: 14px 0 0 0;
}

/* ========== FAQ ========== */
.rp-faq {
  max-width: 880px;
}
.rp-faq-item {
  padding: 0;
  border-top: 1px solid #d6d3d1;
}
.rp-faq-item:last-child {
  border-bottom: 1px solid #d6d3d1;
}
.rp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 40px 28px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  position: relative;
  transition: color 0.2s;
}
.rp-faq-item summary::-webkit-details-marker {
  display: none;
}
.rp-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  font-family: Arial, sans-serif;
  color: #6b6b68;
  transition: transform 0.25s;
}
.rp-faq-item[open] summary::after {
  content: "−";
  color: #0a0a0a;
}
.rp-faq-item summary:hover {
  color: #525252;
}
.rp-faq-answer {
  padding: 0 0 28px 0;
  color: #525252;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 720px;
}

/* ========== LEGAL ========== */
.rp-legal {
  background: #0a0a0a;
  color: #a8a29e;
  padding: 40px 24px;
  font-size: 12.5px;
  line-height: 1.7;
}
.rp-legal-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.rp-legal strong {
  color: #ffffff;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE — TABLET (560-960px)
   ============================================================ */
@media (max-width: 960px) {
  .rp-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px 56px;
  }
  .rp-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rp-narrative-grid {
    grid-template-columns: 1fr;
  }
  .rp-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rp-colorways {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .rp-section {
    padding: 64px 0;
  }
  .rp-spec dl {
    grid-template-columns: 130px 1fr;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 560px)
   ============================================================ */
@media (max-width: 560px) {
  .rp-container { padding: 0 18px; }
  .rp-hero {
    padding: 24px 18px 48px;
    gap: 28px;
  }
  .rp-lede {
    font-size: 16px;
  }
  .rp-step {
    padding: 28px 22px;
  }
  .rp-step-num {
    font-size: 36px;
  }
  .rp-colorways {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .rp-swatch {
    padding: 18px 10px;
  }
  .rp-disc {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }
  .rp-swatch-name {
    font-size: 16px;
  }
  .rp-form {
    padding: 28px 22px;
  }
  .rp-cta {
    padding: 56px 0;
  }
  .rp-section {
    padding: 56px 0;
  }
  .rp-spec dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .rp-spec dt {
    margin-top: 8px;
  }
  .rp-btn {
    padding: 14px 22px;
    font-size: 13px;
  }
  .rp-faq-item summary {
    padding: 22px 32px 22px 0;
  }
}
