/* Quanta — page À propos */

.page-about #site-header {
  background: transparent;
  transition: background 0.35s ease;
}

.page-about #site-header.nav-fixed,
.page-about #site-header.hero-scrolled {
  background: rgba(12, 27, 42, 0.92);
  backdrop-filter: blur(10px);
}

.page-about .navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.page-about .navbar .navbar-brand img {
  max-height: 52px;
  width: auto;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Hero */
.a-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.a-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.a-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: a-ken 18s ease-in-out infinite alternate;
  filter: brightness(0.72);
}

@keyframes a-ken {
  from { transform: scale(1.05); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.a-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(8, 16, 28, 0.88) 0%, rgba(8, 16, 28, 0.55) 55%, rgba(30, 106, 138, 0.3) 100%),
    linear-gradient(to top, rgba(8, 16, 28, 0.8) 0%, transparent 50%);
}

.a-hero__content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
  color: #fff;
}

.a-hero__brand,
.a-hero__title,
.a-hero__lead {
  color: #fff !important;
}

.a-hero__brand {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  margin: 0 0 0.75rem;
  opacity: 0;
  transform: translateY(24px);
  animation: a-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.a-hero__title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: a-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.a-hero__lead {
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: a-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

@keyframes a-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.a-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.a-section--alt {
  background: linear-gradient(180deg, #fff 0%, var(--q-ice) 100%);
}

.a-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.a-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--q-accent);
}

.a-eyebrow--light {
  color: rgba(255, 255, 255, 0.8);
}

.a-title {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--q-ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.a-text {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--q-steel);
  max-width: 48ch;
  margin: 0 0 1rem;
}

.a-text--wide {
  max-width: 52ch;
}

.a-intro {
  margin-bottom: 2.5rem;
}

.a-intro .a-title,
.a-intro .a-text,
.a-intro .a-eyebrow {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.a-intro.is-inview .a-eyebrow { opacity: 1; transform: none; transition-delay: 0.05s; }
.a-intro.is-inview .a-title { opacity: 1; transform: none; transition-delay: 0.15s; }
.a-intro.is-inview .a-text { opacity: 1; transform: none; transition-delay: 0.28s; }

/* Split */
.a-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .a-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.a-split__media {
  overflow: hidden;
  min-height: 300px;
  background: var(--q-slate);
}

.a-split__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transform: translateX(8%) scale(1.05);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.a-split.is-inview .a-split__media img {
  transform: none;
  opacity: 1;
}

.a-split__copy .a-eyebrow,
.a-split__copy .a-title,
.a-split__copy .a-text {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.a-split.is-inview .a-split__copy .a-eyebrow { opacity: 1; transform: none; transition-delay: 0.08s; }
.a-split.is-inview .a-split__copy .a-title { opacity: 1; transform: none; transition-delay: 0.18s; }
.a-split.is-inview .a-split__copy .a-text:nth-of-type(1) { opacity: 1; transform: none; transition-delay: 0.28s; }
.a-split.is-inview .a-split__copy .a-text:nth-of-type(2) { opacity: 1; transform: none; transition-delay: 0.38s; }

/* Pillars */
.a-pillars {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .a-pillars {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.a-pillar {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(26, 51, 72, 0.15);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.a-pillar.is-inview {
  opacity: 1;
  transform: none;
}

.a-pillar:nth-child(2).is-inview {
  transition-delay: 0.12s;
}

.a-pillar h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--q-ink);
  margin: 0 0 0.65rem;
}

.a-pillar p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--q-steel);
}

/* Expertise list */
.a-expertise {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26, 51, 72, 0.12);
}

.a-expertise li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(26, 51, 72, 0.12);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .a-expertise li {
    grid-template-columns: 220px 1fr;
    align-items: baseline;
  }
}

.a-expertise li.is-inview {
  opacity: 1;
  transform: none;
}

.a-expertise li:nth-child(1).is-inview { transition-delay: 0.05s; }
.a-expertise li:nth-child(2).is-inview { transition-delay: 0.15s; }
.a-expertise li:nth-child(3).is-inview { transition-delay: 0.25s; }
.a-expertise li:nth-child(4).is-inview { transition-delay: 0.35s; }

.a-expertise strong {
  font-size: 1.3rem;
  color: var(--q-ink);
}

.a-expertise span {
  font-size: 1.08rem;
  color: var(--q-steel);
  line-height: 1.45;
}

/* Ambition banner */
.a-banner {
  position: relative;
  min-height: clamp(340px, 48vw, 500px);
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.a-banner__media {
  position: absolute;
  inset: 0;
}

.a-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: brightness(0.68);
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.a-banner.is-inview .a-banner__media img {
  transform: scale(1);
  animation: a-ken 16s ease-in-out infinite alternate;
}

.a-banner__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 16, 28, 0.88) 0%, rgba(8, 16, 28, 0.5) 55%, rgba(30, 106, 138, 0.28) 100%);
}

.a-banner__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: max(1.5rem, calc((100% - 1200px) / 2 + 1.5rem));
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.a-banner__content .a-eyebrow,
.a-banner__content h2,
.a-banner__content p {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.a-banner.is-inview .a-banner__content .a-eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }
.a-banner.is-inview .a-banner__content h2 { opacity: 1; transform: none; transition-delay: 0.22s; }
.a-banner.is-inview .a-banner__content p { opacity: 1; transform: none; transition-delay: 0.34s; }

.a-banner__content h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 18ch;
}

.a-banner__content p {
  margin: 0;
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA */
.a-cta-block {
  background: #fff;
}

.a-cta-block__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.a-cta-block .a-title,
.a-cta-block .a-text,
.a-cta-block .a-btn {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.a-cta-block.is-inview .a-title { opacity: 1; transform: none; transition-delay: 0.08s; }
.a-cta-block.is-inview .a-text { opacity: 1; transform: none; transition-delay: 0.18s; }
.a-cta-block.is-inview .a-btn { opacity: 1; transform: none; transition-delay: 0.28s; }

.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  background: var(--q-ink);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.a-btn:hover {
  background: var(--q-accent);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .a-hero__media img,
  .a-banner.is-inview .a-banner__media img,
  .a-hero__brand,
  .a-hero__title,
  .a-hero__lead,
  [data-reveal],
  .a-split__media img,
  .a-split__copy .a-eyebrow,
  .a-split__copy .a-title,
  .a-split__copy .a-text,
  .a-intro .a-eyebrow,
  .a-intro .a-title,
  .a-intro .a-text,
  .a-pillar,
  .a-expertise li,
  .a-banner__content .a-eyebrow,
  .a-banner__content h2,
  .a-banner__content p,
  .a-cta-block .a-title,
  .a-cta-block .a-text,
  .a-cta-block .a-btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
