.d1m-hero {
  height: 100vh;

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

  text-align: center;
}

/* HERO */

.d1m-hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 28px;
  /* 👈 plus respirant */
}

.d1m-logo img {
  width: 200px;
  height: auto;
}

.d1m-hero h1 {
  font-size: 72px;
  margin-top: 10px;
  line-height: 1.05;
}

.d1m-hero h2 {
  font-size: 44px;
  margin-top: 0;
  line-height: 1.1;
  opacity: 0.95;
}

.d1m-logo {

  opacity: 0;

  animation: logoAppear .8s ease forwards;
}

.d1m-title {

  opacity: 0;

  animation: fadeAppear .8s ease .3s forwards;

}

.d1m-slogan {

  opacity: 0;

  animation: fadeAppear .8s ease .6s forwards;

}

.d1m-hero p {
  font-size: 20px;
  margin-top: 10px;
  opacity: 0;
  animation: fadeAppear .9s ease .9s forwards;
}

.d1m-btn {
  display: inline-block;

  margin-top: 50px;
  /* 👈 plus d’air */

  padding: 18px 48px;

  border: 2px solid #5C2216;
  color: #5C2216;
  background: transparent;

  border-radius: 32px;

  letter-spacing: 0.5px;

  transition: transform 0.35s ease, box-shadow 0.35s ease, letter-spacing 0.35s ease;

  opacity: 0;
  animation: fadeAppear .8s ease 1.2s forwards;

  animation:
    fadeAppear .8s ease 1.2s forwards,
    d1mPulse 2.5s ease-in-out 2s infinite;
  transform-origin: center;
}

.d1m-btn:hover {
  border-color: #4E7ECA;

  background: #5C2216;
  color: #F7F4EF;

  transform: translateY(-4px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  letter-spacing: 1px;
}

/* ==========================================
   INTEGRATION DE LA CITATION MANUSCRITE
========================================== */
.d1m-signature-hero {
  width: 190%;
  max-width: 950px; 
  margin: 40px auto 0 auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  
  opacity: 0;
  /* On lui donne sa propre animation exclusive "signatureAppear" */
  animation: signatureAppear .8s ease .4s forwards; 
}

.d1m-handwritten {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; 
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.15));
}

/* ==========================================
   ANIMATION SUR-MESURE AVEC LE DÉCALAGE INCLUS
========================================== */
@keyframes signatureAppear {
  from {
    opacity: 0;
    /* Démarre plus bas, et déjà décalé vers la gauche */
    transform: translate(-45px, 15px); 
  }
  to {
    opacity: 1;
    /* RECALAGE HORIZONTAL : 
       Change le -45px ci-dessous pour caler parfaitement ton écriture au centre !
       Exemple : -30px, -60px, -80px selon le vide transparent de ton SVG. */
    transform: translate(-135px, 0); 
  }
}