body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f5f5;
  color: #222;
}

/* HEADER */
.site-header {
  /* text-align: center;
  padding-top: 15px; */
  border-bottom: 1px solid #ddd
}

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  position: relative;
}

/* Hamburger */
.menu-toggle {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  margin: 4px 0;
}



/* LOGO / TITRE */
.logo {
 /* margin-bottom: 10px;*/
    font-size: 14px;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: #000;
}

.logo-link {
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #222;
}

.logo-link:hover {
  text-decoration: underline;
}


/* NAVBAR */
.main-nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  body {
    background: white !important;
  }
  .menu-toggle {
    display: block;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }
}


.flower-link {
  position: relative;
  display: inline-block;
}

/* L’élément animé */
.flower {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: flower-float 1s ease-out forwards;
  z-index: 10;
}

/* Le SVG ne doit JAMAIS décider de sa taille */
.flower svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes flower-float {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--dx)),
        calc(-50% + var(--dy))
      )
      scale(var(--scale));
  }
}


.photography-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.photo-filters {
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border: none;
  background-color: #333;
  color: white;
  border-radius: 5px;
  transition: 0.3s;
}

.filter-btn:hover {
  background-color: #555;
}

.photo-gallery {
  column-count: 4;
  column-gap: 1rem;
}

/* responsive */
@media (max-width: 1200px) {
  .photo-gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .photo-gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    column-count: 1;
  }
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.photo-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.photo-item img:hover {
  transform: scale(1.01);
}

.photo-title {
  display: none;
}


/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-title {
  color: white;
  margin-top: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

.nav{
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 1rem;
  transform: translateY(-50);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav:hover {
  opacity: 1;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* VISUAL ART */

.visualart-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.visualart-filters {
  margin-bottom: 1.5rem;
}


.visualart-gallery {
  column-count: 4;
  column-gap: 1rem;
}

/* responsive */
@media (max-width: 1200px) {
  .visualart-gallery {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .visualart-gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .visualart-gallery {
    column-count: 1;
  }
}

.visualart-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.visualart-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.visualart-item img:hover {
  transform: scale(1.01);
}

.visualart-title {
  display: none;
}

/* AUDIOVISUEL */

.audiovisual-section {
  padding: 60px 6vw; 
}

.audiovisual-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.av-item {
  text-decoration: none;
  color: inherit;
}

.av-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.av-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.av-item:hover img {
  transform: scale(1.05);
}


.av-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.av-item:hover .av-overlay {
  opacity: 1;
}

.av-overlay h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.av-overlay p,
.av-overlay span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.av-meta {
  display: none;
  padding-top: 10px;
}

.av-meta h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.av-meta p {
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .audiovisual-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .audiovisual-gallery {
    grid-template-columns: 1fr;
  }

  .av-overlay {
    display: none; 
  }

  .av-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
    text-align: center;
  }

  .av-meta h3{
    display: none;
  }

  .av-meta p {
    font-size: 0.85rem;
    opacity: 0.8;
    max-width: 90%;
  }

  av-item {
    margin-bottom: 20px;
  }
}

/* FILM PAGE */

/* PAGE FILM */
.film-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

/* TITRE */
.film-title img {
  max-width: 400px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.film-title h1 {
  color: rgb(163, 26, 26);
}

/* RÔLES */
.film-roles {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

/* RÉSUMÉ */
.film-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* INFOS */
.film-infos {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 3rem;
}

/* VIDÉO */

.film-video {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.film-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

/* STILLS */
.film-stills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.film-stills img {
  width: 100%;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .film-stills {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* =========================
   ASSOCIATION – GLOBAL
========================= */

.association {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  color: #111;
  font-family: 'Inter', sans-serif;
}

.association h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.association h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.association p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* =========================
   INTRO
========================= */

.association-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}

.association-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* =========================
   PROJECTS
========================= */

.association-project {
  margin-bottom: 5rem;
}

.association-project:last-child {
  margin-bottom: 0;
}

/* =========================
   SPLIT LAYOUT
========================= */

.project-content.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.project-content.split.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.project-image img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.project-image img,
.association-image img {
  max-height: 280px;
  object-fit: cover;
}

/* =========================
   GALLERY
========================= */

.project-gallery {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .association {
    padding: 4rem 1.5rem;
  }

  .association-intro,
  .project-content.split,
  .project-content.split.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {

  .association h2 {
    font-size: 2rem;
  }

  .association h3 {
    font-size: 1.4rem;
  }

  .association p {
    font-size: 0.95rem;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

   .gallery-unifive {
    flex-direction: column;
    align-items: center;
  }

  .gallery-unifive img {
    width: 100%;
    max-width: 100%;
  }
}

.btn-unifive {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-unifive:hover {
  background-color: #111;
  color: #fff;
}

.gallery-unifive {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-unifive img {
  width: 45%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}



/* =========================
   GRAPHICS PAGE
========================= */

.graphics-page {
  max-width: 900px;
}

.graphics-title h1 {
  font-size: 2.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.graphics-intro {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 4rem;
}

.graphics-section {
  margin-bottom: 3.5rem;
  text-align: left;
}

.graphics-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.graphics-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  color: #333;
}

.graphics-section ul {
  padding-left: 1.2rem;
}

.graphics-section li {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.graphics-section.highlight {
  border-left: 3px solid #111;
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .graphics-title h1 {
    font-size: 2.2rem;
  }

  .graphics-intro {
    font-size: 0.95rem;
  }
}

.graphics-gallery video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.graphics-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Tablet */
@media (max-width: 1024px) {
  .graphics-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .graphics-gallery {
    grid-template-columns: 1fr;
  }
}



/* ABOUT PAGE */

.about-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.about-text {
  flex: 1.6;
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 1.2rem;
}

.about-english {
  display: block;
  margin-top: 2rem;
  font-size: 0.95rem;
  opacity: 0.75;
}




/* Image à droite */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* English version : même style mais plus discret */
.about-content.english {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Contact section */
.contact-section {
  margin-top: 4rem;
}

.contact-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-links {
  list-style: none;
  padding: 0;
}

.contact-links li {
  margin-bottom: 0.8rem;
}

.contact-links a {
  text-decoration: none;
  color:rgba(10, 2, 113, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-links a:hover {
  border-color: currentColor;
}

/* Responsive */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: 2rem;
  }
}



.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: 2rem;
  }
}


.home {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.home img {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

.home img {
  animation: fadeIn 1.0s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Tablette */
@media (max-width: 1024px) {
  .home img {
    max-width: 700px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .home {
    min-height: 60vh;
  }

  .home img {
    max-width: 100%;
  }
}

.lightbox-link {
  display: inline-block;
  margin-top: 10px;
  color: white;
  text-decoration: underline;
  font-size: 0.9rem;
}

.lightbox-link:hover {
  opacity: 0.7;
}
