/* ===== Variables ===== */
:root {
  --bg: #0f0f10;
  --bg-alt: #17171a;
  --text: #f2f0ec;
  --text-muted: #b4b0a8;
  --accent: #a3121f;
  --accent-hover: #c81a2a;
  --border: #2a2a2d;

  --font-display: "Bebas Neue", "Archivo Black", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1100px;
}

/* ===== Reset ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 0.75em;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 16, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Language switch ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch .lang-sep {
  color: var(--text-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--accent);
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ===== Hero ===== */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
  background-size: cover;
  background-position: center 20%;
}

.hero-photo {
  background-image: linear-gradient(180deg, rgba(15, 15, 16, 0.55) 0%, rgba(15, 15, 16, 0.85) 100%), url("../images/web/hero-accueil.jpg");
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 2em;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 90px 24px;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 3em;
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5em 0;
}

.tag {
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.prose {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.prose p {
  margin-bottom: 1.4em;
}

/* ===== Portraits / images éditoriales ===== */
.bio-layout {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 2em;
}

.bio-layout .prose {
  flex: 1 1 420px;
  margin-top: 0;
}

.bio-portraits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 260px;
}

.portrait-img {
  width: 100%;
  border: 1px solid var(--border);
  object-fit: cover;
}

.figure-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.creation-visual {
  max-width: 480px;
  margin: 2.5em auto 0;
  border: 1px solid var(--border);
}

/* ===== Créations & Parcours ===== */
.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 40px;
  margin-top: 2.5em;
}

.creation-card {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 36px;
}

.creation-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.3em;
}

.creation-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5em;
  line-height: 1.8;
}

.creation-meta strong {
  color: var(--text);
  font-weight: 600;
}

.creation-card .prose {
  max-width: none;
  font-size: 0.98rem;
  margin-top: 0;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 1.8em;
  flex-wrap: wrap;
}

/* Blocs dépliables (soutiens / lieux) */
.disclosure {
  margin-top: 1.5em;
  border-top: 1px solid var(--border);
  padding-top: 1em;
}

.disclosure summary {
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  list-style: none;
}

.disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure summary::before {
  content: "+ ";
}

.disclosure[open] summary::before {
  content: "– ";
}

.disclosure ul {
  margin-top: 1em;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.2em;
}

.disclosure-period {
  margin-top: 1em;
}

.disclosure-period h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4em;
}

/* Lecteur vidéo responsive (chargé au clic) */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 1.5em;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Timeline — parcours d'interprète */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2.5em;
}

.timeline-card {
  border: 1px solid var(--border);
  padding: 28px 32px;
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0.4em;
}

.timeline-head h3 {
  font-size: 1.25rem;
  margin: 0;
}

.timeline-year {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.06em;
  font-size: 1rem;
  white-space: nowrap;
}

.timeline-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.timeline-lieux-inline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.6em;
}

/* ===== Activités (Accueil) ===== */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  margin-top: 2.5em;
}

.activity-card {
  border: 1px solid var(--border);
  padding: 32px 28px;
  text-align: center;
}

.activity-card .eyebrow {
  margin-bottom: 0.6em;
}

.activity-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4em;
}

/* ===== Bande photo (Accueil) ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  margin-top: 2.5em;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ===== Bloc mis en avant (ex. Masterclass) ===== */
.highlight-card {
  border: 1px solid var(--accent);
  background: var(--bg-alt);
  padding: 36px;
  margin-top: 2.5em;
}

.highlight-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4em;
}

/* ===== Placeholder blocks (pages en construction) ===== */
.placeholder-box {
  border: 1px dashed var(--border);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.placeholder-box .eyebrow {
  color: var(--accent);
}

/* ===== Footer ===== */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.footer-social a:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */

/* Le menu passe en burger dès 1100px : au-delà de 768px (tablette portrait),
   le libellé « Créations & Parcours », les 5 autres liens et le sélecteur de
   langue FR | EN ne tiennent plus de façon fiable sur une seule ligne à côté
   du nom. 1100px couvre toutes les tablettes courantes (iPad, iPad Air/Mini,
   y compris en paysage) avec une marge pour le sélecteur de langue. */
@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 66px;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 60px 20px;
  }

  .hero-photo {
    background-position: center 12%;
  }

  .section {
    padding: 60px 20px;
  }

  .creation-card {
    padding: 24px;
  }

  .timeline-card {
    padding: 20px;
  }

  .bio-portraits {
    flex: none;
    width: 100%;
    flex-direction: row;
    gap: 16px;
  }

  .bio-portraits figure {
    flex: 1 1 0;
    margin: 0;
    min-width: 0;
  }
}

/* Menu plein écran : en paysage sur petite hauteur, resserrer l'espacement
   des liens pour rester accessible sans dépendre uniquement du scroll. */
@media (max-width: 1024px) and (max-height: 480px) {
  .nav-links {
    justify-content: flex-start;
    gap: 22px;
    padding: 90px 24px 40px;
  }
}
