/* Scroll fluide */
html {
  scroll-behavior: smooth;
}

body, html {
  overflow-x: hidden;
}

.emoji {
  display: inline-block;
  margin-left: 0.5rem;
}

/* Variables */
:root {
  --red: #c84242;
  --orange: #f15a24;
  --background: #FFEFEF;
  --black: #000;
  --white: #fff;
  --grey: #E2E1E1;
}

/* Global */
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  background-color: var(--background);
  color: var(--black);
  padding-top: 100px;
}

h1, h2, h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  margin: 0;
}

h1 {
  font-size: 5rem;
  font-weight: 700;
  color: var(--black);
}

.gradient-text {
  background: linear-gradient(135deg, #c8102e, #f15a24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--black);
}

h3 {
  font-weight: 300;
  font-size: 2rem;
  color: var(--black);
}

p {
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, #c8102e, #f15a24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
}

.navbar-brand img {
  height: 24px;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
}

.navbar-menu a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background-color: var(--red);
  transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1101;
  transition: transform 0.3s ease;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--black);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .navbar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
    display: none;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-menu.open {
    display: flex;
  }
}


.intro {
  padding: 0rem 4rem 4rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--background);
}

.intro-logo {
  margin-bottom: 2rem;
  text-align: center;
}

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

.intro-content {
  width: 100%;
}

.scroll-hint {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 1rem;
}

/* Section photo */
.sectionphoto {
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  box-sizing: border-box;
  background-color: var(--white);
}

.section-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 3rem;
}

.section-text {
  flex: 2;
}

.section-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 3 / 4;
}

.image-stack img {
  position: absolute;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.image-stack img:nth-child(1) {
  z-index: 3;
  transform: rotate(-5deg) translate(-40px, -120px);
}

.image-stack img:nth-child(2) {
  z-index: 3;
  transform: rotate(3deg) translate(100px, 20px);
}

.image-stack img:nth-child(3) {
  z-index: 4;
  transform: rotate(5deg) translate(-10px, 189px);
}

/* Section vidéo */
.sectionvideo {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--black);
  color: var(--white);
}

.video-content {
  width: 100%;
  max-width: 1000px;
}

.video-content h1 {
  margin: 1rem;
  color: var(--white);
}

.video-content h2 {
  margin: 1rem;
  background: linear-gradient(135deg, #c8102e, #f15a24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
}

.video-content h3 {
  color: var(--white);
  margin: 1rem;
}

.video-wrapper {
  margin-top: 2rem;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-columns {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.video-col {
  flex: 1;
  min-width: 250px;
  background: #1F1F1F;
  border-radius: 1rem;
  padding: 1.5rem;
  color: var(--white);
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.video-col h4 {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.video-col p {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}

.community-columns {
  display: flex;
  justify-content: space-between;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.community-col {
  flex: 1;
  min-width: 220px;
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.community-col:hover {
  transform: translateY(-4px);
}

.community-col h4 {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.community-col p {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.5;
}

.community h2 {
   margin: 1rem;
  background: linear-gradient(135deg, #c8102e, #f15a24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
}

.ia-columns {
  display: flex;
  justify-content: space-between;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ia-col {
  flex: 1;
  min-width: 220px;
  background-color: #1F1F1F;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.section-ia h3 {
  color: var(--white);
  margin: 1rem;
}

.ia-col p {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}


.section-audio {
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--black);
}

.section-audio h2 {
  color: var(--white);
  margin: 1rem;
}

.section-audio h3 {
  color: var(--white);
  margin: 1rem;
}

.spotify-wrapper {
  width: 100%;
  max-width: 1200px;
}

.audio-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
}

.audio-col {
  background-color: #1F1F1F;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.audio-col:hover {
  transform: translateY(-4px);
}

.audio-col h4 {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.audio-col p {
  font-size: 1rem;
  color:  var(--white);
  line-height: 1.5;
}

.section-propos {
  padding: 4rem 4rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(135deg, #c8102e, #f15a24);
}

.section-propos h3 {
 color: var(--white);
}

.section-propos p {
 color: var(--white);
  margin: 1rem;
}


.section {
  padding: 4rem 4rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
  box-sizing: border-box;
}

.section-ia {
  padding: 4rem 4rem 4rem 4rem;
  display: flex;
  height: 900px;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--black);
}


.section-clients {
  padding: 6rem 2rem;
  text-align: center;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.client-card {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
}

.client-card img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

.client-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
}

.marc-image {
  width: 100%;
  max-width: 500px;
  margin: 0rem auto 0;
  text-align: center;
  animation: floatIn 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.marc-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.marc-image img {
  width: 100%;
  border-radius: 1rem;
  transition: transform 0.5s ease;
}

.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--red);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}


/* Animation personnalisée */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations texte */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-text.visible {
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.animate-text.delay-1 { animation-delay: 0.2s; }
.animate-text.delay-2 { animation-delay: 0.4s; }
.animate-text.delay-3 { animation-delay: 0.6s; }

/* Animation de flottement */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* === Responsive : Tablette === */
@media (max-width: 1024px) {
  .section-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .video-columns,
  .community-columns,
  .audio-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

/* === Responsive : Mobile === */
@media (max-width: 768px) {
  .navbar-menu {
    flex-direction: column;
  }

  .sectionphoto,
  .sectionvideo,
  .section-audio {
    padding: 3rem 1rem;
  }

  .image-stack {
    position: relative;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .image-stack img {
    position: relative;
    transform: none !important;
    margin-bottom: 1rem;
    animation: none !important;
  }

  .video-columns,
  .community-columns,
  .audio-columns,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .intro h1 {
    font-size: 2.2rem;
  }

  .intro p {
    font-size: 1rem;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* === Responsive : Petit mobile === */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}