@font-face {
  font-family: 'Humane';
  src: url('../fonts/humane.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ------------------------- */
/* === Header container ===  */
/* ------------------------- */
.glass-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 900;
  padding: 0rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* Flex layout for inner content */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Logo */
.logo img {
  height: 4.7rem;
  max-width: 100%;
}

/* Navigation */
/* Ajoute un écart entre le logo et le 1er lien */
.nav-links {
  margin-left: 2rem; /* espace entre logo et les liens */
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin-right: 2rem; /* espace entre les liens et le bouton */
}


/* Base link style */
.nav-link {
  font-family: 'Poppins', bold;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
  display: flex;
  gap: 2.5rem;
  list-style: none;
  flex-wrap: wrap;
}

/* Hover effect */
.nav-link:hover {
  color: #DEFF2B; /* Jaune vif */
}

/* Let’s talk button */
.talk-btn {
  background-color: #DEFF2B;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 0.5rem;
  text-decoration: none;
}
.talk-btn:focus {
  outline: none;
  box-shadow: none; /* facultatif, si tu veux vraiment zéro effet */
}

/* Optional hover effect for the button */
.talk-btn:hover {
  background-color: #DEFF2B;
}

.hero {
    background-image: url('home.jpg');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative; /* indispensable pour ::after */
    padding-top: 5rem;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #252525 100%);
    pointer-events: none;
  }
  .hero h1 {
  font-family: 'Humane', sans-serif;
  font-size: 37.5rem;              /* Plus large qu'avant */
  color: white;
  font-weight: 100%;
  text-transform: uppercase;
  margin: 0 0 2rem 0;
  letter-spacing: 0em;      /* Légère compression des lettres */
  line-height: 1;
  white-space: nowrap;          /* Empêche le retour à la ligne */
  text-align: center;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

.intro-section { 
  background-color: #252525;
  color: white;
  padding: 4rem 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* Poppins Light */
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.text-zone {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.text-zone h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 300; /* Light */
}

.highlight {
  color: #DEFF2B;
  font-weight: 200;
}

.prez {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #ccc;
  line-height: 1.6;
  max-width: 400px;
}

/* Animation looping */
.scroll-wrapper {
  overflow: hidden;
  white-space: nowrap;
  max-width: 650px; /* Réduit comme demandé */
  margin-top: 2rem;
}

.scroll-content {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLoop 20s linear infinite;
  font-size: 2rem;
  color: #DEFF2B;
  font-weight: 100;
}

.scroll-content span {
  display: inline-block;
  padding-right: 2rem;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.image-zone img {
  height: 150px;
  max-width: 100%;
  object-fit: contain;
  margin-left: 10rem;
}

@media (max-width: 768px) {
  .glass-header {
    padding: 0.5rem 1rem;
  }
  .logo-card {
    width: 180px;
    height: 110px;
  }
  .logo-scroll-container {
    padding: 1rem;
  }
  .image-zone img {
    max-width: 300px;
    margin: 0 auto;
  }
  .logo img {
    height: 3.5rem;
  }
  .nav-link {
    justify-content: center;
    margin: 1rem 0;
  }
  .intro-container {
    flex-direction: column;
    text-align: center;
  }

  .text-zone h2 {
    font-size: 2rem;
  }

  .scroll-content {
    font-size: 1rem;
  }

  .image-zone {
    margin-top: 2rem;
    margin-left: 0;
  }

  .prez {
    margin: 0 auto;
  }
}

.latest-experience {
  text-align: center;
  padding: 5rem 2rem;
  background-color: #252525;
}

.latest-experience h2 {
  font-family: 'Humane', sans-serif;
  color: #DEFF2B;
  font-weight: 100%;
  font-size: 8rem;
  margin-bottom: 0.5rem;
}
.experience-dates {
  color: #686868;
  font-size: 2rem;
  margin-bottom: 0rem;
  font-family: 'Humane', sans-serif;
}

.logo-section {
  background: #252525; /* ou autre couleur de fond */
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.logo-scroll-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.logo-card {
  width: 460px;
  height: 260px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.logo-card:hover {
  transform: scale(1.05);
}

.logo-card img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  pointer-events: none;
}

/* Bouton "More" */
.talk-btn.more-btn {
  margin: 2rem auto 0;
  display: block;
  background-color: #DEFF2B;
  color: #252525;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  width: fit-content;
  box-shadow: 0 8px 0px rgba(0, 0, 0, 1);
}
.work-section {
  background-color: #252525;
  text-align: center;
  padding: 80px 20px;
}

.work-title {
  font-family: 'Humane', sans-serif;
  color: #DEFF2B;
  font-size: 8rem;
  font-weight: 100%;
  margin-bottom: 2rem;
}

.work-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.work-card {
  background: linear-gradient(to bottom, #555, #727272);
  border-radius: 20px;
  padding: 20px;
  width: 220px;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
  position: relative;
  min-height: 300px;
}

.work-card h3 {
  color: #fff;
  font-size: 4rem;
  font-weight: 100%;
  font-family: 'Humane', sans-serif;
  margin-bottom: 1rem;
}

.work-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #ffffff;
  text-align: left;
  line-height: 1.5;
  flex: 1;
}

.plus-btn {
  margin-top: 1rem;
  background-color: #DEFF2B;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 0px rgba(0,0,0,1);
}
.studies-section {
  background-color: #252525;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.studies-title {
  font-family: 'Humane', sans-serif;
  color: #DEFF2B;
  font-size: 8rem;
  font-weight: 100%;
  margin-bottom: 2rem;
}

.studies-years {
  color: #686868;
  font-size: 2rem;
  margin-bottom: 0rem;
  font-family: 'Humane', sans-serif;
}

.studies-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.studies-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Bloc 1 - photo école */
.school-photo {
  width: 320px;
  height: 180px;
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
}


/* Bloc 2 - logo encadré */
.school-logo-card {
  background-color: #fff;
  border-radius: 40px;
  width: 320px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.school-logo-card img {
  max-width: 40%;
  height: auto;
}

/* Bloc 3 - bloc jaune */
.studies-description {
  background-color: #DEFF2B;
  font-family: 'Poppins', sans-serif;
  color: #000;
  padding: 20px;
  border-radius: 25px;
  max-width: 320px;
  text-align: left;
  font-weight: 600;
  line-height: 1.5;
}

/* Bloc 4 - photo portrait */
.portrait-photo {
  width: 320px;
  height: 180px;
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
}
.school-photo,
.portrait-photo {
  width: 400px;         /* plus large */
  height: 180px;        /* même hauteur */
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
}


.footer {
  background-color: #161616;
  padding: 40px 20px 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #DEFF2B;
}

.footer-nav .highlight {
  color: #DEFF2B;
}

.footer-line {
  margin: 30px auto 10px;
  width: 50%;
  border: none;
  border-top: 1px solid #444;
}

.footer-credit {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
}
/* Intro Work Section */
.intro-section {
  background-color: #252525;
  color: white;
  padding: 4rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.text-zone h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.highlight {
  color: #DEFF2B;
  font-weight: 200;
}

.prez {
  font-size: 1rem;
  font-weight: 300;
  color: #ccc;
  line-height: 1.6;
  max-width: 400px;
}

.image-zone img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin-left: 0;
  display: block;
  border-radius: 12px;
}

/* Work Filters */
.wark-section {
  background-color: #252525;
}
.wark-filters {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.wark-filters .filter {
  cursor: pointer;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.wark-filters .filter.active,
.wark-filters .filter:hover {
  color: #DEFF2B;
  border-color: #DEFF2B;
}

/* Work Cards Grid */
.wark-cards {
  background-color: #252525;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.wark-card {
  background-color: #ffffff;
  border-radius: 20px;
  aspect-ratio: 1 / 1.2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wark-card img {
  object-fit: cover;
  border-radius: 20px;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}


.wark-card:hover {
  transform: translateY(-5px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .text-zone h2 {
    font-size: 2rem;
    text-align: center;
  }

  .image-zone {
    display: flex;
    justify-content: center;
  }

  .image-zone img {
    width: 150px;
  }

  .wark-filters {
    flex-wrap: wrap;
    text-align: center;
  }

  .wark-cards {
    padding: 1.5rem;
  }
}
/* Overlay de preview */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  position: relative;
  max-width: 30%;
  max-height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
/* Vidéos dans l'overlay */
.overlay-content video {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  object-fit: contain;
}



.overlay-close {
  position: fixed; /* pour rester en haut même si on scroll */
  top: 20px;
  left: 20px;
  font-size: 1.2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1001;
  font-family: 'Poppins', sans-serif;
}

.services-coming {
  background-color: #252525;
  color: #DEFF2B;
  font-family: 'Humane', sans-serif;
  text-align: center;
  padding: 10rem 2rem;
}

.services-coming h1 {
  font-size: 6rem;
  position: relative;
  display: inline-block;
}

.dots::after {
  content: '';
  display: inline-block;
  width: 0.4em;
  animation: dots 1.5s steps(1, end) infinite;
}

@keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
}
.contact-form-section {
  background-color: #252525;
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
}

.contact-form-box {
  background: linear-gradient(to bottom, #888, #666);
  padding: 3rem;
  border-radius: 30px;
  max-width: 1000px;
  width: 100%;
  color: white;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 0 2px white;
}

.contact-form-box h2 {
  text-align: center;
  font-family: 'Humane', sans-serif;
  font-size: 4rem;
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.full-width {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  color: #deff2b;
  font-weight: 600;
  font-size: 0.9rem;
}

input, textarea {
  background-color: #3a3a3a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
}

textarea {
  height: 180px;
  resize: none;
}

.submit-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

button[type="submit"] {
  background-color: #deff2b;
  color: #000;
  font-weight: bold;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  border: none;
  box-shadow: 0 5px 0px black;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}
.custom-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 20px;
}

.overlay-content2 {
  max-width: 900px;
  margin: auto;
  color: white;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.overlay-content img {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

body.no-scroll {
  overflow: hidden;
}
.custom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.9);
  z-index: 9999;
  padding: 60px 20px;
  display: none;
}

.custom-overlay.show {
  display: block;
}

.header-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tu as déjà les classes suivantes dans un précédent message :
  - .custom-overlay
  - .beaters-content
  - .beaters-gallery
  - .beaters-subtitle
  - .inline-icon
  - .more-button
  - .close-btn (désormais intégrée dans l’image avec X)
*/
/* === OVERLAY BASE === */
.custom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  font-family: 'Poppins', sans-serif;
}

.custom-overlay.show {
  display: block;
}

/* HEADER BANNER */
.overlay-banner {
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* CONTENU GENERAL */
.overlay-container {
  max-width: 900px;
  margin: auto;
  padding: 30px 20px 60px;
  color: white;
  text-align: center;
}

/* TITRES */
.overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* aligne les textes sur leur ligne de base */
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.beaters-logo {
  font-family: 'Humane', sans-serif;
  font-size: 5rem;
  color: #d9ff00;
  margin: 0;
  line-height: 1;
  flex: 1;
  text-align: left;
}

.overlay-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600;
  color: #d9ff00;
  text-align: right;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* TEXTE */
.overlay-text p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* IMAGES */
.overlay-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.overlay-images img {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
}

.img-left {
  border: 2px solid #d9ff00;
  box-shadow: 0 0 10px rgba(217, 255, 0, 0.3);
}

.img-right {
  border: none;
}

/* FOOTER BANNER */
.overlay-footer-wrapper {
  width: 100%;
}

.overlay-footer {
  width: 100%;
  display: block;
  height: auto;
}
.custom-overlay-work2 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999; /* Plus haut que .overlay-background2 */
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent; /* Pas de fond ici sinon ça recouvre tout */
}

.custom-overlay-work2.hidden {
  display: none;
}


.overlay-header2,
.overlay-footer-wrapper2 {
  width: 100%;
  text-align: center;  
}

.overlay-banner2,
.overlay-footer2 {
  filter: none !important;
  opacity: 1 !important;
  z-index: 1000;
  position: relative;
    max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.overlay-work-container2 {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4vh 8vw;
  gap: 4vw;
  flex-wrap: wrap;
    z-index: 1000;
  position: relative;
}

.overlay-left2 {
  flex: 1;
  min-width: 300px;
}

.overlay-left2 img,
.overlay-left2 video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.overlay-right2 {
  flex: 1;
  min-width: 300px;
  color: white;
}

.overlay-project-name2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.overlay-project-subtitle2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: #ccc;
  margin-top: 0.5rem;
}

.overlay-project-description2 {
    font-family: 'Poppins', sans-serif;
  margin-top: 1rem;
  line-height: 1.6;
  color: #ddd;
}
.overlay-background2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Opacité personnalisable */
  z-index: 998; /* DOIT être inférieur au contenu */
}

