@charset "UTF-8";
/*
Theme Name: Motaphoto
Theme URI: http://motaphoto.com/
Author: Alexandre
Author URI: http://motaphoto.com/
Description: Thème personnalisé pour le site de la photographe Nathalie Mota.
Version: 1.0
Text Domain: theme-nathalie-mota
*/
/* normalize.css  */
/* base/_reset.scss */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* FONTS */
/* Space Mono Regular (400) */
@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Regular.woff2") format("woff2"), url("./assets/fonts/SpaceMono-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Space Mono Italic (400 italic) */
@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Italic.woff2") format("woff2"), url("./assets/fonts/SpaceMono-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* Space Mono Bold (700) */
@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Bold.woff2") format("woff2"), url("./assets/fonts/SpaceMono-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Space Mono Bold Italic (700 italic) */
@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-BoldItalic.woff2") format("woff2"), url("./assets/fonts/SpaceMono-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* Poppins Thin (100) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Thin.woff2") format("woff2"), url("./assets/fonts/Poppins-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
/* Poppins Thin Italic (100 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ThinItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
/* Poppins ExtraLight (200) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraLight.woff2") format("woff2"), url("./assets/fonts/Poppins-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
/* Poppins ExtraLight Italic (200 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraLightItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-ExtraLightItalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
/* Poppins Light (300) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Light.woff2") format("woff2"), url("./assets/fonts/Poppins-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* Poppins Light Italic (300 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-LightItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
/* Poppins Regular (400) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Regular.woff2") format("woff2"), url("./assets/fonts/Poppins-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Poppins Italic (400 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Italic.woff2") format("woff2"), url("./assets/fonts/Poppins-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* Poppins Medium (500) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Medium.woff2") format("woff2"), url("./assets/fonts/Poppins-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Poppins Medium Italic (500 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-MediumItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
/* Poppins SemiBold (600) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-SemiBold.woff2") format("woff2"), url("./assets/fonts/Poppins-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Poppins SemiBold Italic (600 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-SemiBoldItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* Poppins Bold (700) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Bold.woff2") format("woff2"), url("./assets/fonts/Poppins-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Poppins Bold Italic (700 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-BoldItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* Poppins ExtraBold (800) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraBold.woff2") format("woff2"), url("./assets/fonts/Poppins-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* Poppins ExtraBold Italic (800 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraBoldItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-ExtraBoldItalic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
/* Poppins Black (900) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Black.woff2") format("woff2"), url("./assets/fonts/Poppins-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* Poppins Black Italic (900 italic) */
@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-BlackItalic.woff2") format("woff2"), url("./assets/fonts/Poppins-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
/* -- Palette de Couleurs - Texte -- */
.has-rouge-vif-color {
  color: #E00000 !important;
}

.has-noir-color {
  color: #000000 !important;
}

.has-gris-color {
  color: #D8D8D8 !important;
}

.has-corail-color {
  color: #FE5858 !important;
}

.has-charbon-color {
  color: #313144 !important;
}

.has-gris-clair-color {
  color: #E5E5E5 !important;
}

.has-rose-pale-color {
  color: #FFD6D6 !important;
}

.has-gris-moyen-color {
  color: #C4C4C4 !important;
}

/* -- Palette de Couleurs - Arrière-plans -- */
.has-rouge-vif-background-color {
  background-color: #E00000 !important;
}

.has-noir-background-color {
  background-color: #000000 !important;
}

.has-gris-background-color {
  background-color: #D8D8D8 !important;
}

.has-corail-background-color {
  background-color: #FE5858 !important;
}

.has-charbon-background-color {
  background-color: #313144 !important;
}

.has-gris-clair-background-color {
  background-color: #E5E5E5 !important;
}

.has-rose-pale-background-color {
  background-color: #FFD6D6 !important;
}

.has-gris-moyen-background-color {
  background-color: #C4C4C4 !important;
}

/*THEME*/
body {
  font-family: Space Mono;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 1440px;
}

.container {
  max-width: 1228px;
  margin: 40px auto;
  padding-left: 40px;
  padding-right: 40px;
}

.container h2 {
  margin-bottom: 30px;
}

.container p {
  margin-bottom: 40px;
}

h1 {
  font-family: Space Mono;
  font-size: 96px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  text-transform: uppercase;
  color: white;
  -webkit-text-stroke: 0.02em rgb(100, 100, 100);
  -webkit-text-fill-color: transparent;
}

h2 {
  color: #000000;
  font-family: Space Mono;
  font-size: 67px;
  font-weight: 400;
  font-style: italic;
  line-height: 58px;
  text-transform: uppercase;
}

h3 {
  color: #000000;
  font-family: Space Mono;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 10%;
  text-transform: uppercase;
}

.description p {
  color: #000000;
  font-family: Space Mono;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 10%;
  text-transform: uppercase;
}

p, li {
  color: #000000;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
}

@media screen and (max-width: 820px) {
  h1 {
    font-size: 28px;
    text-shadow: none;
  }
  h2 {
    font-size: 46px;
    line-height: 48px;
  }
}
/* HERO Page d'Accueil */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero h1 {
  font-family: Space Mono;
  font-weight: 700;
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  text-transform: uppercase;
  color: white;
  -webkit-text-stroke: 0.02em white;
  -webkit-text-fill-color: transparent;
}

/* FORMAT MOBILE */
@media (max-width: 820px) {
  .hero h1 {
    font-size: 58px;
  }
  .hero {
    height: 40vh;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 28px;
  }
}
/* Grille de photos */
.photo-gallery {
  justify-items: center;
  padding: 0px 20px;
}

.photo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 50px;
  margin-bottom: 20px;
}

.gallery-container {
  max-width: 1148px;
  margin: 0 auto;
}

/* Format MOBILE */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
.load-more-container {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 1rem;
}

.btn-load-more {
  font-family: Space Mono;
  background: #d8d8d8;
  color: #000000;
  padding: 15px 0;
  font-size: 12px;
  border: 0;
  border-radius: 2px;
  transition: 0.3s ease-in-out;
  width: 250px;
  cursor: pointer;
}

.btn-load-more:hover {
  background-color: #000;
  color: #fff;
  font-weight: 500;
}

/* Conteneur principal des filtres */
.filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  margin-bottom: 20px;
}

/* Groupes de filtres (gauche et droite) */
.filters-left, .filters-right {
  display: flex;
  gap: 20px;
}

/* Style du menu déroulant personnalisé  */
.custom-select-wrapper {
  position: relative;
  min-width: 250px;
  font-size: 1rem;
  user-select: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
}
.custom-select-wrapper.open .arrow-down {
  opacity: 0;
}
.custom-select-wrapper.open .arrow-up {
  opacity: 1;
}
.custom-select-wrapper.open .select-trigger {
  border-color: #215AFF;
  border-radius: 8px 8px 0px 0px;
  min-width: 250px;
}
.custom-select-wrapper.open .select-options {
  max-height: 500px;
  visibility: visible;
}

/* <select> masqué */
.hidden-select {
  display: none;
}

/* <select> cliquable et visible */
.select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #B8B8B8;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0;
  list-style: none;
  background-color: #ffffff;
  border-radius: 0px 0px 8px 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, visibility 0.3s;
  visibility: hidden;
}

.select-options li {
  padding: 12px 15px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-family: "Poppins", sans-serif;
  color: #313144;
  font-weight: 500;
  font-size: 12px;
  text-transform: capitalize;
}
.select-options li:hover {
  background-color: #FFD6D6;
}
.select-options li:active {
  background-color: #FE5858;
  color: #ffffff;
}
.select-options li.selected {
  background-color: #E00000;
  color: #ffffff;
}
.select-options li:first-child {
  opacity: 0;
}

.arrow-icons {
  position: relative;
  width: 16px;
  height: 16px;
}
.arrow-icons img {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: auto;
  transition: opacity 0.3s ease-in-out;
}
.arrow-icons .arrow-up {
  opacity: 0;
}

/* --- MOBILE --- */
@media (max-width: 820px) {
  .filters-container {
    flex-direction: column;
  }
  .filters-left, .filters-right {
    flex-direction: column;
  }
}
@media (max-width: 300px) {
  .custom-select-wrapper {
    min-width: 200px;
  }
  .custom-select-wrapper.open .select-trigger {
    min-width: 200px;
  }
}
.photo-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.photo-details {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border-bottom: 1px solid #000000;
}

.photo-details h2 {
  font-size: clamp(45px, 5vw, 67px);
  line-height: clamp(50px, 5vw, 60px);
  margin-bottom: 25px;
}

.photo-details a {
  pointer-events: none;
}

.photo-display {
  width: 50%;
  height: auto;
}

.photo-details p {
  font-family: Space Mono;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.photo-display img {
  max-width: 100%;
  height: auto;
}

.photo-action {
  width: 100%;
  height: 118px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #000000;
}

.contact-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.photo-navigation {
  display: flex;
  align-items: end;
  justify-content: end;
  flex-direction: column;
}

.btn-contact {
  font-family: Space Mono;
  background: #d8d8d8;
  color: #000000;
  padding: 15px 0;
  font-size: 12px;
  border: 0;
  border-radius: 2px;
  transition: 0.3s ease-in-out;
  width: 250px;
  cursor: pointer;
}

.btn-contact:hover {
  background-color: #000000;
  color: #ffffff;
  font-weight: 500;
}

.single-photo {
  max-width: 1228px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.photo-action > div {
  width: calc(50% - 10px);
}

.photo-navigation .thumb {
  width: 80px;
  height: 70px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

.photo-navigation .nav-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80px;
  margin: 10px 0;
}

.preview-thumbnail-prev,
.preview-thumbnail-next {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  position: absolute;
}

.preview-thumbnail-prev img,
.preview-thumbnail-next img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-thumbnail-prev.visible,
.preview-thumbnail-next.visible {
  opacity: 1;
  visibility: visible;
}

/* FORMAT MOBILE */
@media screen and (max-width: 820px) {
  .photo-navigation {
    display: none;
  }
  .photo-container {
    flex-direction: column-reverse;
    align-items: center;
    border-bottom: 1px solid #000000;
  }
  .single-photo {
    padding: 0px;
  }
  .photo-action {
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  .contact-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .photo-display {
    width: 80%;
    margin-top: 80px;
  }
  .photo-details {
    width: 80%;
    border-bottom: 0px;
  }
  .photo-details h2 {
    font-size: 46px;
    line-height: 48px;
  }
}
@media screen and (max-width: 420px) {
  .contact-cta {
    align-items: flex-start;
  }
  .photo-action > div {
    width: 80%;
  }
  .photo-action {
    align-items: center;
  }
  .btn-contact {
    width: 100%;
  }
}
/* ---- ZONE PHOTOS APPARENTÉS ---- */
.related-photos {
  padding-bottom: 120px;
  max-width: 1228px;
  margin: 80px auto;
  padding-left: 40px;
  padding-right: 40px;
}

.related-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

/* FORMAT MOBILE */
@media (max-width: 820px) {
  .related-photos {
    padding: 0px;
    margin: 20px 0px;
  }
  .related-title {
    display: grid;
    justify-items: center;
  }
  .related-photos-grid {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    margin-top: 20px;
    padding: 20px;
  }
}
@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(50px);
  }
}
.fadeInDown {
  animation: fadeInSlideDown 1s ease;
}

.fadeOut {
  animation: fadeOut 1s ease;
}

/* Animation d'entrée depuis la droite */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Animation de sortie vers la droite */
@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
/* Animation d'entrée */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.slideInRight {
  animation: slideInRight 500ms ease;
}

.slideOutRight {
  animation: slideOutRight 500ms ease;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.8s ease;
  z-index: 1000;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #ffffff;
  margin: auto;
  padding: 0;
  width: 597px;
  height: auto;
  border: 5px #000000 solid;
  animation: fadeIn 0.8s ease;
  z-index: 1000;
}

/* Zone pour l'image */
.modal-header {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  height: auto;
}

.modal-body {
  max-width: 100%;
  overflow: hidden;
}

.modal-header img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.5);
  transform-origin: center;
}

/* Champs texte et email */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=url],
.wpcf7 input[type=tel],
.wpcf7 input[type=number] {
  font-size: 18px;
  height: 55px;
  padding: 12px 15px;
  border: 1px solid #b8bbc2;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* Zone de texte (MESSAGE) */
.wpcf7 textarea {
  font-size: 18px;
  height: 150px;
  padding: 12px 15px;
  border: 1px solid #b8bbc2;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  resize: none;
}

/* Bouton d’envoi */
.wpcf7 input[type=submit] {
  font-size: 18px;
  padding: 14px 25px;
  border: 0px solid #b8bbc2;
  width: 100%;
  background: #d8d8d8;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.wpcf7 input[type=submit]:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Message erreur du formulaire */
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #e00000;
}

/* Labels du formulaire CF7 */
.wpcf7 form label {
  display: block;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 12px;
}

.contact-form {
  width: 56%;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 0 auto;
}

.wpcf7-spinner {
  display: none;
}

/* Message d’erreur sous un champ */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 12px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border: 2px solid #313144;
  outline: none;
}

/* ========== MEDIA QUERIES (RESPONSIVE) ========== */
/* Tablettes */
@media (max-width: 820px) {
  .modal-content {
    animation: slideInRight 0.5s ease;
  }
}
/* Tablettes */
@media (max-width: 600px) {
  .modal {
    padding-top: 100px;
  }
  .modal-content {
    width: 95vw;
    height: auto;
    animation: slideInRight 0.5s ease;
  }
  .wpcf7 form label {
    margin-bottom: 20px;
  }
  .contact-form {
    padding: 0px 0px 0px 20px;
    width: 70%;
  }
  .modal-header {
    padding: 40px 0px 20px 0px;
  }
  .modal-body {
    padding: 12px;
  }
  .wpcf7 input[type=submit] {
    padding: 14px 18px;
  }
}
/* Mobiles < 480px */
@media (max-width: 480px) {
  .wpcf7 form label {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .wpcf7 input[type=text],
  .wpcf7 input[type=email],
  .wpcf7 input[type=url],
  .wpcf7 input[type=tel],
  .wpcf7 input[type=number],
  .wpcf7 textarea {
    font-size: 16px;
    height: auto;
  }
  .modal-header img {
    transform: scale(1.4);
  }
}
/* ---- Bloc photo individuel ---- */
.photo-block {
  width: 100%;
  aspect-ratio: 564/495;
  position: relative;
  overflow: hidden;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Overlay au survol ---- */
.photo-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
  padding: 8px 10px 8px 10px;
}

.photo-block:hover .photo-overlay {
  opacity: 1;
}

.fullscreen-icon {
  grid-row: 1/2;
  grid-column: 2/3;
  justify-self: end;
  align-self: start;
}

.eye-icon {
  grid-row: 2/3;
  grid-column: 1/3;
}

.fullscreen-icon:hover {
  transform: scale(1.1);
}

.eye-icon:hover {
  transform: scale(1.1);
}

.photo-reference {
  font-family: Space Mono;
  grid-row: 3/4;
  grid-column: 1/2;
  justify-self: start;
  align-self: end;
  color: white;
  text-transform: uppercase;
}

.photo-category {
  font-family: Space Mono;
  grid-row: 3/4;
  grid-column: 2/3;
  justify-self: end;
  align-self: end;
  color: white;
  text-transform: uppercase;
}

/* --- Styles pour la Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox__container {
  position: relative;
  max-width: 100vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
  margin-right: 30px;
}

.lightbox__container img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox__info {
  color: white;
  font-family: "Space Mono", monospace;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
}

/* --- Boutons de contrôle --- */
.lightbox__close,
.lightbox__next,
.lightbox__prev {
  position: fixed;
  background: none;
  border: none;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
  z-index: 20;
}

.lightbox__close {
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-image: url("assets/images/close.svg");
  transition: transform 0.3s ease-in-out;
}

.lightbox__close:hover {
  transform: rotate(90deg);
}

/* --- Flèche Suivante --- */
.lightbox__next {
  transform: translateY(-50%);
  width: 120px;
  background-image: url("assets/images/short_right_arrow.svg");
  height: 24px;
  right: 0;
  left: auto;
}

/* Flèche longue au survol */
.testlightbox__next:hover {
  background-image: url("assets/images/long_right_arrow.svg");
}

/* --- Flèche Précédente --- */
.lightbox__prev {
  transform: translateY(-50%);
  height: 24px;
  width: 120px;
  right: auto;
  left: 0;
  background-image: url("assets/images/short_left_arrow.svg");
}

/* Flèche longue au survol */
.testlightbox__prev:hover {
  background-image: url("assets/images/long_left_arrow.svg");
}

@media (min-width: 821px) {
  .lightbox__next:hover {
    background-image: url("assets/images/long_right_arrow.svg");
  }
  .lightbox__prev:hover {
    background-image: url("assets/images/long_left_arrow.svg");
  }
}
/* FORMAT MOBILE */
@media (max-width: 821px) {
  .lightbox__next {
    background-image: url("assets/images/right_arrow.svg");
  }
  .lightbox__prev {
    background-image: url("assets/images/left_arrow.svg");
  }
}
/***HEADER***/
#main-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-shadow: 0px 4px 14px 10px rgba(0, 0, 0, 0.031372549);
  height: 80px;
  padding: 0 40px 0 40px;
  background-color: #ffffff;
  z-index: 10;
}

.menu-container {
  width: 100%;
  max-width: 1148px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 216px;
  height: auto;
}

.menu {
  display: flex;
  gap: 40px;
}
.menu li {
  list-style: none;
}
.menu li a {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  transition: font-weight 0.2s ease-in-out;
}
.menu li a:hover {
  font-weight: 600;
}
.menu li.current-menu-item a, .menu li.current_page_item a {
  font-weight: 600;
}

.menu-toggle > .line {
  height: 2px;
  background-color: #000000;
  display: block;
  margin: auto;
  margin-block: 4px;
  width: 20px;
}

.menu-toggle {
  display: none;
  border: 0;
  background-color: transparent;
}
.menu-toggle.active .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  transition: transform 0.3s ease;
}
.menu-toggle.active .line:nth-child(2) {
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.menu-toggle.active .line:nth-child(3) {
  opacity: 0;
}

nav {
  position: relative;
  display: flex;
  justify-content: end;
  align-items: center;
}

@media screen and (max-width: 820px) {
  .current-menu-item a,
  .menu-item a:hover {
    font-weight: 600;
  }
}
@media screen and (max-width: 820px) {
  #main-header {
    position: fixed;
    top: 0;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.0901960784);
  }
  .logo img {
    max-width: 138px;
    height: auto;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    display: none;
  }
  nav.open {
    display: flex;
  }
  nav ul {
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 100px;
  }
  nav .menu a {
    color: #ffffff;
    font-size: 44px;
  }
}
/* Overlay derrière le header mobile */
#nav-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 10;
}

#nav-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HEADER MOBILE */
.main-header-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  box-shadow: 0px 4px 14px 10px rgba(0, 0, 0, 0.031372549);
  justify-content: space-between;
  z-index: 11;
  display: flex;
  flex-direction: column;
}

.menu-container-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 80px;
  background-color: #ffffff;
  padding: 0 40px;
}

.menu-container-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  opacity: 0;
}

.menu-container-mobile.active {
  opacity: 1;
}

/* Nav Mobile */
#nav-menu-mobile {
  display: none;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  margin-top: 150px;
}

.navi {
  background-color: #e00000;
  height: 100vh;
}

.menu-mobile a {
  font-family: Space Mono;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 44px;
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-mobile li {
  list-style: none;
}

#nav-menu-mobile.active {
  display: flex;
}

#nav-menuuuu-mobile.closing {
  transform: translateX(100%);
}

.menu-toggle-mobile > .line {
  height: 2px;
  background-color: #000000;
  display: block;
  margin: auto;
  margin-block: 4px;
  width: 20px;
}

.logo-mobile {
  display: flex;
  align-items: center;
}

.logo-mobile img {
  max-width: 138px;
  height: auto;
}

.menu-toggle-mobile {
  display: block;
  border: 0;
  background-color: transparent;
  z-index: 9;
}
.menu-toggle-mobile .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  transition: transform 0.3s ease;
}
.menu-toggle-mobile .line:nth-child(2) {
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.menu-toggle-mobile .line:nth-child(3) {
  opacity: 0;
}
.menu-toggle-mobile.active .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  transition: transform 0.3s ease;
}
.menu-toggle-mobile.active .line:nth-child(2) {
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.menu-toggle-mobile.active .line:nth-child(3) {
  opacity: 0;
}

/* HEADER MOBILE + ANIMATION */
.main-header-mobile,
#nav-menu-mobile {
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

/* Ouverture */
.main-header-mobile.active,
#nav-menu-mobile.active {
  transform: translateX(0);
}

/* Fermeture */
.main-header-mobile.closing,
#nav-menu-mobilee.closing {
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

@media screen and (min-width: 821px) {
  .main-header-mobile,
  #nav-menu-mobilee,
  #nav-menu-overlay {
    display: none;
  }
  #nav-menu-overlay {
    opacity: 0;
  }
}
/***FOOTER***/
footer {
  border-top: 1px #000000 solid;
  width: 100%;
}

.site-footer {
  color: black;
  padding: 0.5rem 1rem;
  text-align: center;
}

.footer-menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
}

.footer-menu .menu li {
  display: inline;
}

.footer-menu .menu a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

/* Footer Format Mobile */
@media (max-width: 768px) {
  .footer-menu .menu {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .footer-menu .menu li {
    margin-bottom: 0.1rem;
  }
}

/*# sourceMappingURL=style.css.map */
