/* ============================================================
   ROUGEPRINT — Home (front-page)
   Prefisso: rph- (rougeprint-home)
   Dipende da: global.css (variabili, font, header)
   ============================================================ */

/* ── VARIABILI (speculari a global.css) ── */
:root {
  --rph-rouge:     #C8102E;
  --rph-noir:      #080808;
  --rph-noir-2:    #111111;
  --rph-noir-3:    #181818;
  --rph-cream:     #F2E8E2;
  --rph-cream-dim: rgba(242,232,226,0.5);
  --rph-gray:      #5A5655;
  --rph-gray-l:    #3A3736;
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.rph-hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.rph-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 3rem 4rem;
  position: relative;
  z-index: 2;
}

/* Member badge */
.rph-member-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--rph-rouge);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rph-rouge);
  margin-bottom: 2rem;
  width: fit-content;
}

.rph-badge-dot {
  width: 5px;
  height: 5px;
  background: var(--rph-rouge);
  border-radius: 50%;
  animation: rph-pulse 2s ease infinite;
}

@keyframes rph-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.rph-hero-tag {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rph-rouge);
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
}

.rph-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--rph-cream);
  margin-bottom: 1.8rem;
}

.rph-hero-title em {
  font-style: italic;
  color: var(--rph-rouge);
}

.rph-hero-sub {
  font-size: 0.8rem;
  color: var(--rph-gray);
  max-width: 340px;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  font-family: 'DM Sans', sans-serif;
}

.rph-hero-cta {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
}

/* Pulsanti */
.rph-btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--rph-rouge);
  color: var(--rph-cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: background 0.2s;
}

.rph-btn-primary:hover { background: #a50d25; color: var(--rph-cream); }

.rph-btn-ghost {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--rph-cream-dim);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rph-gray-l);
  transition: color 0.2s, border-color 0.2s;
}

.rph-btn-ghost:hover { color: var(--rph-cream); border-color: var(--rph-gray); }

/* Hero right — slideshow */
.rph-hero-right {
  position: relative;
  overflow: hidden;
  background: #0e0808;
}

/* Slideshow */
.rph-hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rph-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.4s ease-in-out, transform 8s ease;
  transform: scale(1.04);
}

.rph-slide--active {
  opacity: 1;
  transform: scale(1);
}

/* Dot indicators */
.rph-slide-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}

.rph-slide-dot {
  width: 2px;
  height: 18px;
  background: rgba(242,232,226,0.25);
  transition: background 0.3s, height 0.3s;
  cursor: pointer;
}

.rph-slide-dot--active {
  background: var(--rph-rouge);
  height: 28px;
}

.rph-hero-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a0808 0%, #200a10 40%, #0a0808 100%);
}

.rph-hero-overlay {
  position: absolute;
  inset: 0;
  /* Sfuma da #111111 solido a #111111 completamente trasparente */
  background: linear-gradient(90deg, #111111 0%, #11111100 50%);
  z-index: 1;
  pointer-events: none; /* Evita che l'overlay blocchi eventuali interazioni con le slide */
}

/* ══════════════════════════════════════════
   DROP COUNTDOWN BANNER
══════════════════════════════════════════ */
.rph-drop-banner {
  background: var(--rph-noir-2);
  border-top: 1px solid var(--rph-gray-l);
  border-bottom: 1px solid var(--rph-gray-l);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.rph-drop-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rph-rouge);
}

.rph-countdown {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.rph-count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.rph-count-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 200;
  color: var(--rph-cream);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
}

.rph-count-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rph-gray);
}

.rph-count-sep {
  font-size: 1.5rem;
  color: var(--rph-rouge);
  font-weight: 200;
  margin-top: -8px;
  line-height: 1;
}

.rph-drop-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rph-cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: gap 0.3s;
  white-space: nowrap;
}

.rph-drop-cta:hover { gap: 1.2rem; color: var(--rph-cream); }
.rph-drop-cta::after { content: '→'; color: var(--rph-rouge); }

/* ══════════════════════════════════════════
   SECTION GENERICO
══════════════════════════════════════════ */
.rph-section {
  padding: 5rem 3rem;
}

.rph-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.rph-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rph-gray);
}

.rph-section-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rph-rouge);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.rph-section-link:hover { gap: 0.8rem; color: var(--rph-rouge); }
.rph-section-link::after { content: '→'; }

/* ══════════════════════════════════════════
   PHOTO CARD (base)
══════════════════════════════════════════ */
.rph-photo-card {
  position: relative;
  overflow: hidden;
  background: var(--rph-noir-3);
}

.rph-photo-card::before {
  content: '';
  display: block;
  padding-top: 130%;
}

.rph-card-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}

.rph-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.rph-photo-card:hover .rph-card-img { transform: scale(1.04); }

.rph-card-img--placeholder {
  background: linear-gradient(160deg, #1c0a0a, #2a0d12, #140808);
}

.rph-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.88) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 2;
}

.rph-photo-card:hover .rph-card-overlay { opacity: 1; }

.rph-card-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--rph-cream);
  margin-bottom: 0.3rem;
}

.rph-card-format {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rph-gray);
}

.rph-photo-card--placeholder::before { content: ''; display: block; padding-top: 130%; }

/* ══════════════════════════════════════════
   GRIGLIA SELEZIONE — 5 COLONNE (A5 Ratio)
══════════════════════════════════════════ */
.rph-photo-grid {
  display: grid;
  gap: 2px;
}

.rph-photo-grid.rph-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Proporzione matematica esatta A5 (148x210mm) */
.rph-photo-grid.rph-grid-5 .rph-photo-card::before {
  content: '';
  display: block;
  padding-top: 141.8%; 
}

/* ══════════════════════════════════════════
   MEMBERS CTA
══════════════════════════════════════════ */
.rph-members-cta {
  background: var(--rph-noir-2);
  border-top: 1px solid var(--rph-gray-l);
  border-bottom: 1px solid var(--rph-gray-l);
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.rph-members-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rph-rouge);
  margin-bottom: 1.5rem;
}

.rph-members-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 200;
  line-height: 1.2;
  color: var(--rph-cream);
  margin-bottom: 1rem;
}

.rph-members-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--rph-gray);
  line-height: 1.9;
}

.rph-email-form {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rph-email-input {
  padding: 1rem 1.5rem;
  background: var(--rph-noir-3);
  border: 1px solid var(--rph-gray-l);
  color: var(--rph-cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.rph-email-input::placeholder { color: var(--rph-gray); }
.rph-email-input:focus { border-color: var(--rph-rouge); }

.rph-email-submit {
  padding: 1rem 1.5rem;
  background: var(--rph-rouge);
  color: var(--rph-cream);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.rph-email-submit:hover { background: #a50d25; }

.rph-form-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  color: var(--rph-gray);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════
   SOCIAL PROOF
══════════════════════════════════════════ */
.rph-social-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rph-gray-l);
}

.rph-proof-card {
  background: var(--rph-noir);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rph-proof-stars {
  display: flex;
  gap: 3px;
}

.rph-star {
  width: 8px;
  height: 8px;
  background: var(--rph-rouge);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

.rph-proof-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--rph-cream-dim);
  line-height: 1.75;
  font-style: italic;
  font-weight: 200;
}

.rph-proof-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rph-gray);
}

/* ══════════════════════════════════════════
   GOAT SECTION
══════════════════════════════════════════ */
.rph-goat-section {
  padding: 5rem 3rem;
}

.rph-goat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.rph-goat-card::before { padding-top: 150%; }

/* ══════════════════════════════════════════
   NEWSLETTER STRIP
══════════════════════════════════════════ */
.rph-nl-strip {
  background: var(--rph-rouge);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.rph-nl-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(242,232,226,0.75);
  margin-bottom: 0.4rem;
}

.rph-nl-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 200;
  color: var(--rph-cream);
  letter-spacing: 0.04em;
}

.rph-nl-form {
  display: flex;
  gap: 1px;
  flex-shrink: 0;
}

.rph-nl-input {
  padding: 0.9rem 1.5rem;
  background: rgba(8,8,8,0.3);
  border: 1px solid rgba(242,232,226,0.3);
  color: var(--rph-cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  outline: none;
  width: 260px;
}

.rph-nl-input::placeholder { color: rgba(242,232,226,0.5); }

.rph-nl-btn {
  padding: 0.9rem 2rem;
  background: var(--rph-noir);
  color: var(--rph-cream);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.rph-nl-btn:hover { background: #1a1a1a; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rph-goat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .rph-hero { grid-template-columns: 1fr; min-height: auto; }
  .rph-hero-left { padding: 3rem 1.5rem 3rem; justify-content: flex-start; }
  .rph-hero-right { height: 55vw; }

  .rph-drop-banner { flex-direction: column; gap: 1.5rem; padding: 1.5rem; text-align: center; }
  .rph-countdown { justify-content: center; }

  .rph-section { padding: 3rem 1.5rem; }

  .rph-photo-grid.rph-asymmetric {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .rph-photo-grid.rph-asymmetric .rph-photo-card:first-child { grid-row: auto; grid-column: 1 / 3; }
  .rph-photo-grid.rph-asymmetric .rph-photo-card { height: 200px; }

  .rph-members-cta { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .rph-social-proof { grid-template-columns: 1fr; }
  .rph-goat-grid { grid-template-columns: repeat(2, 1fr); }
  .rph-nl-strip { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .rph-nl-input { width: 100%; }
}