/* Page hero — même comportement que le hero-slider homepage */

.page-hero,
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  overflow: hidden;
}

.page-hero__media,
.about-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__image,
.about-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay,
.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-background) 70%, transparent),
    color-mix(in srgb, var(--color-background) 50%, transparent),
    var(--color-background)
  );
}

.page-hero__overlay::after,
.about-hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-background) 30%, transparent);
}

.page-hero__content,
.about-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 2rem;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--color-ivory);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.page-hero__breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero__breadcrumb a:hover {
  color: var(--color-primary);
}

.page-hero__breadcrumb-current {
  color: var(--color-ivory);
}



.page-hero:not(:has(.page-hero__media)) {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 5rem 0 3rem;
  background: var(--color-background);
}

.page-hero:not(:has(.page-hero__media)) .page-hero__content {
  padding: 0 1.5rem;
}

.page-hero__date {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Founder profile sections */
.about-founder {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .about-founder {
    padding: 7rem 0;
  }
}

.about-founder--alt {
  background: color-mix(in srgb, var(--color-card) 30%, transparent);
}

.about-founder__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-founder__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .founder-profile--image-left .about-founder__media-wrap {
    order: 1;
  }

  .founder-profile--image-left .about-founder__content {
    order: 2;
  }

  .founder-profile--image-right .about-founder__media-wrap {
    order: 2;
  }

  .founder-profile--image-right .about-founder__content {
    order: 1;
  }
}

.about-founder__media-wrap {
  position: relative;
}

.about-founder__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-founder__image,
.about-founder__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-founder__name {
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--color-ivory);
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.about-founder__body {
  margin-bottom: 2rem;
  line-height: 1.7;

  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-founder__contact {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.about-founder__contact-title {
  color: var(--color-ivory);
  font-weight: 500;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.about-founder__contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-founder__contact-links {
    flex-direction: row;
    gap: 2rem;
  }
}

.about-founder__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.about-founder__contact-link:hover {
  color: var(--color-primary);
}

.about-founder__contact-link svg {
  flex-shrink: 0;
}

/* FAQ + contact — v0 variant */
.faq-contact--v0 {
  position: static;
  padding: 5rem 0;
  background: transparent;
}

@media (min-width: 1024px) {
  .faq-contact--v0 {
    padding: 7rem 0;
  }
}

.faq-contact--v0 .faq-contact__layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 3rem;
  align-items: start;
}

.faq-contact--v0 .faq-contact__title {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  color: var(--color-ivory);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.faq-contact--v0 .faq-contact__intro {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.faq-contact--v0 .faq-contact__accordion {
  gap: 1rem;
}

.faq-contact--v0 .faq-contact__item {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: transparent;
}

.faq-contact--v0 .faq-contact__item summary {
  padding: 1rem;
  color: var(--color-ivory);
  font-weight: 500;
  transition: background 0.2s;
}

.faq-contact--v0 .faq-contact__item summary:hover {
  background: color-mix(in srgb, var(--color-card) 50%, transparent);
}

.faq-contact--v0 .faq-contact__chevron {
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform 0.3s;
}

.faq-contact--v0 .faq-contact__item[open] .faq-contact__chevron {
  transform: rotate(180deg);
}

.faq-contact--v0 .faq-contact__answer {
  padding: 0 1rem;
  color: var(--color-muted);
}

.faq-contact--v0 .faq-contact__item[open] .faq-contact__answer {
  padding-bottom: 1rem;
}

.faq-contact--v0 .faq-contact__card {
  background: color-mix(in srgb, var(--color-card) 50%, transparent);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  box-shadow: none;
  padding: 1.5rem;
  text-align: left;
}

@media (min-width: 1024px) {
  .faq-contact--v0 .faq-contact__card {
    padding: 2rem;
  }
}

.faq-contact--v0 .faq-contact__form-title {
  font-size: 1.5rem;
  color: var(--color-ivory);
  margin: 0 0 0.5rem;
}

.faq-contact--v0 .faq-contact__form-intro {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.faq-contact-form--v0 input,
.faq-contact-form--v0 textarea,
.faq-contact--v0 .faq-contact-form input,
.faq-contact--v0 .faq-contact-form textarea {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-contact-form--v0 input:focus,
.faq-contact-form--v0 textarea:focus,
.faq-contact--v0 .faq-contact-form input:focus,
.faq-contact--v0 .faq-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.faq-contact-form--v0 textarea,
.faq-contact--v0 .faq-contact-form textarea {
  resize: none;
  min-height: 8rem;
}

.faq-contact-form__submit,
.faq-contact--v0 .faq-contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-background);
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.faq-contact-form__submit:hover,
.faq-contact--v0 .faq-contact-form .btn-primary:hover {
  opacity: 0.9;
}

.faq-contact-form__submit:disabled,
.faq-contact--v0 .faq-contact-form .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .faq-contact--v0 .faq-contact__layout {
    grid-template-columns: 1fr;
  }
}
