body.index-home {
  --index-bg-1: #0a1220;
  --index-bg-2: #13233d;
  --index-bg-3: #ecd9bf;
  --index-text: #f4efe7;
  --index-muted: rgba(244, 239, 231, 0.72);
  --index-line: rgba(244, 239, 231, 0.12);
  --index-card: rgba(10, 16, 30, 0.82);
  --index-card-2: rgba(17, 29, 49, 0.88);
  --index-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  background:
    radial-gradient(circle at 15% 15%, rgba(236, 217, 191, 0.22), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(77, 126, 183, 0.28), transparent 22%),
    linear-gradient(160deg, var(--index-bg-1) 0%, #0c1730 48%, var(--index-bg-2) 100%) !important;
  color: var(--index-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body.index-home::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

body.index-home .header,
body.index-home .menu .wrap,
body.index-home .index-masthead,
body.index-home .container {
  width: min(1240px, calc(100vw - 40px)) !important;
}

body.index-home .header {
  margin-top: 28px !important;
  position: relative;
}

body.index-home .informations {
  grid-template-columns: 108px minmax(0, 1fr);
  padding: 34px !important;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(11, 17, 31, 0.84), rgba(17, 29, 49, 0.94)),
    radial-gradient(circle at top right, rgba(236, 217, 191, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent 40%);
  box-shadow: var(--index-shadow);
  overflow: hidden;
}

body.index-home .informations::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(236, 217, 191, 0.14), transparent 70%);
  pointer-events: none;
}

body.index-home .informations .avatar img {
  width: 108px !important;
  height: 108px !important;
  border-radius: 28px;
  border: 1px solid rgba(244, 239, 231, 0.1);
  background: rgba(255,255,255,0.04);
}

body.index-home .blog-title {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.06em;
  text-transform: none;
  text-wrap: balance;
  position: relative;
}

body.index-home .informations > p {
  max-width: 44ch;
  margin-top: 14px !important;
  color: var(--index-muted);
  font-size: 0.95rem !important;
  line-height: 1.6;
  padding-left: 18px;
  border-left: 1px solid rgba(244, 239, 231, 0.12);
}

body.index-home .menu {
  margin-top: 18px !important;
  top: 16px;
}

body.index-home .menu .wrap {
  padding: 10px;
  border: 1px solid rgba(244, 239, 231, 0.09);
  border-radius: 999px;
  background: rgba(7, 12, 24, 0.58);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

body.index-home .menu > .wrap > ul {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

body.index-home .menu > .wrap > ul > li > a {
  padding: 11px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--index-text) !important;
  border-color: transparent;
  box-shadow: none;
}

body.index-home .menu > .wrap > ul > li.active > a,
body.index-home .menu > .wrap > ul > li:hover > a {
  background: rgba(244, 239, 231, 0.08);
  border-color: rgba(244, 239, 231, 0.06);
}

body.index-home .menu .children {
  width: min(680px, calc(100vw - 40px)) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(8, 14, 27, 0.96) !important;
  top: calc(100% + 16px) !important;
  border-radius: 28px !important;
}

body.index-home .menu .children li a {
  color: var(--index-muted) !important;
}

body.index-home .headblock,
body.index-home .headblock::before {
  display: none !important;
  content: none !important;
}

body.index-home .index-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.index-home .index-masthead__copy,
body.index-home .index-masthead__media {
  min-height: 340px;
  border: 1px solid var(--index-line);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--index-shadow);
}

body.index-home .index-masthead__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background:
    linear-gradient(160deg, rgba(8, 14, 27, 0.52), rgba(8, 14, 27, 0.96)),
    radial-gradient(circle at top left, rgba(236, 217, 191, 0.18), transparent 30%);
}

body.index-home .index-masthead__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(236, 217, 191, 0.05) 0%, transparent 32%),
    linear-gradient(90deg, transparent 0 72%, rgba(255,255,255,0.035) 72% 73%, transparent 73%);
  pointer-events: none;
}

body.index-home .index-masthead__eyebrow {
  position: relative;
  margin: 0 0 14px;
  color: #d8c2a3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.index-home .index-masthead__copy h2 {
  position: relative;
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3rem, 7.5vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: none;
  color: var(--index-text);
  text-wrap: balance;
}

body.index-home .index-masthead__tag {
  position: relative;
  margin: 20px 0 0;
  color: #d8c2a3;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.index-home .index-masthead__media {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 29, 49, 0.82), rgba(8, 14, 27, 0.88));
}

body.index-home .index-masthead__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(8, 14, 27, 0.78) 100%),
    linear-gradient(135deg, rgba(236, 217, 191, 0.1), transparent 34%);
  pointer-events: none;
}

body.index-home .index-masthead__media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 239, 231, 0.1);
  border-radius: 28px;
  z-index: 1;
  pointer-events: none;
}

body.index-home .index-masthead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

body.index-home .container {
  padding-top: 20px !important;
}

body.index-home .wrapper-timeline {
  margin-top: 0;
}

body.index-home .wrapper-timeline::before {
  display: none;
}

body.index-home .items-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
  gap: 24px !important;
  align-items: start;
}

body.index-home .items {
  width: 100% !important;
}

body.index-home .items.left,
body.index-home .items.right {
  width: 100% !important;
}

body.index-home .items.right {
  padding-top: 52px;
}

body.index-home .items-wrapper .items .item {
  margin: 0 !important;
}

body.index-home .item {
  padding: 0;
  border-radius: 34px;
  border: 1px solid var(--index-line);
  background:
    linear-gradient(180deg, rgba(10, 16, 30, 0.97), rgba(17, 29, 49, 0.94));
  box-shadow: var(--index-shadow);
}

body.index-home .item::before {
  background: linear-gradient(135deg, rgba(236, 217, 191, 0.26), rgba(255,255,255,0.05), transparent 62%);
}

body.index-home .item .title {
  margin: 0;
  padding: 28px 30px 18px;
  border-bottom: 1px solid rgba(244, 239, 231, 0.08);
}

body.index-home .item .title::before {
  display: none;
}

body.index-home .post-title {
  font-size: clamp(1.35rem, 2vw, 2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 20ch;
}

body.index-home .infos {
  margin-top: 12px !important;
  color: var(--index-muted) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.index-home .post {
  padding: 26px 30px 32px;
  font-size: 0.98rem;
  color: var(--index-text) !important;
}

body.index-home .post p {
  margin-bottom: 1rem !important;
  line-height: 1.78 !important;
}

body.index-home .post strong {
  color: #fff5e8;
}

body.index-home .post img,
body.index-home .post iframe,
body.index-home .post video {
  border-radius: 22px;
  border: 1px solid rgba(244, 239, 231, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

body.index-home .post iframe {
  min-height: 320px;
}

body.index-home .post [style*="font-size: 36px"],
body.index-home .post [style*="font-size: 26px"],
body.index-home .post [style*="font-size: 24px"],
body.index-home .post [style*="font-size: 22px"],
body.index-home .post [style*="font-size: 20px"],
body.index-home .post [style*="font-size: 18px"] {
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

body.index-home .post a {
  color: #d8c2a3 !important;
}

body.index-home .post a:hover {
  color: #fff5e8 !important;
}

body.index-home .overlay-popup {
  background: rgba(6, 11, 22, 0.84);
}

body.index-home .popup-contenu {
  background:
    linear-gradient(180deg, rgba(17, 29, 49, 0.98), rgba(8, 14, 27, 0.98));
  border-radius: 28px;
}

@media (max-width: 980px) {
  body.index-home .header,
  body.index-home .menu .wrap,
  body.index-home .index-masthead,
  body.index-home .container {
    width: calc(100vw - 22px) !important;
  }

  body.index-home .informations {
    grid-template-columns: 1fr;
    padding: 24px !important;
  }

  body.index-home .informations > p {
    grid-column: 1;
  }

  body.index-home .blog-title {
    max-width: none;
  }

  body.index-home .menu > .wrap > ul {
    justify-content: center;
  }

  body.index-home .menu .wrap {
    border-radius: 28px;
  }

  body.index-home .menu .children {
    grid-template-columns: 1fr;
  }

  body.index-home .index-masthead {
    grid-template-columns: 1fr;
  }

  body.index-home .index-masthead__copy,
  body.index-home .index-masthead__media {
    min-height: 240px;
  }

  body.index-home .index-masthead__copy {
    padding: 24px;
  }

  body.index-home .index-masthead__copy h2 {
    max-width: none;
  }

  body.index-home .items-wrapper {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.index-home .items.right {
    padding-top: 0;
  }

  body.index-home .item .title,
  body.index-home .post {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.index-home .post iframe {
    min-height: 220px;
  }
}
