/* =========================================================
   Phoenix Studio - Page À propos moderne
   Fichier à enregistrer sous : aPropos.css
   À charger après Portfolio.css et style.css
   ========================================================= */

:root {
  --about-bg: #070a12;
  --about-bg-soft: #0d111d;
  --about-card: rgba(255, 255, 255, 0.065);
  --about-card-strong: rgba(255, 255, 255, 0.1);
  --about-border: rgba(255, 255, 255, 0.13);
  --about-text: #f6f8ff;
  --about-muted: #aeb6c8;
  --about-cyan: #00f5ff;
  --about-red: #ff3d4f;
  --about-orange: #ffb000;
  --about-purple: #8e5cff;
  --about-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --about-radius: 28px;
  --about-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.phoenix-about-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(0, 245, 255, 0.08), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(255, 61, 79, 0.09), transparent 30rem),
    linear-gradient(180deg, #05060b 0%, var(--about-bg) 44%, #05060b 100%);
  color: var(--about-text);
  font-family: "Poppins", sans-serif;
}

.phoenix-about-page p,
.phoenix-about-page h1,
.phoenix-about-page h2,
.phoenix-about-page h3,
.phoenix-about-page ul {
  margin-left: 0;
}

.phoenix-about-page a {
  text-decoration: none;
}

.phoenix-about-page img {
  max-width: 100%;
  display: block;
}

/* Important : évite que les sections passent au-dessus du menu */
.phoenix-about-page .sticky-nav {
  position: sticky;
  top: 0;
  z-index: 7000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.phoenix-about-page .dropdown-content {
  z-index: 8000;
}

.phoenix-about-page main,
.phoenix-about-page footer,
.phoenix-about-page .about-hero {
  position: relative;
  z-index: 1;
}

/* ================= HERO ================= */
.phoenix-about-page .about-hero {
  min-height: 82vh;
  padding: clamp(110px, 15vw, 170px) 7% 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(4, 7, 15, 0.88), rgba(4, 7, 15, 0.58)),
    url("event/ps7.jpeg") center / cover no-repeat;
  isolation: isolate;
}

.phoenix-about-page .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 88%);
}

.phoenix-about-page .about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--about-bg));
}

.phoenix-about-page .about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: rgba(0, 0, 0, 0.28);
}


/* Effets de glow animés */
.phoenix-about-page .about-hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.38;
  z-index: -1;
  pointer-events: none;
  animation: aboutFloat 7s ease-in-out infinite alternate;
}

.phoenix-about-page .about-hero-glow-one {
  left: 7%;
  top: 20%;
  background: var(--about-cyan);
}

.phoenix-about-page .about-hero-glow-two {
  right: 8%;
  bottom: 18%;
  background: var(--about-red);
  animation-delay: 1.6s;
}

.phoenix-about-page .about-hero-content {
  width: min(980px, 100%);
  text-align: center;
}

.phoenix-about-page .page-kicker,
.phoenix-about-page .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid rgba(0, 245, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.08);
  color: var(--about-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phoenix-about-page .about-hero h1 {
  margin: 0 auto 20px;
  max-width: 980px;
  color: #ffffff;
  font-size: clamp(2.9rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.65);
}

.phoenix-about-page .about-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(246, 248, 255, 0.82);
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  line-height: 1.85;
}

.phoenix-about-page .hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.phoenix-about-page .about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.phoenix-about-page .about-btn:hover {
  transform: translateY(-3px);
}

.phoenix-about-page .about-btn-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--about-cyan), #89fbff);
  box-shadow: 0 18px 42px rgba(0, 245, 255, 0.2);
}

.phoenix-about-page .about-btn-ghost {
  color: var(--about-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.phoenix-about-page .about-btn-ghost:hover {
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 18px 42px rgba(0, 245, 255, 0.12);
}

.phoenix-about-page .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(840px, 100%);
  margin: 48px auto 0;
}

.phoenix-about-page .hero-stat-card {
  padding: 20px;
  border: 1px solid var(--about-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--about-shadow);
}

.phoenix-about-page .hero-stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--about-cyan);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.phoenix-about-page .hero-stat-card span {
  color: rgba(246, 248, 255, 0.75);
  font-size: 0.92rem;
}

/* ================= STRUCTURE ================= */
.phoenix-about-page .about-section {
  position: relative;
  padding: clamp(70px, 10vw, 120px) 7%;
  overflow: hidden;
}

.phoenix-about-page .about-container {
  width: min(var(--about-max), 100%);
  margin: 0 auto;
}

.phoenix-about-page .section-heading {
  max-width: 770px;
  margin: 0 auto 48px;
  text-align: center;
}

.phoenix-about-page .section-heading h2,
.phoenix-about-page .intro-text h2,
.phoenix-about-page .final-cta h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.phoenix-about-page .section-heading p,
.phoenix-about-page .intro-text p,
.phoenix-about-page .final-cta p {
  color: var(--about-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.phoenix-about-page .side-heading {
  margin: 0;
  text-align: left;
}

/* ================= INTRO ================= */
.phoenix-about-page .studio-intro {
  background: var(--about-bg);
}

.phoenix-about-page .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.phoenix-about-page .intro-text strong {
  color: #ffffff;
}

.phoenix-about-page .intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.phoenix-about-page .intro-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(246, 248, 255, 0.82);
  font-size: 0.86rem;
}

.phoenix-about-page .intro-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  overflow: hidden;
  background: var(--about-card);
  box-shadow: var(--about-shadow);
}

.phoenix-about-page .intro-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(5, 7, 13, 0.85), transparent 55%),
    radial-gradient(circle at top right, rgba(0, 245, 255, 0.26), transparent 38%);
}

.phoenix-about-page .intro-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
  transition: transform 0.8s ease;
}

.phoenix-about-page .intro-visual:hover img {
  transform: scale(1.06);
}

.phoenix-about-page .visual-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(5, 7, 13, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.phoenix-about-page .visual-card .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #061015;
  background: var(--about-cyan);
}

.phoenix-about-page .visual-card strong,
.phoenix-about-page .visual-card small {
  display: block;
}

.phoenix-about-page .visual-card small {
  margin-top: 3px;
  color: var(--about-muted);
}

/* ================= VALEURS ================= */
.phoenix-about-page .values-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(142, 92, 255, 0.12), transparent 34rem),
    var(--about-bg-soft);
}

.phoenix-about-page .values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.phoenix-about-page .value-card,
.phoenix-about-page .expertise-card,
.phoenix-about-page .process-step,
.phoenix-about-page .team-card {
  position: relative;
  border: 1px solid var(--about-border);
  background: linear-gradient(180deg, var(--about-card), rgba(255, 255, 255, 0.035));
  box-shadow: var(--about-shadow);
  overflow: hidden;
}

.phoenix-about-page .value-card::before,
.phoenix-about-page .expertise-card::before,
.phoenix-about-page .process-step::before,
.phoenix-about-page .team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at top left, rgba(0, 245, 255, 0.16), transparent 42%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.phoenix-about-page .value-card:hover::before,
.phoenix-about-page .expertise-card:hover::before,
.phoenix-about-page .process-step:hover::before,
.phoenix-about-page .team-card:hover::before {
  opacity: 1;
}

.phoenix-about-page .value-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--about-radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.phoenix-about-page .value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.34);
}

.phoenix-about-page .featured-value {
  background:
    linear-gradient(145deg, rgba(0, 245, 255, 0.14), rgba(255, 61, 79, 0.1)),
    rgba(255, 255, 255, 0.07);
}

.phoenix-about-page .value-card .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--about-cyan);
  background: rgba(0, 245, 255, 0.1);
}

.phoenix-about-page .value-card h3,
.phoenix-about-page .expertise-card h3,
.phoenix-about-page .process-step h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.18rem;
}

.phoenix-about-page .value-card p,
.phoenix-about-page .expertise-card p,
.phoenix-about-page .process-step p {
  color: var(--about-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ================= EXPERTISE ================= */
.phoenix-about-page .expertise-section {
  background: var(--about-bg);
}

.phoenix-about-page .expertise-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.phoenix-about-page .expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.phoenix-about-page .expertise-card {
  min-height: 245px;
  padding: 26px;
  border-radius: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.phoenix-about-page .expertise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 176, 0, 0.34);
}

.phoenix-about-page .expertise-card > span {
  display: inline-block;
  margin-bottom: 48px;
  color: rgba(0, 245, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* ================= PROCESS ================= */
.phoenix-about-page .process-section {
  background:
    linear-gradient(180deg, var(--about-bg-soft), var(--about-bg));
}

.phoenix-about-page .process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.phoenix-about-page .process-step {
  padding: 26px;
  border-radius: 24px;
}

.phoenix-about-page .process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #041018;
  background: linear-gradient(135deg, var(--about-cyan), #ffffff);
  font-weight: 900;
}

/* ================= GALERIE ================= */
.phoenix-about-page .event-gallery {
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 61, 79, 0.12), transparent 30rem),
    var(--about-bg-soft);
  text-align: initial;
}

.phoenix-about-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.phoenix-about-page .gallery-item {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--about-shadow);
  background: rgba(255, 255, 255, 0.06);
}

.phoenix-about-page .gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.phoenix-about-page .gallery-item:hover img {
  transform: scale(1.09);
  filter: saturate(1.15) contrast(1.05);
}

.phoenix-about-page .gallery-caption {
  position: absolute;
  inset: auto 18px 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(14px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.phoenix-about-page .gallery-item:hover .gallery-caption {
  transform: translateY(0);
  border-color: rgba(0, 245, 255, 0.35);
}

.phoenix-about-page .gallery-caption span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--about-cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phoenix-about-page .gallery-caption h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.2rem;
}

.phoenix-about-page .gallery-caption p {
  color: var(--about-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* Lightbox */
.phoenix-about-page .lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 7%;
  background: rgba(3, 5, 10, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.phoenix-about-page .lightbox-overlay.active {
  display: flex;
}

.phoenix-about-page .lightbox-frame {
  position: relative;
  width: min(1100px, 100%);
  max-height: 82vh;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--about-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--about-shadow);
}

.phoenix-about-page .lightbox-frame img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #03050a;
}

.phoenix-about-page .lightbox-close,
.phoenix-about-page .lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.phoenix-about-page .lightbox-close:hover,
.phoenix-about-page .lightbox-nav:hover {
  transform: scale(1.06);
  border-color: rgba(0, 245, 255, 0.55);
  background: rgba(0, 245, 255, 0.16);
}

.phoenix-about-page .lightbox-close {
  top: 24px;
  right: 26px;
  width: 52px;
  height: 52px;
  font-size: 2rem;
}

.phoenix-about-page .lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.phoenix-about-page .lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.phoenix-about-page .lightbox-prev {
  left: 28px;
}

.phoenix-about-page .lightbox-next {
  right: 28px;
}

.phoenix-about-page .lightbox-counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.86rem;
  font-weight: 700;
}

/* ================= TEAM ================= */
.phoenix-about-page .team-section {
  background: var(--about-bg);
  color: var(--about-text);
  text-align: initial;
}

.phoenix-about-page .team-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}

.phoenix-about-page .filter-btn {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(246, 248, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.phoenix-about-page .filter-btn:hover,
.phoenix-about-page .filter-btn.active {
  color: #041018;
  border-color: rgba(0, 245, 255, 0.7);
  background: var(--about-cyan);
  transform: translateY(-2px);
}

.phoenix-about-page .team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: none;
  margin: 0;
  padding: 0;
}

.phoenix-about-page .team-card {
  min-height: 410px;
  border-radius: var(--about-radius);
  cursor: pointer;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.phoenix-about-page .team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 245, 255, 0.32);
  box-shadow: 0 28px 80px rgba(0, 245, 255, 0.12);
}

.phoenix-about-page .team-image {
  position: relative;
  height: 285px;
  overflow: hidden;
  border-radius: var(--about-radius) var(--about-radius) 0 0;
}

.phoenix-about-page .team-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 13, 0.9), transparent 58%);
}

.phoenix-about-page .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.phoenix-about-page .team-card:hover .team-image img {
  transform: scale(1.07);
}

.phoenix-about-page .team-info {
  position: relative;
  padding: 22px;
}

.phoenix-about-page .team-info h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.02rem;
}

.phoenix-about-page .team-info p {
  color: var(--about-muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.phoenix-about-page .role-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.phoenix-about-page .role-chip {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--about-cyan);
  background: rgba(0, 245, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Popup équipe */
.phoenix-about-page .popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.phoenix-about-page .popup-overlay.active {
  display: flex;
}

.phoenix-about-page .popup-content {
  position: relative;
  width: min(460px, 100%);
  padding: 22px;
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  background:
    radial-gradient(circle at top left, rgba(0, 245, 255, 0.14), transparent 45%),
    rgba(14, 17, 29, 0.96);
  box-shadow: var(--about-shadow);
  text-align: center;
}

.phoenix-about-page .popup-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
}

.phoenix-about-page .popup-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--about-cyan);
  background: rgba(0, 245, 255, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phoenix-about-page .popup-content h2 {
  margin-bottom: 8px;
  color: #ffffff;
}

.phoenix-about-page .popup-content p {
  color: var(--about-muted);
  line-height: 1.75;
}

.phoenix-about-page .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.phoenix-about-page .close-btn:hover {
  transform: scale(1.05);
  border-color: rgba(0, 245, 255, 0.45);
  background: rgba(0, 245, 255, 0.16);
}

/* ================= CTA ================= */
.phoenix-about-page .final-cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 245, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 85% 25%, rgba(255, 61, 79, 0.12), transparent 28rem),
    var(--about-bg-soft);
}

.phoenix-about-page .final-cta-box {
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: calc(var(--about-radius) + 10px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: var(--about-shadow);
  text-align: center;
}

.phoenix-about-page .final-cta-box .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.phoenix-about-page .final-cta-box .about-btn {
  margin-top: 18px;
}

/* ================= FOOTER FIX ================= */
.phoenix-about-page .main-footer p,
.phoenix-about-page .main-footer ul {
  margin-left: 0;
}

/* ================= ANIMATIONS ================= */
.phoenix-about-page .reveal-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.phoenix-about-page .reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes aboutFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, -18px, 0) scale(1.08);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .phoenix-about-page .team-grid,
  .phoenix-about-page .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phoenix-about-page .expertise-layout {
    grid-template-columns: 1fr;
  }

  .phoenix-about-page .side-heading {
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .phoenix-about-page .about-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .phoenix-about-page .intro-grid,
  .phoenix-about-page .values-grid,
  .phoenix-about-page .gallery-grid {
    grid-template-columns: 1fr;
  }

  .phoenix-about-page .intro-visual,
  .phoenix-about-page .intro-visual img {
    min-height: 380px;
  }

  .phoenix-about-page .hero-stats {
    grid-template-columns: 1fr;
  }

  .phoenix-about-page .lightbox-nav {
    top: auto;
    bottom: 22px;
  }

  .phoenix-about-page .lightbox-prev {
    left: calc(50% - 70px);
  }

  .phoenix-about-page .lightbox-next {
    right: calc(50% - 70px);
  }
}

@media (max-width: 700px) {
  .phoenix-about-page .about-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .phoenix-about-page .about-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .phoenix-about-page .hero-actions,
  .phoenix-about-page .team-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .phoenix-about-page .about-btn,
  .phoenix-about-page .filter-btn {
    width: 100%;
  }

  .phoenix-about-page .expertise-grid,
  .phoenix-about-page .process-line {
    grid-template-columns: 1fr;
  }

  .phoenix-about-page .team-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .phoenix-about-page .team-card {
    min-width: 82%;
    scroll-snap-align: center;
  }

  .phoenix-about-page .gallery-item,
  .phoenix-about-page .gallery-item img {
    min-height: 320px;
  }

  .phoenix-about-page .popup-img {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phoenix-about-page *,
  .phoenix-about-page *::before,
  .phoenix-about-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .phoenix-about-page .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   A PROPOS — RESPONSIVE / NAVIGATION HOTFIX V2
   Chargé uniquement sur APropos.html. Ne modifie pas style.css.
   ===================================================================== */

/* ---------- Base / wide screens ---------- */
.phoenix-about-page {
  --about-nav-height: 76px;
}

.phoenix-about-page,
.phoenix-about-page * {
  min-width: 0;
}

.phoenix-about-page .about-hero {
  /*
    style.css donne encore .sub-header { height: 50vh; }.
    On l'annule ici : le contenu du hero peut maintenant pousser
    naturellement la section, donc les statistiques ne sont plus coupées.
  */
  height: auto !important;
  min-height: 92vh;
  min-height: 92svh;
  padding-top: clamp(104px, 10vw, 150px);
  padding-bottom: clamp(92px, 9vw, 136px);
}

.phoenix-about-page .about-hero-content {
  position: relative;
  z-index: 1;
}

.phoenix-about-page .hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-top: clamp(30px, 3.6vw, 48px);
}

.phoenix-about-page .hero-stat-card {
  display: grid;
  place-content: center;
  min-height: 122px;
  padding: 18px 14px;
}

.phoenix-about-page .hero-stat-card span {
  line-height: 1.45;
}

/* ---------- Navigation desktop ---------- */
.phoenix-about-page .sticky-nav {
  position: sticky;
  top: 0;
  z-index: 9200;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--about-nav-height);
  padding: 10px clamp(18px, 2.3vw, 36px);
  background: rgba(14, 16, 24, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.phoenix-about-page .sticky-nav .nav-brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 48px;
}

.phoenix-about-page .sticky-nav .nav-brand-link img {
  width: clamp(118px, 9.2vw, 142px);
  height: auto;
}

.phoenix-about-page .sticky-nav .nav-links {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.phoenix-about-page .sticky-nav .nav-links > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phoenix-about-page .sticky-nav .nav-links > ul > li {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.phoenix-about-page .sticky-nav .nav-links > ul > li::after {
  bottom: 1px;
}

.phoenix-about-page .sticky-nav .nav-links > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px clamp(7px, 0.72vw, 12px);
  font-size: clamp(0.68rem, 0.72vw, 0.81rem);
  line-height: 1.15;
  white-space: nowrap;
}

.phoenix-about-page .menu-toggle,
.phoenix-about-page .menu-close,
.phoenix-about-page .menu-backdrop {
  display: none;
}

/* ---------- Large external monitors ---------- */
@media (min-width: 1680px) {
  .phoenix-about-page {
    --about-max: 1320px;
  }

  .phoenix-about-page .about-hero-content {
    width: min(1120px, 100%);
  }

  .phoenix-about-page .about-section {
    padding-left: max(7%, calc((100vw - 1540px) / 2));
    padding-right: max(7%, calc((100vw - 1540px) / 2));
  }
}

/* ---------- Laptop / compact desktop ---------- */
@media (max-width: 1320px) and (min-width: 1101px) {
  .phoenix-about-page .sticky-nav {
    gap: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .phoenix-about-page .sticky-nav .nav-brand-link img {
    width: 122px;
  }

  .phoenix-about-page .sticky-nav .nav-links > ul > li > a {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 0.71rem;
  }
}

/* ---------- Tablet and compact laptops: modern drawer ---------- */
@media (max-width: 1100px) {
  .phoenix-about-page .sticky-nav {
    min-height: 72px;
    padding: 9px 18px;
  }

  .phoenix-about-page .sticky-nav .nav-brand-link img {
    width: 126px;
  }

  .phoenix-about-page .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 13px;
    border: 1px solid rgba(0, 245, 255, 0.34);
    border-radius: 14px;
    color: #f6f8ff;
    background: linear-gradient(145deg, rgba(0, 245, 255, 0.14), rgba(255, 255, 255, 0.055));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
    cursor: pointer;
    font: inherit;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  }

  .phoenix-about-page .menu-toggle:hover,
  .phoenix-about-page .menu-toggle:focus-visible {
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(0, 245, 255, 0.85);
    background: rgba(0, 245, 255, 0.18);
  }

  .phoenix-about-page .menu-toggle-bars {
    display: grid;
    gap: 4px;
    width: 20px;
  }

  .phoenix-about-page .menu-toggle-bars span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--about-cyan);
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.48);
  }

  .phoenix-about-page .menu-toggle-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .phoenix-about-page .sticky-nav .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 2;
    display: block !important;
    width: min(88vw, 390px) !important;
    max-width: 390px !important;
    height: 100dvh !important;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 100% 0%, rgba(0, 245, 255, 0.2), transparent 17rem),
      radial-gradient(circle at 0% 76%, rgba(255, 61, 79, 0.16), transparent 19rem),
      #10141f !important;
    border-left: 1px solid rgba(0, 245, 255, 0.23);
    box-shadow: -22px 0 62px rgba(0, 0, 0, 0.5);
    text-align: left !important;
    transform: translate3d(108%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    /*
      Fermé par défaut sans transition : ce point évite le faux effet de
      fermeture lorsque le CSS bascule de la navigation desktop au drawer.
    */
    transition: none;
    will-change: transform;
  }

  .phoenix-about-page .sticky-nav .nav-links.menu-motion {
    transition: transform 0.34s cubic-bezier(.22, .8, .2, 1), visibility 0s linear 0.34s;
  }

  .phoenix-about-page .sticky-nav .nav-links.menu-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .phoenix-about-page .sticky-nav .nav-links.menu-motion.menu-open {
    transition-delay: 0s;
  }

  .phoenix-about-page .sticky-nav .nav-links > ul {
    display: block;
    margin: 0;
    padding: 88px 18px 34px;
  }

  .phoenix-about-page .sticky-nav .nav-links > ul > li {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
  }

  .phoenix-about-page .sticky-nav .nav-links > ul > li::after {
    display: none !important;
  }

  .phoenix-about-page .sticky-nav .nav-links > ul > li > a,
  .phoenix-about-page .sticky-nav .nav-links .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    color: #f6f8ff !important;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.35;
    white-space: normal;
  }

  .phoenix-about-page .sticky-nav .nav-links > ul > li > a:hover,
  .phoenix-about-page .sticky-nav .nav-links > ul > li > a:focus-visible {
    outline: none;
    border-color: rgba(0, 245, 255, 0.62);
    background: rgba(0, 245, 255, 0.12);
  }

  .phoenix-about-page .sticky-nav .nav-links > ul > li.active-menu > a,
  .phoenix-about-page .sticky-nav .nav-links > ul > li.active-parent > a {
    padding: 13px 14px;
    border-color: rgba(0, 245, 255, 0.68);
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(255, 255, 255, 0.06));
    box-shadow: inset 3px 0 0 var(--about-cyan);
  }

  .phoenix-about-page .menu-close {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    right: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.26);
    cursor: pointer;
    font: inherit;
  }

  .phoenix-about-page .menu-close span {
    font-size: 1.75rem;
    line-height: 0.7;
  }

  .phoenix-about-page .menu-close small {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .phoenix-about-page .menu-close:hover,
  .phoenix-about-page .menu-close:focus-visible {
    outline: none;
    border-color: rgba(0, 245, 255, 0.74);
    background: rgba(0, 245, 255, 0.13);
  }

  .phoenix-about-page .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: block;
    border: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    background: rgba(3, 6, 13, 0.64);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: none;
  }

  .phoenix-about-page .menu-backdrop.menu-motion {
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .phoenix-about-page .menu-backdrop.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .phoenix-about-page .menu-backdrop.menu-motion.is-visible {
    transition-delay: 0s;
  }

  .phoenix-about-page .sticky-nav .dropdown {
    width: 100%;
  }

  .phoenix-about-page .sticky-nav .dropdown > .dropdown-link .dropdown-arrow {
    flex: 0 0 auto;
    margin-left: 12px;
    font-size: 0.84rem;
    transition: transform 0.24s ease;
  }

  .phoenix-about-page .sticky-nav .dropdown.open > .dropdown-link {
    border-color: rgba(0, 245, 255, 0.55);
    background: rgba(0, 245, 255, 0.1);
  }

  .phoenix-about-page .sticky-nav .dropdown.open > .dropdown-link .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Le sous-menu est seulement piloté par .open sur tablettes et mobiles. */
  .phoenix-about-page .sticky-nav .dropdown:hover > .dropdown-content,
  .phoenix-about-page .sticky-nav .services-dropdown:hover > .services-dropdown-content,
  .phoenix-about-page .sticky-nav .portfolio-dropdown:hover > .portfolio-dropdown-content {
    display: none !important;
  }

  .phoenix-about-page .sticky-nav .dropdown.open > .dropdown-content,
  .phoenix-about-page .sticky-nav .dropdown.open:hover > .dropdown-content {
    display: block !important;
  }

  .phoenix-about-page .sticky-nav .dropdown-content,
  .phoenix-about-page .sticky-nav .services-dropdown-content,
  .phoenix-about-page .sticky-nav .portfolio-dropdown-content {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 8px 0 14px !important;
    padding: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    border-radius: 13px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .phoenix-about-page .sticky-nav .dropdown-content li,
  .phoenix-about-page .sticky-nav .services-dropdown-content li,
  .phoenix-about-page .sticky-nav .portfolio-dropdown-content li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .phoenix-about-page .sticky-nav .dropdown-content li::after {
    display: none !important;
  }

  .phoenix-about-page .sticky-nav .services-dropdown-content li a,
  .phoenix-about-page .sticky-nav .portfolio-dropdown-content li a {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px !important;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #ffffff !important;
    background: transparent;
    transform: none !important;
    text-align: left;
    white-space: normal !important;
  }

  .phoenix-about-page .sticky-nav .services-dropdown-content li a:hover,
  .phoenix-about-page .sticky-nav .portfolio-dropdown-content li a:hover {
    border-color: rgba(0, 245, 255, 0.28);
    background: rgba(0, 245, 255, 0.1) !important;
  }

  .phoenix-about-page .sticky-nav .service-icon,
  .phoenix-about-page .sticky-nav .portfolio-icon {
    display: grid;
    place-items: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 245, 255, 0.22);
    border-radius: 10px;
    background: rgba(0, 245, 255, 0.1);
    font-size: 1rem;
  }

  .phoenix-about-page .sticky-nav .service-text,
  .phoenix-about-page .sticky-nav .portfolio-text {
    display: block;
    min-width: 0;
    text-align: left;
  }

  .phoenix-about-page .sticky-nav .service-text strong,
  .phoenix-about-page .sticky-nav .portfolio-text strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff !important;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .phoenix-about-page .sticky-nav .service-text small,
  .phoenix-about-page .sticky-nav .portfolio-text small {
    display: block;
    max-width: none !important;
    color: rgba(246, 248, 255, 0.72) !important;
    font-size: 0.68rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
  }

  .phoenix-about-page .sticky-nav .dropdown-content li.active-submenu > a {
    border-color: rgba(0, 245, 255, 0.36);
    background: rgba(0, 245, 255, 0.13) !important;
  }

  .phoenix-about-page.about-scroll-lock,
  html.about-scroll-lock {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
}

/* Prevents the old panel close animation when passing back to desktop. */
@media (min-width: 1101px) {
  .phoenix-about-page .sticky-nav .nav-links {
    position: static !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  .phoenix-about-page .menu-backdrop {
    display: none !important;
  }
}

/* ---------- Tablet layout ---------- */
@media (min-width: 701px) and (max-width: 980px) {
  .phoenix-about-page .about-hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 92px;
  }

  .phoenix-about-page .values-grid,
  .phoenix-about-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phoenix-about-page .values-grid .value-card:last-child,
  .phoenix-about-page .gallery-grid .gallery-item:last-child {
    grid-column: 1 / -1;
  }

  .phoenix-about-page .gallery-item,
  .phoenix-about-page .gallery-item img {
    min-height: 340px;
  }

  .phoenix-about-page .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phoenix-about-page .hero-stat-card {
    min-height: 108px;
    padding: 14px 10px;
  }

  .phoenix-about-page .hero-stat-card span {
    font-size: 0.8rem;
  }
}

/* ---------- Phone layout ---------- */
@media (max-width: 700px) {
  .phoenix-about-page .about-hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 70px;
  }

  .phoenix-about-page .about-hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 13vw, 4.55rem);
    letter-spacing: -0.065em;
    line-height: 0.94;
  }

  .phoenix-about-page .about-hero p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .phoenix-about-page .page-kicker,
  .phoenix-about-page .section-kicker {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 0.67rem;
    letter-spacing: 0.09em;
  }

  .phoenix-about-page .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .phoenix-about-page .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 30px;
  }

  .phoenix-about-page .hero-stat-card {
    min-height: 106px;
    padding: 14px 8px;
    border-radius: 17px;
  }

  .phoenix-about-page .hero-stat-card strong {
    margin-bottom: 6px;
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .phoenix-about-page .hero-stat-card span {
    font-size: 0.7rem;
    line-height: 1.32;
  }

  .phoenix-about-page .section-heading {
    margin-bottom: 32px;
  }

  .phoenix-about-page .intro-visual,
  .phoenix-about-page .intro-visual img {
    min-height: 310px;
  }

  .phoenix-about-page .visual-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 13px;
    border-radius: 17px;
  }

  .phoenix-about-page .visual-card small {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .phoenix-about-page .team-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .phoenix-about-page .team-filters .filter-btn:first-child {
    grid-column: 1 / -1;
  }

  .phoenix-about-page .filter-btn {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 0.76rem;
  }

  .phoenix-about-page .team-grid {
    padding-right: 10%;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .phoenix-about-page .team-grid::-webkit-scrollbar {
    display: none;
  }

  .phoenix-about-page .team-card {
    min-width: min(86%, 330px);
  }

  .phoenix-about-page .team-image {
    height: 255px;
  }

  .phoenix-about-page .popup-overlay {
    align-items: flex-start;
    padding: max(16px, env(safe-area-inset-top)) 16px 16px;
    overflow-y: auto;
  }

  .phoenix-about-page .popup-content {
    width: 100%;
    max-height: calc(100dvh - 32px);
    padding: 16px;
    overflow-y: auto;
  }

  .phoenix-about-page .popup-img {
    height: min(50vh, 300px);
    margin-bottom: 14px;
  }

  .phoenix-about-page .close-btn {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(3, 5, 10, 0.78);
  }

  .phoenix-about-page .lightbox-overlay {
    padding: max(14px, env(safe-area-inset-top)) 14px 86px;
  }

  .phoenix-about-page .lightbox-frame {
    max-height: calc(100dvh - 118px);
    border-radius: 18px;
  }

  .phoenix-about-page .lightbox-frame img {
    max-height: calc(100dvh - 118px);
  }

  .phoenix-about-page .lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 48px;
    height: 48px;
    background: rgba(3, 5, 10, 0.82);
  }
}

@media (max-width: 420px) {
  .phoenix-about-page .sticky-nav {
    padding-right: 14px;
    padding-left: 14px;
  }

  .phoenix-about-page .menu-toggle {
    min-width: 46px;
    padding: 9px 11px;
  }

  .phoenix-about-page .menu-toggle-label {
    display: none;
  }

  .phoenix-about-page .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phoenix-about-page .hero-stat-card:last-child {
    grid-column: 1 / -1;
  }

  .phoenix-about-page .about-btn {
    min-height: 48px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.92rem;
  }

  .phoenix-about-page .intro-tags span {
    font-size: 0.76rem;
  }
}

@media (max-width: 350px) {
  .phoenix-about-page .about-section,
  .phoenix-about-page .about-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .phoenix-about-page .hero-stat-card span {
    font-size: 0.66rem;
  }
}

/* =========================================================
   A PROPOS — POPUPS / LIGHTBOX RESPONSIVE HOTFIX V3
   Ajout ciblé : aucun changement de structure de page.
   - Les popups passent au-dessus de la navigation.
   - Contenu toujours visible sur téléphone, tablette et laptop.
   - Boutons Fermer / précédent / suivant accessibles.
   ========================================================= */

/* Le verrouillage doit aussi fonctionner sur les grands écrans. */
.phoenix-about-page.about-scroll-lock,
html.about-scroll-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Les deux overlays sont déplacés par aPropos.js directement sous <body>.
   Ainsi, ils ne restent plus bloqués dans le contexte z-index de <main>. */
.phoenix-about-page .lightbox-overlay,
.phoenix-about-page .popup-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 12050 !important;
  isolation: isolate;
}

/* ---------------- Galerie événements ---------------- */
.phoenix-about-page .lightbox-overlay {
  display: none;
  place-items: center;
  padding: clamp(18px, 3vw, 42px) clamp(78px, 8vw, 150px);
  overflow: hidden;
  background: rgba(3, 5, 10, 0.965);
}

.phoenix-about-page .lightbox-overlay.active {
  display: grid;
}

.phoenix-about-page .lightbox-frame {
  display: grid;
  place-items: center;
  width: min(1120px, calc(100vw - 180px));
  height: min(82dvh, 780px);
  max-height: calc(100dvh - 36px);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 28px);
  background: #03050a;
}

.phoenix-about-page .lightbox-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #03050a;
}

.phoenix-about-page .lightbox-close,
.phoenix-about-page .lightbox-nav {
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(8, 12, 21, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

.phoenix-about-page .lightbox-close {
  top: max(16px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 52px;
  height: 52px;
}

.phoenix-about-page .lightbox-nav {
  top: 50%;
  width: 56px;
  height: 56px;
}

.phoenix-about-page .lightbox-prev {
  left: max(18px, env(safe-area-inset-left));
}

.phoenix-about-page .lightbox-next {
  right: max(18px, env(safe-area-inset-right));
}

.phoenix-about-page .lightbox-counter {
  z-index: 2;
  left: 16px;
  bottom: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 4, 9, 0.78);
}

/* ---------------- Fiche membre ---------------- */
.phoenix-about-page .popup-overlay {
  display: none;
  place-items: center;
  padding: clamp(16px, 3vw, 34px);
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(3, 5, 10, 0.92);
}

.phoenix-about-page .popup-overlay.active {
  display: grid;
}

.phoenix-about-page .popup-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  width: min(520px, 100%);
  max-height: calc(100dvh - clamp(32px, 6vw, 68px));
  margin: auto;
  padding: clamp(16px, 2.2vw, 24px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 245, 255, 0.48) rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 245, 255, 0.22);
}

.phoenix-about-page .popup-content::-webkit-scrollbar {
  width: 7px;
}

.phoenix-about-page .popup-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 245, 255, 0.48);
}

/* Le bouton reste présent même si une fiche est plus haute que l'écran. */
.phoenix-about-page .popup-content .close-btn {
  position: sticky;
  top: 0;
  right: auto;
  justify-self: end;
  width: 46px;
  height: 46px;
  margin: 0 0 -46px auto;
  z-index: 6;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(3, 5, 10, 0.88);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.phoenix-about-page .popup-img {
  width: 100%;
  height: clamp(230px, 47dvh, 360px);
  min-height: 0;
  max-height: calc(100dvh - 250px);
  margin-bottom: 16px;
  object-fit: cover;
}

.phoenix-about-page .popup-badge {
  justify-self: center;
  margin-top: 2px;
}

.phoenix-about-page .popup-content h2 {
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.18;
}

.phoenix-about-page .popup-content p {
  overflow-wrap: anywhere;
}

/* ---------------- Tablette / téléphone ---------------- */
@media (max-width: 700px) {
  .phoenix-about-page .lightbox-overlay {
    padding: max(70px, calc(env(safe-area-inset-top) + 18px)) 14px max(92px, calc(env(safe-area-inset-bottom) + 18px));
  }

  .phoenix-about-page .lightbox-frame {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 166px);
  }

  .phoenix-about-page .lightbox-frame img {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 166px);
  }

  .phoenix-about-page .lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
  }

  .phoenix-about-page .lightbox-nav {
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    transform: none;
  }

  .phoenix-about-page .lightbox-nav:hover {
    transform: scale(1.06);
  }

  .phoenix-about-page .lightbox-prev {
    left: calc(50% - 62px);
  }

  .phoenix-about-page .lightbox-next {
    right: calc(50% - 62px);
  }

  .phoenix-about-page .lightbox-counter {
    left: 12px;
    bottom: 12px;
    font-size: 0.78rem;
  }

  .phoenix-about-page .popup-overlay {
    align-items: start;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .phoenix-about-page .popup-content {
    max-height: calc(100dvh - 24px);
    padding: 14px;
    border-radius: 20px;
  }

  .phoenix-about-page .popup-content .close-btn {
    width: 44px;
    height: 44px;
    margin-bottom: -44px;
  }

  .phoenix-about-page .popup-img {
    height: min(44dvh, 320px);
    max-height: calc(100dvh - 235px);
    border-radius: 16px;
  }

  .phoenix-about-page .popup-badge {
    max-width: 100%;
    font-size: 0.67rem;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .phoenix-about-page .popup-content p {
    font-size: 0.91rem;
    line-height: 1.65;
  }
}

/* Très petits téléphones ou paysage à faible hauteur. */
@media (max-height: 540px) {
  .phoenix-about-page .lightbox-overlay {
    padding-top: 56px;
    padding-bottom: 70px;
  }

  .phoenix-about-page .lightbox-frame,
  .phoenix-about-page .lightbox-frame img {
    max-height: calc(100dvh - 126px);
  }

  .phoenix-about-page .lightbox-nav {
    bottom: 10px;
    width: 46px;
    height: 46px;
  }

  .phoenix-about-page .lightbox-prev {
    left: calc(50% - 56px);
  }

  .phoenix-about-page .lightbox-next {
    right: calc(50% - 56px);
  }

  .phoenix-about-page .popup-overlay {
    padding: 10px;
  }

  .phoenix-about-page .popup-content {
    max-height: calc(100dvh - 20px);
    padding: 12px;
  }

  .phoenix-about-page .popup-img {
    height: min(34dvh, 210px);
    max-height: 210px;
    margin-bottom: 10px;
  }

  .phoenix-about-page .popup-badge {
    margin-bottom: 8px;
    padding: 6px 9px;
  }

  .phoenix-about-page .popup-content h2 {
    margin-bottom: 5px;
  }
}


/* =========================================================
   A PROPOS — ÉQUIPE MOBILE & GALERIE SANS ROGNAGE — V4
   Correction ciblée :
   - une seule carte complète sur téléphone ;
   - glissement tactile + boutons précédent/suivant ;
   - aucune image de lightbox n'est recadrée, quelle que soit
     la dimension laptop/tablette/téléphone.
   ========================================================= */

/* -------- Galerie événement : l'image garde toujours son ratio réel -------- */
.phoenix-about-page .lightbox-overlay {
  padding: clamp(18px, 3vw, 42px) clamp(76px, 8vw, 150px) !important;
}

.phoenix-about-page .lightbox-frame {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  height: fit-content !important;
  max-width: calc(100vw - clamp(152px, 16vw, 300px)) !important;
  max-height: calc(100dvh - clamp(36px, 6vw, 84px)) !important;
  margin: 0 !important;
  overflow: hidden;
  background: #03050a;
}

/* Important : la taille dépend du fichier original. Pas de width/height forcé,
   donc pas de recadrage sur les écrans 13–14 pouces et autres laptops. */
.phoenix-about-page .lightbox-frame #lightbox-img,
.phoenix-about-page .lightbox-frame img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: calc(100vw - clamp(152px, 16vw, 300px)) !important;
  max-height: calc(100dvh - clamp(36px, 6vw, 84px)) !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #03050a;
}

/* -------- Navigation de l'équipe -------- */
.phoenix-about-page .team-carousel-controls {
  display: none;
}

@media (max-width: 700px) {
  /* Un membre par vue : plus de carte coupée sur la droite. */
  .phoenix-about-page .team-grid {
    display: flex !important;
    width: 100%;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .phoenix-about-page .team-grid::-webkit-scrollbar {
    display: none;
  }

  .phoenix-about-page .team-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .phoenix-about-page .team-image {
    height: clamp(230px, 67vw, 330px);
    background: #080c15;
  }

  /* Les portraits restent complets dans la carte mobile. */
  .phoenix-about-page .team-image img {
    object-fit: contain;
    object-position: center center;
    background: #080c15;
  }

  .phoenix-about-page .team-card:hover,
  .phoenix-about-page .team-card:focus-visible {
    transform: none;
  }

  .phoenix-about-page .team-carousel-controls {
    display: grid;
    grid-template-columns: 48px minmax(90px, 1fr) 48px;
    align-items: center;
    gap: 12px;
    width: min(100%, 330px);
    margin: 18px auto 0;
  }

  .phoenix-about-page .team-carousel-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 245, 255, 0.42);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 245, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
    font: inherit;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  }

  .phoenix-about-page .team-carousel-btn:active {
    transform: scale(0.94);
  }

  .phoenix-about-page .team-carousel-btn:focus-visible,
  .phoenix-about-page .team-carousel-btn:hover {
    outline: none;
    border-color: var(--about-cyan);
    background: rgba(0, 245, 255, 0.18);
  }

  .phoenix-about-page .team-carousel-status {
    display: block;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(246, 248, 255, 0.88);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
  }

  /* Les images de la galerie restent intégrales sur téléphone,
     avec les boutons en bas comme dans la version précédente. */
  .phoenix-about-page .lightbox-overlay {
    padding: max(66px, calc(env(safe-area-inset-top) + 14px)) 14px max(86px, calc(env(safe-area-inset-bottom) + 14px)) !important;
  }

  .phoenix-about-page .lightbox-frame {
    width: fit-content !important;
    height: fit-content !important;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100dvh - 152px) !important;
  }

  .phoenix-about-page .lightbox-frame #lightbox-img,
  .phoenix-about-page .lightbox-frame img {
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100dvh - 152px) !important;
  }
}

/* Tablettes compactes en paysage : on garde l'image entière même avec peu de hauteur. */
@media (min-width: 701px) and (max-height: 760px) {
  .phoenix-about-page .lightbox-overlay {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .phoenix-about-page .lightbox-frame,
  .phoenix-about-page .lightbox-frame #lightbox-img,
  .phoenix-about-page .lightbox-frame img {
    max-height: calc(100dvh - 32px) !important;
  }
}

@media (max-height: 540px) and (max-width: 700px) {
  .phoenix-about-page .lightbox-overlay {
    padding-top: 54px !important;
    padding-bottom: 70px !important;
  }

  .phoenix-about-page .lightbox-frame,
  .phoenix-about-page .lightbox-frame #lightbox-img,
  .phoenix-about-page .lightbox-frame img {
    max-height: calc(100dvh - 124px) !important;
  }
}


/* =========================================================
   A PROPOS — STABILISATION DU DRAWER AU REDIMENSIONNEMENT
   Le media query peut changer pendant que l'utilisateur réduit la fenêtre.
   Cette protection bloque le frame de transition parasite, sans toucher à
   l'ouverture/fermeture normale déclenchée par le bouton hamburger.
   ========================================================= */
html.about-nav-resizing .phoenix-about-page .sticky-nav .nav-links,
html.about-nav-resizing .phoenix-about-page .menu-backdrop,
html.about-nav-resizing .phoenix-about-page .menu-toggle,
html.about-nav-resizing .phoenix-about-page .menu-close {
  transition: none !important;
  animation: none !important;
}

@media (max-width: 1100px) {
  .phoenix-about-page .sticky-nav .nav-links:not(.menu-motion),
  .phoenix-about-page .menu-backdrop:not(.menu-motion) {
    transition: none !important;
  }
}
