/* ==========================================
   1. POLICES
   ========================================== */
@font-face {
  font-family: 'Antonio';
  src: url('./Font/Antonio-Regular.woff2') format('woff2');
  src: url('./Font/Antonio-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Advent Pro';
  src: url('./Font/AdventPro-Regular.woff2') format('woff2');
  src: url('./Font/AdventPro-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Pompiere';
  src: url('./Font/Pompiere-Regular.woff2') format('woff2');
  src: url('./Font/Pompiere-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Clicker Script';
  src: url('./Font/ClickerScript-Regular.woff2') format('woff2');
  src: url('./Font/ClickerScript-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tempus Sans ITC';
  src: url('./Font/TRTempusSansITC.woff2') format('woff2');
  src: url('./Font/TRTempusSansITC.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VTCGoblinHand';
  src: url('./Font/VTCGoblinHandBold.woff2') format('woff2');
  src: url('./Font/VTCGoblinHandBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #fdf6f2;
  overflow-x: hidden;
}

.no-scroll {
  overflow: hidden;
}

/* --------------------
   HERO
   -------------------- */
.header-home {
  min-height: 40vh;
  z-index: 3;
}

.hero-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 600;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-cloud {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
}

.header-logo {
  display: none;
}


.bouton_soutenir {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 15%;
  left: 65%;
  width: 25vw;
  min-width: 110px;
  max-width: 300px;
  aspect-ratio: 1.5 / 1;
  text-decoration: none !important;
  transition: transform 0.3s ease;
}

.bouton_soutenir img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
}

.bouton_soutenir span {
  position: relative;
  z-index: 4;
  font-family: 'VTCGoblinHand';
  color: #7a441d;
  text-decoration: none !important;
  text-align: center;
  line-height: 1.1;
  pointer-events: none;
  font-size: clamp(0.7rem, 1.4vw, 1.5rem);
  margin-top: 5px;
}

.bouton_soutenir:visited,
.bouton_soutenir:hover,
.bouton_soutenir:active {
  text-decoration: none !important;
  color: #7a441d;
}

.bouton_soutenir:hover {
  transform: scale(1.1);
}

.soutenir-title {
  text-align: center;
  font-family: 'Tempus Sans ITC';
  font-synthesis: none;
  font-size: 2rem;
  color: #8b5a2b;
  margin: 0 auto 40px;
  position: relative;
  /* ← ajoute */
  z-index: 4;
  /* ← passe au-dessus du nuage */
}

.soutenir-title__keyword {
  display: block;
  font-family: 'Advent Pro', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #8b5a2b;
  opacity: 0.85;
  margin-top: 0.5rem;
  line-height: 1.6;
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------
   SECTION SOUTENIR
   -------------------- */
.nous-soutenir {
  padding: 20px 16px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  margin-top: -120px;
  position: relative;
  z-index: 3;
}

.soutenir-title {
  text-align: center;
  font-family: 'pompiere';
  font-synthesis: none;
  font-size: 2rem;
  color: #8b5a2b;
  margin: 0 auto 40px;
  position: relative;
  z-index: 4;
}

.soutenir-intro {
  max-width: 720px;
  margin: 20px auto;
  padding: 20px 16px;
  font-family: 'Pompiere', sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #7a441d;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 189px);
  gap: 20px;
  justify-content: center;
}

.stack-card {
  display: grid;
  place-items: center;
  width: 189px;
  height: 348px;
  border-radius: 20px;
  text-decoration: none;
  color: #8b5a2b;
  border: 1px solid rgba(139, 90, 43, 0.18);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  outline: none;
  background: #fff8eb;
  z-index: 3;
}

.stack-card--jaune {
  background: #ffe0a7;
}

.stack-icon img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.stack-label {
  margin: 14px 0 0;
  font-family: 'Pompiere';
  line-height: 1.5;
  text-transform: uppercase;
  font-size: 1.3rem;
}

/* ==========================================
   TABLETTE (768px+)
   ========================================== */
@media (min-width: 768px) {
  .bouton_soutenir {
    top: 10%;
    left: 40%;
    width: 25vw;
  }

  .card-grid {
    grid-template-columns: repeat(3, 220px);
    gap: 20px;
    justify-content: center;
    width: auto;
    max-width: none;
  }

  .stack-card {
    width: 220px;
    height: 420px;
    aspect-ratio: unset;
    padding: 0;
  }

  .stack-icon img {
    width: 75%;
  }

  .stack-label {
    font-size: 1.1rem;
  }
}

/* ==========================================
   DESKTOP (1024px+)
   ========================================== */
@media (min-width: 1024px) {

  .header-logo {
    display: block;
    z-index: 20;
    pointer-events: auto;
  }

  .header-logo {
    display: block;
    z-index: 20;
    pointer-events: auto;
  }

  .bouton_soutenir {
    top: 15%;
    left: 72%;
    width: 18vw;
  }

  .soutenir-title {
    font-size: 2.5rem;
    margin: 0 auto 40px;
  }

  .soutenir-intro {
    font-size: 1.4rem;
    max-width: 720px;
    margin: 20px auto;
  }

  .card-grid {
    grid-template-columns: repeat(3, 220px);
    gap: 24px;
    justify-content: center;
  }

  .stack-card {
    width: 220px;
    height: 420px;
  }

  .stack-icon img {
    width: 75%;
  }

  .stack-label {
    font-size: 1.8rem;
  }
}