/* ════════════════════════════════════════════════════════════════════
   RestauVert · home-extras.css
   Composants additionnels home : typologies visuelles + calendrier preview
   ════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   ★ TYPOLOGIES VISUELLES — Bistrot / Gastro / Collective / Chaîne
   ═══════════════════════════════════════════════════════════════════ */
.rv-typos {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fffdf8;
  position: relative;
}
.rv-typos-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.rv-typos-head .section-tag {
  display: inline-block;
  margin-bottom: 1rem;
}
.rv-typos-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #18291E;
  margin: 0 0 0.8rem;
}
.rv-typos-head p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4B5B53;
}
.rv-typos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rv-typo-card {
  background: linear-gradient(180deg, #fffdf8 0%, #F7F2E6 100%);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1),
              box-shadow .35s,
              border-color .35s;
  box-shadow: 0 4px 18px rgba(13, 42, 26, 0.06);
  display: flex;
  flex-direction: column;
}
.rv-typo-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a24e, #fde047);
  opacity: 0.5;
  transition: opacity .35s;
}
.rv-typo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 67, 0.45);
  box-shadow: 0 18px 40px rgba(13, 42, 26, 0.10), 0 4px 10px rgba(212, 168, 67, 0.12);
}
.rv-typo-card:hover::before {
  opacity: 1;
}
.rv-typo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a4e30 0%, #0F3320 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fde047;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(13, 42, 26, 0.25);
}
.rv-typo-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  color: #18291E;
  margin: 0 0 0.6rem;
  letter-spacing: -0.015em;
}
.rv-typo-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201, 162, 78, 0.14);
  color: #6B5217;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.rv-typo-problem {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4B5B53;
  margin: 0 0 1.2rem;
}
.rv-typo-problem strong {
  color: #18291E;
  font-weight: 600;
}
.rv-typo-result {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 168, 67, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #1a4e30;
  font-weight: 600;
}
.rv-typo-result::before {
  content: "→";
  color: #c9a24e;
  font-weight: 700;
}
.rv-typo-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ★ CALENDRIER PREVIEW — Échéances 2026-2030
   ═══════════════════════════════════════════════════════════════════ */
.rv-calendar-preview {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #0F3320 0%, #0A2615 100%);
  color: #fffdf8;
  position: relative;
  overflow: hidden;
}
.rv-calendar-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(253, 224, 71, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201, 162, 78, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.rv-calendar-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.rv-calendar-head .rv-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(253, 224, 71, 0.14);
  color: #fde047;
  border-radius: 999px;
  border: 1px solid rgba(253, 224, 71, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.rv-calendar-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fffdf8;
  margin: 0 0 0.8rem;
}
.rv-calendar-head p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 253, 240, 0.78);
}

/* Frise horizontale */
.rv-cal-track {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  z-index: 1;
}
.rv-cal-line {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(253, 224, 71, 0) 0%,
    rgba(253, 224, 71, 0.35) 10%,
    rgba(253, 224, 71, 0.35) 90%,
    rgba(253, 224, 71, 0) 100%);
  transform: translateY(-50%);
}
.rv-cal-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  position: relative;
}
.rv-cal-item {
  text-align: center;
  position: relative;
  padding: 0 0.4rem;
}
.rv-cal-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde047 0%, #c9a24e 100%);
  margin: 0 auto 1rem;
  box-shadow: 0 0 0 4px rgba(15, 51, 32, 1),
              0 0 0 6px rgba(253, 224, 71, 0.25),
              0 6px 16px rgba(253, 224, 71, 0.35);
  position: relative;
  z-index: 2;
}
.rv-cal-date {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  color: #fde047;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.rv-cal-law {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fffdf8;
  margin-bottom: 0.4rem;
}
.rv-cal-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 253, 240, 0.7);
}
.rv-cal-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.rv-cal-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #fde047 0%, #d4a843 100%);
  color: #0F3320 !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(253, 224, 71, 0.30);
  transition: transform .25s, box-shadow .25s;
}
.rv-cal-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(253, 224, 71, 0.45);
}

/* Mobile : timeline en vertical */
@media (max-width: 768px) {
  .rv-cal-track {
    padding: 1rem 1.5rem 2rem;
  }
  .rv-cal-line {
    top: 0;
    bottom: 0;
    left: 30px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
      rgba(253, 224, 71, 0) 0%,
      rgba(253, 224, 71, 0.35) 10%,
      rgba(253, 224, 71, 0.35) 90%,
      rgba(253, 224, 71, 0) 100%);
  }
  .rv-cal-items {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .rv-cal-item {
    text-align: left;
    padding-left: 60px;
    position: relative;
  }
  .rv-cal-dot {
    position: absolute;
    left: 22px;
    top: 4px;
    margin: 0;
  }
  .rv-cal-date {
    font-size: 1rem;
  }
}
