/* ===========================================
   TONTON STUDIO V2 — About Page Styles
   Cinematic GSAP experience
   =========================================== */

/* ===========================================
   FONT FACES — Alaska Beta (shared with home)
   =========================================== */
@font-face { font-family: 'Alaska'; src: url('../fonts/AlaskaBeta-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Alaska'; src: url('../fonts/AlaskaBeta-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Alaska'; src: url('../fonts/AlaskaBeta-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Alaska'; src: url('../fonts/AlaskaBeta-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'AlaskaCondensed'; src: url('../fonts/AlaskaBeta-CondensedBold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'AlaskaCondensed'; src: url('../fonts/AlaskaBeta-CondensedExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'AlaskaExpanded'; src: url('../fonts/AlaskaBeta-ExpandedBold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ===========================================
   RESET & CUSTOM PROPERTIES
   =========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --dark: #2B334F;
    --dark-deep: #1E2438;
    --yellow: #FCE861;
    --yellow-darker: #F9DA10;
    --white: #FFFFFF;
    --coral: #EF626C;
    --pink: #FFA5CC;
    --orange: #FF8847;
    --cyan: #5CCEFF;
    --purple: #7F76E5;
    --mint: #44EEAA;
    --font-main: 'Alaska', 'Helvetica Neue', Arial, sans-serif;
    --font-condensed: 'AlaskaCondensed', 'Alaska', 'Impact', sans-serif;
    --font-expanded: 'AlaskaExpanded', 'Alaska', 'Helvetica Neue', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: var(--dark);
    overflow-x: hidden; /* fix mobile : doit etre sur html ET body (cf CLAUDE.md) */
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    color: var(--white);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.page-wrapper {
    visibility: hidden;
    position: relative;
}

/* ===========================================
   CINEMATIC DNA — Grain + vignette site-wide
   =========================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 48%, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 90;
}

body::after {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image: repeating-conic-gradient(rgba(255, 255, 255, 0.04) 0% 0.00075%, transparent 0.00075% 0.00225%);
    animation: globalGrain 0.8s steps(4) infinite;
    pointer-events: none;
    z-index: 91;
    opacity: 0.5;
}

@keyframes globalGrain {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-2%, 1%); }
    50%  { transform: translate(1%, -2%); }
    75%  { transform: translate(-1%, 2%); }
    100% { transform: translate(2%, -1%); }
}

@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; opacity: 0.3; }
}

/* ===========================================
   NAVIGATION (aligned with home_v2.css)
   =========================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.scrolled {
    background: rgba(43, 51, 79, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-brand img { height: 44px; width: auto; }

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--yellow);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 28px; height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Aligne sur home_v2.css : memes valeurs, fondu opacity/visibility,
   safe center + overflow-y pour le paysage telephone */
.mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(43, 51, 79, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    overflow-y: auto;
    gap: 18px;
    padding: 80px 24px 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.mobile-menu a {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.3s ease;
}

.mobile-menu a:hover { color: var(--yellow); }

/* ===========================================
   LANG SWITCHER (FR / EN)
   =========================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

.lang-switcher-current { color: var(--white); }

.lang-switcher-link {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
    text-decoration: none;
}

.lang-switcher-link:hover { color: var(--yellow); }

.lang-switcher-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 2px;
}

.nav-links .lang-switcher-link::after { display: none; }

.lang-switcher--mobile {
    margin: 12px 0 0;
    padding: 0;
    border: none;
    font-family: var(--font-condensed);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
}

.lang-switcher--mobile .lang-switcher-current { color: var(--yellow); }
.lang-switcher--mobile .lang-switcher-link { color: rgba(255, 255, 255, 0.55); }
.lang-switcher--mobile .lang-switcher-link:hover { color: var(--yellow); }
.lang-switcher--mobile .lang-switcher-sep { color: rgba(255, 255, 255, 0.4); margin: 0 6px; }

/* ===========================================
   SECTION 1 — HERO À PROPOS
   =========================================== */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 48px 80px;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

/* Photo with clip-path reveal */
.about-hero-photo {
    position: relative;
    /* PAS d'overflow hidden : la barre accent (.about-hero-accent) vit a left:-16px,
       hors du box. Le reveal de la photo est deja clippe par .about-hero-photo-wrapper. */
    max-width: 380px;
    margin-left: auto;
}

.about-hero-photo-wrapper {
    position: relative;
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

.about-hero-photo-wrapper img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.1);
}

/* Scanline overlay on photo */
.about-hero-photo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(43, 51, 79, 0.08) 2px,
        rgba(43, 51, 79, 0.08) 4px
    );
    pointer-events: none;
}

/* Accent bar (animated via GSAP) */
.about-hero-accent {
    position: absolute;
    left: -16px;
    top: 10%;
    width: 4px;
    height: 0;
    background: var(--yellow);
    z-index: 2;
}

/* Photo credit */
.about-hero-photo-credit {
    font-family: var(--font-main);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: right;
    margin-top: 8px;
    letter-spacing: 0.04em;
    opacity: 0;
}

.about-hero-photo-credit a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-hero-photo-credit a:hover {
    color: var(--yellow);
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-hero-label {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow);
}

.about-hero-name {
    font-family: var(--font-condensed);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.95;
    color: var(--white);
}

.about-hero-name .name-line {
    display: block;
    overflow: hidden;
}

.about-hero-name .name-word {
    display: inline-block;
    will-change: transform;
}

.about-hero-baseline {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 480px;
}

.about-hero-baseline strong {
    color: var(--yellow);
    font-weight: 700;
}

.about-hero-scroll {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    visibility: hidden;
}

.about-hero-scroll svg {
    width: 16px;
    height: 16px;
    opacity: 0.4;
}

/* ===========================================
   SECTION 2 — BIO
   =========================================== */
.about-bio {
    padding: 100px 48px 80px;
    position: relative;
}

.about-bio-inner {
    max-width: 820px;
    margin: 0 auto;
}

.about-bio-separator {
    width: 60px;
    height: 2px;
    background: var(--yellow);
    opacity: 0.4;
    margin-bottom: 64px;
    transform-origin: left;
}

.bio-block {
    margin-bottom: 48px;
    opacity: 0;
}

.bio-block p {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
}

.bio-block p + p {
    margin-top: 24px;
}

.bio-block strong {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

/* Highlighted keywords */
.bio-highlight {
    color: var(--yellow);
    font-weight: 700;
}

.bio-highlight--yellow { color: var(--yellow); }
.bio-highlight--mint { color: var(--mint); }
.bio-highlight--cyan { color: var(--cyan); }
.bio-highlight--coral { color: var(--coral); }
.bio-highlight--purple { color: var(--purple); }

a.bio-highlight,
a.bio-highlight--yellow,
a.bio-highlight--mint,
a.bio-highlight--cyan,
a.bio-highlight--purple {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    opacity: 0.9;
    transition: opacity 0.2s;
}
a.bio-highlight:hover,
a.bio-highlight--yellow:hover,
a.bio-highlight--mint:hover,
a.bio-highlight--cyan:hover,
a.bio-highlight--purple:hover {
    opacity: 1;
}

/* Big stat inline */
.bio-stat {
    font-family: var(--font-condensed);
    font-weight: 800;
    font-size: 1.5em;
    color: var(--yellow);
    display: inline-block;
    will-change: transform;
}

/* ===========================================
   SECTION 3 — CONFERENCES
   =========================================== */
.about-conferences {
    padding: 80px 48px 80px;
    position: relative;
    overflow: hidden;
}

.about-conferences::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-deep) 50%, var(--dark) 100%);
    z-index: -1;
}

.about-conferences-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-section-header {
    margin-bottom: 80px;
}

.about-section-label {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 16px;
}

.about-section-title {
    font-family: var(--font-condensed);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
    line-height: 1.1;
}

/* Conference program — liste editoriale */
.conf-program {
    margin-bottom: 56px;
}
.conf-program:last-child { margin-bottom: 0; }

.conf-program-cat {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.conf-program-cat--impact { color: var(--mint); }
.conf-program-cat--ia { color: var(--cyan); }

.conf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.conf-line {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: baseline;
    column-gap: 28px;
    padding: 16px 22px 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.45s ease, transform 0.45s ease;
    opacity: 0;
}
.conf-list .conf-line:last-child { border-bottom: none; }

/* Spotlight bar — barre jaune verticale qui se reveille au hover (cote scene) */
.conf-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--yellow);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Spotlight halo — halo jaune diffus depuis la gauche */
.conf-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(252, 232, 97, 0.08) 0%, rgba(252, 232, 97, 0.025) 30%, transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    border-radius: 4px;
}

.conf-line:hover {
    transform: translateX(5px);
}
.conf-line:hover::before { transform: scaleY(1); }
.conf-line:hover::after { opacity: 1; }

.conf-line-year {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.conf-line-name {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    letter-spacing: 0.005em;
    transition: color 0.4s ease, text-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}
.conf-line:hover .conf-line-name {
    color: var(--yellow);
    text-shadow: 0 0 18px rgba(252, 232, 97, 0.32);
}

.conf-line-place {
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.conf-line:hover .conf-line-year,
.conf-line:hover .conf-line-place {
    color: rgba(252, 232, 97, 0.85);
}

/* Ligne avec detail (ex: "600 etudiants en 3 jours") — body wrappe nom + detail */
.conf-line-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}
.conf-line-detail {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.42);
    transition: color 0.4s ease;
}
.conf-line:hover .conf-line-detail {
    color: rgba(252, 232, 97, 0.72);
}

/* ===========================================
   SECTION 4 — INTERVENTIONS PEDAGOGIQUES
   =========================================== */
.about-teaching {
    padding: 80px 48px;
    position: relative;
}

.about-teaching-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.teaching-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 26px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
    opacity: 0;
}

.teaching-card:hover {
    border-color: rgba(127, 118, 229, 0.45);
    background: rgba(127, 118, 229, 0.05);
    transform: translateY(-4px);
}

.teaching-card-school {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--white);
    margin: 0;
    letter-spacing: 0.005em;
}

.teaching-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-family: var(--font-main);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}
.teaching-card-meta .dot {
    color: rgba(255, 255, 255, 0.22);
    font-size: 0.7rem;
}
.teaching-card-meta .since {
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.teaching-card-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}
.teaching-card-topics li {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.015em;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.teaching-card:hover .teaching-card-topics li {
    background: rgba(127, 118, 229, 0.10);
    border-color: rgba(127, 118, 229, 0.20);
    color: rgba(255, 255, 255, 0.88);
}

/* ===========================================
   SECTION 4.5 — ENGAGEMENTS & PARTENAIRES
   =========================================== */
.about-engagements {
    padding: 80px 48px;
    position: relative;
}

.about-engagements-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.engagements-block {
    margin-top: 48px;
}

.engagements-block-title {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yellow);
    margin: 0 0 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(252, 232, 97, 0.18);
}

/* --- Bloc Partenaires --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.partner-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.partner-card:hover {
    border-color: rgba(252, 232, 97, 0.35);
    background: rgba(252, 232, 97, 0.04);
    transform: translateY(-3px);
}

.partner-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 56px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.partner-pill img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.partner-name {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: 0.005em;
}

.partner-tag {
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.35;
}

/* --- Bloc Engagements associatifs --- */
.assos-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asso-line {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: start;
    gap: 18px;
    position: relative;
    padding: 22px 24px 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.35s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.asso-line-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 56px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

.asso-line-pill img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.asso-line-content {
    display: block;
    min-width: 0;
}

.assos-list li:last-child .asso-line { border-bottom: none; }

.asso-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 3px;
    background: var(--yellow);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.asso-line:hover { background: rgba(252, 232, 97, 0.025); }
.asso-line:hover::before { transform: scaleY(1); }

.asso-line-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.asso-line-name {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    margin: 0;
    letter-spacing: 0.005em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.asso-line:hover .asso-line-name {
    color: var(--yellow);
    text-shadow: 0 0 18px rgba(252, 232, 97, 0.35);
}

.asso-line-meta {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--yellow);
}

.asso-line-mission {
    font-family: var(--font-main);
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 78ch;
}

/* Responsive engagements */
@media (max-width: 980px) {
    .partners-grid { grid-template-columns: 1fr; gap: 10px; }
    .partner-card { max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
    .about-engagements { padding: 60px 20px; }
    .engagements-block { margin-top: 36px; }
    .partner-card { grid-template-columns: 72px 1fr; gap: 14px; padding: 12px 14px; }
    .partner-pill { width: 72px; height: 48px; }
    .partner-name { font-size: 0.95rem; }
    .partner-tag { font-size: 0.7rem; }
    .asso-line { grid-template-columns: 72px 1fr; gap: 14px; padding: 18px 16px 18px 22px; }
    .asso-line-pill { width: 72px; height: 48px; }
    /* Mobile : la mission wrap sur 4-5 lignes, donc top/bottom 18% du bloc
       devient demesure. On aligne la barre sur la hauteur de la pill seulement
       (padding-top 18px + margin-top pill 2px = 20px ; pill 48px) */
    .asso-line::before { top: 20px; bottom: auto; height: 48px; }
    .asso-line { padding: 18px 16px 18px 22px; }
    .asso-line-head { gap: 8px; }
    .asso-line-name { font-size: 1.1rem; }
    .asso-line-mission { font-size: 0.9rem; }
}

/* ===========================================
   SECTION 5 — RECOMMANDATIONS
   =========================================== */
.about-reco {
    padding: 120px 48px 160px;
    position: relative;
}

.about-reco::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-deep) 100%);
    z-index: -1;
}

.about-reco-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.reco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.reco-card {
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    border-left: 3px solid var(--yellow);
    transition: all 0.4s ease;
    opacity: 0;
}

.reco-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Alternate accent colors */
.reco-card:nth-child(2) { border-left-color: var(--mint); }
.reco-card:nth-child(3) { border-left-color: var(--cyan); }
.reco-card:nth-child(4) { border-left-color: var(--coral); }
.reco-card:nth-child(5) { border-left-color: var(--purple); }
.reco-card:nth-child(6) { border-left-color: var(--orange); }
.reco-card:nth-child(7) { border-left-color: var(--pink); }

.reco-text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.reco-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reco-name {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
}

.reco-role {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
}

/* ===========================================
   BACK TO HOME CTA
   =========================================== */
.about-cta {
    padding: 60px 48px 80px;
    text-align: center;
}

.about-cta a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow);
    padding: 16px 40px;
    border: 1px solid rgba(252, 232, 97, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.about-cta a:hover {
    background: rgba(252, 232, 97, 0.08);
    border-color: var(--yellow);
}

/* ===========================================
   RESPONSIVE — 1024px (tablette wide : teaching 2 colonnes)
   =========================================== */
@media (max-width: 1024px) {
    .teaching-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===========================================
   RESPONSIVE — 768px
   =========================================== */
@media (max-width: 768px) {
    .nav { padding: 0 20px; height: 64px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    /* Hero */
    .about-hero { padding: 100px 24px 60px; min-height: auto; }
    .about-hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .about-hero-photo { max-width: 300px; margin: 0 auto; }
    .about-hero-accent { display: none; } /* photo centree sur mobile : pas de barre laterale */
    .about-hero-text { align-items: center; }
    .about-hero-baseline { max-width: 100%; }
    .about-hero-name { font-size: clamp(2rem, 10vw, 3rem); }

    /* Bio */
    .about-bio { padding: 60px 24px 50px; }
    .bio-block p { font-size: 0.95rem; }

    /* Conferences */
    .about-conferences { padding: 50px 24px; }
    .conf-line {
        grid-template-columns: 52px 1fr;
        column-gap: 16px;
        row-gap: 2px;
        padding: 14px 14px 14px 14px;
    }
    .conf-line-year { font-size: 0.78rem; }
    .conf-line-name { font-size: 1.05rem; }
    .conf-line-place {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.75rem;
    }
    .conf-line--has-detail .conf-line-place { grid-row: 3; }
    .conf-line:hover { transform: translateX(3px); }

    /* Teaching */
    .about-teaching { padding: 50px 24px; }
    .teaching-grid { grid-template-columns: 1fr; gap: 16px; }
    .teaching-card { padding: 22px 22px 20px; }
    .teaching-card-school { font-size: 1.2rem; }

    /* Reco */
    .about-reco { padding: 80px 24px 120px; }
    .reco-grid { grid-template-columns: 1fr; }
    .reco-card { padding: 28px 24px; }
    .reco-text { font-size: 0.875rem; }

    /* CTA */
    .about-cta { padding: 40px 24px 60px; }

    /* Footer : overrides deplaces APRES le bloc de base FOOTER V2 (cascade),
       voir la media query dediee en fin de section footer */
}

/* ===========================================
   FOOTER V2
   =========================================== */
.footer-v2 {
    background: var(--dark-deep);
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-v2-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-v2-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6); /* contraste AA */
    transition: color 0.3s ease;
}
.footer-v2-linkedin svg {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}
.footer-v2-linkedin:hover { color: var(--yellow); }
.footer-v2-linkedin:hover svg { opacity: 0.8; }
.footer-v2-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-v2-legal a,
.footer-v2-legal .tts-cookie-link {
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6); /* contraste AA */
    transition: color 0.3s ease;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.footer-v2-legal a:hover,
.footer-v2-legal .tts-cookie-link:hover { color: var(--yellow); opacity: 1; }
.footer-v2-copy {
    font-size: 0.6875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55); /* contraste AA */
}

/* Overrides mobiles du footer : APRES le bloc de base pour gagner la cascade
   (a specificite egale, la derniere regle source l'emporte, cf home_v2.css) */
@media (max-width: 768px) {
    .footer-v2 { padding: 20px; }
    .footer-v2-inner { flex-direction: column; gap: 12px; }
    .footer-v2-legal { gap: 16px; }
}

@media (max-width: 375px) {
    .nav { padding: 0 16px; }
    .about-hero { padding: 90px 16px 48px; }
    .about-hero-name { font-size: 2rem; }
    .about-bio { padding: 60px 16px; }
    .about-conferences { padding: 60px 16px; }
    .about-teaching { padding: 60px 16px; }
    .about-reco { padding: 60px 16px 80px; }
}

/* ===========================================
   LABEL QUALITE NUMERIQUE — fin de page (logo vertical officiel, sans pastille)
   =========================================== */
.about-label {
    display: flex;
    justify-content: center;
    padding: 8px 40px 72px;
}

.about-label-link {
    display: inline-block;
    line-height: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-label-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.about-label-link img {
    height: 132px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .about-label { padding: 6px 20px 56px; }
    .about-label-link img { height: 112px; }
}

@media (max-width: 375px) {
    .about-label { padding: 4px 16px 48px; }
    .about-label-link img { height: 96px; }
}
