@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Syne:wght@600;700;800&display=swap');

/* --- VARIABLES GLOBALES --- */
:root {
  --bg-color: #f7f5f0;
  --text-color: #1a1a1a;
  --text-muted: #6b665f;
  --border-color: #e6e2d8;
  --font-display: 'Syne', sans-serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --spacing-container: 2.5vw;
}

/* --- RESET & BASES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- TYPOGRAPHIES DE TITRES (SYNE) --- */
.hero-title,
.about-heading,
.case-main-title,
.case-study-title,
.site-footer h2,
.footer-content h2,
.section-title,
.walsh-case-title,
.walsh-text-block h2,
.next-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- HEADER STYLE &WALSH --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem var(--spacing-container) 3.5rem;
  
  background: linear-gradient(
    to bottom, 
    rgba(247, 245, 240, 1) 0%, 
    rgba(247, 245, 240, 0.95) 25%, 
    rgba(247, 245, 240, 0.75) 50%, 
    rgba(247, 245, 240, 0.35) 75%, 
    rgba(247, 245, 240, 0) 100%
  );
  
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(
    to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 40%, 
    rgba(0,0,0,0.6) 70%, 
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 40%, 
    rgba(0,0,0,0.6) 70%, 
    rgba(0,0,0,0) 100%
  );
  
  pointer-events: none;
}

.site-header .logo,
.site-header .site-title,
.site-header .nav-links {
  pointer-events: auto;
}

/* Logo / Titre site */
.logo,
.site-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-color);
  text-decoration: none;
}

.logo a {
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.2s ease;
}

.logo a:hover,
.site-title:hover {
  opacity: 0.5;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.5;
}

/* --- HERO (PAGE D'ACCUEIL) --- */
.hero {
  padding: 6rem var(--spacing-container) 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-color);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text-color);
  max-width: 750px;
  line-height: 1.55;
  font-weight: 500;
}

/* --- SECTION PROJETS (ACCUEIL) --- */
.projects-section {
  padding: 1rem var(--spacing-container) 6rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* --- BARRE DE FILTRES FIXE EN BAS --- */
.bottom-filter-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  padding: 3.5rem var(--spacing-container) 2rem;
  
  background: linear-gradient(
    to top,
    rgba(247, 245, 240, 1) 0%,
    rgba(247, 245, 240, 0.95) 30%,
    rgba(247, 245, 240, 0.6) 65%,
    rgba(247, 245, 240, 0) 100%
  );
  
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0) 100%
  );

  transform: translateY(0);
  opacity: 1;
  transition: transform 1s cubic-bezier(0.25, 1, 0.4, 1), 
              opacity 0.9s ease-out;
  will-change: transform, opacity;
}

.bottom-filter-bar.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.4, 1), 
              opacity 1.2s ease-out;
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  pointer-events: auto;
}

.filter-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0 0 4px 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color);
  opacity: 1;
  cursor: pointer;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.filter-btn:hover::after {
  opacity: 0.4;
  transform: scaleX(1);
}

.filter-btn.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* --- MASONRY GRID & CARDS --- */
.projects-masonry {
  column-count: 1;
  column-gap: 1.5vw;
  width: 100%;
}

@media (min-width: 640px) {
  .projects-masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .projects-masonry {
    column-count: 3;
  }
}

.project-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.project-card.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.project-card.is-hidden {
  display: none;
}

.project-image-wrapper {
  overflow: hidden;
  background-color: #e6e2d8;
  border-radius: 0;
}

.project-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.03);
}

.project-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-color);
}

.project-badge {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 0;
  background-color: var(--border-color);
  color: var(--text-color);
  font-weight: 500;
}

.project-tags {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- HOVER SWITCH --- */
.hover-switch .project-image-wrapper {
  position: relative;
}

.hover-switch .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.hover-switch:hover .img-hover {
  opacity: 1;
}

/* --- VIDÉOS VIMEO --- */
.vimeo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  overflow: hidden;
  border-radius: 0;
}

.vimeo-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- HOVER & CLICK VIMEO PLAYER --- */
.vimeo-hover-player {
  position: relative;
  cursor: none !important;
}

.vimeo-hover-player iframe {
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent;
}

.vimeo-hover-player.is-interactive .video-overlay {
  display: none;
}

.vimeo-hover-player.is-interactive iframe {
  pointer-events: auto !important;
}

@media (pointer: fine) {
  body, body * {
    cursor: none !important;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px; /* Taille fixe de base (ajuste à la louche si tu veux un tout petit peu plus grand/petit) */
    height: 20px;
    margin: 0;
    background-color: transparent;
    border: 1.5px solid var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%) scale(1); /* Taille normale (cercle vide) */
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    will-change: transform;
  }

  /* Au survol : il devient plein, mais garde EXACTEMENT la même dimension de base, 
     on joue juste avec scale() si tu veux qu'il grossisse/rétrécisse un poil, 
     ou scale(1) strict pour garder la taille identique */
  body.has-hover-link .custom-cursor {
    background-color: var(--text-color);
    border-color: var(--text-color);
    transform: translate(-50%, -50%) scale(1); /* Remets scale(1) pour qu'il garde la taille exacte du cercle vide */
  }
}


/* --- SECTION À PROPOS --- */
.about-section {
  position: relative;
  clear: both;
  display: block;
  width: 100%;
  padding: 6rem var(--spacing-container);
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
  z-index: 10;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.about-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.about-bio p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .about-details-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.about-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-color);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.clean-list strong {
  color: var(--text-color);
  font-weight: 600;
}

.clients-list {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.client-item {
  display: inline-block;
  white-space: nowrap;
}

.direct-link {
  color: var(--text-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* --- FOOTER --- */
.site-footer {
  position: relative;
  clear: both;
  display: block;
  width: 100%;
  padding: 6rem var(--spacing-container) 4rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
  z-index: 10;
}

.footer-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
}

.contact-email {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-color);
}

/* --- PAGES CAS D'ÉTUDES (PAGE PROJET &WALSH) --- */
.walsh-case-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-container) 6rem;
  box-sizing: border-box;
}

/* Image Hero */
.walsh-hero-cover {
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  border-radius: 0;
  overflow: hidden;
}

.walsh-hero-cover img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.walsh-hero-cover:hover img {
  transform: scale(1.02);
}

/* Texte d'intro */
.walsh-intro-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 4vw 5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .walsh-intro-section {
    grid-template-columns: 280px 1fr;
    gap: 4vw;
    padding: 3rem 6vw 5rem;
  }
}

.walsh-intro-title {
  margin: 0;
  padding: 0;
}

.walsh-intro-title h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.walsh-intro-text p {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: -0.015em;
  margin: 0 0 2.5rem 0;
}

.walsh-more-info {
  display: inline-block;
  color: var(--text-color);
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.walsh-more-info:hover {
  opacity: 0.6;
}

/* Grille 3x3 */
.walsh-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  padding: 0 4vw;
  margin: 0 auto 5rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .walsh-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .walsh-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5vw;
    padding: 0 6vw;
  }
}

/* Grille 2x2 (Motions / Images) */
.walsh-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 5rem;
  padding: 0 4vw;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .walsh-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5vw;
    padding: 0 6vw;
  }
}

.walsh-media-box {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.walsh-media-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.walsh-media-box:hover img {
  transform: scale(1.03);
}

/* Second bloc texte */
.walsh-text-break {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 4vw 5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .walsh-text-break {
    grid-template-columns: 280px 1fr;
    gap: 4vw;
    padding: 3rem 6vw 5rem;
  }
}

.walsh-text-break h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-color);
}

.walsh-text-break p {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
}

/* Images finales plein écran */
.walsh-full-media {
  width: 100%;
  margin-bottom: 5rem;
  border-radius: 0;
  overflow: hidden;
}

.walsh-full-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.walsh-full-media:hover img {
  transform: scale(1.02);
}

.walsh-full-media-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  margin-bottom: 5rem;
}

.walsh-full-media-stack .walsh-full-media {
  margin-bottom: 0;
}

/* Navigation projet suivant (Pied de page cas d'étude) */
.walsh-next-project {
  margin-top: 6rem;
  padding: 4rem 6vw 0;
  border-top: 1px solid var(--border-color);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.next-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: opacity 0.2s ease;
}

.next-link:hover {
  opacity: 0.6;
}

.next-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.next-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* --- SECTION INFOGRAPHIES DÉROULÉ VERTICAL --- */
.infographie-centered-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 7rem;
}

.infographie-wrapper {
  max-width: 700px;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.infographie-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.infographie-wrapper:hover img {
  transform: scale(1.03);
}

.infographie-caption {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  margin-top: 1.2rem;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

/* --- PARIS WORLDWIDE SPECIFIC STACK (PURL & AÉRÉ) --- */

.pww-web-stack {
  display: flex;
  flex-direction: column;
  gap: 200px; /* Espace doublé pour laisser respirer chaque couleur */
  max-width: 800px;
  margin: 60px auto 60px;
  padding: 0 20px;
}

.pww-web-card {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* Ombre très subtile */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.pww-web-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.pww-web-card img {
  width: 100%;
  height: auto;
  display: block;
}

.pww-more-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 40px;
  margin-bottom: 60px;
  font-style: italic;
}

/* --- CLIENT LOGO IN CASE STUDY INTRO --- */

.client-logo-wrapper {
  margin-bottom: 1.2rem;
}

.client-logo {
  height: 120px; /* Ajuste selon la proportion de ton SVG/PNG */
  width: auto;
  display: block;
  opacity: 0.85;
}

.walsh-hero-section {
  margin-bottom: 80px; /* Espace généreux sous la grande photo du haut */
}

.walsh-intro-section .walsh-intro-title h1 {
  font-size: 2.8rem; /* Titre plus imposant */
  line-height: 1.1;
  margin-bottom: 12px;
}





.site-footer {
  padding: 5rem 2rem; /* Marges réduites pour que le contenu respire plus près du bord gauche */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Colonne de gauche ancrée à gauche */
.footer-left {
  flex: 0 1 55%;
  max-width: 55%;
}

.footer-left h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* L'e-mail en grand, en typo Syne, copiable */
.contact-email-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 6px;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.contact-email-text:hover {
  opacity: 0.7;
}

/* Colonne de droite pour les CTA */
.footer-right {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  padding-top: 0.5rem;
}

/* Petits CTA noirs arrondis avec Syne */
.footer-cta-small {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  width: 130px; /* Légèrement plus compacts pour s'aligner harmonieusement */
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
}

.footer-cta-small:hover {
  transform: scale(1.05);
  background-color: #222222;
}

/* Responsive mobile */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-left {
    flex: 1;
    max-width: 100%;
  }
  .footer-right {
    flex-wrap: wrap;
    margin-top: 2rem;
  }
}



/* =================================================_
   MISE EN PAGE DE LA PAGE À PROPOS
   ================================================= */

.about-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem 8rem 4rem;
}

/* Grille principale en 3 colonnes (1 pour la photo/outils, 2 pour les textes/références) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* =================================================_
   COLONNE DE GAUCHE : PHOTO + LOGICIELS (Span 1)
   ================================================= */

/* Modification du conteneur de la photo pour le survol */
.about-photo-wrapper {
  width: 100%;
  max-width: 380px;
  overflow: hidden; /* Indispensable pour contenir le zoom proprement */
}

/* Photo avec angles vifs et effet de zoom fluide au survol */
.about-photo-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 0; /* Angles vifs validés */
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); /* Transition douce et élégante */
}

.about-photo-wrapper:hover img {
  transform: scale(1.03); /* Léger grossissement au survol */
}

/* Bloc des logiciels sous la photo à gauche */
.about-skills-left {
  margin-top: 2.5rem;
}

/* =================================================_
   COLONNE DE DROITE : TEXTE + RÉFÉRENCES (Span 2)
   ================================================= */

.about-text-col {
  grid-column: span 2;
}

.about-text-col h1.about-headline {
  font-family: 'Syne', sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  color: #000000;
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #111111;
}

.about-text-col p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 1.0rem;
}

/* =================================================_
   ÉLÉMENTS COMMUNS (Titres, Tags, Filets)
   ================================================= */

.about-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  color: #000000;
}

/* Tags logiciels */
.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.skill-tag {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Style forcé pour les références : petit et gris foncé */
.about-references-section .about-references-text {
  font-size: 0.9rem !important;
  color: #666666 !important;
  line-height: 1.5 !important;
}

.about-references-section {
  margin-top: 2.5rem;
}

/* Filet très fin et élégant */
.about-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 2.5rem 0;
}

/* =================================================_
   RESPONSIVE MOBILE
   ================================================= */

@media (max-width: 900px) {
  .about-grid {
    display: flex !important;
    flex-direction: column;
    gap: 3rem;
  }
  .about-photo-col, .about-text-col {
    grid-column: span 3;
    max-width: 100%;
  }
  .about-page-container {
    padding: 4rem 2rem;
  }
}