/* ========================================
   PAGE INFO - CVE TOUR & BADGE INFO
   Design raccord avec le thème TURBOPROG
   ======================================== */

/* ==========================================
   SECTION CVE TOUR
   ========================================== */

.cve-tour {
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
}

.cve-tour__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Header */
.cve-tour__head {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
}

.cve-tour__head::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 226, 166, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cve-tour__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0, 226, 166, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 226, 166, 0.2);
  margin-bottom: 1.5rem;
}

.cve-tour__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.cve-tour__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 2rem;
  color: var(--text);
  opacity: 0.92;
}

.cve-tour__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid;
}

.badge--instant {
  background: rgba(0, 226, 166, 0.12);
  color: var(--brand);
  border-color: rgba(0, 226, 166, 0.3);
}

.badge--tour {
  background: rgba(255, 200, 87, 0.12);
  color: var(--warn);
  border-color: rgba(255, 200, 87, 0.3);
}

/* Grid des cartes */
.cve-tour__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Cards */
.cve-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--speed-2);
  height: 100%;
}

.cve-card:hover {
  border-color: rgba(0, 226, 166, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 226, 166, 0.08);
}

.cve-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--line);
  position: relative;
}

.cve-card__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.cve-card__content {
  color: var(--text);
}

.cve-card__content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.cve-card__content p:last-child {
  margin-bottom: 0;
}

/* Puces personnalisées */
.tick,
.flag,
.info {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
}

.tick::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 226, 166, 0.15);
  color: var(--brand);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.flag::before {
  content: '📍';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.flag--idf::before {
  content: '⚡';
}

.info::before {
  content: 'ℹ';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 217, 255, 0.15);
  color: #00d9ff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  font-style: normal;
}

/* Liste d'étapes */
.cve-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.cve-steps li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text);
}

.cve-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), #1abc9c);
  color: #0b0f14;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 226, 166, 0.3);
}

.cve-steps li span {
  display: none;
}

/* Footer de section */
.cve-tour__foot {
  background: rgba(0, 226, 166, 0.05);
  border: 1px solid rgba(0, 226, 166, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.cve-tour__foot p {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.95;
}

/* ==========================================
   SECTION BADGE INFO
   ========================================== */

.cve-badgeinfo {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, rgba(0, 226, 166, 0.03), transparent);
}

.cve-badgeinfo__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 5%;
}

.cve-badgeinfo__head {
  text-align: center;
  margin-bottom: 3rem;
}

.cve-badgeinfo__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00d9ff;
  background: rgba(0, 217, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 217, 255, 0.2);
  margin-bottom: 1.5rem;
}

.cve-badgeinfo__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.cve-badgeinfo__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text);
  opacity: 0.92;
}

/* Panel avec badge */
.cve-badgeinfo__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  gap: 3rem;
  margin-bottom: 2rem;
}

.cve-badgeinfo__badgewrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(0, 226, 166, 0.05), rgba(26, 188, 156, 0.02));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 226, 166, 0.1);
  padding: 2rem;
}

.cve-badgeinfo__points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cve-badgeinfo__points p {
  margin: 0;
  line-height: 1.7;
}

.cve-badgeinfo__foot {
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.cve-badgeinfo__foot .note {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.92;
  font-size: 0.95rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
  .cve-tour,
  .cve-badgeinfo {
    padding: 60px 0;
  }

  .cve-tour__head {
    margin-bottom: 2.5rem;
  }

  .cve-tour__title,
  .cve-badgeinfo__title {
    font-size: 1.8rem;
  }

  .cve-tour__lead,
  .cve-badgeinfo__lead {
    font-size: 1rem;
  }

  .cve-tour__badges {
    flex-direction: column;
    align-items: center;
  }

  .cve-tour__grid {
    gap: 1.5rem;
  }

  .cve-card {
    padding: 1.5rem;
  }

  .cve-card__title {
    font-size: 1.1rem;
  }

  .cve-steps li {
    padding-left: 3rem;
  }

  .cve-steps li::before {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .cve-badgeinfo__panel {
    padding: 2rem;
    gap: 2rem;
  }

  .cve-badgeinfo__badgewrap {
    min-height: 150px;
    padding: 1.5rem;
  }

  .cve-tour__foot,
  .cve-badgeinfo__foot {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tick,
  .flag,
  .info {
    padding-left: 1.75rem;
  }

  .tick::before,
  .info::before {
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }
}

/* ==========================================
   AMÉLIORATION TYPOGRAPHIE
   ========================================== */

strong {
  color: var(--text);
  font-weight: 700;
}

em {
  color: var(--brand);
  font-style: normal;
  font-weight: 600;
}

/* Liens dans le contenu */
.cve-card__content a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all var(--speed-1);
}

.cve-card__content a:hover {
  color: #67ffd1;
  text-decoration-thickness: 2px;
}