/*
Theme Name: Retail Spot Showcase
Theme URI: https://retail-spot.io
Author: Retail Spot
Description: Thème WordPress — Showcase créas display & vidéo Retail Spot (Cartier, Hermès, Carolina Herrera, IKEA, Lidl)
Version: 2.0.0
Text Domain: retail-spot
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --rs-blue: #1554f0;
  --rs-navy: #0b1e3f;
  --rs-bg: #f7f8fb;
  --rs-white: #ffffff;

  --rs-navy-10: rgba(11, 30, 63, 0.10);
  --rs-navy-15: rgba(11, 30, 63, 0.15);
  --rs-navy-50: rgba(11, 30, 63, 0.50);
  --rs-navy-60: rgba(11, 30, 63, 0.60);
  --rs-navy-70: rgba(11, 30, 63, 0.70);
  --rs-navy-80: rgba(11, 30, 63, 0.80);

  --rs-radius-xl: 1rem;
  --rs-radius-2xl: 1rem;
  --rs-radius-3xl: 1.5rem;
  --rs-radius-full: 9999px;

  --rs-max-w: 80rem; /* 7xl */
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.retail-spot {
  margin: 0;
  min-height: 100vh;
  background: var(--rs-bg);
  color: var(--rs-navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

.rs-container {
  max-width: var(--rs-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.rs-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--rs-navy-10);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.rs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.rs-logo img { height: 3.5rem; width: auto; }
.rs-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
.rs-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rs-navy-80);
  transition: color 0.2s ease;
}
.rs-nav a:hover { color: var(--rs-blue); }
.rs-btn-contact {
  border-radius: var(--rs-radius-full);
  background: var(--rs-blue);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease;
  white-space: nowrap;
}
.rs-btn-contact:hover { background: var(--rs-navy); }

/* ============================================================
   HERO
   ============================================================ */
.rs-hero { position: relative; overflow: hidden; }
.rs-hero-blobs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.rs-blob-1, .rs-blob-2, .rs-blob-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}
.rs-blob-1 {
  left: -8rem; top: -6rem; width: 520px; height: 520px; opacity: 0.6;
  background: radial-gradient(circle, rgba(21,84,240,0.55), transparent 60%);
  animation: rs-blob 18s ease-in-out infinite;
}
.rs-blob-2 {
  right: -6rem; top: 2.5rem; width: 420px; height: 420px; opacity: 0.5;
  background: radial-gradient(circle, rgba(11,30,63,0.45), transparent 65%);
  animation: rs-blob 26s ease-in-out infinite reverse;
}
.rs-blob-3 {
  left: 33%; top: 15rem; width: 360px; height: 360px; opacity: 0.4;
  background: radial-gradient(circle, rgba(79,141,255,0.45), transparent 65%);
  animation: rs-blob 18s ease-in-out infinite;
}
.rs-hero-inner { padding: 4rem 0 2.5rem; }

.rs-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--rs-radius-full);
  border: 1px solid rgba(21, 84, 240, 0.3);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--rs-blue);
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}

.rs-hero-title {
  margin: 1.25rem 0 0;
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.rs-gradient-text {
  background: linear-gradient(90deg, #1554f0 0%, #4f8dff 40%, #0b1e3f 70%, #1554f0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rs-gradient-shift 6s ease-in-out infinite;
}

.rs-hero-desc {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  color: var(--rs-navy-70);
}

.rs-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.rs-btn-primary {
  position: relative;
  overflow: hidden;
  border-radius: var(--rs-radius-full);
  background: var(--rs-navy);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(11, 30, 63, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.rs-btn-primary:hover {
  transform: translateY(-2px);
  background: var(--rs-blue);
  box-shadow: 0 12px 24px -8px rgba(21, 84, 240, 0.3);
}
.rs-btn-secondary {
  border-radius: var(--rs-radius-full);
  border: 1px solid var(--rs-navy-15);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rs-navy);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.rs-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--rs-blue);
  color: var(--rs-blue);
}

.rs-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--rs-navy-10);
  padding-top: 2rem;
}
.rs-stat-value {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--rs-blue);
  transition: transform 0.3s ease;
}
.rs-stat:hover .rs-stat-value { transform: scale(1.1); }
.rs-stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--rs-navy-60);
}

/* Brand marquee */
.rs-marquee-wrap {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rs-navy-10);
  border-bottom: 1px solid var(--rs-navy-10);
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem 0;
  backdrop-filter: blur(6px);
}
.rs-marquee-track {
  display: flex;
  width: max-content;
  gap: 4rem;
  white-space: nowrap;
  animation: rs-marquee 30s linear infinite;
}
.rs-marquee-item {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--rs-navy-50);
}

/* ============================================================
   FILTERS
   ============================================================ */
.rs-filters { padding-top: 1.5rem; }
.rs-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.rs-filter-btn {
  border-radius: var(--rs-radius-full);
  border: 1px solid var(--rs-navy-15);
  background: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rs-navy-80);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.rs-filter-btn:hover { border-color: var(--rs-blue); color: var(--rs-blue); }
.rs-filter-btn.is-active {
  border-color: var(--rs-blue);
  background: var(--rs-blue);
  color: #fff;
}
.rs-filters-count {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--rs-navy-50);
}

/* ============================================================
   GRID / CARDS
   ============================================================ */
.rs-grid-section { padding: 2.5rem 0; }
.rs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.rs-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--rs-radius-2xl);
  border: 1px solid var(--rs-navy-10);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 6px 20px -12px rgba(11, 30, 63, 0.25);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  animation: rs-fade-up 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.rs-card:hover { box-shadow: 0 30px 60px -20px rgba(21, 84, 240, 0.35); }
.rs-card.is-hidden { display: none; }

.rs-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(21,84,240,0), rgba(21,84,240,0.55), rgba(21,84,240,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.rs-card:hover::before { opacity: 1; }
.rs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(21,84,240,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.rs-card:hover::after { opacity: 1; }

.rs-card-inner { transform: translateZ(40px); transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }

.rs-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.rs-card-brand {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rs-blue);
}
.rs-card-label {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rs-navy);
}
.rs-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: var(--rs-radius-full);
  background: rgba(11, 30, 63, 0.05);
  padding: 0.25rem 0.6rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rs-navy-70);
  white-space: nowrap;
}
.rs-card-tag svg { width: 0.75rem; height: 0.75rem; }

.rs-card-preview {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--rs-radius-xl);
  background: radial-gradient(circle at top, #eef2fb, #e6ecf6);
  width: 340px;
  height: 520px;
  max-width: 100%;
}
.rs-card-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(11,30,63,0.15), transparent 60%);
}
.rs-card-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  box-shadow: 0 25px 50px -20px rgba(11,30,63,0.55), 0 10px 20px -12px rgba(21,84,240,0.35);
  outline: 1px solid var(--rs-navy-10);
  transition: transform 0.5s ease;
}
.rs-card:hover .rs-card-frame { transform: scale(1.03); }
.rs-card-frame iframe { display: block; border: 0; transform-origin: top left; }

/* Glossy shine sweep */
.rs-card-preview.rs-shine::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
  z-index: 3;
}
.rs-card:hover .rs-card-preview.rs-shine::after { animation: rs-shimmer 1.1s ease-out; }

.rs-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.rs-card-dim {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.75rem;
  color: var(--rs-navy-60);
}
.rs-card-open {
  display: inline-flex;
  align-items: center;
  border-radius: var(--rs-radius-full);
  background: var(--rs-navy);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(11, 30, 63, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.rs-card-open:hover { background: var(--rs-blue); box-shadow: 0 8px 16px -4px rgba(21, 84, 240, 0.4); }

/* ============================================================
   CTA
   ============================================================ */
.rs-cta-section { padding-bottom: 5rem; }
.rs-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--rs-radius-3xl);
  background: var(--rs-navy);
  padding: 3.5rem 2rem;
  color: #fff;
}
.rs-cta-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(21,84,240,0.6) 0%, transparent 60%),
    radial-gradient(30% 50% at 10% 80%, rgba(21,84,240,0.35) 0%, transparent 60%);
}
.rs-cta-content { position: relative; }
.rs-cta-title {
  max-width: 42rem;
  margin: 0;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.rs-cta-desc {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
}
.rs-cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.rs-cta-btn-primary {
  border-radius: var(--rs-radius-full);
  background: var(--rs-blue);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}
.rs-cta-btn-primary:hover { background: #fff; color: var(--rs-navy); }
.rs-cta-btn-secondary {
  border-radius: var(--rs-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: background 0.2s ease;
}
.rs-cta-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.rs-footer { border-top: 1px solid var(--rs-navy-10); background: #fff; }
.rs-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}
.rs-footer-logo { height: 2rem; width: auto; }
.rs-footer-copy { font-size: 0.75rem; color: var(--rs-navy-60); margin: 0; text-align: center; }
.rs-footer-email { font-size: 0.75rem; font-weight: 500; color: var(--rs-blue); }
.rs-footer-email:hover { text-decoration: underline; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes rs-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 30px) scale(0.94); }
}
@keyframes rs-shimmer {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
@keyframes rs-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes rs-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rs-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .rs-blob-1, .rs-blob-2, .rs-blob-3,
  .rs-gradient-text, .rs-marquee-track, .rs-card {
    animation: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .rs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .rs-nav { display: flex; }
  .rs-logo img { height: 4rem; }
  .rs-hero-inner { padding: 6rem 0 3.5rem; }
  .rs-hero-title { font-size: 3.75rem; }
  .rs-hero-desc { font-size: 1.125rem; }
  .rs-stats { grid-template-columns: repeat(4, 1fr); }
  .rs-stat-value { font-size: 2.25rem; }
  .rs-cta-box { padding: 5rem 3.5rem; }
  .rs-cta-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .rs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .rs-footer-inner { flex-direction: row; }
}
