*

{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Funnel Display", sans-serif;
}

header {
    flex-direction: column;
}

.header-container {
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
}

/* Texte "Prénom Nom" */
.site-title {
  font-size: 54px;
  color: #1A1A1A;
  font-family: "Workbench", sans-serif;
    font-variation-settings:
    "BLED" 0,
    "SCAN" 100;
}

.visually-hidden{
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

/* Bloc Projets / À propos */
.header-nav {
  display: flex;
  gap: 44px;
  font-weight: 300;
  font-size: 24px;
}

.filter-bar {
  width: 100%;
  padding: 20px 64px;
font-size: 20px;
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  color: #737373;
  font-weight: 300;
}

.active-filter {
  color: #1A1A1A;
  font-weight: 400;
}


/* Textes des filtres */
.filter-bar span {
  font-size: 18px;
  color: #1A1A1A;
  cursor: pointer;
}

.content {
  width: 100%;
   height: 100%;
  padding: 20px 64px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.project-card, .project-card-2, .project-card-3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card a {
rotate: 0deg;
transition-duration: 200ms;
}

.project-card a:hover {
rotate: 1.6deg;
transition-duration: 200ms;
}

.project-card-2 a {
rotate: 0deg;
transition-duration: 200ms;
}

.project-card-2 a:hover {
rotate: 1deg;
transition-duration: 200ms;
}

.project-card-3 a {
rotate: 0deg;
transition-duration: 200ms;
}

.project-card-3 a:hover {
rotate: 0.6deg;
transition-duration: 200ms;
}

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

/* Faux visuel */
.project-image {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 16px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Textes */
.project-text {
  display: flex;
  flex-direction: column;
  
}

.project-title {
  font-size: 20px;
  line-height: 140%;
  font-weight: 500;
  color: #1A1A1A;
}

.project-subtitle {
  font-size: 18px;
  line-height: 140%;
  color: #737373;
  font-weight: 300; 
}

/* Tailles Grilles */
.span-2 {
  grid-column: span 2;
  grid-row: span 1;
}

.span-3 {
  grid-column: span 3;
  grid-row: span 1;
}


/* FOOTER */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-container {
  width: 100%;
  height: 320px;
  padding: 40px 64px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;
}

.footer-info {
  font-size: 16px;
  line-height: 140%;
  color: #737373;
}

/* Bloc logo */
.footer-brand {
  width: 210px;
  height: 90px;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Réseaux */
.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
}


/* A PROPOS */

.about-container {
  display: grid;
  grid-template-columns: 1fr minmax(0, 760px);
  gap: 64px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 64px;
  justify-content: center;
}


.about-contact-title {
  font-size: 40px;
  font-weight: 600; 
  color: #1A1A1A;
  margin: 0;
}

.text-subtitle {
  font-size: 16px;
  color: #737373;
  margin: 0;
}

.text-subtitle a {
  color: #737373;
  text-decoration: none;
}

.text-subtitle a:hover {
  text-decoration: underline;
}

.about-title {
  font-size: 26px;
  font-weight: 500;
  color: #1A1A1A;
  margin: 0;
}

.about-description {
  font-size: 20px;
  line-height: 160%;
  font-weight: 300;
  letter-spacing: -0.005em;
  color: #737373;
  margin: 0;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bloc-vertical{
  width: 100%;
    display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 40px 64px;
  gap: 20px;
}

.services{
  display: grid;
  grid-template-columns: 2fr 760px;
  gap: 10px 60px;
}

.services-title{
  font-size: 22px;
  font-weight: 400;
  color: #737373;
}

.txt-date{
  font-size: 20px;
  font-weight: 300;
  color: #737373;
   margin: 0 0 10px 0;
}


.text-labeur{
  font-size: 20px;
  line-height: 145%;
  margin: 0 0 30px 0;
}

/* A PROPOS */

.description-project {
  font-size: 18px;
  line-height: 145%;
  font-weight: 300;
  letter-spacing: -0.005em;
  color: #737373;
  margin: 0;
}


/* Page projet grille */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
 width: 100%;
  gap: 20px;
  margin: 0 auto;
}

.card-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}

.card-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

.card-1x3 {
  grid-column: span 1;
  grid-row: span 3;
}

.card-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.card-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.card-2x3 {
  grid-column: span 2;
  grid-row: span 3;
}
.card-2x4 {
  grid-column: span 2;
  grid-row: span 4;
}

.card-3x1 {
  grid-column: span 3;
  grid-row: span 1;
}

.card-3x2 {
  grid-column: span 3;
  grid-row: span 2;
}

.card-3x3 {
  grid-column: span 3;
  grid-row: span 3;
}

.card-3x2 {
  grid-column: span 3;
  grid-row: span 2;
}

.card-4x1 {
  grid-column: span 4;
  grid-row: span 1;
}

.card-4x2 {
  grid-column: span 4;
  grid-row: span 2;
}
.card-4x3 {
  grid-column: span 4;
  grid-row: span 3;
}
.card-4x4 {
  grid-column: span 4;
  grid-row: span 4;
}

.card-6x1 {
  grid-column: span 6;
  grid-row: span 1;
}

.card-6x2 {
  grid-column: span 6;
  grid-row: span 2;
}

.card-6x3 {
  grid-column: span 6;
  grid-row: span 3;
}

.card-6x4 {
  grid-column: span 6;
  grid-row: span 4;
}

.project-media {
  width: 100%;
  height: 100%;

  border-radius: 16px;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.next-project {
  width: 100%;
  margin: 0 auto;
  padding: 40px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.next-project a {
rotate: 0deg;
transition-duration: 200ms;
}

.next-project a:hover {
rotate: 4deg;
transition-duration: 200ms;
}

.next-project-box {
  background: #EFEFEF;
  border-radius: 40px;
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

/* RESPONSIVE TABLETTE */
@media (max-width: 1200px) {
  .content {
    padding-left: 40px;
    padding-right: 40px;
  }
    .bloc-vertical {
     padding-left: 40px;
    padding-right: 40px;
  }
  .nav-link {
    font-size: 20px;
}
 .site-title {
      font-size: 44px;
  }
  .about-container {
   padding-left: 40px;
    padding-right: 40px;
  }
  .header-container {
      padding-left: 40px;
    padding-right: 40px;
  }
  .filter-bar {
      padding-left: 40px;
    padding-right: 40px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-prev,
.lightbox-next,
.lightbox-close {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 48px;
  cursor: pointer;
  padding: 10px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 40px;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}


/* MOBILE */
@media (max-width: 799px) {
  /* Mobile-first : grosses zones tap */
  .lightbox-prev,
  .lightbox-next {
    font-size: 56px;
  }

  .content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .span-3 {
    grid-column: span 2;
    grid-row: span 1;
  }

  .span-2 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .span-1 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-grid,
  .grid-6,
  .grid-4 {
     gap: 10px 10px;
  }

  .project-image {
  width: 100%;
  height: 206px;
  overflow: hidden;
  border-radius: 10px;
}
  
   .content {
   padding-left: 20px;
    padding-right: 20px;
  }
  .nav-link {
    font-size: 16px;
}
 .site-title {
 font-size: 36px;
  line-height: 120%;
  display: block;
  max-width: 200px;
  }
  
.services{
  grid-template-columns: 2fr 240px;
}

  .services-title{
    font-size: 18px;
  }
  .about-contact-title{
    font-size: 30px;
  }

   .bloc-vertical {
     padding-left: 20px;
    padding-right: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 10px;
  }

  .about-container {
      display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
padding-bottom: 10px;
padding-top: 20px;
  }

  .project-title {
    font-size: 14px;
  }

   .project-subtitle {
    font-size: 12px;
  }

  .about-title{
font-size: 20px;
  }

.description-project{
  font-size: 16px;
}

  .header-container {
     flex-direction: row;
    padding-left: 20px;
    padding-right: 20px;
  }
   .header-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  font-size: 20px;
  }
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
     font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
        padding-top: 0px;
        padding-bottom: 10px;
  }

  .footer-brand {
  width: 164px;
  height: 70px;
}
.footer-info {
  font-size: 14px;
}

.footer-container {
  height: 300px;
  padding-top: 0px;
}

.text-labeur,.txt-date,.about-description{
  font-size: 16px;
}

}