@font-face {
  font-family: 'Picnic';  /* Nom que tu choisis */
  src: url('font/PicNic-Regular.otf') format('otf');
      /* Charge vite */
}

@font-face {
  font-family: 'Interlope';  /* Nom que tu choisis */
  src: url('font/Interlope-Regular.ttf') format('ttf');
      /* Charge vite */
}

@font-face {
  font-family: 'Feroniapi';  /* Nom que tu choisis */
  src: url('font/Feroniapi-MediumItalic.otf') format('otf');
      /* Charge vite */
}

@font-face {
  font-family: 'Rubik';  /* Nom que tu choisis */
  src: url('font/Rubik-Regular.ttf') format('ttf');
      /* Charge vite */
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  color: white;
  --angle: 130deg;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgb(255, 255, 255), transparent 55%),
    linear-gradient(var(--angle), #ff7dbe, #ff4b8b);
  background-size: 180% 180%;
  background-attachment: fixed;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  z-index: 100;
  transition: padding 0.3s ease;
}

.brand .name {
  font-family: 'Interlope', cursive;
  font-size: 2rem;
  font-weight: bold;
}

.brand .job {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 4px;
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.header.small {
  padding: 20px 40px;
}

.brand.small .name {
  font-size: 1.2rem;
}

.brand.small .job {
  font-size: 0.8rem;
}


.hero-content.hidden {
  opacity: 0;
  transform: scale(0.8);
}

/* VIDEO UNIQUEMENT POUR L'ACCUEIL */

.hero {
  min-height: 100vh;
  padding: 170px 20px 160px;
  text-align: center;
}


.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.home-video-trigger {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  border: none;
  outline: none;
}

.home-video-element {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 32px;
  background: #f7f0dc;
}

.home-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  pointer-events: none;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-video-trigger:hover .home-play-badge {
  transform: translate(-50%, -50%) scale(1.06);
}

.home-video-trigger.is-playing .home-play-badge {
  opacity: 0;
  visibility: hidden;
}






/* MOBILE */
@media (max-width: 768px) {
  .header {
    padding: 10px 30px;
    justify-content: space-between;
  }

  .menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand .name {
    font-size: 1.4rem !important;
  }

  .brand .job {
    font-size: 0.85rem !important;
    display: block;
    line-height: 1.2;
    max-width: 160px;
    margin-top: 2px;
  }

  .menu a {
    font-size: 0.95rem !important;
    padding: 2px 2px;
  }

  .header.small .brand .name {
    font-size: 1.2rem !important;
  }

  .header.small .brand .job {
    font-size: 0.8rem !important;
  }

  .home-video-trigger {
    border-radius: 24px;
  }

  .home-video-element {
    border-radius: 24px;
  }

  .home-play-badge {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
}

/* TRAVAUX */



.portfolio {
  padding: 250px 120px;
  --angle: 130deg;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgb(255, 255, 255), transparent 55%),
    linear-gradient(var(--angle), #ff7dbe, #ff4b8b);
  background-size: 180% 180%;
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-family: 'Interlope', cursive;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 90px;
  letter-spacing: 0.1em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;

}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(255, 255, 255, 0.35);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: #ff4b8b;
}

.project-info p {
  color: #ff4b8b;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* A PROPOS */
.apropos {
  padding: 200px 0;
}

.apropos-content {
  gap: 80px;
  align-items: center;
}

.apropos-text .intro {
  font-size: 1.4rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
  color: #f8fafc;
}

.apropos-text strong {
  color: #ff4b8b;
  font-weight: 700;
}


.contact-section {
  padding: 140px 0 160px;
}

.contact-links {
  max-width: 760px;
  margin: 40px auto 0;
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.contact-label {
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-value {
  font-size: 1rem;
  opacity: 0.9;
}

body.project-beige .menu a {
  color: #ffffff;
}

body.project-beige .menu a:hover {
  color: #fbc8e0;
}