/* Reset simple */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3e8ef 50%, #d1d9e0 100%);
  color: #111111;
  line-height: 1.55;
  position: relative;
}

/* Pattern subtil en arrière-plan */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 58, 95, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Général */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 96px 16px 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(30, 58, 95, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04);
  margin-top: 40px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
}

/* --- Logo + spirale --- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LOGO ANIMÉ */
.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    spiral-rotate 14s linear infinite,
    spiral-breathe 4s ease-in-out infinite,
    spiral-organic 9s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.08));
}

.logo-spiral {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text a {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.logo-tagline {
  font-size: 0.75rem;
  opacity: 0.65;
  margin-top: 2px;
}

/* Animations logo */
@keyframes spiral-rotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spiral-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

@keyframes spiral-organic {
  0% {
    border-radius: 50% 50% 50% 50%;
  }
  25% {
    border-radius: 48% 52% 55% 45%;
  }
  50% {
    border-radius: 60% 40% 45% 55%;
  }
  75% {
    border-radius: 45% 55% 58% 42%;
  }
  100% {
    border-radius: 50% 50% 50% 50%;
  }
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.site-nav a {
  padding: 4px 0;
  font-weight: 500;
}

/* Liens secondaires moins visibles */
.nav-secondary {
  opacity: 0.6;
  font-size: 0.85rem;
  font-weight: 400;
}

.nav-secondary:hover {
  opacity: 1;
}

/* Séparateur visuel */
.nav-separator {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  margin: 0 8px;
}

/* HERO */
.hero {
  position: relative;
  margin-bottom: 64px;
  overflow: hidden;
  padding: 40px 0;
}

.hero-blob {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, 
    rgba(74, 144, 226, 0.4) 0%, 
    rgba(30, 58, 95, 0.3) 50%, 
    rgba(255, 107, 53, 0.2) 100%);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  animation: blob-morph 8s ease-in-out infinite, blob-float 6s ease-in-out infinite;
  opacity: 0.8;
  filter: blur(40px);
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 73% 27% 26% 74% / 65% 35% 65% 35%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 28% 72% 44% 56% / 49% 40% 60% 51%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 40% 60% 70% 30% / 47% 62% 38% 53%;
    transform: rotate(270deg) scale(1.05);
  }
}

@keyframes blob-float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-15px);
  }
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 12px;
  animation: fade-in-up 0.8s ease-out;
}

.hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 720px;
  line-height: 1.2;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fade-in-up 0.8s ease-out 0.2s both;
}

.hero-sub {
  max-width: 640px;
  font-size: 0.98rem;
  opacity: 0.85;
  line-height: 1.6;
  animation: fade-in-up 0.8s ease-out 0.4s both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Particules flottantes */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(51, 51, 51, 0.3);
  border-radius: 50%;
  animation: particle-float 12s infinite linear;
}

.hero-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 6s;
}

@keyframes particle-float {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Éléments décoratifs */
.hero-decoration {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fade-in-up 0.8s ease-out 0.6s both;
}

.hero-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, #ddd, transparent);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Spirales décoratives dans le hero */
.hero-spiral {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-spiral--1 {
  top: 10%;
  left: 5%;
  width: 120px;
  height: 120px;
  animation: spiral-float-1 15s ease-in-out infinite;
}

.hero-spiral--2 {
  bottom: 15%;
  right: 8%;
  width: 100px;
  height: 100px;
  animation: spiral-float-2 18s ease-in-out infinite reverse;
}

.hero-spiral-svg {
  width: 100%;
  height: 100%;
  animation: spiral-rotate-slow 20s linear infinite;
}

@keyframes spiral-float-1 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) translateX(10px) rotate(90deg);
  }
  50% {
    transform: translateY(8px) translateX(-8px) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) translateX(15px) rotate(270deg);
  }
}

@keyframes spiral-float-2 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  33% {
    transform: translateY(12px) translateX(-12px) rotate(120deg);
  }
  66% {
    transform: translateY(-18px) translateX(8px) rotate(240deg);
  }
}

@keyframes spiral-rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive pour les spirales */
@media (max-width: 640px) {
  .hero-spiral--1 {
    width: 80px;
    height: 80px;
    top: 5%;
    left: 2%;
  }
  
  .hero-spiral--2 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 3%;
  }
}

/* Sections */
.section {
  margin-bottom: 56px;
  padding: 32px 0;
  border-bottom: 1px solid #f0f0f0;
}

.section:last-child {
  border-bottom: none;
}

.section-header {
  margin-bottom: 20px;
}

.section-title-link {
  color: inherit;
  text-decoration: none;
}

.section-title-link:hover {
  text-decoration: underline;
}

.section h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-subtitle {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 4px;
}

.section-intro {
  max-width: 640px;
  opacity: 0.85;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ======================
   MES TRAVAUX – CARROUSEL

/* Wrapper pour positionner les flèches */
.work-carousel-wrapper {
  position: relative;
  margin: 16px 0 24px;
}

/* Flèches de navigation */
.work-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.work-arrow--prev {
  left: -20px;
}

.work-arrow--next {
  right: -20px;
}

.work-arrow:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-50%) scale(1.1);
}

/* Zone scrollable horizontale */
.work-carousel {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;          /* Firefox */
}

.work-carousel::-webkit-scrollbar {
  display: none;                  /* Chrome / Safari */
}

/* Track = ligne de cartes */
.work-track {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  padding: 6px 4px 10px;
}

/* Carte */
.work-card {
  position: relative;
  flex: 0 0 260px;        /* largeur fixe pour toutes les cartes */
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.4);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
  cursor: pointer;
  height: 280px;         /* hauteur fixe pour toutes les cartes */
  display: flex;
  flex-direction: column;
}

/* Suppression des décalages pour alignement parfait */
.work-card:nth-child(2),
.work-card:nth-child(3),
.work-card:nth-child(4),
.work-card:nth-child(5) {
  transform: translateY(0);
}

.work-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Image en haut */
.work-card-image {
  width: 100%;
  height: 180px;         /* hauteur fixe pour toutes les images */
  overflow: hidden;
  flex-shrink: 0;        /* empêche l'image de rétrécir */
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* couvre toute la zone sans déformer */
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Texte en bas */
.work-card-body {
  padding: 10px 14px 14px;
  flex-grow: 1;         /* le texte occupe l'espace restant */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.work-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.work-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.work-card-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Effet au survol : la carte s'agrandit un peu */
.work-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(30, 58, 95, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 1));
}

.work-card:hover .work-card-image img {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 900px) {
  .work-card {
    flex: 0 0 240px;
  }
}

@media (max-width: 640px) {
  .work-card {
    flex: 0 0 80%;
  }

  .work-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .work-arrow--prev {
    left: -12px;
  }

  .work-arrow--next {
    right: -12px;
  }

  .work-card-image {
    height: 160px;
  }
}

/* JOURNAL (home) */
.post {
  border-top: 1px solid #e5e5e5;
  padding: 16px 0 20px;
}

.post:last-of-type {
  border-bottom: 1px solid #e5e5e5;
}

.post h3 {
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.post-meta {
  font-size: 0.78rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.post-excerpt {
  font-size: 0.95rem;
}

/* Photos / Archives */
.photo-carousel-wrapper {
  position: relative;
  margin: 16px 0 24px;
}

.photo-carousel {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;          /* Firefox */
}

.photo-carousel::-webkit-scrollbar {
  display: none;                  /* Chrome / Safari */
}

.photo-track {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  padding: 6px 4px 10px;
}

.photo-grid {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.photo-grid::-webkit-scrollbar {
  height: 4px;
}

.photo-grid::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 2px;
}

.photo-grid::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

.photo-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.photo-card {
  flex: 0 0 260px;        /* même taille que les work-cards */
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 280px;         /* même hauteur que les work-cards */
  display: flex;
  flex-direction: column;
}

.photo-card figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.photo-card img {
  width: 100%;
  height: 180px;         /* hauteur fixe pour toutes les images */
  object-fit: cover;       /* force l'image à couvrir la zone sans déformation */
  object-position: center;  /* centre l'image */
  display: block;
  transition: transform 0.4s ease;
}

.photo-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 16px 32px rgba(30, 58, 95, 0.12),
    0 6px 12px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 1));
}

.photo-card:hover img {
  transform: scale(1.08);
}

.photo-card figcaption {
  font-size: 0.75rem;
  padding: 10px 14px 12px;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;         /* occupe l'espace restant */
  display: flex;
  align-items: center;
}

/* Surb Stories */
.section-stories .section-intro + .section-intro {
  margin-top: 8px;
}

/* Contact */
.contact-links {
  list-style: none;
  margin-top: 8px;
}

.contact-links li {
  margin-bottom: 4px;
}

/* ====== (Optionnel) styles pour la page travaux  ====== */

.page-projects {
  padding-top: 72px;
}

.projects-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 24px;
  margin-bottom: 32px;
}

.projects-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.projects-hero-heading h1 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
}

.projects-logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    spiral-rotate 24s linear infinite,
    spiral-breathe 5s ease-in-out infinite;
}

.projects-hero-text p {
  font-size: 0.98rem;
  opacity: 0.85;
}

/* Filtres projets */
.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 24px;
}

.projects-filter {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: default;
  opacity: 0.7;
}

.projects-filter.is-active {
  background: #111111;
  color: #ffffff;
  opacity: 1;
}

/* Grille de projets (page travaux) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.project-image img {
  width: 100%;
  display: block;
}

.project-body {
  padding: 14px 16px 16px;
}

.project-title {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.project-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.project-excerpt {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #dddddd;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Lien actif dans la nav (si tu ajoutes .active) */
.site-nav a.active {
  font-weight: 600;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .projects-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page {
    padding-top: 80px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-separator {
    display: none;
  }

  .nav-secondary {
    opacity: 0.7;
  }

  .hero {
    padding: 20px 0;
  }

  .hero-blob {
    right: -80px;
    top: -100px;
    width: 260px;
    height: 260px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-decoration {
    margin-top: 24px;
  }

  .projects-logo-mark {
    width: 26px;
    height: 26px;
  }

  .work-card-featured {
    flex-basis: 280px;
  }
}
/* ===========================
   PAGE À PROPOS / ABOUT
   =========================== */

.page-about {
  padding-top: 88px;
}

/* Intro en deux colonnes */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-bottom: 40px;
}

.about-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 10px;
}

.about-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.about-lead {
  font-size: 0.98rem;
  opacity: 0.9;
  max-width: 640px;
}

.about-hero-side {
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Photo / portrait */
.about-photo-section {
  margin-bottom: 40px;
  position: relative;
}

.about-photo-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Blob animé */
.about-photo-blob {
  position: absolute;
  top: -60px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.08), rgba(68, 68, 68, 0.04));
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  animation: blob-morph 8s ease-in-out infinite, blob-float 6s ease-in-out infinite;
  filter: blur(40px);
  z-index: 1;
}

/* Particules flottantes */
.about-photo-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.about-photo-particles::before,
.about-photo-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(51, 51, 51, 0.3);
  border-radius: 50%;
  animation: particle-float 12s infinite linear;
}

.about-photo-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.about-photo-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 6s;
}

/* Spirales décoratives */
.about-photo-spiral {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.about-photo-spiral--1 {
  top: 10%;
  left: 5%;
  width: 120px;
  height: 120px;
  animation: spiral-float-1 15s ease-in-out infinite;
}

.about-photo-spiral--2 {
  bottom: 15%;
  right: 8%;
  width: 100px;
  height: 100px;
  animation: spiral-float-2 18s ease-in-out infinite reverse;
}

.about-photo-spiral-svg {
  width: 100%;
  height: 100%;
  animation: spiral-rotate-slow 20s linear infinite;
}

.about-photo-card {
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  position: relative;
  z-index: 2;
  animation: fade-in-up 0.8s ease-out;
}

.about-photo-card img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.about-photo-card figcaption {
  font-size: 0.85rem;
  padding: 10px 14px 12px;
  opacity: 0.8;
}

/* Gear / outils */
.about-gear-section {
  margin-bottom: 40px;
}

.about-subtitle {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.about-intro {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 12px;
  max-width: 640px;
}

.about-gear-list {
  list-style: none;
  border-top: 1px solid #e5e5e5;
}

.about-gear-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.92rem;
}

.gear-index {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-bottom: 2px;
}

.gear-name {
  font-weight: 500;
}

.gear-role {
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: right;
}

/* Texte de clôture */
.about-bottom {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  max-width: 720px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-gear-item {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .gear-role {
    text-align: left;
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .page-about {
    padding-top: 80px;
  }

  .about-photo-blob {
    right: -80px;
    top: -100px;
    width: 260px;
    height: 260px;
  }

  .about-photo-spiral--1 {
    width: 80px;
    height: 80px;
    top: 5%;
    left: 2%;
  }
  
  .about-photo-spiral--2 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 2%;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-gear-item {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .gear-role {
    text-align: left;
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .page-about {
    padding-top: 80px;
  }
}
/* ===========================
   PAGE JOURNAL / BLOG
   =========================== */

.page-journal {
  padding-top: 96px;
}

/* Hero journal */
.journal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-bottom: 40px;
}

.journal-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 8px;
}

.journal-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.journal-lead {
  font-size: 0.98rem;
  opacity: 0.9;
  max-width: 640px;
}

.journal-hero-side {
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Filtres */
.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 32px;
}

.journal-filter {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: default;
  opacity: 0.7;
}

.journal-filter.is-active {
  background: #111111;
  color: #ffffff;
  opacity: 1;
}

/* Grille principale (2 colonnes) */
.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

/* Article à la une (grande colonne gauche) */
.journal-article--featured {
  grid-column: 1;
}

.journal-article--featured .journal-article-image {
  height: 320px;
  margin-bottom: 16px;
}

.journal-article--featured .journal-article-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.journal-article--featured .journal-article-excerpt {
  font-size: 1rem;
  margin-bottom: 12px;
}

/* Colonne d'articles (droite) */
.journal-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Carte article */
.journal-article {
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.journal-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.journal-article-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Image article */
.journal-article-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.journal-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.journal-article:hover .journal-article-image img {
  transform: scale(1.05);
}

/* Overlay catégorie */
.journal-article-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.journal-article-category {
  background: rgba(17, 17, 17, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Contenu article */
.journal-article-body {
  padding: 16px;
}

.journal-article-body--text-only {
  padding: 20px 16px;
}

.journal-article-date {
  font-size: 0.78rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.journal-article-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.journal-article-excerpt {
  font-size: 0.92rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 8px;
}

.journal-article-meta {
  font-size: 0.8rem;
  opacity: 0.6;
}

.reading-time {
  color: #666;
}

/* Pagination */
.journal-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 32px;
}

.pagination-link {
  font-size: 0.9rem;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.pagination-current {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
  .journal-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .journal-article--featured {
    grid-column: 1;
  }

  .journal-column {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .page-journal {
    padding-top: 80px;
  }

  .journal-filters {
    gap: 8px;
  }

  .journal-filter {
    font-size: 0.85rem;
    padding: 3px 8px;
  }

  .journal-article-image {
    height: 140px;
  }

  .journal-article--featured .journal-article-image {
    height: 240px;
  }

  .journal-pagination {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===========================
   PAGE SURB STORIES
   =========================== */

.page-stories {
  padding-top: 96px;
}

/* Hero stories */
.stories-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-bottom: 40px;
}

.stories-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 8px;
}

.stories-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.stories-lead {
  font-size: 0.98rem;
  opacity: 0.9;
  max-width: 640px;
}

.stories-hero-side {
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Section carrousel */
.stories-carousel-section {
  margin-bottom: 48px;
}

/* Conteneur du carrousel */
.stories-carousel-wrapper {
  position: relative;
  margin: 16px 0 24px;
}

.stories-carousel {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.stories-carousel::-webkit-scrollbar {
  display: none;
}

.stories-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  padding: 6px 4px 10px;
}

/* Carte featured du carrousel */
.story-card--featured {
  position: relative;
  flex: 0 0 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.story-card--featured:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* Image featured */
.story-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.story-card--featured:hover .story-card-image img {
  transform: scale(1.1);
}

/* Overlay featured */
.story-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 40%);
}

.story-card-category {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.story-card-duration {
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Contenu featured */
.story-card-body {
  padding: 20px;
}

.story-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.story-card-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 12px;
}

.story-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

.story-date {
  color: #666;
}

.story-views {
  color: #999;
}

/* Flèches du carrousel */
.stories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.stories-arrow--prev {
  left: -20px;
}

.stories-arrow--next {
  right: -20px;
}

.stories-arrow:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-50%) scale(1.1);
}

/* Indicateurs du carrousel */
.stories-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.is-active {
  background: #111;
  border-color: #111;
  transform: scale(1.2);
}

/* Filtres */
.stories-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 32px;
}

.stories-filter {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: default;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.stories-filter.is-active {
  background: #111111;
  color: #ffffff;
  opacity: 1;
}

.stories-filter:hover:not(.is-active) {
  background: #f5f5f5;
  opacity: 1;
}

/* Grille de vignettes */
.stories-grid-section {
  margin-bottom: 48px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

/* Vignette individuelle */
.story-thumbnail {
  border-radius: 16px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.story-thumbnail:hover {
  transform: translateY(-6px) rotate(-1deg) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  border-color: #ddd;
}

.story-thumbnail-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Image vignette */
.story-thumbnail-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.story-thumbnail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.story-thumbnail:hover .story-thumbnail-image img {
  transform: scale(1.08) rotate(1deg);
}

/* Overlay vignette */
.story-thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
}

.story-thumbnail:hover .story-thumbnail-overlay {
  opacity: 1;
}

.story-thumbnail-category {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.story-thumbnail-actions {
  display: flex;
  gap: 6px;
}

.btn-save, .btn-share {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.btn-save:hover, .btn-share:hover {
  background: #111;
  transform: scale(1.1);
}

/* Contenu vignette */
.story-thumbnail-body {
  padding: 16px;
}

.story-thumbnail-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.story-thumbnail-excerpt {
  font-size: 0.88rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -moz-box;
  -moz-line-clamp: 2;
  -moz-box-orient: vertical;
  display: box;
  line-clamp: 2;
  box-orient: vertical;
}

.story-thumbnail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.6;
}

.story-thumbnail-date {
  color: #666;
}

.story-thumbnail-views {
  color: #999;
}

/* Bouton charger plus */
.stories-load-more {
  text-align: center;
  margin: 32px 0;
}

.btn-load-more {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-load-more:hover:not(:disabled) {
  background: #333;
  transform: translateY(-2px);
}

.btn-load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Spinner de chargement */
.loading-spinner {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #111;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
  .stories-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .stories-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .story-card--featured {
    flex: 0 0 320px;
  }
}

@media (max-width: 640px) {
  .page-stories {
    padding-top: 80px;
  }

  .stories-filters {
    gap: 8px;
  }

  .stories-filter {
    font-size: 0.85rem;
    padding: 3px 8px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-card--featured {
    flex: 0 0 280px;
  }

  .stories-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .stories-arrow--prev {
    left: -12px;
  }

  .stories-arrow--next {
    right: -12px;
  }

  .story-thumbnail-image {
    height: 160px;
  }
}

/* ===========================
   PAGE ARCHIVES / GALLERY
   =========================== */

.page-archives {
  padding-top: 96px;
}

/* Hero en deux colonnes, comme About */
.archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-bottom: 32px;
}

.archive-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 8px;
}

.archive-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
}

.archive-hero-side {
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mosaïque */
.archive-section {
  margin-top: 8px;
}

/* Grille responsive type mosaïque */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

/* Carte d’archive */
.archive-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f5f5f5;
  cursor: pointer;
  transform-origin: center center;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease;
}

/* Différentes proportions pour composer la mosaïque */
.archive-item--tall {
  aspect-ratio: auto;
}

.archive-item--wide {
  aspect-ratio: auto;
}

.archive-item--square {
  aspect-ratio: auto;
}

.archive-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Overlay avec titre */
.archive-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.0));
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Effet au survol : zoom + élévation + overlay */
.archive-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0,0,0,0.16);
}

.archive-item:hover img {
  transform: scale(1.08);
}

.archive-item:hover .archive-overlay {
  opacity: 1;
}

/* Lien actif dans la nav (facultatif mais stylé) */
.site-nav a.active {
  font-weight: 600;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .archive-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-archives {
    padding-top: 80px;
  }
}
.project-card .project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ===========================
   PAGE SERVICES
   =========================== */

.page-services {
  padding-top: 96px;
}

/* Hero services */
.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-bottom: 40px;
}

.services-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 8px;
}

.services-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.2;
}

.services-lead {
  font-size: 0.98rem;
  opacity: 0.9;
  max-width: 640px;
}

.services-hero-side {
  font-size: 0.95rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Section services */
.services-section {
  margin-bottom: 48px;
}

.services-subtitle {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.service-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: #111111;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111111;
}

.service-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  font-size: 0.85rem;
  opacity: 0.7;
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}

.service-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111111;
  opacity: 0.5;
}

/* Approche */
.approach-section {
  background: #f8f8f8;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 48px;
}

.approach-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  text-align: center;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.approach-item {
  text-align: center;
}

.approach-number {
  width: 48px;
  height: 48px;
  background: #111111;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 auto 16px;
}

.approach-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111111;
}

.approach-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* CTA section */
.services-cta {
  background: linear-gradient(135deg, #111111 0%, #333333 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-bottom: 40px;
}

.cta-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button.primary {
  background: #ffffff;
  color: #111111;
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
}

.cta-button.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* Responsive services */
@media (max-width: 900px) {
  .services-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .approach-section {
    padding: 32px 24px;
  }

  .approach-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .page-services {
    padding-top: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .approach-section {
    padding: 24px 20px;
  }

  .services-cta {
    padding: 32px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
/* ===========================
   PAGE PROJET DÉTAIL
   =========================== */

.project-detail {
  padding-top: 88px;
}

/* Hero en 2 colonnes (texte + infos) */
.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.project-detail-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-bottom: 8px;
}

.project-detail-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.project-detail-lead {
  font-size: 0.98rem;
  opacity: 0.9;
  max-width: 640px;
}

/* Bloc infos à droite */
.project-detail-side dl {
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
}

.project-detail-side dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.project-detail-side dd {
  margin: 0;
  opacity: 0.9;
}

/* Galerie d’images */
.project-detail-gallery {
  margin-bottom: 32px;
}

.project-hero-image {
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  margin-bottom: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-hero-image:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 35px rgba(0,0,0,0.14);
}

.project-hero-image img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.project-hero-image:hover img {
  transform: scale(1.05);
}

.project-hero-image figcaption {
  font-size: 0.85rem;
  padding: 8px 12px 10px;
  opacity: 0.8;
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-thumb:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.project-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.project-thumb:hover img {
  transform: scale(1.08);
}

.project-thumb figcaption {
  font-size: 0.8rem;
  padding: 6px 8px 8px;
  opacity: 0.8;
}

/* Texte narratif */
.project-detail-text {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.project-detail-text h2 {
  margin-top: 14px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-detail-text ul {
  padding-left: 18px;
}

/* Retour */
.project-detail-back {
  margin-top: 24px;
}

.project-detail-back a {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .project-detail-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-detail {
    padding-top: 80px;
  }

  .project-thumbs {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ========= MES TRAVAUX – CAROUSEL ========= */

.section-work {
  position: relative;
}

/* Wrapper pour positionner les flèches */
.work-carousel-wrapper {
  position: relative;
  margin-top: 10px;
}

/* Flèches gauche / droite */
.work-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.work-arrow--prev {
  left: -6px;
}

.work-arrow--next {
  right: -6px;
}

.work-arrow:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transform: translateY(-50%) scale(1.05);
}

/* Zone scrollable horizontale */
.work-carousel {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;          /* Firefox */
}
.work-carousel::-webkit-scrollbar {
  display: none;                  /* Chrome / Safari */
}

/* Track = ligne de cartes */
.work-track {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  padding: 6px 4px 10px;
  scroll-snap-type: x mandatory;
}

/* Carte */
.work-card {
  position: relative;
  flex: 0 0 260px;        /* largeur fixe pour toutes les cartes */
  border-radius: 24px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
  cursor: pointer;
  height: 280px;         /* hauteur fixe pour toutes les cartes */
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

/* Suppression des décalages pour alignement parfait */
.work-card:nth-child(2),
.work-card:nth-child(3),
.work-card:nth-child(4),
.work-card:nth-child(5) {
  transform: translateY(0) !important;
}

.work-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image en haut */
.work-card-image {
  width: 100%;
  height: 180px;         /* hauteur fixe pour toutes les images */
  overflow: hidden;
  flex-shrink: 0;        /* empêche l'image de rétrécir */
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* couvre toute la zone sans déformer */
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Texte en bas */
.work-card-body {
  padding: 10px 14px 14px;
  flex-grow: 1;         /* le texte occupe l'espace restant */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.work-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.65;
  margin-bottom: 4px;
}

.work-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.work-card-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Effet au survol : la carte s’agrandit un peu */
.work-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.work-card:hover .work-card-image img {
  transform: scale(1.08);
}

/* CTA sous le carousel */
.work-cta {
  margin-top: 18px;
}

.btn-view-all {
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid #111;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===========================
   PAGE PROJET DÉTAIL
   =========================== */

.btn-view-all:hover {
  text-decoration: none;
  background: #111;
  color: #fff;
}

/* Responsive */
@media (max-width: 640px) {
  .work-card {
    flex: 0 0 80%;
  }

  .work-arrow--prev {
    left: 0;
  }
  .work-arrow--next {
    right: 0;
  }
}

/* ===========================
   LIGHTBOX - VISUALISATION PHOTOS
   =========================== */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  cursor: pointer;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  box-sizing: border-box;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.2s ease;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.8);
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: sticky;
  bottom: 20px;
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .lightbox-content {
    padding: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 2rem;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-caption {
    font-size: 1rem;
    margin: 15px 10px 0;
  }
  
  #lightbox-img {
    max-height: 70vh;
  }
}

