/* page-team.css — ce qui appartient en propre à team.
 *
 * Le commun vit dans style.css. Ce fichier ne contient que les écarts :
 * 21 règles strictement identiques à style.css ont été retirées,
 * 54 conservées. À charger APRÈS style.css.
 *
 * Extrait le 10-08-2026 par _gabarit-css.py.
 */

:root {
    --bg: #0a0f1a;
    --bg2: #0e1322;
    --surface: #141b2d;
    --border: rgba(160,180,210,0.08);
    --text: #ffffff;
    --text-muted: #b7c2d4;
    --accent: #2d3e6b;
    --accent-light: #4a5f8f;
    --accent-pale: #8a9cbd;
    --accent-dim: rgba(45,62,107,0.15);
    --gold: #b8965a;
    --gold-light: #d4b478;
    --slate-blue: #6b7fa3;
    --display: 'Inter Tight', 'Helvetica Now Display', Helvetica, Arial, sans-serif;
    --body: 'Carlito', Calibri, 'Segoe UI', sans-serif;
  }

html { scroll-behavior: smooth; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: none; /* noise overlay retiré — rendu lisse */
    pointer-events: none;
    z-index: 9999;
  }

/* HERO */
  .hero {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 3rem;
    position: relative;
    background: var(--bg);
  }

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
  }

.hero > * { position: relative; z-index: 2; }

.hero-label {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-pale);
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
  }

.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 700px;
    opacity: 0;
    animation: fadeUp 1.2s 0.5s forwards;
  }

/* DIVIDER */
  .divider { display: flex; align-items: center; justify-content: center; padding: 0 4rem; gap: 2rem; }

section { padding: 8rem 4rem; }

/* FOUNDERS */
  .founders-section { background: var(--bg2); }

.founders-header {
    text-align: center;
    margin-bottom: 5rem;
  }

.founders-header .section-title { margin: 0 auto 1.5rem; }

.founders-header .section-desc { margin: 0 auto; }

.founders-photo {
    max-width: 900px;
    margin: 0 auto 4rem;
    border: 1px solid var(--border);
    overflow: hidden;
  }

.founders-photo img { width: 100%; height: auto; display: block; }

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

.founder-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0;
    transition: border-color 0.4s;
    position: relative;
    overflow: hidden;
  }

.founder-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }

.founder-card:hover { border-color: rgba(74,95,143,0.3); }

.founder-card:hover::before { opacity: 1; }

.founder-card-top {
    padding: 3rem 3rem 2.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }

.founder-avatar {
    width: 96px;
    height: 96px;
    border: 1px solid rgba(74,95,143,0.25);
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
  }

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

.founder-identity { flex: 1; }

.founder-identity h2 {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    line-height: 1.1;
  }

.founder-role {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-pale);
    font-weight: 400;
  }

.founder-card-body { padding: 2.5rem 3rem 3rem; }

.founder-bio {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2.5rem;
  }

.career-tags-label {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
    width: 100%;
    margin-bottom: 0.6rem;
    display: block;
  }

.career-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.career-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--accent-pale);
    border: 1px solid rgba(74,95,143,0.25);
    background: rgba(74,95,143,0.06);
    transition: all 0.3s;
  }

.career-tag:hover { border-color: rgba(74,95,143,0.5); background: rgba(74,95,143,0.12); color: var(--text); }

/* TEAM SECTION */
  .team-section { background: var(--bg); }

.team-header { margin-bottom: 5rem; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

.team-card {
    display: block;
    background: var(--bg);
    padding: 3rem 2.5rem;
    transition: background 0.4s;
    position: relative;
  }

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.5s;
  }

.team-card:hover::after { transform: scaleX(1); }

.team-card:hover { background: var(--surface); }

.team-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 1px solid rgba(74,95,143,0.25);
    overflow: hidden;
    margin-bottom: 2rem;
  }

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

.team-card h3 {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    line-height: 1.1;
  }

/* Le doré marquait le rôle sur chaque carte, en plus du liseré de survol :
   sur six cartes alignées, l'accent devenait la couleur dominante. Le rôle
   passe au bleu pâle, le liseré doré reste comme seul accent, au survol. */
.team-role {
    font-size: 0.67rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-pale);
    font-weight: 400;
    margin-bottom: 1.5rem;
  }

.team-bio {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.8;
  }

.team-years {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-pale);
    font-weight: 400;
    border-bottom: 1px solid rgba(138,156,189,0.25);
    padding-bottom: 2px;
  }

/* CTA */
  .cta-section {
    text-align: center;
    padding: 10rem 4rem;
    position: relative;
  }

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(12,16,24,0.4) 30%, rgba(12,16,24,0.4) 70%, var(--bg) 100%),
      url('../webp/mountain3.webp') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    filter: saturate(0.2) brightness(0.6);
  }

.cta-section > * { position: relative; z-index: 2; }

/* BUTTONS */
  .btn-primary {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--accent-light);
    color: var(--bg);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
  }

/* FOOTER */
  footer { padding: 4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.footer-links { display: flex; gap: 2rem; }

.footer-copy { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; }

/* ── Points de rupture ── */

@media (max-width: 1200px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
  }

@media (max-width: 1100px) {
    .founders-grid { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
  }

@media (max-width: 1024px) {
    section { padding: 6rem 2rem; }
    nav { padding: 1.2rem 2rem; }
    nav.scrolled { padding: 0.8rem 2rem; }
    footer { flex-direction: column; gap: 2rem; text-align: center; }
    .cta-section { padding: 7rem 2rem; }
    .divider { padding: 0 2rem; }
  }

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .team-grid { grid-template-columns: 1fr 1fr; }
  }

@media (max-width: 600px) {
    section { padding: 5rem 1.5rem; }
    .founder-card-top { flex-direction: column; gap: 1.5rem; padding: 2.5rem 2rem 2rem; }
    .founder-card-body { padding: 2rem 2rem 2.5rem; }
    .team-grid { grid-template-columns: 1fr; }
    .hero { min-height: 52vh; }
  }

/* Image de cette page. Le traitement est commun, dans style.css. */
.hero {
  --hero-image: url('../webp/hero-geneve-vapeur.webp');
  /* Le vapeur et le jet d'eau occupent le bas de la photo : au cadrage
     commun (55 %), on n'en voyait qu'un fragment. */
  --hero-position: center 82%;
}
