/* =====================
   VARIABLES & RESET
===================== */
:root {
  --font-main: 'Inter', sans-serif;
  --text-primary: #1C1C1C;
  --text-secondary: #5A5A5A;
  --bg-primary: #F4EFE8;
  --bg-header: #EFE9E0;
  --border-light: rgba(0, 0, 0, 0.08);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #1C1C1C;
  background-color: #F4EFE8;
  -webkit-font-smoothing: antialiased;
}

/* =====================
   HEADER CENTRÉ
===================== */
.simple-header {
  padding: 60px 5% 40px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.header-identity-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1C1C1C;
  letter-spacing: -0.01em;
}

.brand-baseline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #5A5A5A;
  font-weight: 400;
  opacity: 0.9;
}

/* =====================
   SECTION TITRE
===================== */
.success-section {
  padding: 20px 5% 20px;
  display: flex;
  justify-content: center;
}

.container-narrow {
  width: 100%;
  max-width: 600px;
}

.success-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #1C1C1C;
  text-align: center;
  width: 100%;
  margin: 0 auto 40px;
  line-height: 1.2;
}

/* =====================
   GRILLE DES PACKS
===================== */
.section-packs {
  padding: 60px 5% 100px;
  background-color: var(--bg-primary);
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.container-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* =====================
   CARTES
===================== */
.pack-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: transparent;
  transition: transform 0.3s ease;
}

.pack-card:hover {
  transform: translateY(-5px);
}

.pack-visual-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #E6DED4;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.pack-image-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pack-card:hover .pack-image-asset {
  transform: scale(1.05);
}

.pack-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 10px;
}

.pack-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #1C1C1C;
  letter-spacing: 0.01em;
}

.pack-cta {
  font-size: 15px;
  color: #1C1C1C;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 28, 28, 0.3);
  padding-bottom: 2px;
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  transition: all 0.3s ease;
}

.pack-cta:hover {
  border-bottom-color: rgba(28, 28, 28, 1);
  padding-left: 4px;
}

/* =====================
   ACTIONS
===================== */
.success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px auto 60px;
  width: 100%;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background-color: #1C1C1C;
  color: #F4EFE8;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.link-secondary {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5A5A5A;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 90, 90, 0.3);
  padding-bottom: 2px;
}

/* =====================
   FOOTER MINIMAL
===================== */
.simple-footer {
  padding: 40px 5%;
  text-align: center;
  opacity: 0.6;
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5A5A5A;
  margin: 0;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 991px) {
  .container-packs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container-packs {
    grid-template-columns: 1fr;
  }

  .success-title {
    font-size: 28px;
  }

  .section-packs {
    padding: 40px 5% 60px;
  }
}
