/* ============================================================
   VOICE ARTIST — style.css  (fichier unique)
   ============================================================

   TABLE DES MATIÈRES
   ──────────────────────────────────────────────────────────
    1.  IMPORTS & VARIABLES
    2.  RESET & BASE
    3.  HEADER / NAVIGATION
    4.  COMPOSANTS COMMUNS
        4a. Boutons
        4b. Highlight / accents
        4c. Scroll reveal
        4d. Utilitaires
    5.  FOOTER
    6.  ANIMATIONS
    7.  PAGE — ACCUEIL
        7a. Hero
        7b. Section Expertise
        7c. CTA Banner
    8.  PAGE — À PROPOS
        8a. Hero
        8b. Sections
        8c. Méthodes
        8d. Équipement
        8e. Timeline & Parcours
        8f. Tags
    9.  PAGE — PORTFOLIO
        9a. Hero & Filtres
        9b. Grille de projets
        9c. Carte projet
        9d. Lecteur audio
   10.  PAGE — CONTACT
        10a. Hero
        10b. Liens réseaux sociaux
        10c. Informations pratiques
        10d. CTA email
   11.  RESPONSIVE
   ──────────────────────────────────────────────────────────
*/


/* ============================================================
   1. IMPORTS & VARIABLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg:       #111111;
  --bg-card:  #1c1c1c;
  --bg-card2: #222222;
  --text:     #f0f0f0;
  --muted:    #999999;
  --accent:   #e8a0b4;
  --accent2:  #c46b8a;
  --radius:   16px;
  --nav-h:    64px;
  --pad-x:    80px;
  --pad-x-sm: 24px;
  --max-w:    1200px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background:  var(--bg);
  color:       var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height:  100vh;
  overflow-x:  hidden;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul  { list-style: none; padding: 0; }


/* ============================================================
   3. HEADER / NAVIGATION
   ============================================================ */

/* ── Thème clair via data-theme="light" sur <html> ── */
[data-theme="light"] {
  --bg:       #f7f0f8;
  --bg-card:  #ffffff;
  --bg-card2: #f4eff2;
  --text:     #2d1a22;
  --muted:    #8a6b76;
  --accent:   #c4607a;
  --accent2:  #9b4060;
  --border-l: rgba(180,140,155,.18);
  --shadow-l: rgba(60,20,35,.08);
}

/* Header light */
[data-theme="light"] header {
  background: rgba(238, 228, 238, 0.92);
  border-bottom: 1px solid rgba(180,140,155,.2);
}
[data-theme="light"] header.scrolled {
  box-shadow: 0 4px 24px rgba(60,20,35,.08);
}

/* Nav links */
[data-theme="light"] nav a { color: var(--muted); }
[data-theme="light"] nav a:hover,
[data-theme="light"] nav a.active { color: var(--text); }

/* Logo */
[data-theme="light"] .logo span { color: var(--text); }

/* Footer */
[data-theme="light"] footer {
  border-top: 1px solid rgba(180,140,155,.2);
  color: var(--muted);
}

/* Boutons */
[data-theme="light"] .btn-secondary {
  background: rgba(180,140,155,.12);
  border-color: rgba(180,140,155,.3);
  color: var(--text);
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(180,140,155,.22);
  border-color: var(--accent);
}

/* Cartes expertise */
[data-theme="light"] .expertise-card {
  background: #ffffff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 2px 16px rgba(60,20,35,.06);
}
[data-theme="light"] .expertise-card:hover {
  border-color: rgba(196,96,122,.35);
  box-shadow: 0 8px 32px rgba(60,20,35,.1);
}

/* CTA banner */
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #fdf0f3, #f5e8f0);
  border: 1px solid rgba(196,96,122,.2);
  box-shadow: 0 4px 24px rgba(60,20,35,.07);
}
[data-theme="light"] .btn-dark {
  background: var(--text);
  color: #faf7f5;
}
[data-theme="light"] .btn-dark:hover {
  background: var(--accent2);
}

/* Filtres portfolio */
[data-theme="light"] .pf-filter {
  border: 1px solid rgba(180,140,155,.3);
  color: var(--muted);
  background: transparent;
}
[data-theme="light"] .pf-filter:hover {
  background: rgba(180,140,155,.1);
  color: var(--text);
}
[data-theme="light"] .pf-filter.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
}

/* Cartes portfolio */
[data-theme="light"] .pf-card {
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 2px 16px rgba(60,20,35,.06);
}
[data-theme="light"] .pf-card:hover {
  border-color: rgba(196,96,122,.35);
  box-shadow: 0 12px 40px rgba(60,20,35,.12);
}
[data-theme="light"] .pf-tag {
  border-color: rgba(180,140,155,.3);
  color: var(--muted);
}
[data-theme="light"] .pf-yt-badge {
  background: rgba(196,96,122,.1);
  color: var(--accent2);
}
[data-theme="light"] .pf-year {
  background: rgba(45,26,34,.55);
}

/* Modale description */
[data-theme="light"] .desc-modal {
  background: #fff;
  border: 1px solid rgba(180,140,155,.25);
  box-shadow: 0 16px 48px rgba(60,20,35,.14);
}
[data-theme="light"] .desc-modal-close {
  border-color: rgba(180,140,155,.35);
}
[data-theme="light"] .desc-modal-overlay {
  background: rgba(45,26,34,.45);
}

/* Lightbox */
[data-theme="light"] .yt-lightbox {
  background: rgba(45,26,34,.7);
}
[data-theme="light"] .yt-lightbox-inner {
  background: #fff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 20px 60px rgba(60,20,35,.18);
}
[data-theme="light"] .yt-lightbox-header {
  border-bottom: 1px solid rgba(180,140,155,.2);
}

/* À propos - cartes méthodes */
[data-theme="light"] .ap-card {
  background: #ffffff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 2px 16px rgba(60,20,35,.06);
}
[data-theme="light"] .ap-card:hover {
  border-color: rgba(196,96,122,.3);
}
[data-theme="light"] .ap-equip-card {
  background: #ffffff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 4px 24px rgba(60,20,35,.07);
}
[data-theme="light"] .ap-equip-divider {
  background: rgba(180,140,155,.25);
}
[data-theme="light"] .ap-timeline-card {
  background: #ffffff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 2px 16px rgba(60,20,35,.06);
}
[data-theme="light"] .ap-timeline::before {
  background: rgba(180,140,155,.3);
}
[data-theme="light"] .ap-tag {
  background: rgba(180,140,155,.12);
  border: 1px solid rgba(180,140,155,.25);
  color: var(--muted);
}

/* Contact - cartes liens */
[data-theme="light"] .ct-link-card {
  background: #ffffff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 2px 16px rgba(60,20,35,.06);
}
[data-theme="light"] .ct-link-card:hover {
  border-color: rgba(196,96,122,.3);
  box-shadow: 0 8px 32px rgba(60,20,35,.1);
}
[data-theme="light"] .ct-info-card {
  background: #ffffff;
  border: 1px solid rgba(180,140,155,.2);
  box-shadow: 0 4px 24px rgba(60,20,35,.07);
}
[data-theme="light"] .ct-info-footer {
  border-top: 1px solid rgba(180,140,155,.2);
}

/* Search & select dashboard (non utilisé en light mais par sécurité) */
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #faf7f5;
  border-color: rgba(180,140,155,.3);
  color: var(--text);
}
[data-theme="light"] input:focus,
[data-theme="light"] select:focus { border-color: var(--accent); }

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(17,17,17,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 100;
  transition: box-shadow .3s, background .3s;
}

header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.4); }

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .03em;
}

.logo-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  /* Découpe proprement le cercle central du logo */
}

.logo-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 10% 20%;
  /* On zoom légèrement pour cadrer le cercle et couper les bords noirs */
  transform: scale(1.17);
  border-radius: 50%;
}

/* ── Liens nav ── */
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  font-size: 20px;
  color: var(--muted);
  position: relative;
  transition: color .2s;
}

nav a:hover  { color: var(--text); }
nav a.active { color: var(--text); }

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ══════════════════════════════════════
   SWITCH SOLEIL / LUNE
   ══════════════════════════════════════ */
.theme-switch {
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
}

.switch-track {
  position: relative;
  width: 64px; height: 32px;
  border-radius: 100px;
  overflow: hidden;
  transition: background .4s;
  /* Dark : fond nuit */
  background: #1e2a45;
}

/* Curseur rond */
.switch-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #d0dff5;
  z-index: 10;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .4s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* ── Contenu dark (étoiles + lune) ── */
.switch-dark {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity .3s;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.s1 { width: 3px; height: 3px; top: 6px;  left: 38px; opacity: .9; }
.s2 { width: 2px; height: 2px; top: 14px; left: 44px; opacity: .7; }
.s3 { width: 2px; height: 2px; top: 20px; left: 40px; opacity: .6; }
.s4 { width: 3px; height: 3px; top: 10px; left: 50px; opacity: .8; }

.moon {
  position: absolute;
  top: 5px; left: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #c8d8f0;
  /* Cratères */
  box-shadow:
    inset -3px -2px 0 1px rgba(0,0,0,.1),
    4px 3px 0 -1px rgba(255,255,255,.15),
    7px 6px 0 -2px rgba(255,255,255,.1);
}

/* ── Contenu light (soleil + nuage) ── */
.switch-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
}

.sun {
  position: absolute;
  top: 4px; left: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #f6c844;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(246,200,68,.3);
}

.sun-core {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fad85a;
}

.cloud {
  position: absolute;
  top: 9px; right: 6px;
  width: 22px; height: 10px;
  background: #fff;
  border-radius: 10px;
}

.cloud::before {
  content: '';
  position: absolute;
  top: -6px; left: 4px;
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 6px 0 0 #fff;
}

/* ── État LIGHT actif ── */
.theme-switch.is-light .switch-track {
  background: #87ceeb;
}

.theme-switch.is-light .switch-thumb {
  transform: translateX(32px);
  background: #f6c844;
}

.theme-switch.is-light .switch-dark  { opacity: 0; }
.theme-switch.is-light .switch-light { opacity: 1; }

/* ── Hamburger mobile ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px)  rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   4. COMPOSANTS COMMUNS
   ============================================================ */

/* 4a. Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(232,160,180,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,160,180,.5);
}

.btn-secondary {
  background: rgba(255,255,255,.07);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.btn-dark {
  background: #1a0a10;
  color: #fff;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

/* 4b. Highlight italique */
.highlight {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

/* 4c. Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 4d. Utilitaires */
.hidden { display: none !important; }


/* ============================================================
   5. FOOTER
   ============================================================ */

footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 32px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}


/* ============================================================
   6. ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================================
   7. PAGE — ACCUEIL
   ============================================================ */

/* 7a. Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,180,.18) 0%, transparent 70%);
  top: 10%; left: -80px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  animation: fadeUp .6s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  animation: fadeUp .7s .1s ease both;
}

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.75;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

.hero-image-wrap {
  position: relative;
  animation: fadeIn .9s .2s ease both;
}

.hero-image-wrap img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  filter: brightness(.92) saturate(1.1);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 20px;
  background: radial-gradient(circle at 60% 40%, rgba(232,160,180,.22), transparent 65%);
  z-index: -1;
  filter: blur(30px);
}

/* 7b. Section Expertise */
.expertise {
  padding: 100px var(--pad-x);
  text-align: center;
}

.expertise-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 12px;
}

.expertise-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 60px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 28px;
  width: 32px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 0 0 3px 3px;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,160,180,.25);
  box-shadow: 0 20px 48px rgba(0,0,0,.4);
}

.expertise-card h3 {
  font-weight: 500;
  font-size: 17px;
  margin: 20px 0 10px;
}

.expertise-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* 7c. CTA Banner */
.cta-banner {
  max-width: 900px;
  margin: 0 auto 100px;
  background: linear-gradient(135deg, #f0c4d3, #e8a0b4, #d47f9e);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  color: #1a0a10;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -20px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.cta-mic-icon { font-size: 28px; margin-bottom: 16px; display: block; }

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p { font-size: 15px; opacity: .7; margin-bottom: 32px; }


/* ============================================================
   8. PAGE — À PROPOS
   ============================================================ */

/* 8a. Hero */
.ap-hero {
  padding: calc(var(--nav-h) + 80px) var(--pad-x) 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ap-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,180,.12) 0%, transparent 70%);
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ap-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  animation: fadeUp .6s ease both;
}

.ap-hero-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 660px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeUp .7s .1s ease both;
}

.ap-hero-img-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  animation: fadeIn .9s .2s ease both;
}

.ap-hero-img-wrap img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(.75) saturate(1.1);
}

/* 8b. Sections */
.ap-section {
  padding: 80px var(--pad-x) 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.ap-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ap-icon    { font-size: 28px; }
.ap-icon-sm { font-size: 18px; }

/* 8c. Méthodes */
.ap-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ap-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.ap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,160,180,.22);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.ap-card h3 { font-weight: 500; font-size: 16px; margin-bottom: 10px; }
.ap-card p  { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* 8d. Équipement */
.ap-equip-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
}

.ap-equip-col h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ap-equip-col ul li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.ap-equip-col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.ap-equip-divider {
  width: 1px;
  background: rgba(255,255,255,.08);
  align-self: stretch;
}

.ap-equip-note {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  line-height: 1.7;
}

/* 8e. Timeline & Parcours */
.ap-timeline { display: flex; flex-direction: column; gap: 20px; }

.ap-timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 20px;
  align-items: start;
}

.ap-timeline-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-top: 4px;
  flex-shrink: 0;
}

.ap-timeline-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color .3s;
}

.ap-timeline-card:hover { border-color: rgba(232,160,180,.2); }

.ap-timeline-card h3 { font-weight: 500; font-size: 17px; margin-bottom: 12px; }

.ap-timeline-card p  { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 12px; }

.ap-bullet-list { margin: 12px 0; }

.ap-bullet-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.ap-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.ap-timeline-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: inline-block;
  margin-top: 8px;
}

.ap-timeline-date.accent { color: var(--accent); }

/* 8f. Tags */
.ap-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.ap-tag {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text);
  transition: border-color .2s, background .2s;
}

.ap-tag:hover {
  border-color: var(--accent);
  background: rgba(232,160,180,.08);
}


/* ============================================================
   9. PAGE — PORTFOLIO
   ============================================================ */

/* 9a. Hero & Filtres */
.pf-hero {
  padding: calc(var(--nav-h) + 70px) var(--pad-x) 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pf-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,180,.11) 0%, transparent 70%);
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.pf-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: -.02em;
  margin-bottom: 18px;
  animation: fadeUp .6s ease both;
}

.pf-hero-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.7;
  animation: fadeUp .7s .1s ease both;
}

.pf-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  animation: fadeUp .7s .2s ease both;
}

.pf-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.pf-filter:hover { color: var(--text); background: rgba(255,255,255,.1); }

.pf-filter.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
  font-weight: 500;
}

/* 9b. Grille */
.pf-grid-section { padding: 20px 60px 80px; }

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.pf-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; }

/* 9c. Carte projet */
.pf-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  animation: fadeIn .5s ease both;
}

.pf-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,160,180,.22);
  box-shadow: 0 20px 48px rgba(0,0,0,.4);
}

.pf-card-img-wrap { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }

.pf-card-img-wrap img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform .5s ease, filter .3s;
  filter: brightness(.85);
}

.pf-card:hover .pf-card-img-wrap img {
  transform: scale(1.04);
  filter: brightness(.7);
}

.pf-year {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.pf-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(232,160,180,.92);
  border: none;
  color: #1a0a10;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}

.pf-card-img-wrap:hover .pf-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pf-card-body { padding: 20px 22px 22px; }
.pf-card-body h3, .pf-title { font-weight: 500; font-size: 16px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-desc { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-expand-btn { background: none; border: none; cursor: pointer; color: var(--accent); font-size: 12px; padding: 0 0 10px; display: inline-block; opacity: .8; }
.pf-expand-btn:hover { opacity: 1; }

/* Modale description complète */
.desc-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.desc-modal-overlay.visible { opacity: 1; pointer-events: all; }
.desc-modal {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 32px;
  max-width: 540px; width: 100%; max-height: 80vh; overflow-y: auto;
  transform: translateY(12px); transition: transform .2s ease;
}
.desc-modal-overlay.visible .desc-modal { transform: translateY(0); }
.desc-modal h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.desc-modal p { color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.desc-modal-close {
  display: block; margin-top: 22px; margin-left: auto;
  background: none; border: 1px solid rgba(255,255,255,.15);
  color: var(--muted); padding: 8px 20px; border-radius: 100px;
  cursor: pointer; font-size: 13px; transition: border-color .2s, color .2s;
}
.desc-modal-close:hover { border-color: var(--accent); color: var(--accent); }

.pf-card-no-thumb { width: 100%; aspect-ratio: 3/2; background: var(--bg-card); display: grid; place-items: center; font-size: 40px; }
.pf-card-footer  { display: flex; flex-direction: column; gap: 12px; }


.pf-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  align-self: flex-start;
}


/* ============================================================
   10. PAGE — CONTACT
   ============================================================ */

/* 10a. Hero */
.ct-hero {
  padding: calc(var(--nav-h) + 70px) var(--pad-x) 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,180,.11) 0%, transparent 70%);
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ct-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: -.02em;
  margin-bottom: 18px;
  animation: fadeUp .6s ease both;
}

.ct-hero-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeUp .7s .1s ease both;
}

.ct-hero-img-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  animation: fadeIn .9s .2s ease both;
}

.ct-hero-img-wrap img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  filter: brightness(.75) saturate(.9) hue-rotate(300deg);
}

/* 10b. Liens réseaux sociaux */
.ct-links-section {
  padding: 64px var(--pad-x) 0;
  max-width: 1100px;
  margin: 0 auto;
}

.ct-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-link-card {
  display: block;
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  color: var(--text);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  animation: fadeUp .6s ease both;
}

.ct-link-card:nth-child(1) { animation-delay: .05s; }
.ct-link-card:nth-child(2) { animation-delay: .12s; }
.ct-link-card:nth-child(3) { animation-delay: .19s; }
.ct-link-card:nth-child(4) { animation-delay: .26s; }

.ct-link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,160,180,.22);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.ct-ext-icon {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 16px;
  color: var(--muted);
  opacity: .5;
  transition: opacity .2s;
}

.ct-link-card:hover .ct-ext-icon { opacity: 1; }

.ct-link-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.ct-link-card h3 { font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.ct-link-card p  { color: var(--muted); font-size: 14px; }

/* 10c. Informations pratiques */
.ct-info-section {
  padding: 48px var(--pad-x) 0;
  max-width: 1100px;
  margin: 0 auto;
}

.ct-info-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 44px 48px;
}

.ct-info-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}

.ct-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.ct-info-item h4 { font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.ct-info-item p  { color: var(--muted); font-size: 14px; line-height: 1.65; }

.ct-info-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.ct-info-footer strong { color: var(--text); }

/* 10d. CTA email */
.ct-cta {
  padding: 56px var(--pad-x) 80px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.ct-cta-btn {
  font-size: 16px;
  padding: 18px 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.ct-privacy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================================
   11. RESPONSIVE
   ============================================================ */

/* ── Tablette (≤ 1000px) ── */
@media (max-width: 1000px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile large (≤ 900px) ── */
@media (max-width: 900px) {

  /* Header */
  header { padding: 0 var(--pad-x-sm); }

  nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(17,17,17,.97);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  nav.open   { display: flex; }
  .hamburger { display: flex; }

  [data-theme="light"] nav { background: rgba(250,247,245,.97); border-top: 1px solid rgba(180,140,155,.2); }

  /* Footer */
  footer { flex-direction: column; gap: 12px; padding: 24px; text-align: center; }

  /* Accueil */
  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 40px) var(--pad-x-sm) 60px;
    gap: 40px;
  }
  .expertise       { padding: 60px var(--pad-x-sm); }
  .expertise-grid  { grid-template-columns: 1fr; }
  .cta-banner      { margin: 0 var(--pad-x-sm) 60px; padding: 48px 28px; }

  /* À propos */
  .ap-hero         { padding: calc(var(--nav-h) + 40px) var(--pad-x-sm) 40px; }
  .ap-section      { padding: 48px var(--pad-x-sm) 0; }
  .ap-methods-grid { grid-template-columns: 1fr; }
  .ap-equip-card   { grid-template-columns: 1fr; gap: 24px 0; }
  .ap-equip-divider { width: 100%; height: 1px; }
  .ap-timeline-item { grid-template-columns: 40px 1fr; gap: 0 12px; }
  .ap-timeline-dot  { width: 36px; height: 36px; font-size: 15px; }

  /* Contact */
  .ct-hero          { padding: calc(var(--nav-h) + 40px) var(--pad-x-sm) 40px; }
  .ct-links-section { padding: 40px var(--pad-x-sm) 0; }
  .ct-links-grid    { grid-template-columns: 1fr; }
  .ct-info-section  { padding: 32px var(--pad-x-sm) 0; }
  .ct-info-card     { padding: 28px 24px; }
  .ct-info-grid     { grid-template-columns: 1fr; gap: 20px; }
  .ct-cta           { padding: 40px var(--pad-x-sm) 60px; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  .pf-hero         { padding: calc(var(--nav-h) + 40px) var(--pad-x-sm) 36px; }
  .pf-grid-section { padding: 16px var(--pad-x-sm) 60px; }
  .pf-grid         { grid-template-columns: 1fr; }
  .pf-play-btn     { opacity: 1; transform: scale(1); }
}

/* ============================================================
   LIGHTBOX YOUTUBE
   ============================================================ */

.yt-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .28s;
}

.yt-lightbox.visible {
  display: flex;
  opacity: 1;
}

.yt-lightbox-inner {
  width: 100%;
  max-width: 900px;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  transform: scale(.96);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}

.yt-lightbox.visible .yt-lightbox-inner {
  transform: scale(1);
}

.yt-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.yt-lightbox-title {
  font-size: 15px;
  font-weight: 500;
  color: #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-lightbox-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border: none;
  border-radius: 8px;
  color: #aaa;
  cursor: pointer;
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.yt-lightbox-close:hover { color: #fff; background: rgba(255,255,255,.13); }

.yt-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.yt-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Badge vidéo sur les cartes portfolio */
.pf-yt-badge {
  font-size: 11px;
  font-weight: 500;
  background: rgba(232,160,180,.15);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pf-play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .yt-lightbox { padding: 12px; }
  .yt-lightbox-inner { border-radius: 12px; }
}
