/* ============================================================
   MEDIA KIT YOUTUBE · Sébastien Rech
   Page standalone alignée sur le design system impulsion.com
   ============================================================ */

/* ========== FONTS (Config en local, Inter/IBM Plex via Google) ========== */
@font-face {
  font-family: 'Config';
  src: url('../fonts/Config-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Config';
  src: url('../fonts/Config-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Config';
  src: url('../fonts/Config-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ========== RESET ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.mk-body {
  font-family: 'Inter', sans-serif;
  color: #374151;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.mk-wrapper {
  width: 100%;
}

.mk-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HERO ========== */
.mk-hero {
  padding: 96px 0 64px;
  background: #FFFFFF;
}

.mk-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.mk-hero__logo {
  flex-shrink: 0;
  /* Décale la photo pour aligner son haut avec le h1 (saute le label au-dessus) */
  margin-top: 37px;
}

.mk-hero__logo img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #E8E8E8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-hero__logo img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mk-hero__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.mk-hero__content h1 {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  color: #0A0A0A;
  line-height: 1.06;
  margin-bottom: 12px;
}

.mk-hero__tagline {
  font-size: 18px;
  color: #6B7280;
  font-weight: 500;
  margin-bottom: 20px;
}

.mk-hero__content p {
  font-size: 16px;
  color: #6B7280;
  max-width: 560px;
  line-height: 1.7;
}

.mk-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A0A0A;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 28px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mk-hero__badge:hover {
  background: #374151;
  transform: translateY(-1px);
}

.mk-hero__badge svg { width: 18px; height: 18px; }

/* ========== SECTIONS ========== */
.mk-section {
  padding: 80px 0;
}

.mk-section--alt {
  background: #F5F5F5;
}

.mk-section__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.mk-section__title {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  color: #0A0A0A;
  line-height: 1.15;
  margin-bottom: 48px;
}

/* ========== STATS GRID ========== */
.mk-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mk-stat {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mk-stat__value {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: #0A0A0A;
  line-height: 1.1;
}

.mk-stat__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9CA3AF;
  margin-top: 10px;
  letter-spacing: 0.3px;
}

/* ========== AUDIENCE ========== */
.mk-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mk-card {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mk-card h3 {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0A0A0A;
  margin-bottom: 24px;
}

.mk-bar { margin-bottom: 16px; }
.mk-bar:last-child { margin-bottom: 0; }

.mk-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.mk-bar__label span:last-child {
  color: #9CA3AF;
  font-weight: 600;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
}

.mk-bar__track {
  height: 6px;
  background: #F3F4F6;
  border-radius: 100px;
  overflow: hidden;
}

.mk-bar__fill {
  height: 100%;
  background: #0A0A0A;
  border-radius: 100px;
  transition: width 0.3s ease;
}

/* ========== TOPICS ========== */
.mk-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mk-topic {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-topic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mk-topic__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mk-topic__icon svg {
  width: 22px;
  height: 22px;
  color: #0A0A0A;
}

.mk-topic h3 {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0A0A0A;
  margin-bottom: 8px;
}

.mk-topic p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* ========== FORMATS COLLAB ========== */
.mk-collab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mk-collab__item {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-collab__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mk-collab__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mk-collab__icon svg {
  width: 26px;
  height: 26px;
  color: #0A0A0A;
}

.mk-collab__item h3 {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0A0A0A;
  margin-bottom: 10px;
}

.mk-collab__item p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* ========== PRICING ========== */
.mk-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.mk-price {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mk-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mk-price--featured {
  border-color: #0A0A0A;
  border-width: 1.5px;
}

.mk-price__label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.mk-price__name {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #0A0A0A;
  margin-bottom: 16px;
}

.mk-price__amount {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: #0A0A0A;
  line-height: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.mk-price__amount small {
  display: block;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9CA3AF;
  margin-bottom: 8px;
}

.mk-price__amount span {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9CA3AF;
}

.mk-price__amount small s {
  color: #9CA3AF;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  margin-right: 4px;
}

.mk-price__savings {
  display: inline-block;
  margin-top: 12px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #059669;
  background: #ECFDF5;
  padding: 6px 12px;
  border-radius: 100px;
}

.mk-price__features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  flex-grow: 1;
}

.mk-price__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.mk-price__features li:last-child { border-bottom: none; }

.mk-price__features li::before {
  content: "\2713";
  color: #059669;
  font-weight: 700;
  flex-shrink: 0;
}

.mk-price__note {
  margin-top: 16px;
  font-size: 13px;
  color: #9CA3AF;
  font-style: italic;
}

/* ========== CTA ========== */
.mk-cta-section {
  padding: 80px 0 100px;
  background: #FFFFFF;
}

.mk-cta {
  background: #0A0A0A;
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mk-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.mk-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  font-family: 'IBM Plex Sans', sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.mk-cta__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.mk-cta h2 {
  font-family: 'Config', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 44px);
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

.mk-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.mk-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.mk-cta__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* ========== FOOTER MINIMAL ========== */
.mk-footer {
  padding: 32px 0 40px;
  text-align: center;
  border-top: 1px solid #F3F4F6;
}

.mk-footer p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: #9CA3AF;
}

.mk-footer a {
  color: #6B7280;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mk-footer a:hover { color: #0A0A0A; }

/* ========== ANIMATIONS ========== */
@keyframes scaleIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes barGrow { from { width: 0; } }

.mk-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mk-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mk-animate.is-visible > * { animation: scaleIn 0.5s ease both; }
.mk-animate.is-visible > :nth-child(1) { animation-delay: 0s; }
.mk-animate.is-visible > :nth-child(2) { animation-delay: 0.08s; }
.mk-animate.is-visible > :nth-child(3) { animation-delay: 0.16s; }
.mk-animate.is-visible > :nth-child(4) { animation-delay: 0.24s; }

.mk-animate.is-visible .mk-bar__fill { animation: barGrow 0.9s ease both; }
.mk-animate.is-visible .mk-card:nth-child(1) .mk-bar__fill { animation-delay: 0.2s; }
.mk-animate.is-visible .mk-card:nth-child(2) .mk-bar__fill { animation-delay: 0.32s; }
.mk-animate.is-visible .mk-card:nth-child(3) .mk-bar__fill { animation-delay: 0.44s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .mk-stats { grid-template-columns: repeat(2, 1fr); }
  .mk-audience,
  .mk-topics,
  .mk-collab,
  .mk-pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mk-hero { padding: 64px 0 48px; }
  .mk-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .mk-hero__content p { margin: 0 auto; }
  .mk-hero__logo { margin-top: 0; }
  .mk-hero__logo img { width: 120px; height: 120px; }
  .mk-section { padding: 56px 0; }
  .mk-section__title { margin-bottom: 32px; }
  .mk-cta { padding: 56px 28px; }
  .mk-cta-section { padding: 56px 0; }
  .mk-price { padding: 32px 28px; }
}

@media (max-width: 480px) {
  .mk-stats { grid-template-columns: 1fr; }
  .mk-stat__value { font-size: 36px; }
}
