/* ==========================================================================
   PAGE À PROPOS — Accordéon (inspiré hingston.studio)
   Sobre, noir & blanc, typographie soignée
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header Salient sur la page About : transparent, logo NOIR
   --------------------------------------------------------------------------
   About est une page CLAIRE (fond beige). Comme pour les pages categorie,
   Salient rend le header opaque blanc via salient-dynamic-styles.css :
     body #header-outer { background-color: #fff }   (specificite 0-1-1)
   On le rend transparent, mais SANS blanchir le logo : le CSS custom global
   (.cms-front-route .default-logo { filter: brightness(0) invert(1) })
   blanchit le logo sur toutes les routes CMS ; sur fond clair il devient
   invisible. On annule donc ce filtre ici pour garder le logo noir d'origine.
   Specificite 0-2-1 pour battre Salient, aucun !important.
   -------------------------------------------------------------------------- */
body.cms-front-route--about #header-outer,
body.cms-front-route--about[data-header-color="dark"] #header-outer {
  background-color: transparent;
  box-shadow: none;
}

body.cms-front-route--about #header-space {
  background: transparent;
}

/* Logo remis en noir (annule le filtre de blanchiment du CSS custom global). */
body.cms-front-route--about .default-logo,
body.cms-front-route--about #logo img,
body.cms-front-route--about .logo img {
  filter: none;
}

.about {
  --about-max: 1100px;
  --about-line: rgba(0, 0, 0, 0.14);
  color: var(--color-text, #111);
}

/* --------------------------------------------------------------------------
   HERO / INTRO
   -------------------------------------------------------------------------- */

.about-hero {
  padding: clamp(4rem, 12vh, 9rem) var(--spacing-lg, 2rem) clamp(3rem, 8vh, 6rem);
  max-width: var(--about-max);
  margin: 0 auto;
}

.about-hero__inner {
  max-width: 860px;
}

.about-hero__title {
  font-family: var(--font-accent, Georgia, serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 400;
  margin: 0 0 var(--spacing-xl, 2rem);
  letter-spacing: -0.01em;
}

.about-hero__brand {
  font-style: italic;
}

.about-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--color-text-light, #444);
  margin: 0;
  max-width: 40em;
}

/* --------------------------------------------------------------------------
   ACCORDÉON
   -------------------------------------------------------------------------- */

.about-accordion {
  max-width: var(--about-max);
  margin: 0 auto clamp(4rem, 12vh, 8rem);
  padding: 0 var(--spacing-lg, 2rem);
  border-top: 1px solid var(--about-line);
}

.about-item {
  border-bottom: 1px solid var(--about-line);
}

.about-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg, 2rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: opacity 0.2s;
}

.about-item__head:hover {
  opacity: 0.6;
}

.about-item__label {
  font-family: var(--font-accent, Georgia, serif);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Icône +/− */
.about-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.about-item__icon::before,
.about-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.3s ease;
}

.about-item__icon::before {
  width: 22px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.about-item__icon::after {
  width: 1.5px;
  height: 22px;
  transform: translate(-50%, -50%);
}

.about-item__head[aria-expanded="true"] .about-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

/* Corps repliable */
.about-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.about-item__head[aria-expanded="true"] + .about-item__body {
  grid-template-rows: 1fr;
}

.about-item__content {
  overflow: hidden;
  min-height: 0;
}

.about-item__content > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.about-item__head[aria-expanded="true"] + .about-item__body .about-item__content > * {
  opacity: 1;
  transform: translateY(0);
}

/* Espacement du contenu déplié */
.about-item__content {
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: var(--color-text-light, #333);
}

.about-item__content p {
  margin: 0 0 1.2em;
}

.about-item__intro {
  font-size: 1.1em;
  color: var(--color-text, #111);
}

/* --------------------------------------------------------------------------
   Citation
   -------------------------------------------------------------------------- */

.about-quote {
  font-family: var(--font-accent, Georgia, serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.4;
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid currentColor;
  color: var(--color-text, #111);
}

/* --------------------------------------------------------------------------
   Listes de savoir-faire / services
   -------------------------------------------------------------------------- */

.about-skills {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: none;
}

.about-skills li {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--about-line);
}

.about-skills li:first-child {
  border-top: none;
}

.about-skills__num {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--color-gray-500, #999);
  padding-top: 0.15em;
  min-width: 2ch;
}

.about-skills__text {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Références
   -------------------------------------------------------------------------- */

.about-refs {
  margin-bottom: 2rem;
}

.about-refs:last-child {
  margin-bottom: 0;
}

.about-refs__cat {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500, #999);
  margin: 1.5rem 0 0.6rem;
}

.about-refs__cat:first-child {
  margin-top: 0;
}

.about-refs__list {
  margin: 0;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Distinctions
   -------------------------------------------------------------------------- */

.about-award {
  padding: 1.4rem 0;
  border-top: 1px solid var(--about-line);
}

.about-award:first-of-type {
  border-top: none;
}

.about-award__title {
  font-family: var(--font-accent, Georgia, serif);
  font-size: 1.3em;
  font-weight: 400;
  margin: 0 0 0.3rem;
}

.about-award__sub {
  font-size: 0.85em;
  color: var(--color-gray-500, #999);
  margin: 0 0 0.6rem;
}

.about-award__prize {
  margin: 0.3rem 0;
  font-size: 0.98em;
}

.about-award__links {
  margin-top: 0.6rem;
}

.about-award__links a {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.about-award__links a:hover {
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Valeurs
   -------------------------------------------------------------------------- */

.about-values {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.about-values li {
  padding: 0.8rem 0;
  border-top: 1px solid var(--about-line);
}

.about-values li:first-child {
  border-top: none;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.about-contact__lead {
  font-family: var(--font-accent, Georgia, serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--color-text, #111);
}

.about-contact__actions {
  margin-top: 1.5rem;
}

.about-contact__btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-primary, #111);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.about-contact__btn:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  .about-skills li {
    flex-direction: column;
    gap: 0.3rem;
  }

  .about-item__label {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-item__body,
  .about-item__content > *,
  .about-item__icon::before,
  .about-item__icon::after {
    transition: none;
  }
}