/* SECTION */
section {
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
}

.section-headings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.section-headings-tag-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.375rem 1rem;
  position: relative;
  background-clip: padding-box;
  border-radius: 100vmax;
  background-color: var(--neutral-950);
  border: 1px solid transparent;
}
.section-headings-tag-wrapper::before {
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-radius: inherit;
  background: var(--gradient-primary);
  margin: -1px;
}

.section-headings-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  font: var(--f-l-s);
  border-radius: 100vmax;
  color: var(--neutral-300);
}

.section-headings-title {
  max-width: 700px;
  font: var(--f-d-h4);
  letter-spacing: -0.01em !important;
  color: var(--neutral-100);
}

.section-headings-subtitle {
  max-width: 700px;
  font: var(--f-t-m);
  color: var(--neutral-300);
  text-align: center;
}

/* HERO */
.section-hero {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  min-height: 100vh;
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  padding-top: calc(var(--navbar-height) + 6rem);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.hero-users {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-users-images {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero-user-image {
  width: 3rem;
  height: 3rem;
  border-radius: 100vmax;
  border: 4px solid var(--neutral-950);
  object-fit: cover;
  margin-left: -0.75rem;
}

.hero-users-text {
  font: var(--f-t-m);
  color: var(--neutral-300);
  text-align: left;
  max-width: 32ch;
}

.hero-title {
  color: var(--neutral-100);
  font: var(--f-d-h3);
  max-width: 950px;
  letter-spacing: -0.01em !important;
}
.hero-description {
  font: var(--f-t-l);
  max-width: 700px;
  color: var(--neutral-300);
}

.hero-buttons-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  max-width: var(--max-width);
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}
.hero-graphics-1 {
  position: absolute;
  z-index: -1;
  top: 2rem;
  left: 0;
  height: 1650px;
  transform: translate(-25%, -30%);
}
.hero-graphics-2 {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: 0;
  height: 1650px;
  transform: translate(25%, -30%);
}

/* ------ FEATURES ------ */
.section-features {
  position: relative;
}
.bento-graphics-1 {
  opacity: 0.5;
  position: absolute;
  z-index: -1;
  top: 40%;
  left: 0;
  transform: translate(-25%, -30%);
}
.bento-graphics-2 {
  opacity: 0.5;
  position: absolute;
  z-index: -1;
  top: 30%;
  right: 0;
  transform: translate(25%, -30%);
}

.features-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 800px;
  max-width: var(--max-width);
}

.features-top-container {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.features-top-container .features-item:first-child {
  flex: 6;
}

.features-top-container .features-item:last-child {
  flex: 4;
}

.features-bottom-container {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.features-bottom-container .features-item {
  flex: 1;
}

.features-item {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  background: var(--card-bg);
  border: var(--card-stroke);
  backdrop-filter: var(--card-blur);
  overflow: hidden;
}

.features-item-image-container {
  width: 100%;
  flex: 1;
  position: relative;
}

.features-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.features-item-heading {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.features-item-title {
  font: var(--f-l-xl);
  color: var(--neutral-100);
}

.features-item-subtitle {
  font: var(--f-t-s);
  color: var(--neutral-400);
}

/* ------- PROCESS ------ */
.section-process {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}
.process-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
}

.process-card {
  background-color: var(--card-bg);
  backdrop-filter: var(--card-blur);
  border: var(--card-stroke);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.process-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.process-card-title {
  font: var(--f-l-xl);
  color: var(--neutral-100);
}
.process-card-description {
  font: var(--f-t-s);
  color: var(--neutral-400);
}

.process-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100vmax;
  background-color: var(--neutral-800);
  margin-bottom: 1rem;
}
.process-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--neutral-100);
}
.process-card-image {
  width: 100%;
  border-radius: 0.5rem;
}

/* ------- PRICING SECTION ------ */
.section-pricing {
  position: relative;
}

.pricing-graphics-1 {
  position: absolute;
  z-index: -1;
  top: 20%;
  left: 0;
  height: 800px;
  transform: translate(-25%, -30%);
}
.pricing-graphics-2 {
  position: absolute;
  z-index: -1;
  top: 55%;
  right: 0;
  height: 800px;
  transform: translate(25%, -30%);
}

.pricing-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.pricing-toggle-container {
  display: flex;
  padding: 0.25rem;
  gap: 0.25rem;
  border-radius: 0.75rem;
  background: var(--neutral-900);
}

.pricing-button {
  display: flex;
  padding: 0.5rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font: var(--f-l-s);
  color: var(--neutral-400);
  background: none;
  border: none;
}

/* Pricing toggle active state */
.pricing-button.active {
  background: var(--primary-300);
  color: var(--neutral-900);
  transition: background 0.3s ease, color 0.3s ease;
}

.pricing-button-tag {
  display: flex;
  padding: 0.25rem 0.5rem;
  align-items: center;
  gap: 0.25rem;
  border-radius: 100vmax;
  background-color: var(--neutral-100);
  color: var(--neutral-900);
  font: var(--f-t-xs);
}

.pricing-button-tag svg {
  width: 0.75rem;
  height: 0.75rem;
}

.pricing-button.active {
  background: var(--neutral-800);
  color: var(--neutral-100);
}

.pricing-container {
  display: flex;
  gap: 1.5rem;
  align-self: center;
  max-width: var(--max-width);
  transition: all 0.3s ease;
}

.pricing-item {
  display: flex;
  min-width: 500px;
  padding: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 0 0;
  gap: 2rem;
  border-radius: 1rem;
  background-color: var(--card-bg);
  backdrop-filter: var(--card-blur);
  border: var(--card-stroke);
  overflow: hidden;
  z-index: 1;
}

.pricing-item:last-child {
  position: relative;
  border: var(--card-stroke);
}

.pricing-item:last-child::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: saturate(0) brightness(0.4);
  top: 0;
  left: 0;
  z-index: 99;
}

.pricing-item-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.pricing-item-offer-name {
  font: var(--f-d-h6);
  color: var(--neutral-100);
}

.pricing-item-price-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-item-price {
  color: var(--neutral-300);
  font: var(--f-l-xl);
}

.pricing-item-price--big {
  font: var(--f-d-h4);
}

.pricing-item-price-tag {
  color: var(--neutral-300);
  font: var(--f-t-m);
}

.pricing-item-content-title {
  font: var(--f-l-l);
  color: var(--neutral-100);
}

.pricing-item-features-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-item-features-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-item-features-svg {
  color: var(--primary-300);
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.pricing-item-features-svg.cancel-svg {
  color: var(--red-400);
}

.pricing-item .button-primary {
  width: unset;
}

.pricing-item-offer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.pricing-item-offer-tag {
  display: flex;
  padding: 0.3125rem 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 100vmax;
  background-color: var(--neutral-700);
  color: var(--neutral-100);
  font: var(--f-l-s);
}

.pricing-item-offer-tag-svg {
  width: 1rem;
  height: 1rem;
}

/* ------ FAQ ------ */
.section-faq {
  position: relative;
}

.faq-wrapper {
  display: flex;
  max-width: var(--max-width);
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1rem;
  border: var(--card-stroke);
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  user-select: none;
  transition: var(--t100);
  cursor: pointer;
}

.faq-item:hover {
  background-color: rgba(40, 40, 40, 0.5);
}

.faq-item.open .faq-item-text-wrapper {
  max-height: 800px; /* assez grand pour le contenu */
  opacity: 1;
}
.faq-item.open .faq-item-header-svg {
  transform: rotate(180deg);
}

.faq-item-header {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
}

.faq-item-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-item-svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-300);
  flex-shrink: 0;
}

.faq-item-title {
  font: var(--f-t-xl);
  color: var(--neutral-100);
}

.faq-item-header-svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--neutral-100);
  transition: var(--t200);
  flex-shrink: 0;
}

.faq-item-text-wrapper {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
  will-change: max-height, opacity;
}

.faq-item-text {
  font: var(--f-t-l);
  color: var(--neutral-300);
  padding-top: 1rem;
  margin-left: calc(1.5rem + 1rem);
}

.faq-question {
  font: var(--f-l-m);
  color: var(--neutral-300);
  text-align: center;
}

.faq-question-link {
  text-decoration: underline;
}

.faq-graphics-1 {
  position: absolute;
  z-index: -1;
  top: 40%;
  left: 0;
  height: 600px;
  opacity: 0.8;
  transform: translate(-25%, -30%);
}
.faq-graphics-2 {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  height: 600px;
  opacity: 0.8;
  transform: translate(25%, -30%);
}

/* ------ CTA ------ */
.cta-section {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: var(--section-padding-vertical) var(--section-padding-horizontal);
  background-image: url(../../assets/medias/images/backgrounds/CTA-bg.avif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.cta-section .section-headings-title {
  max-width: 19ch;
  text-align: center;
}

/* === RESPONSIVE === */
@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
  /* SECTION */
  section {
    overflow: hidden;
  }

  .section-headings-title {
    font: var(--f-d-h5);
  }

  /* HERO */
  .section-hero {
    padding-top: calc(var(--navbar-height) + 3rem);
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .hero-users {
    display: flex;
    flex-direction: column;
  }
  .hero-users-text {
    text-align: center;
  }

  .hero-title {
    font: var(--f-d-h4);
    max-width: unset;
  }
  .hero-description {
    font: var(--f-t-m);
    max-width: unset;
    color: var(--neutral-300);
  }

  .hero-graphics-1,
  .hero-graphics-2 {
    height: 600px;
    top: 1rem;
    transform: translate(-50%, -50%);
  }

  /* ------ FEATURES ------ */
  .features-wrapper {
    min-height: unset;
  }

  .features-top-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
  }

  .features-top-container .features-item:first-child {
    flex: unset;
  }

  .features-top-container .features-item:last-child {
    flex: unset;
  }

  .features-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
  }

  .features-bottom-container .features-item {
    flex: unset;
  }

  .features-item-image-container {
    min-width: 100%;
    min-height: 225px;
  }

  /* ------- PROCESS ------ */

  .process-wrapper {
    grid-template-columns: 1fr;
  }
  .process-card-title {
    font: var(--f-h-h6);
    color: var(--neutral-100);
  }
  .process-card-description {
    font: var(--f-t-m);
    color: var(--neutral-300);
  }

  /* ------- PRICING SECTION ------ */
  .pricing-container {
    flex-direction: column;
  }

  .pricing-item {
    display: flex;
    height: fit-content;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: flex-start;
    flex: unset;
    gap: 2rem;
    border-radius: 1rem;
    border: var(--card-stroke);
    background: var(--neutral-800);
    overflow: hidden;
    z-index: 1;
    min-width: unset;
    width: 100%;
  }

  .pricing-item-content {
    gap: 1.75rem;
  }

  /* ------ FAQ ------ */
  .faq-item {
    padding: 1.25rem;
  }

  .faq-item:hover {
    background-color: var(--neutral-700);
  }

  .faq-item-header {
    gap: 0.5rem;
  }

  .faq-item-title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .faq-item-svg {
    display: none;
  }

  .faq-item-title {
    font: var(--f-t-m);
  }

  .faq-item-header-svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--neutral-100);
    transition: var(--t200);
    flex-shrink: 0;
  }

  .faq-item-text {
    font: var(--f-t-m);
    margin-left: unset;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font: var(--f-d-h5);
    max-width: unset;
  }
}
