@media (max-width: 640px) {

  .hero {
    min-height: 92vh;
    padding-bottom: 55px;
    background-position: 43% top;
  }

  .section {
    padding: 68px 18px;
  }

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

  .countdown strong {
    font-size: 42px;
  }

  .event-card {
    padding: 30px 20px;
  }

  .event-card h3 {
    font-size: 29px;
  }

  .music-button {
    right: 14px;
    bottom: 15px;
  }
}

@media (max-width: 640px) {
  .photo-moment {
    height: 70vh;
    min-height: 500px;
  }

  .photo-moment-message,
  .photo-moment-right .photo-moment-message {
    right: 20px;
    bottom: 38px;
    left: 20px;
    width: auto;
    padding-right: 0;
    padding-left: 16px;
    border-right: none;
    border-left: 2px solid var(--gold);
    text-align: left;
  }

  .photo-moment-message span {
    letter-spacing: 3px;
  }

  .photo-moment-message p {
    font-size: 26px;
  }
}

/* Thème contemporain — ajustements mobiles */

@media (max-width: 640px) {
  .hero {
    background-position: 48% top;
  }

  .photo-moment img {
    object-position: center top;
  }

  .photo-moment-message,
  .photo-moment-right .photo-moment-message {
    border-color: var(--pink);
  }

  .hero-button,
  .map-button,
  .submit-button {
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .hero-small {
    top: 28px;
    width: calc(100vw - 28px);
    font-size: 10px;
    letter-spacing: 3px;
  }
}


@media (max-width: 640px) {
  .hero-small {
    top: 24px;
    width: 100%;
    padding: 0 15px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 2.5px;
  }
}


@media (max-width: 640px) {
  .hero-top {
    top: 24px;
    padding: 0 14px;
  }

  .hero-top .hero-small {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-top .hero-date-top {
    margin-top: 5px;
    font-size: 21px;
  }
}

