.logo-container {
  text-align: center;
}

.topnav {
  margin: 0 auto;
}

.cataloglayout__facet {
  display: flex;
  flex-direction: column;
}

.accordion {
  order: 2;
}

.home__pulse {
  order: 1;
}

.btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 9px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
  color: var(--mainColor);
  text-decoration: none;
}

.btn-v2-large {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  border-radius: 999px;
}

.btn-v2-primary {
  background: var(--secondaryColor);
  color: #25142c;
  /* box-shadow: 0 10px 28px rgba(252,175,26,.30); */
}

.btn-v2-primary:hover {
  background: var(--secondaryDark);
  transform: translateY(-1px);
}

.btn-v2-secondary {
  background: #f4edf8;
  color: var(--mainColor);
  border-color: #e7dff0;
}

.btn-v2-secondary:hover {
  background: #eadcf3;
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffe1a4;
  /* font-size: 13px; */
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondaryColor);
  box-shadow: 0 0 0 6px rgba(252, 175, 26, 0.18);
}

h1 {
  margin: 22px auto 18px auto;
  max-width: 850px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: white;
}

.hero-subtitle {
  max-width: 850px;
  font-size: clamp(14px, 1.9vw, 20px);
  /* font-size: 20px; */
  line-height: 1.65;
  color: #f2e8fb;
  margin: 0 auto 30px auto;
  text-align: center;
  width: 80%;
}

.hero-main {
  padding: 80px 0 120px;
}

.hero-main__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

@media (min-width: 1000px) {
  .home__pulse {
    order: 2;
  }
  .accordion {
    order: 1;
  }
}

@media (min-width: 767px) {
  .logo-container {
    text-align: left;
  }
}

.logo-link {
  display: inline-block;
}

.logo {
  width: 187px;
  height: 80px;
  background: url("../../../img/semiiphub-cNzTHO0.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.home__search_box {
  background: linear-gradient(135deg, var(--mainColor), var(--mainDark));
}

.topnav a {
  color: inherit;
}
.home__search__title {
  margin: 0 auto;
  padding-top: 20px;
  max-width: fit-content;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

@media (min-width: 767px) {
  .home__search__title {
    font-size: 2.3rem;
  }
}

.topnav {
  max-width: 500px;
}

.topnav-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
}

@media (min-width: 767px) {
  .topnav-container {
    flex-direction: row;
  }
}

.search-panel {
  max-width: 850px;
  width: 80%;
}

.home_search__form {
  position: relative;
  margin: 20px auto;
  width: 100%;
}

/* .home_search__input__field {
  height: 40px;
  padding: 0 16px;
  font-size: 18px;
  border-radius: 4px;
  width: 850px;
  max-width: 100%;
  border: 0;
  outline: 0;

} */

.home_search__input__field {
  height: clamp(40px, 4.5vw, 60px);
  padding: 0 24px;
  font-size: clamp(18px, 3vw, 28px);
  border-radius: 4px;
  max-width: 850px;

  width: 100%;
  border: 0;
  outline: 0;
}

.catalog-search-box {
  position: relative;
}

.catalog-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.catalog-suggest__item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.catalog-suggest__item:hover,
.catalog-suggest__item.is-active {
  background: #f7f8fb;
}

.catalog-suggest__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog-suggest__label {
  font-size: 14px;
  line-height: 1.3;
}

.catalog-suggest__label mark {
  background: transparent;
  font-weight: 700;
}

.catalog-suggest__provider {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}

.catalog-suggest__type {
  white-space: nowrap;
  font-size: 12px;
  opacity: 0.75;
}

.home_search__submit {
  position: absolute;
  right: 0px;
  top: 8px;

  background: transparent;
  color: black;
  cursor: pointer;
  text-align: center;
  width: 60px;
  border: 0;
}
.home_search__submit svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 850px) {
  .home__search_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.pulse__menu__catalog_category {
  text-decoration: none;
  font-size: 1.5rem;
  font-size: clamp(18px, 1.2vw, 24px);

  font-weight: 700;
  border: solid 0px white;
  padding: 6px;
  color: black;
  background-color: var(--secondaryColor);
  border-radius: 5px;
}

.home__menu__catalogcategory {
  display: inline-block;
  padding: 20px 0;
}

.home__menu__catalogvendor {
  background: #f4edf8;
  color: var(--mainColor);
  border-color: #e7dff0;
}

@media (min-width: 900px) {
  /* .home_search__input__field {
    height: 60px;
    padding: 0 24px;
    font-size: 28px;
    font-size: clamp(24px, 3vw, 28px);

    width: 850px;
  } */

  .home_search__submit {
    position: absolute;
    right: 0px;
    top: 15px;

    background: transparent;
    color: black;
    cursor: pointer;
    text-align: center;
    width: 60px;

    border: 0;
  }
  .home_search__submit svg {
    width: 30px;
    height: 30px;
  }
}

.home_search__example {
  display: none;
}
@media (min-width: 850px) {
  .home_search__example {
    display: block;

    padding: 20px 0;
    color: white;
    font-size: 0.9rem;
  }
}

/* .home_search__example a {
  color: white;
  text-decoration: none;
} */

.home_search__example a {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f4edf8;
  color: var(--mainColor);
  font-weight: 500;
  text-decoration: none;
}

.home_search__autocomplete_suggestions {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  border-radius: 4px;

  /* padding: 15px 10px; */

  background-color: white;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
}
.home_search__autocomplete_suggestion {
  padding: 12px;
  margin: 0 12px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  border-radius: 3px;
  color: black;
}
.home_search__autocomplete_suggestion:hover,
.home_search__autocomplete_suggestion.active {
  background: #e9f3ff;
}

@media (min-width: 767px) {
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.stats {
  margin-top: -54px;
  position: relative;
  z-index: 2;
}

.stat {
  padding: 20px;
  border-radius: 18px;
  background: var(--mainSoft);
}

.stat strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  color: var(--mainColor);
}

.stat span {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--mainSoft);
}

.section-header {
  display: block;
  margin-bottom: 30px;
}

.copy p {
  color: #4d405f;
  line-height: 1.78;
  font-size: 17px;
  margin: 15px 0;
}

@media (min-width: 680px) {
  .section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
  }
}

.section-kicker {
  color: var(--mainColor);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 8px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-lead {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 18px;
  margin: 12px 0 0;
}

.stats-grid {
  display: grid;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 26px;
  padding: 18px;
}

.persona-grid,
.category-grid,
.product-grid,
.stats-grid,
.footer {
  display: grid;

  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 800px) {
  .persona-grid,
  .category-grid,
  .product-grid,
  .stats-grid,
  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1020px) {
  .stats-grid,
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  position: relative;
  min-height: 250px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 8px 26px rgba(90, 41, 130, 0.05);
  transition: 0.18s ease;
  color: inherit;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #c9addd;
  box-shadow: var(--shadow);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f4edf8;
  color: var(--mainColor);
  font-weight: 950;
  margin-bottom: 18px;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.category-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  font-size: 15px;
}

.count-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--mainColor);
  background: #f4edf8;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
}

@media (min-width: 1020px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}



.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.feature span {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(252, 175, 26, 0.22);
  color: #8a5a00;
  font-weight: 950;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c9addd;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4edf8;
  color: var(--mainColor);
  font-size: 12px;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  align-items: center;
}

.vendor-logo {
  max-height: 50px;
  max-width: 125px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: 0.2s ease;
}

.product-card:hover .vendor-logo {
  filter: grayscale(0%) opacity(1);
}

.vendor-link {
  color: var(--mainColor);
  font-weight: 900;
  font-size: 14px;
}

/* .vendor {
  margin-top: 18px;
  color: var(--mainColor);
  font-weight: 900;
  font-size: 14px;
} */

/* .persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
} */

.persona {
  border-radius: 28px;
  padding: 34px;
  color: white;
  background: linear-gradient(135deg, var(--mainColor), var(--mainDark));
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.persona:nth-child(2) {
  background: linear-gradient(135deg, var(--mainDark), #7b3eb0);
}

.persona h3 {
  font-size: 30px;
  letter-spacing: -0.045em;
  margin: 0 0 14px;
}

.persona p {
  color: #f2e8fb;
  line-height: 1.65;
  margin-bottom: 24px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1020px) {
  .news-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.main-news,
.side-news article {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.main-news {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(135deg, #ffffff, #f8f4fb);
}

.main-news h3 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 10px 0;
}

.side-news {
  display: grid;
  gap: 18px;
}

.side-news h3 {
  margin: 8px 0 0;
  font-size: 19px;
  line-height: 1.28;
}

.date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.date_main {
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
}
.seo-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 8px 26px rgba(90, 41, 130, 0.05);
}

.site-footer {
  background: var(--mainDark);
  color: #f6ecff;
  padding: 56px 0;
}
/* 
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 0.8fr;
  gap: 34px;
}

.footer_title {
  color: var(--secondaryColor);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer_title_secondary {
  margin-top: 28px;
}

.footer_body {
  color: #eadff2;
  font-size: 15px;
  line-height: 1.8;
}

.footer_body.nobullet {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_body li {
  margin-bottom: 8px;
}

.footer a {
  color: #eadff2;
}

.footer a:hover {
  color: var(--secondaryColor);
  text-decoration: underline;
} */

.flex_left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(252, 175, 26, 0.18);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--secondaryColor);
}

.mini-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.mini-item span {
  color: #eadff2;
  font-size: 13px;
  line-height: 1.45;
}

.product-card {
  position: relative;
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.news-grid a,
.pulse-feed a {
  color: inherit;
  text-decoration: none;
}
.pulse-feed {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 26px rgba(90, 41, 130, 0.05);
}

.pulse-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.pulse-feed-header h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.pulse-feed-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pulse-feed-link {
  color: var(--mainColor);
  font-weight: 900;
  white-space: nowrap;
}

.pulse-feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pulse-feed-list li {
  border-bottom: 1px solid var(--border);
}

.pulse-feed-list li:last-child {
  border-bottom: 0;
}

.pulse-feed-list a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.pulse-feed-list a:hover .pulse-title {
  color: var(--mainColor);
}

.pulse-type {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f4edf8;
  color: var(--mainColor);
  font-size: 12px;
  font-weight: 900;
}

.pulse-title {
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.pulse-feed time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .pulse-feed-header {
    display: block;
  }

  .pulse-feed-link {
    display: inline-block;
    margin-top: 12px;
  }

  .pulse-feed-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .pulse-type {
    justify-content: flex-start;
    width: fit-content;
  }
}

.main-news {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  color: white;

  background-size: cover;
  background-position: center;
}

.main-news::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(20, 10, 35, 0.85),
    rgba(20, 10, 35, 0.4),
    rgba(20, 10, 35, 0.1)
  );
}

.main-news > * {
  position: relative;
  z-index: 2;
}

article {
  position: relative;
}

/* stretch link */
.article-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* le lien reste au-dessus pour accessibilité */
.article-link {
  position: relative;
  z-index: 3;
}

/* hover */
article {
  transition: 0.2s ease;
}

article:hover {
  transform: translateY(-2px);
  cursor: pointer;
}
