@charset "UTF-8";
/* _fonts.scss */
@font-face {
  font-family: "Ease";
  src: url("../assets/fonts/EaseVariable.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Asap";
  src: url("../assets/fonts/Asap-Variable.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("../assets/fonts/Quicksand-Variable.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FiraCode";
  src: url("../assets/fonts/FiraCode-Variable.ttf") format("truetype");
  font-weight: 300 700; /* Plage de poids disponibles */
  font-style: normal;
  font-display: swap;
}
:root {
  --shadow: 0 0 10px rgba(49, 47, 47, 0.3);
}

body.dark {
  --shadow: 0 0 10px rgba(203, 197, 197, 0.931);
}

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

:root {
  --header-height: 104px;
}

html,
body {
  height: 100%;
  width: 100%;
  padding: 0 0;
}
@media (max-width: 768px) {
  html,
  body {
    overflow-y: auto;
  }
}

body.projets-page {
  padding: 0 !important;
}

body {
  background-color: #f5ebd4;
  transition: background-color 0.4s ease;
  position: relative;
  color: #626a89;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
body.dark-mode::before {
  opacity: 0.015;
}

/* Mode sombre (quand la classe .dark est sur le body) */
body.dark {
  background-color: #2a2a2a;
  color: #f5ebd4;
  text-shadow: 1px 1px 2px rgba(47, 46, 46, 0.2);
}

body {
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

h1 {
  color: #626a89;
}

h2 {
  font-size: 2rem;
  color: #626a89;
}

h3 {
  color: #626a89;
}

h4 {
  color: #626a89;
}

span {
  color: #626a89;
}

p,
ul {
  line-height: 1.6;
  font-size: 16px;
  opacity: 0.9;
  color: #626a89;
}

a {
  color: #626a89;
  text-decoration: none;
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark span,
body.dark p,
body.dark ul,
body.dark a {
  color: #f5ebd4;
}

.header {
  background-color: transparent;
  backdrop-filter: blur(20px);
  color: #626a89;
  padding: 2rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 1.4rem;
}
.no-header-blur .header {
  backdrop-filter: none;
}

.logo img {
  max-height: 60px;
  width: auto;
  display: block;
  padding-left: 6rem;
}
@media (max-width: 768px) {
  .logo img {
    padding-left: 0;
  }
}

.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

#hero {
  min-height: 100vh;
}
@media (min-width: 769px) and (max-width: 1200px) {
  #hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  #hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
}
@media (max-width: 480px) {
  #hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: repeat(1, minmax(200px, auto));
  gap: 0.4rem;
  padding: 10rem;
  margin-top: 1rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
  }
}

.hero-case1 {
  display: flex;
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 1/1;
  justify-content: center;
  align-items: center;
}
.hero-case1 h2 {
  font-size: 100px;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case1 h2 {
    font-size: 30px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case1 h2 {
    font-size: 30px;
  }
}
@media (max-width: 480px) {
  .hero-case1 h2 {
    font-size: 30px;
  }
}
.hero-case1 .box-anim {
  display: flex;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case1 .box-anim {
    transform: scale(0.9);
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case1 .box-anim {
    transform: scale(0.9);
  }
}
@media (max-width: 480px) {
  .hero-case1 .box-anim {
    transform: scale(0.9);
  }
}
@media (min-width: 1900px) {
  .hero-case1 .box-anim {
    transform: scale(1.2);
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case1 {
    order: 3;
    aspect-ratio: auto;
    width: 100%;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case1 {
    order: 3;
    aspect-ratio: auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero-case1 {
    order: 3;
    aspect-ratio: auto;
    width: 100%;
  }
}

.hero-case2 {
  grid-column: span 1;
  grid-row: span 1;
  align-content: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 480px) {
  .hero-case2 {
    gap: 1rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case2 {
    gap: 0.4rem;
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case2 {
    gap: 0.4rem;
  }
}
.hero-case2 h1 {
  font-size: 8rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case2 h1 {
    font-size: 120px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case2 h1 {
    font-size: 120px;
  }
}
@media (max-width: 480px) {
  .hero-case2 h1 {
    font-size: 70px;
  }
}
@media (min-width: 1900px) {
  .hero-case2 h1 {
    font-size: 200px;
  }
}
.hero-case2 h2 {
  font-size: 2rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case2 h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case2 h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
@media (max-width: 480px) {
  .hero-case2 h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
.hero-case2 .hero-links {
  display: flex;
  gap: 0.4rem;
  margin-top: 2rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case2 .hero-links {
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    display: none;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case2 .hero-links {
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-case2 .hero-links {
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    display: none;
  }
}
.hero-case2 .hero-links a {
  padding: 0.8rem 1.5rem;
  padding-left: 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-case2 .hero-links a::before {
  content: "→";
  position: absolute;
  left: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}
.hero-case2 .hero-links a:hover {
  padding-left: 2.5rem;
}
.hero-case2 .hero-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case2 {
    order: 1;
    width: 100%;
    text-align: center;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case2 {
    order: 1;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .hero-case2 {
    order: 1;
    width: 100%;
    text-align: center;
  }
}

.hero-case3 {
  grid-column: span 2;
  min-height: 200px;
  align-content: center;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-case3 {
    order: 2;
    min-height: auto;
    width: 100%;
    text-align: center;
    display: none;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .hero-case3 {
    order: 2;
    min-height: auto;
    width: 100%;
    text-align: center;
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-case3 {
    order: 2;
    min-height: auto;
    width: 100%;
    text-align: center;
    display: none;
  }
}

#hero h1 {
  font-weight: 700;
  text-shadow: 2px 4px 5px rgba(47, 46, 46, 0.5);
}

#hero p {
  font-size: 30px;
  font-weight: 500;
  text-shadow: 2px 4px 5px rgba(47, 46, 46, 0.5);
}
@media (min-width: 769px) and (max-width: 1200px) {
  #hero p {
    font-size: 60px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  #hero p {
    font-size: 60px;
  }
}
@media (max-width: 480px) {
  #hero p {
    font-size: 60px;
  }
}

#about {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-height));
}
@media (min-width: 769px) and (max-width: 1200px) {
  #about {
    min-height: auto;
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  #about {
    min-height: auto;
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }
}
@media (max-width: 480px) {
  #about {
    min-height: auto;
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }
}

#about .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}
@media (min-width: 769px) and (max-width: 1200px) {
  #about .container {
    padding: 0 1rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  #about .container {
    padding: 0 1rem;
  }
}
@media (max-width: 480px) {
  #about .container {
    display: block;
    text-align: left;
    padding: 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(1, minmax(200px, auto));
  gap: 14px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 4rem 1rem;
    width: 100%;
    margin-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .about-grid::-webkit-scrollbar {
    display: none;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    margin-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .about-grid::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 480px) {
  .about-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.5rem;
    width: 100%;
    margin-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .about-grid::-webkit-scrollbar {
    display: none;
  }
}

.aboutcases {
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 150px;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .aboutcases {
    min-width: 85vw;
    max-width: 85vw;
    min-height: 500px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) {
  .aboutcases {
    min-width: 85vw;
    max-width: 85vw;
    min-height: 350px;
    max-height: 400px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .aboutcases {
    min-width: 85vw;
    max-width: 85vw;
    min-height: 500px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

/* Section 1 - PHOTO CLEM */
.about-case1 {
  grid-column: span 1;
  grid-row: span 1;
  overflow: hidden;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-case1 {
    min-height: 500px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case1 {
    min-height: 500px;
  }
}
@media (max-width: 480px) {
  .about-case1 {
    min-height: 500px;
  }
}
.about-case1 .img-clem {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 2 - TEXTE PRESENTATION */
.about-case2 {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.4rem;
  hyphens: none;
  padding: 1rem;
  gap: 1.4rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-case2 {
    padding: 2.5rem 1.5rem;
    min-height: 500px;
    text-align: left;
    justify-content: center;
    gap: 4rem;
    line-height: 3rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case2 {
    padding: 2.5rem 1.5rem;
    min-height: 500px;
    text-align: left;
    justify-content: center;
    gap: 4rem;
    line-height: 1.8rem;
  }
}
@media (max-width: 480px) {
  .about-case2 {
    padding: 2.5rem 1.5rem;
    min-height: 500px;
    text-align: left;
    justify-content: center;
    gap: 4rem;
    line-height: 1.8rem;
  }
}

.about-case2 span {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-case2 span {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .about-case2 span {
    font-size: 1rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case2 span {
    font-size: 8rem;
  }
}

/* Section 3 - SKILLZ SECTION */
.about-case3 {
  grid-column: span 1;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1rem;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-case3 {
    padding: 2rem 1.5rem;
    min-height: 500px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case3 {
    padding: 2rem 1.5rem;
    min-height: 500px;
  }
}
@media (max-width: 480px) {
  .about-case3 {
    padding: 2rem 1.5rem;
    min-height: 500px;
  }
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  justify-content: space-evenly;
}
@media (max-width: 480px) {
  .skills-categories {
    gap: 1.5rem;
    justify-content: flex-start;
  }
}

.skill-category {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-category h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 480px) {
  .skill-category h4 {
    font-size: 0.9rem;
  }
}

.skill-category h4::before,
.skill-category h4::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #626a89;
}

body.dark .skill-category h4 {
  color: #f5ebd4;
}

.skill-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}
@media (max-width: 480px) {
  .skill-logos {
    gap: 1rem;
    justify-content: center;
  }
}

.skill-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: all 0.3s ease;
}
@media (max-width: 480px) {
  .skill-logos img {
    width: 35px;
    height: 35px;
  }
}

.skill-logos img:hover {
  transform: translateY(-4px) scale(1.1);
}

body.dark-mode .skill-logos img.color-change {
  filter: brightness(0) saturate(100%) invert(93%) sepia(15%) saturate(548%) hue-rotate(327deg) brightness(102%) brightness(95%);
}

body.dark-mode .skill-logos img.color-change:hover {
  filter: brightness(0) saturate(100%) invert(93%) sepia(15%) saturate(548%) hue-rotate(327deg) brightness(110%);
}

/* Section 4 - SPOTIFY */
.about-case4 {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  min-height: 360px;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-case4 {
    grid-column: span 1;
    padding: 1rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case4 {
    grid-column: span 1;
    padding: 0.5rem;
  }
}
@media (max-width: 480px) {
  .about-case4 {
    display: none;
    padding: 0.5rem;
  }
}
.about-case4 iframe {
  border-radius: 12px;
  flex: 1;
  height: 100% !important;
  min-height: 100%;
}
@media (min-width: 769px) and (max-width: 1200px) {
  .about-case4 iframe {
    min-height: 450px;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case4 iframe {
    min-height: 400px;
  }
}
@media (max-width: 480px) {
  .about-case4 iframe {
    min-height: 320px;
  }
}

.about-case5 {
  grid-column: span 2;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case5 {
    grid-column: span 2;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .about-case5 {
    padding: 2rem 1.5rem;
    min-height: 500px;
    justify-content: center;
    align-items: center;
    display: none;
  }
}

.about-case5 h2 {
  font-size: 1.5rem;
}
@media (max-width: 480px) {
  .about-case5 h2 {
    font-size: 1.3rem;
  }
}

/* Section 6 - APPAREIL PHOTO */
/* Section 6 - APPAREIL PHOTO */
/* Section 6 - APPAREIL PHOTO */
.about-case6 {
  display: flex;
  flex-direction: column;
  grid-column: span 1;
  grid-row: span 1;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
}
@media (min-width: 481px) and (max-width: 768px) {
  .about-case6 {
    grid-column: span 1;
  }
}
@media (max-width: 480px) {
  .about-case6 {
    min-height: 500px;
    justify-content: center;
  }
}

.polaroid-camera {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.camera-body {
  position: relative;
  width: 200px;
  height: 140px;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 20px 20px 10px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 -2px 10px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #333;
}

.lens {
  position: absolute;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #444 0%, #222 100%);
  border-radius: 50%;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

.lens-inner {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #1a4d6d 0%, #0a1929 100%);
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
  position: relative;
}
.lens-inner::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 25%;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(3px);
}

.flash {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 25px;
  height: 20px;
  background: linear-gradient(135deg, #444 0%, #666 100%);
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.flash.active {
  animation: flashEffect 0.3s ease-out;
}

@keyframes flashEffect {
  0% {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
  }
  100% {
    background: linear-gradient(135deg, #444 0%, #666 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  }
}
.viewfinder {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 20px;
  height: 15px;
  background: rgba(100, 150, 200, 0.3);
  border-radius: 2px;
  border: 1px solid #555;
}

.camera-label {
  position: absolute;
  bottom: 10px;
  font-size: 0.7rem;
  color: #888;
  font-weight: bold;
  letter-spacing: 1px;
}

.shutter-button {
  position: relative;
  width: auto;
  min-width: 50px;
  height: 30px;
  padding: 0 1.5rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ff4757 0%, #cc3644 100%);
  border: 3px solid #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 -2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 5;
  pointer-events: all;
}
.shutter-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}
.shutter-button:active {
  transform: scale(0.95);
}

.shutter-text {
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.photo-slot {
  width: 200px;
  height: 30px;
  background: #2d2d2d;
  border-radius: 0 0 10px 10px;
  border: 3px solid #333;
  border-top: none;
  position: relative;
  overflow: visible;
}

.polaroid-photo {
  position: absolute;
  width: 160px;
  background: white;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 10px;
  padding-bottom: 40px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.polaroid-photo.show {
  opacity: 1;
  transform: translateX(-50%) translateY(10px);
}
.polaroid-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}

.photo-label {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  color: #666;
  font-family: "Courier New", monospace;
}

body.dark .camera-body,
body.dark .photo-slot {
  background: #626a89;
  border-color: #555;
}
body.dark .camera-label {
  color: #f5ebd4;
}

.keyboard-section {
  margin-bottom: 1rem;
}
@media (max-width: 480px) {
  .keyboard-section {
    transform: scale(0.9);
    margin: 1rem 0;
  }
}

#keyboard {
  height: auto;
  width: 35rem;
  max-width: 100%;
  padding: 2rem 3rem 1rem 3rem;
  position: relative;
  border: 3px solid black;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.377) 4px 6px 4px, #ffffff 1.5px 1.5px 2px 0px inset, #c7c3c0 -3.2px -3.2px 8px 0px inset;
  background-image: url("../assets/images/synth-texture2.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  list-style: none;
  display: flex;
}
@media (min-width: 481px) and (max-width: 768px) {
  #keyboard {
    width: 100%;
    padding: 1.5rem 2rem 1rem 2rem;
  }
}
@media (max-width: 480px) {
  #keyboard {
    width: 100%;
    max-width: 500px;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
  }
}

.white,
.black {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.5rem 0;
  user-select: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .white,
  .black {
    padding: 0.3rem 0;
  }
}

.white {
  position: relative;
  height: 8.5rem;
  flex: 1 0 auto;
  z-index: 1;
  border-left: 1px solid hsl(0, 0%, 73%);
  border-bottom: 1px solid hsl(0, 0%, 73%);
  border-radius: 0 0 5px 5px;
  box-shadow: -1px 0 0 var(--white-80) inset, 0 0 5px hsl(0, 0%, 80%) inset, 0 0 3px var(--black-20);
  background: linear-gradient(to bottom, hsl(0, 0%, 93%) 0%, white 100%);
  color: black;
  font-size: 0.8rem;
}
@media (min-width: 481px) and (max-width: 768px) {
  .white {
    height: 7rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  .white {
    height: 6rem;
    font-size: 0.65rem;
  }
}

.black {
  position: relative;
  height: 5.5rem;
  flex: 0 0 auto;
  width: 0;
  min-width: 2rem;
  margin-left: -1rem;
  margin-right: -1rem;
  z-index: 2;
  border: 1px solid black;
  border-radius: 0 0 3px 3px;
  box-shadow: -1px -1px 2px var(--white-20) inset, 0 -5px 2px 3px var(--black-60) inset, 0 2px 4px var(--black-50);
  background: linear-gradient(45deg, hsl(0, 0%, 13%) 0%, hsl(0, 0%, 33%) 100%);
  color: white;
  font-size: 0.65rem;
}
@media (min-width: 481px) and (max-width: 768px) {
  .black {
    height: 4.5rem;
    min-width: 1.6rem;
    margin-left: -0.8rem;
    margin-right: -0.8rem;
    font-size: 0.6rem;
  }
}
@media (max-width: 480px) {
  .black {
    height: 3.8rem;
    min-width: 1.4rem;
    margin-left: -0.7rem;
    margin-right: -0.7rem;
    font-size: 0.55rem;
  }
}

#keyboard li:first-child {
  border-radius: 5px 0 5px 5px;
}

#keyboard li:last-child {
  border-radius: 0 5px 5px 5px;
}

.white.pressed {
  border-top: 1px solid hsl(0, 0%, 47%);
  border-left: 1px solid hsl(0, 0%, 60%);
  border-bottom: 1px solid hsl(0, 0%, 60%);
  box-shadow: 2px 0 3px var(--black-10) inset, -5px 5px 20px var(--black-20) inset, 0 0 3px var(--black-20);
  background: linear-gradient(to bottom, white 0%, hsl(0, 0%, 91%) 100%);
  outline: none;
}

.black.pressed {
  box-shadow: -1px -1px 2px var(--white-20) inset, 0 -2px 2px 3px var(--black-60) inset, 0 1px 2px var(--black-50);
  background: linear-gradient(to right, hsl(0, 0%, 27%) 0%, hsl(0, 0%, 13%) 100%);
  outline: none;
}

#projects {
  min-height: 100vh;
  padding: 0;
  padding-top: var(--header-height);
}

#projects .container {
  max-width: 100%;
  padding: 0;
}

.projects-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  gap: 2.4rem;
}
@media (max-width: 1024px) {
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 480px) {
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.projets-page {
  width: 100%;
  height: 100vh;
}
@media (max-width: 1024px) {
  .projets-page {
    height: auto;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .projets-page {
    height: auto;
  }
}
@media (max-width: 480px) {
  .projets-page {
    height: auto;
  }
}

/* Colonne gauche - Images */
.projects-image-container {
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}
@media (max-width: 1024px) {
  .projects-image-container {
    height: 50vh;
    padding: 2rem;
    order: 2;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .projects-image-container {
    height: 40vh;
    padding: 1.5rem;
    order: 2;
  }
}
@media (max-width: 480px) {
  .projects-image-container {
    height: 50vh;
    padding: 1rem;
    order: 2;
  }
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  padding: 0;
}

.image-wrapper.active {
  opacity: 1;
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
  border-radius: 0px 50px 0px 0px;
}
@media (min-width: 481px) and (max-width: 768px) {
  .image-wrapper img {
    display: none;
    height: 85%;
  }
}
@media (max-width: 480px) {
  .image-wrapper img {
    display: none;
    height: 80%;
    object-fit: contain;
  }
}

/* Colonne droite - Liste des projets */
.projects-list-container {
  background: transparent;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  width: 500px;
  text-align: left;
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
@media (max-width: 1024px) {
  .projects-list-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    order: 1;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .projects-list-container {
    width: 100%;
    padding: 6rem 1rem 2rem;
    order: 1;
    height: auto;
  }
}
@media (max-width: 480px) {
  .projects-list-container {
    width: 100%;
    padding: 1rem 1rem 2rem;
    order: 1;
    height: auto;
  }
}

.projects-list-container .section-title {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: left;
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #626a89;
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 10;
}
@media (min-width: 481px) and (max-width: 768px) {
  .projects-list-container .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .projects-list-container .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 1rem;
  }
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Items de projet */
.project-item {
  border-bottom: 1px solid rgba(90, 108, 125, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.project-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
@media (max-width: 480px) {
  .project-header {
    padding: 0.8rem 0;
    gap: 0.6rem;
  }
}

.project-arrow {
  font-size: 2rem;
  color: #7ef0db;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}
@media (max-width: 1024px) {
  .project-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .project-arrow {
    opacity: 1;
    transform: translateX(0);
    font-size: 1.6rem;
  }
}
@media (max-width: 480px) {
  .project-arrow {
    opacity: 1;
    transform: translateX(0);
    font-size: 1.4rem;
  }
}

.project-item:hover .project-arrow,
.project-item.active .project-arrow {
  opacity: 1;
  transform: translateX(0);
}

.project-item.active .project-arrow {
  opacity: 0.5;
}

.project-name {
  flex: 1;
  font-size: 1.4rem;
  font-weight: 200;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
}
@media (min-width: 481px) and (max-width: 768px) {
  .project-name {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .project-name {
    font-size: 1.1rem;
  }
}

.project-category {
  color: #7a9aaf;
  font-size: 0.8rem;
  font-weight: 200;
  letter-spacing: 0.05em;
  text-align: right;
  min-width: 150px;
}
@media (min-width: 481px) and (max-width: 768px) {
  .project-category {
    min-width: 120px;
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .project-category {
    min-width: 100px;
    font-size: 0.7rem;
  }
}

.project-item.active .project-name {
  font-weight: 200;
}

/* Effet de survol sur l'image */
.projects-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.project-solo {
  margin-top: 2rem;
  padding: 0 2rem;
}

.back-button {
  position: absolute;
  top: 8rem;
  left: 2rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  z-index: 1;
  backdrop-filter: blur(10px);
}
@media (min-width: 1900px) {
  .back-button {
    left: 7rem;
    top: 12rem;
  }
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .back-button {
    display: none;
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}
.visit-site-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text);
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.project-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 5rem 0rem 2rem;
  background: transparent;
  padding-top: var(--header-height); /* espace pour header fixe */
}

@media (max-width: 768px) {
  .project-hero {
    min-height: auto;
    padding: 8rem 0 3rem;
  }
}
.hero-content {
  display: grid;
  height: auto;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1900px) {
  .hero-content {
    padding: 0 5rem;
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.hero-text .project-year {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.hero-text .project-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background-clip: text;
}

@media (max-width: 968px) {
  .hero-text .project-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 480px) {
  .hero-text .project-title {
    font-size: 2rem;
  }
}
.hero-text .project-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .hero-text .project-description {
    font-size: 0.95rem;
  }
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem; /* <-- Ajoute cette ligne */
}

.tag {
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

@media (max-width: 480px) {
  .tag {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}
.browser-mockup {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.browser-header {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #f5f5f7;
}

.browser-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.browser-header .red {
  background: #ff5f57;
}

.browser-header .yellow {
  background: #ffbd2e;
}

.browser-header .green {
  background: #28c840;
}

.browser-content img {
  width: 100%;
  display: block;
}

.quick-info {
  padding: 0.4rem 0;
  background: rgba(255, 255, 255, 0.02);
}
@media (max-width: 480px) {
  .quick-info {
    background: none;
  }
}

@media (max-width: 768px) {
  .quick-info {
    padding: 1rem 0;
  }
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.info-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.info-item {
  padding: 1.5rem;
  text-align: center;
}

@media (max-width: 480px) {
  .info-item {
    padding: 1.2rem;
  }
}
.info-item .info-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.info-item .info-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .info-item .info-value {
    font-size: 1rem;
  }
}
.tech-colors {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .tech-colors {
    padding: 3rem 0;
  }
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }
}
.tech-colors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 968px) {
  .tech-colors-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-badge {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .tech-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}
.colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .colors-list {
    gap: 1rem;
  }
}
.color-item {
  text-align: center;
}

.color-swatch {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.color-swatch:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .color-swatch {
    width: 60px;
    height: 60px;
  }
}
.color-code {
  font-size: 0.9rem;
  font-family: "Courier New", monospace;
  color: var(--text);
}

@media (max-width: 480px) {
  .color-code {
    font-size: 0.75rem;
  }
}
.gallery {
  padding: 4rem 0 6rem;
}

@media (max-width: 768px) {
  .gallery {
    padding: 3rem 0 4rem;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px; /* Limite la largeur max des images */
  margin: 0 auto; /* Centre la galerie */
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 1.5rem;
    max-width: 100%; /* Pleine largeur sur mobile */
  }
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  max-height: 800px; /* Limite la hauteur max */
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 800px; /* Limite la hauteur de l'image */
  object-fit: cover; /* Recadre l'image proprement */
  display: block;
}

.visit-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visit-site-btn svg {
  transition: transform 0.3s ease;
}

.visit-site-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.visit-site-btn:hover svg {
  transform: translate(3px, -3px);
}

@media (max-width: 480px) {
  .visit-site-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .visit-site-btn svg {
    width: 16px;
    height: 16px;
  }
}
#contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.contact-wrapper {
  max-width: 800px;
  width: 100%;
}
.contact-wrapper h1 {
  font-size: 80px;
  color: #4a5f7f;
  margin-bottom: 4rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .contact-wrapper h1 {
    font-size: 50px;
    margin-bottom: 3rem;
  }
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: transparent;
  backdrop-filter: blur(50px);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .contact-card {
    padding: 2rem;
  }
}

.contact-label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #626a89;
  opacity: 0.6;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-link {
  font-size: 28px;
  color: #626a89;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}
.contact-link:hover {
  color: #6fb5b0;
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .contact-link {
    font-size: 20px;
  }
}

.contact-socials {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-socials a {
  font-size: 20px;
  color: #4a5f7f;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  background: rgba(111, 181, 176, 0.1);
  border: 2px solid transparent;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 500;
}
.contact-socials a:hover {
  background: #6fb5b0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(111, 181, 176, 0.3);
}
@media (max-width: 768px) {
  .contact-socials a {
    font-size: 16px;
    padding: 0.6rem 1.4rem;
  }
}

.button {
  background: #f0a500;
  color: hsl(42, 62%, 90%);
  padding: 12px 24px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}
.button:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

#buttons {
  display: flex;
  flex-direction: rows;
  column-gap: 1rem;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  #buttons {
    transform: scale(0.9);
    margin: 1rem 0;
  }
}
#buttons .button_pair {
  display: flex;
  column-gap: 1em;
}
#buttons .button_pair1 {
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
}
#buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  background-color: #171717;
  border-radius: 8px;
}
#buttons .button1,
#buttons .button2 {
  width: 3em;
  height: 3em;
  border-radius: 8px;
  border: none;
  outline: none;
  background-color: #c7c3c0;
  box-shadow: rgba(0, 0, 0, 0.377) 4px 6px 4px, #ffffff 1.5px 1.5px 2px 0px inset, #c7c3c0 -3.2px -3.2px 8px 0px inset;
  cursor: pointer;
  font-family: Montserrat;
  transition: 0.1s ease-in-out;
  justify-items: center;
}
#buttons .svg1,
#buttons .svg2 {
  width: 21px;
  height: 21px;
  transition: 0.1s ease-in-out;
  margin: 10px 6px;
}
#buttons .button3,
#buttons .button4 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 3em;
  height: 3em;
  border-radius: 8px;
  border: none;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.377) 4px 6px 4px, #ffffff 1.5px 1.5px 2px 0px inset, #c7c3c0 -3.2px -3.2px 8px 0px inset;
  cursor: pointer;
  font-family: Montserrat;
  transition: 0.1s ease-in-out;
}
#buttons .button3 {
  background-color: #fc441b;
}
#buttons .button4 {
  background-color: #0bac23;
}
#buttons .button_text {
  color: white;
  padding-top: 0.6em;
  letter-spacing: 0.075em;
  font-size: 0.65em;
  transition: 0.1s ease-in-out;
}
#buttons .text {
  font-family: Montserrat;
  text-align: center;
  font-size: 0.65em;
  box-shadow: rgba(0, 0, 0, 0.377) 4px 6px 4px, #ffffff 1.5px 1.5px 2px 0px inset, #c7c3c0 -3.2px -3.2px 8px 0px inset;
}
#buttons .button1:active,
#buttons .button2:active {
  box-shadow: rgba(0, 0, 0, 0.377) 0px 0px 0px, inset 0.5px 0.5px 4px #000000, #c7c3c0 -2.2px -2.2px 4px 0px inset;
}
#buttons .button1:active .svg1,
#buttons .button2:active .svg2 {
  scale: 0.95;
}
#buttons .button3:active {
  box-shadow: rgba(0, 0, 0, 0.377) 0px 0px 0px, inset 0.5px 0.5px 4px #000000, #d42a02 -3.2px -3.2px 8px 0px inset;
}
#buttons .button3:active .button_text {
  transform: translateY(0.5px);
}
#buttons .button4:active {
  box-shadow: rgba(0, 0, 0, 0.377) 0px 0px 0px, inset 0.5px 0.5px 4px #000000, #545251 -3.2px -3.2px 8px 0px inset;
}
#buttons .button4:active .button_text {
  transform: translateY(0.5px);
}

.btncv {
  font: inherit;
  background-color: #f0f0f0;
  border: 0;
  color: #626a89;
  font-size: 1rem;
  padding: 0.375em 1em;
  box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef, 0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede, 0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
  transition: 0.23s ease;
  cursor: pointer;
}

body.dark .btncv {
  color: #626a89;
}

.middle {
  border-radius: 0px;
}

.btncv:active {
  translate: 0 0.225em;
  box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef, 0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede, 0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
  letter-spacing: 0.1em;
  color: skyblue;
}

.btncv:focus {
  color: #fcc459;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.cards .card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(49, 47, 47, 0.3);
  padding: 20px;
  transition: 0.3s;
}
.cards .card:hover {
  transform: translateY(-5px);
}
.cards .card img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 15px;
}
.cards .card h3 {
  margin-bottom: 10px;
}

iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  display: block;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(10, 10, 10);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-bar.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.nav-bar a {
  font-family: "FiraCode", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: hsl(42, 62%, 90%);
  text-decoration: none;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.2s ease;
}
.nav-bar a:hover {
  color: #7ef0db;
  transform: translateX(15px) scale(1.05) !important;
  text-shadow: 0 0 20px rgba(232, 180, 59, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, text-shadow 0.2s ease;
}
.nav-bar.active a {
  opacity: 1;
  transform: translateY(0);
}
.nav-bar.active a:nth-child(1) {
  transition-delay: 0.15s;
}
.nav-bar.active a:nth-child(2) {
  transition-delay: 0.25s;
}
.nav-bar.active a:nth-child(3) {
  transition-delay: 0.35s;
}
.nav-bar.active a:nth-child(4) {
  transition-delay: 0.45s;
}
.nav-bar.active a:nth-child(5) {
  transition-delay: 0.55s;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

.header-controls {
  position: fixed;
  top: 3rem;
  right: 6rem;
  z-index: 100;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2.4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .header-controls {
    padding-top: 1.8rem;
    top: 1.5rem;
    right: 1rem;
    gap: 1.4rem;
  }
}

.switch-mode {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0;
  width: auto;
}
@media (max-width: 480px) {
  .switch-mode {
    display: none;
  }
}

.switch {
  font-size: 14px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
  border-radius: 30px;
  box-shadow: var(--shadow);
  margin: 0;
}
@media (max-width: 768px) {
  .switch {
    font-size: 12px;
    width: 3.2em;
    height: 1.8em;
  }
}

/* Hide default HTML checkbox */
.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
}

/* Slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #7ecbff;
  transition: 0.6s ease;
  border-radius: 30px;
  overflow: hidden;
}

/* Soleil */
.slider:before {
  position: absolute;
  content: "";
  height: 1em;
  width: 1em;
  border-radius: 50%;
  left: 0.5em;
  bottom: 0.5em;
  transition: 0.6s ease;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
  box-shadow: inset 12px -3px 0px 12px #ffcf48;
}

/* Mode nuit */
.switch input:checked + .slider {
  background-color: #2a2a2a;
}

/* Lune */
.switch input:checked + .slider:before {
  transform: translateX(1.5em);
  box-shadow: inset 4px -2px 0px 0px #fff;
}

/* Étoiles */
.star {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 3px;
  height: 3px;
  transition: all 0.4s ease;
  opacity: 0;
}

.star_1 {
  left: 1em;
  top: 0.4em;
}

.star_2 {
  left: 1.2em;
  top: 1em;
}

.star_3 {
  left: 0.5em;
  top: 0.7em;
}

.switch input:checked ~ .slider .star {
  opacity: 1;
}

/* Nuage */
.cloud {
  width: 2.2em;
  position: absolute;
  top: 0.1rem;
  bottom: 0.2em;
  left: 1.6rem;
  opacity: 1;
  transition: all 0.6s ease;
}

.switch input:checked ~ .slider .cloud {
  opacity: 0;
  transform: translateY(10px);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  margin: 0;
  z-index: 9000;
}

.hamburger-line {
  width: 22px;
  height: 2.5px;
  background-color: #626a89;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line {
  background-color: #fff;
}
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.loader {
  width: 224px; /* 112 * 2 */
  height: 224px; /* 112 * 2 */
}
@media (min-width: 1900px) {
  .loader {
    width: 320px; /* 112 * 2 */
    height: 320px;
    padding-top: 3.2rem;
  }
}

.box1,
.box2,
.box3 {
  border: 20px solid; /* 25 * 2 */
  color: #7ef0db;
  box-sizing: border-box;
  position: absolute;
  display: block;
  opacity: 60%;
}

.box1::after,
.box2::after,
.box3::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 25px;
  border: 20px solid;
  border-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E") 20 stretch; /* le grain sur la bordure seulement */
  pointer-events: none;
  opacity: 60%;
}

.box1 {
  width: 224px; /* 112 * 2 */
  height: 96px; /* 48 * 2 */
  margin-top: 128px; /* 64 * 2 */
  margin-left: 0px;
  animation: abox1 4s 1s forwards ease-in-out infinite;
}

.box2 {
  width: 128px; /* 64 * 2 */
  height: 96px; /* 48 * 2 */
  margin-top: 0px;
  margin-left: 0px;
  animation: abox2 4s 1s forwards ease-in-out infinite;
}

.box3 {
  width: 96px; /* 48 * 2 */
  height: 96px; /* 48 * 2 */
  margin-top: 0px;
  margin-left: 128px; /* 64 * 2 */
  animation: abox3 4s 1s forwards ease-in-out infinite;
}

/* === KEYFRAMES DOUBLÉES === */
@keyframes abox1 {
  0% {
    width: 224px;
    height: 96px;
    margin-top: 128px;
    margin-left: 0px;
  }
  12.5%, 25%, 37.5%, 50%, 62.5% {
    width: 96px;
    height: 96px;
    margin-top: 128px;
    margin-left: 0px;
  }
  75% {
    width: 96px;
    height: 224px;
    margin-top: 0px;
    margin-left: 0px;
  }
  87.5%, 100% {
    width: 96px;
    height: 96px;
    margin-top: 0px;
    margin-left: 0px;
  }
}
@keyframes abox2 {
  0%, 12.5%, 25%, 37.5% {
    width: 96px;
    height: 96px;
    margin-top: 0px;
    margin-left: 0px;
  }
  50% {
    width: 224px;
    height: 96px;
    margin-top: 0px;
    margin-left: 0px;
  }
  62.5%, 75%, 87.5%, 100% {
    width: 96px;
    height: 96px;
    margin-top: 0px;
    margin-left: 128px;
  }
}
@keyframes abox3 {
  0%, 12.5% {
    width: 96px;
    height: 96px;
    margin-top: 0px;
    margin-left: 128px;
  }
  25% {
    width: 96px;
    height: 224px;
    margin-top: 0px;
    margin-left: 128px;
  }
  37.5%, 50%, 62.5%, 75%, 87.5% {
    width: 96px;
    height: 96px;
    margin-top: 128px;
    margin-left: 128px;
  }
  100% {
    width: 224px;
    height: 96px;
    margin-top: 128px;
    margin-left: 0px;
  }
}

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