/* --- Footer Section --- */

footer {
  background-color: var(--gray-900); /* bg-gray-900 */
  color: white;
  padding-top: 6rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1; /* keep above background layers but below overlays */

  /* Coins arrondis demandés */
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;

  /* S'assurer que le contenu ne dépasse pas et que le fond est propre */
  overflow: hidden;
}

footer .container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

footer .grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

footer .col-span-2 {
  grid-column: span 2 / span 2;
}

footer h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-400); /* text-gray-400 */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer ul {
  margin-top: 0;
  margin-bottom: 0;
}

footer li {
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--gray-300); /* text-gray-300 */
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

footer a:hover {
  color: white;
}

footer .footer-products {
  grid-column: 1 / -1;
}

footer .footer-product-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: fit-content;
  color: var(--gray-100);
  font-weight: 600;
  line-height: 1.35;
}

footer .footer-product-name {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

footer .footer-product-name strong {
  color: var(--gray-100);
  font-size: 0.95rem;
  font-weight: 650;
}

footer .footer-product-name small {
  color: var(--gray-500);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer .footer-product-name--upcoming strong {
  color: var(--gray-400);
  font-size: 0.78rem;
}

footer .footer-product-name--upcoming small {
  color: var(--gray-500);
  font-size: 0.58rem;
}

footer .footer-product-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  color: var(--brand-lavender-300);
  border: 1px solid rgb(129 92 246 / 32%);
  border-radius: 0.625rem;
  background: linear-gradient(145deg, rgb(99 102 241 / 18%), rgb(76 29 149 / 10%));
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

footer .footer-product-link:hover .footer-product-icon {
  color: var(--color-white);
  border-color: rgb(167 139 250 / 60%);
  transform: translateY(-1px);
}

footer .footer-product-icon svg {
  width: 1rem;
  height: 1rem;
}

footer .footer-product-features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(75 85 99 / 65%);
}

footer .footer-subsection-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  color: var(--indigo-400);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

footer .footer-subsection-title svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
}

footer .footer-solutions-subtitle {
  margin-bottom: 0.75rem;
}

footer .footer-solutions-subtitle--industry {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(75 85 99 / 65%);
}

footer .footer-resource-links {
  display: grid;
  gap: 0.65rem;
}

footer .footer-resource-links li {
  margin-bottom: 0;
}

footer .footer-resource-link {
  display: inline-block;
  color: var(--gray-300);
  font-size: 0.8125rem;
  line-height: 1.45;
}

footer .footer-resource-link--all {
  color: var(--gray-100);
  font-weight: 600;
}

footer .footer-resource-link--all::after {
  content: '\2192';
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--indigo-400);
  transition: transform 0.25s ease;
}

footer .footer-resource-link--all:hover::after {
  transform: translateX(0.2rem);
}

footer .footer-resources-comparisons {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(75 85 99 / 65%);
}

footer .footer-product-features__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

footer .footer-product-features__list li {
  margin-bottom: 0;
}

footer .footer-product-features__list a {
  display: block;
  line-height: 1.45;
}

footer .footer-upcoming-products {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(75 85 99 / 45%);
}

footer .footer-upcoming-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  color: var(--gray-400);
  font-size: 0.75rem;
  line-height: 1.3;
}

footer .footer-coming-soon {
  flex: 0 0 auto;
  padding: 0.2rem 0.45rem;
  color: var(--gray-400);
  border: 1px solid rgb(156 163 175 / 36%);
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

@media (min-width: 480px) and (max-width: 1279px) {
  footer .footer-product-features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  footer .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  footer .footer-products {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 1280px) {
  footer .grid {
    grid-template-columns: 2fr 1.45fr 1.35fr 1.35fr 0.95fr 0.7fr 0.75fr 0.75fr;
    gap: 1.25rem;
  }

  footer .lg\:col-span-2 {
    grid-column: auto;
  }

  footer .lg\:mb-0 {
    margin-bottom: 0;
  }

  footer .footer-products {
    grid-column: auto;
  }
}
