/* === IMAGE FULL SECTION MOBILE & TABLET === */
@media (max-width: 1024px) {
  .about-image-container {
    position: relative;
    width: 100vw;
    /* left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* height: 100vh; */
    min-height: 380px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ensure content at bottom on mobile/tablet */
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
  }
  .about-photo-full {
    /* width: 100vw !important;
    height: 100% !important;
    object-fit: cover; */
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.9) contrast(1.1);
    border-radius: 0 !important;
    box-shadow: none !important;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
  }
  .overlay-about {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* put content at the bottom */
    flex-direction: column;
  }
  .about-download-btn-mobile,
  .about-learn-more-btn {
    display: block;
    margin: 0 auto;
    padding: clamp(12px, 2.5vh, 16px) clamp(24px, 6vw, 32px);
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #106EBE;
    background: #ffffff;
    border: #ffffff solid 2px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 3;
    opacity: 0.95;
    transition: background 0.2s;
    text-transform: uppercase;
  }
  .about-learn-more-btn {
    margin-bottom: 18px; /* spacing from bottom */
  }
  /* Ensure the text column is hidden on tablet and the grid becomes single-column */
  .about-text-container.about-text-desktop {
    display: none !important;
  }
  .about-content-wrapper {
    grid-template-columns: 1fr !important;
  }
  .about-download-btn-mobile:hover,
  .about-learn-more-btn:hover {
    background: #106EBE;
    opacity: 1;
  }
}
/* ===================== SECTION ABOUT (QUI SUIS-JE) ===================== */

/* Conteneur principal */
.container-quisuisje {
    position: relative;
    width: 100%;
    min-height: auto;
    background: #0078D4; /* Même couleur que la navbar */
  }
  
  /* Section d'introduction */
  .about-intro-section {
    min-height: auto;
    width: 100%;
    position: relative;
    padding: 50px 10vw;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-out;
  }
  
  .about-intro-wrapper {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 100px);
    position: relative;
  }
  
  /* Résumé à gauche */
  .about-intro-summary {
    grid-column: 1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    max-width: 600px;
  }
  
  .about-intro-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .about-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
  }
  
  .about-intro-text strong {
    color: #ffffff;
    font-weight: 600;
  }
  
  .about-intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
  }
  
  .about-tag {
    display: inline-block;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 25px;
    border: 1px solid rgba(0, 120, 212, 0.4);
    background: rgba(0, 120, 212, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
  }
  
  .about-tag:hover {
    background: rgba(0, 120, 212, 0.2);
    border-color: rgba(0, 120, 212, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
  }
  
  /* Image en bas à droite */
  .about-intro-image {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
  }
  
  .about-intro-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(0, 120, 212, 0.3);
    transition: all 0.4s ease;
  }
  
  .about-intro-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 120, 212, 0.4);
    border-color: rgba(0, 120, 212, 0.5);
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .about-intro-wrapper {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 40px;
    }
  
    .about-intro-summary {
      grid-column: 1;
      grid-row: 1;
      max-width: 100%;
    }
  
    .about-intro-image {
      grid-column: 1;
      grid-row: 2;
      justify-content: center;
    }
  
    .about-intro-image img {
      max-width: 400px;
    }
  }
  
  @media (max-width: 768px) {
    .about-intro-section {
      padding: 40px 5vw;
    }
  
    .about-intro-wrapper {
      gap: 30px;
    }
  
    .about-intro-title {
      font-size: 2rem;
    }
  
    .about-intro-text {
      font-size: 1rem;
    }
  
    .about-intro-image img {
      max-width: 100%;
    }
  }
  
  /* Carte d'introduction mise en valeur */
  .about-intro-card {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.08) 0%, rgba(0, 120, 212, 0.02) 100%);
    border: 1px solid rgba(0, 120, 212, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.2s forwards;
  }
  
  .about-intro-card:hover {
    border-color: rgba(0, 120, 212, 0.4);
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.15);
    transform: translateY(-2px);
  }
  
  .about-intro-content {
    max-width: 900px;
  }
  
  .about-intro-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .about-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .about-intro-text strong {
    color: #ffffff;
    font-weight: 600;
  }
  
  /* Grille des cartes de compétences */
  .about-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
  }
  
  /* Cartes de compétences */
  .skill-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  .skill-card:nth-child(1) { animation-delay: 0.1s; }
  .skill-card:nth-child(2) { animation-delay: 0.2s; }
  .skill-card:nth-child(3) { animation-delay: 0.3s; }
  .skill-card:nth-child(4) { animation-delay: 0.4s; }
  
  .skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .skill-card:hover {
    border-color: rgba(0, 120, 212, 0.4);
    box-shadow: 0 12px 32px rgba(0, 120, 212, 0.2);
    transform: translateY(-4px);
  }
  
  .skill-card:hover::before {
    opacity: 1;
  }
  
  .skill-card-featured {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.12) 0%, rgba(0, 120, 212, 0.04) 100%);
    border-color: rgba(0, 120, 212, 0.3);
    grid-column: 1 / -1;
  }
  
  .skill-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
  }
  
  .skill-icon {
    font-size: 2rem;
    line-height: 1;
    filter: grayscale(0.2);
    transition: transform 0.3s ease;
  }
  
  .skill-card:hover .skill-icon {
    transform: scale(1.1);
  }
  
  .skill-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
  }
  
  .skill-description {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
  }
  
  .skill-description strong {
    color: #ffffff;
    font-weight: 600;
  }
  
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
  }
  
  .skill-tag {
    display: inline-block;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 120, 212, 0.3);
    background: rgba(0, 120, 212, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    font-weight: 500;
  }
  
  .skill-tag:hover {
    background: rgba(0, 120, 212, 0.2);
    border-color: rgba(0, 120, 212, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
  }
  
  /* Section Qui suis-je - Photo et texte */
  .about-photo-section {
    min-height: auto;
    width: 100%;
    position: relative;
    /* padding: clamp(40px, 5vh, 80px) clamp(20px, 5vw, 120px); */
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-out;
    background: #0078D4; /* Même couleur que la navbar */
    color: #ffffff;
  }
  
  .about-content-wrapper {
    width: 100%;
    /* max-width: 1400px; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: clamp(40px, 6vw, 80px); */
  align-items: stretch;
  justify-items: stretch;
  }

/* Bloc image dans le bloc de droite */
.about-image-container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
}

.about-image-container .overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: default;
}
  
  .about-text {
    font-size: clamp(1.45rem, 1.5vw, 1.25rem);
    line-height: 1.8;
    color: #ffffff; /* Blanc pur pour meilleure visibilité sur fond bleu */
    margin: 0;
    font-weight: 400;
  }
  
  .about-text strong {
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #E1DFDD 100%); /* Gradient blanc/gris clair pour visibilité */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .about-title {
    font-family: 'Segoe UI', 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #E1DFDD 100%); /* Gradient blanc/gris clair pour visibilité */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .about-photo-section h2.credit {
    font-family: 'Segoe UI', 'Orbitron', monospace;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    background: linear-gradient(135deg, #ffffff 0%, #E1DFDD 100%); /* Gradient blanc/gris clair pour visibilité */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .about-photo-section h2.credit em {
    font-style: italic;
    opacity: 0.9;
    font-size: 0.7em;
    font-weight: 400;
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
  }

/* Image plein format dans la colonne de droite */
.about-photo-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  background: none;
 max-height: 1000px;
}

@media (max-width: 768px) {
  .about-content-wrapper {
    grid-template-columns: 1fr;
  }
}
  
  .about-text-container {
   display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vh, 40px);
  max-width: 100%;
  /* padding-top: 5rem; */
  padding-left: 5rem;
  padding-bottom: 1rem;
  padding-right: 2rem;
  }
  
  .about-text-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vh, 32px);
  }
  
  .about-learn-more-btn { display: none; }
  
  /* ===================== MODAL GÉNÉRIQUE UNIFIÉ (STYLE PROJET) ===================== */
  /* Structure et Style identiques au modal Projet pour cohérence totale */
  
  .about-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
    display: flex; /* Flex pour centrage parfait */
    align-items: center;
    justify-content: center;
  }
  
  .about-popup[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
  }
  
  .about-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* Fond sombre unifié */
    backdrop-filter: blur(8px);
  }
  
  /* Conteneur principal du contenu du modal (similaire à .project-popup-content) */
  .about-popup-content {
    position: relative;
    width: 90%;
    max-width: 1000px; /* Même largeur max que Projet */
    height: auto;
    max-height: 90vh;
    margin: auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: popupFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  /* Intérieur scrollable */
  .about-popup-inner {
    background: #201F1E; /* Theme Sombre Microsoft */
    border: 1px solid #323130;
    color: #FFFFFF;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Scroll vertical si contenu long */
    padding: 40px;
    position: relative;
  }
  
  /* Animation */
  @keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
  
  /* Bouton fermer harmonisé (Style Header ou Absolu selon besoin, ici Absolu cohérent) */
  .about-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100;
    border: none;
  }
  
  .about-popup-close:hover {
    background: #0078D4;
    transform: rotate(90deg);
    color: white;
  }
  
  /* Titres et Textes */
  .about-popup-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
    color: #0078D4; /* Bleu Microsoft */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
  }
  
  .about-popup-text-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .about-popup-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #E1DFDD; /* Gris clair lisible */
    text-align: left;
  }
  
  .about-popup-text strong {
    color: #ffffff;
    font-weight: 600;
  }
  
  /* GLITCH STACK (Conserved but wrapped appropriately if used inside modal) */
  .glitch-stack {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(0, 120, 212, 0.3);
    transition: all 0.4s ease;
    overflow: hidden;
    background: #000000;
  }
  
  .glitch-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
  }
  
  .glitch-stack:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 120, 212, 0.3);
    border-color: rgba(0, 120, 212, 0.5);
  }
  
  .glitch-stack:hover .glitch-clone {
    opacity: 0;
    animation: none;
    display: none;
  }
  
  .glitch-clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: hard-light;
    transition: opacity 0.3s ease;
  }
  
  .glitch-clone:nth-child(2) { animation: glitch-anim-1 2.5s infinite linear alternate-reverse; }
  .glitch-clone:nth-child(3) { animation: glitch-anim-2 3s infinite linear alternate-reverse; }
  .glitch-clone:nth-child(4) { animation: glitch-anim-flash 2s infinite linear; }
  
  @keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-10px, 5px); filter: hue-rotate(90deg) saturate(200%); }
    5% { clip-path: inset(10% 0 40% 0); transform: translate(10px, -5px); filter: invert(0.3); }
    10% { clip-path: inset(80% 0 5% 0); transform: translate(-15px, 5px); filter: none; }
    15% { clip-path: inset(40% 0 20% 0); transform: translate(15px, -10px); filter: hue-rotate(180deg); }
    20% { clip-path: inset(10% 0 60% 0); transform: translate(-10px, 10px); filter: none; }
    25% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
    100% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
  }
  
  @keyframes glitch-anim-2 {
    0% { clip-path: inset(60% 0 10% 0); transform: translate(10px, -5px); filter: none; }
    5% { clip-path: inset(20% 0 50% 0); transform: translate(-10px, 5px); filter: hue-rotate(45deg) contrast(2); }
    10% { clip-path: inset(10% 0 80% 0); transform: translate(15px, 15px); filter: none; }
    15% { clip-path: inset(50% 0 30% 0); transform: translate(-15px, -5px); filter: sepia(1) saturate(300%); }
    20% { clip-path: inset(80% 0 5% 0); transform: translate(10px, -10px); filter: none; }
    25% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
    100% { clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
  }
  
  @keyframes glitch-anim-flash {
    0%, 90% { opacity: 0; transform: translate(0); filter: none; }
    92% { opacity: 1; transform: translate(5px, 5px); filter: hue-rotate(90deg) saturate(400%) brightness(1.2); }
    94% { opacity: 0.5; transform: translate(-5px, -5px); filter: invert(1); }
    96% { opacity: 1; transform: translate(5px, -5px); filter: hue-rotate(270deg) blur(1px); }
    100% { opacity: 0; transform: translate(0); filter: none; }
  }
  
  /* Styles pour la vidéo qui remplace le glitch stack */
.video-stack {
  position: relative;
  display: block;
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(0, 120, 212, 0.3);
  transition: all 0.4s ease;
  overflow: hidden;
  background: #000000;
}

/* Ajout d'un overlay "Scanline" et Vignette pour styliser et masquer les détails */
.video-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.5) 50%),
    radial-gradient(circle at 50% 40%, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
  background-size: 100% 3px, 100% 100%;
  animation: vhs-flicker 0.1s infinite;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

/* Ajout d'une bande de distorsion VHS qui passe de temps en temps */
.video-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.15) 80%, transparent);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: overlay;
  filter: blur(2px);
  animation: vhs-glitch-bar 4s infinite linear;
}

@keyframes vhs-flicker {
  0% { opacity: 0.6; }
  20% { opacity: 0.75; }
  40% { opacity: 0.6; }
  60% { opacity: 0.8; }
  80% { opacity: 0.6; }
  100% { opacity: 0.65; }
}

@keyframes vhs-glitch-bar {
  0% { top: -20%; opacity: 0; }
  5% { opacity: 1; }
  10% { top: 120%; opacity: 1; }
  11% { top: -20%; opacity: 0; }
  100% { top: -20%; opacity: 0; }
}

.video-stack:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 120, 212, 0.3);
  border-color: rgba(0, 120, 212, 0.5);
}

.about-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  /* Filtres accentués pour effet VHS usé : flou, contraste fort, couleurs froides (tech) */
  /* Remplacement du Sepia par une teinte bleutée/froide via hue-rotate et suppression du sépia */
  filter: contrast(1.2) brightness(0.9) grayscale(0.2) hue-rotate(10deg) saturate(1.1) blur(1px);
  transition: filter 0.5s ease;
}

/* On réduit les effets au survol pour mieux voir */
.video-stack:hover .about-video {
  filter: contrast(1.05) brightness(1) grayscale(0) hue-rotate(0deg) saturate(1) blur(0);
}

/* Gestion de l'affichage mobile/desktop des vidéos */
.video-mobile {
  display: none;
}

.video-desktop {
  display: block;
}

@media (max-width: 768px) {
  .video-mobile {
    display: block;
  }
  .video-desktop {
    display: none;
  }
}

/* Responsive pour le modal */
  @media (max-width: 768px) {
    .about-popup-content {
      width: 95%;
      max-height: 95vh;
    }
    
    .about-popup-inner {
      padding: 30px 20px;
    }
    
    .about-popup-title {
      font-size: 1.8rem;
    }
  }
  