/* Page inscription — typographie et mise en page lisibles */
.signup-page {
  --signup-body-size: 1rem;
  --signup-small-size: 1rem
  --signup-label-size: 1rem
  --signup-line-height: 1.6;
  background: #fff;
  font-size: var(--signup-body-size);
}

.signup-page .signup-brand img {
  display: block;
  width: 112px;
  height: auto;
}

.signup-page .nav-chevron {
  margin-left: 2px;
  font-size: 0.60rem;
  -webkit-text-stroke: 0.4px;
}

.signup-page h2 {
  color: #343847;
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1.14;
}

.signup-hero .btn,
.signup-development .btn,
.signup-stock-section .btn,
.signup-platform-section .btn {
  padding: 0.7rem 1.4rem;
  font-size: 1rem
  line-height: 1.25;
}

.signup-page .signup-dark-button {
  background: #363944;
  border-color: #363944;
  box-shadow: none;
}

.signup-page .signup-dark-button:hover,
.signup-page .signup-dark-button:focus {
  background: #24262e;
  border-color: #24262e;
}

/* En-tête */
.signup-hero {
  position: relative;
  min-height: 300px;
  margin-top: 76px;
  padding: 44px 0;
  color: #fff;
  background: #202122 url("../images/fond-noir.png") center / cover no-repeat;
}

.signup-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4vw, 3.45rem);
  line-height: 1;
}

.signup-hero p {
  max-width: 660px;
  margin: 20px 0 24px;
  color: #f3f3f3;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.55;
}

.signup-hero-button {
  min-width: 136px;
}

.signup-hero-image {
  position: absolute;
  z-index: 1;
  top: -19px;
  right: 3px;
  width: 355px;
  height: 355px;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.16));
}

/* Bloc de recherche d'entreprise */
.signup-search-section {
  padding: 90px 0 58px;
}

.signup-search-card {
  max-width: 978px;
  margin: 0 auto;
  padding: 32px 62px 40px;
  border: 1px solid #686b74;
  border-radius: 15px;
  background: #fff;
}

.signup-search-card h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.25;
}

.signup-search-card h2 span,
.signup-development h2 span,
.signup-stock-section h2 span,
.signup-platform-section h2 span {
  color: var(--brand);
}

.signup-company-search {
  position: relative;
  max-width: 790px;
}

.signup-company-search :where(label, .form-label),
.signup-company-search a {
  margin-bottom: 8px;
  color: #24262c;
  font-size: var(--signup-label-size);
  line-height: 1.4;
}

.signup-company-search a {
  color: #555862;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup-company-search :where(input, select, textarea, .form-control, .form-select) {
  min-height: 48px;
  border-color: #aeb1b9;
  border-radius: 4px;
  color: #353842;
  font-size: 1rem;
  line-height: 1.45;
}

.signup-company-search :where(p, small, .form-text, .small) {
 font-size: 1rem; !important;
  line-height: 1.5;
}

.signup-company-search .company-suggestions button {
  font-size: 1rem
  line-height: 1.4;
}

/* Présentation de l'entreprise */
.signup-history {
  padding: 46px 0 42px;
}

.signup-history h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
}

.signup-history h2 u {
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.signup-history > .container > .text-center > p {
  max-width: 780px;
  margin: 12px auto 0;
  color: #5e6068;
  font-size: 1rem;
  line-height: 1.55;
}

.signup-history-grid {
  max-width: 960px;
  margin: 46px auto 0;
}

.signup-history-card {
  overflow: hidden;
  height: 100%;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 13px 22px rgba(27, 29, 36, 0.16);
}

.signup-history-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.73;
  object-fit: cover;
}

.signup-history-card:first-child > img {
  object-position: center 48%;
}

.signup-history-card > div {
  padding: 24px 24px 28px;
}

.signup-history-card .signup-card-kicker {
  margin: 0 0 14px;
  color: #3159dc;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.signup-history-card h3 {
  margin: 0 0 14px;
  color: #111216;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.signup-history-card > div > p:last-child {
  margin: 0;
  color: #555861;
  font-size: var(--signup-small-size);
  line-height: 1.65;
}

/* Étapes d'inscription */
.signup-steps {
  padding: 56px 0 90px;
}

.signup-steps h2 {
  margin-bottom: 34px;
  font-size: 1.95rem;
}

.signup-step-grid {
  max-width: 850px;
  margin: 0 auto 28px;
}

.signup-steps article span {
  width: 79px;
  height: 79px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid var(--brand);
  border-radius: 5px;
}

.signup-steps article img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.signup-steps article p {
  margin: 0;
  color: #17191e;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Bandeau de développement */
.signup-development {
  padding: 44px 0 40px;
  background: #f8f8f8;
}

.signup-development h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1.2;
}

.signup-development p {
  max-width: 900px;
  margin: 14px auto 22px;
  color: #5c5f68;
  font-size: 1rem;
  line-height: 1.55;
}

.signup-development .btn {
  min-width: 116px;
}

/* Stock disponible */
.signup-stock-section {
  padding: 92px 0 84px;
}

.signup-stock-visual {
  overflow: hidden;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 46% 54% 59% 41% / 47% 43% 57% 53%;
}

.signup-stock-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.signup-stock-section h2 {
  margin: 0 0 32px;
  font-size: clamp(1.8rem, 2.7vw, 2.3rem);
}

.signup-feature-grid {
  margin-bottom: 30px;
}

.signup-feature-grid article {
  gap: 12px;
  align-items: start;
}

.signup-feature-grid i {
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1;
}

.signup-feature-grid p {
  margin: 0;
  color: #51545e;
  font-size: var(--signup-small-size);
  line-height: 1.5;
}

.signup-feature-grid strong {
  color: #252730;
  font-weight: 700;
}

/* Plateforme digitale */
.signup-platform-section {
  padding: 80px 0 110px;
}

.signup-platform-section h2 {
  margin: 0 0 34px;
  font-size: clamp(1.8rem, 2.7vw, 2.3rem);
}

.signup-platform-list {
  display: grid;
  gap: 17px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.signup-platform-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.signup-platform-list i {
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
}

.signup-platform-list p {
  margin: 0;
  color: #4e515b;
  font-size: 1rem;
  line-height: 1.5;
}

.signup-platform-list strong {
  color: #24262e;
}

.signup-platform-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1199.98px) {
  .signup-hero-image {
    right: 5px;
    width: 330px;
    height: 330px;
  }

  .signup-history-grid {
    max-width: 900px;
  }
}

@media (max-width: 991.98px) {
  .signup-page .signup-brand img {
    width: 100px;
  }

  .signup-hero {

    padding-top: 58px;
    text-align: center;
  }

  .signup-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .signup-hero-image {
    position: static;
    width: 300px;
    height: 300px;
    margin: 16px auto -80px;
  }

  .signup-search-section {
    padding-top: 108px;
  }

  .signup-history-grid {
    max-width: 620px;
  }

  .signup-stock-section,
  .signup-platform-section {
    text-align: center;
  }

  .signup-feature-grid,
  .signup-platform-list {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .signup-stock-section h2 {
    margin-top: 16px;
  }

  .signup-platform-image {
    max-width: 630px;
    margin: 24px auto 0;
  }
}

@media (max-width: 767.98px) {
  .signup-search-card {
    padding: 30px 24px 34px;
  }

  .signup-company-search .d-flex {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0 !important;
  }

  .signup-history {
    padding-top: 32px;
  }

  .signup-history-grid {
    max-width: 430px;
  }

  .signup-steps {
    padding-bottom: 72px;
  }

  .signup-step-grid > div {
    padding-right: 6px;
    padding-left: 6px;
  }

  .signup-steps article p {
    font-size: 1rem
  }

  .signup-development h2 br {
    display: none;
  }

  .signup-stock-section,
  .signup-platform-section {
    padding: 72px 0;
  }
}

@media (max-width: 575.98px) {
  .signup-page {
    --signup-small-size: 1rem
  }

 

  .signup-hero h1 {
    font-size: 2.2rem;
  }

  .signup-hero p {
    font-size: 1rem;
  }

  .signup-hero-image {
    width: 270px;
    height: 270px;
  }

  .signup-search-card h2 {
    font-size: 1.35rem;
  }

  .signup-history-card > div {
    padding: 22px 20px 26px;
  }

  .signup-step-grid {
    --bs-gutter-x: 0.5rem;
  }

  .signup-steps article span {
    width: 50px;
    height: 50px;
  }

  .signup-steps article img {
    width: 31px;
    height: 31px;
  }

  .signup-steps article p {
   font-size: 1rem;
  }

  .signup-feature-grid {
    --bs-gutter-x: 0.75rem;
  }

  .signup-feature-grid > .col-6 {
    width: 100%;
  }

  .signup-feature-grid article {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    text-align: left;
  }

  .signup-platform-list li {
    align-items: flex-start;
  }
}
