Comme ca : /\* ========== GLOBAL STYLES ========== \*/

/\* === Couleurs === \*/
.highlight {
  color: #fbbf24 !important;
}

/\* === Navigation === \*/
nav a {
position: relative;
padding: 0.5rem 1rem;
transition: transform 0.3s ease, color 0.3s ease;
overflow: hidden;
border-radius: 0.375rem;
}
nav a::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0;
height: 0;
background: rgba(0, 0, 0, 0.1);
border-radius: 9999px;
transition: width 0.3s ease, height 0.3s ease;
z-index: 0;
}
nav a\:hover::before {
width: 200%;
height: 200%;
}
nav a\:hover {
color: #fbbf24;
transform: translateY(-2px);
}

/\* ========== TIMELINE ========== \*/
@media (min-width: 768px) {
.timeline {
margin-bottom: 4rem;
}

.timeline .mobile-line {
display: none;
}

.timeline .web3-hover {
transition: all 0.3s ease;
cursor: pointer;
border: 1px solid transparent;
height: 260px; /\* taille fixe pour toutes les boxes */
padding-bottom: 0.5rem; /* petit espace pour absorber l'effet hover \*/
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
text-align: center;
}

.timeline .web3-hover\:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
background-color: #fffef5;
}

.timeline .web3-hover\:hover h3,
.timeline .web3-hover\:hover p {
color: #000;
}

.timeline .web3-hover i {
font-size: 2rem;
color: #000;
}
}

/\* ========== BOUTONS (Web3) ========== \*/
.web3-button {
transition: all 0.3s ease;
}
.web3-button\:hover {
transform: scale(1.05);
background-color: #FFA500;
color: white;
box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

/\* ========== RESPONSIVE BLOCS ========== \*/
@media (max-width: 768px) {
.grid,
.md\:grid-cols-2,
.md\:grid-cols-3 {
display: block !important;
}

.border-yellow-400 {
width: 100% !important;
margin-bottom: 1.5rem;
}

header {
display: none !important;
}

.scroll-reveal {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
opacity: 1;
transform: translateY(0);
}

.mobile-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
}

.burger-icon {
font-size: 1.5rem;
cursor: pointer;
}

.mobile-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
border-bottom: 1px solid #eee;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
text-align: center;
z-index: 1000;
}

.mobile-menu.active {
display: block;
animation: fadeDown 0.4s ease-out;
}

.mobile-menu a {
display: block;
padding: 1rem;
border-top: 1px solid #f3f3f3;
}

@keyframes fadeDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
}

/\* ========== MOBILE TIMELINE ========== \*/
@media (max-width: 767px) {
.timeline .mobile-line {
position: absolute;
top: 0;
bottom: 0;
left: 2.5rem;
width: 2px;
background-color: #fbbf24;
z-index: 0;
}

.timeline .step-icon {
position: absolute;
top: 0;
left: 1.5rem;
transform: translateX(-50%);
width: 3.5rem;
height: 3.5rem;
border-radius: 50%;
border: 4px solid #fbbf24;
background-color: white;
z-index: 1;
}

.timeline .step-icon-icon {
position: absolute;
top: 0.1rem;
left: 1.5rem;
transform: translate(-50%, 0);
width: 3.5rem;
height: 3.5rem;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
pointer-events: none;
}

.timeline .step-icon-icon i {
font-size: 2rem;
color: #000;
}

.timeline .step-content {
margin-left: 5.5rem;
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start {
margin-bottom: 3rem;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start.visible {
opacity: 1;
transform: translateY(0);
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start\:nth-child(1) {
transition-delay: 0s;
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start\:nth-child(2) {
transition-delay: 0.1s;
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start\:nth-child(3) {
transition-delay: 0.2s;
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start\:nth-child(4) {
transition-delay: 0.3s;
}

.timeline .flex.flex-col.gap-16 > .relative.flex.items-start\:nth-child(5) {
transition-delay: 0.4s;
}
}

.bullet-check {
list-style-type: none;
padding-left: 0;
}

@media (min-width: 768px) {
.web3-card {
min-height: 240px;
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: center;
padding-top: 1.5rem;
padding-bottom: 1rem;
}

.web3-card h3 {
height: 3.5rem;
line-height: 1.3;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
overflow-wrap: break-word;
word-break: break-word;
white-space: normal;
max-width: 85%; /\* ✅ limite la largeur pour forcer un retour à la ligne \*/
margin-left: auto;
margin-right: auto;
}

.web3-card p {
height: 3.75rem;
line-height: 1.4;
font-size: 0.875rem;
display: flex;
align-items: flex-start;
justify-content: center;
text-align: center;
overflow-wrap: break-word;
word-break: break-word;
max-width: 85%;
margin-left: auto;
margin-right: auto;
margin-bottom: 0.5rem;
}

.web3-button {
margin-top: 0.25rem; /\* ou même 0.5rem si tu veux encore plus serré \*/
}
}

@media (min-width: 768px) {
.fade-word {
opacity: 0;
animation: fadeLeft 0.5s ease-out forwards;
display: inline-block;
}

@keyframes fadeLeft {
to {
opacity: 1;
}
}
}
\#cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
width: 100%;
background-color: #1A1D26;
color: white;
padding: 1em;
display: none;
flex-direction: column;
gap: 10px;
align-items: center;
justify-content: center;
font-size: 14px;
z-index: 99999;
box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
}
#cookie-banner {
  position: fixed !important;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #1A1D26;
  color: white;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 1em 1em 1.2em;
  font-size: 14px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
  pointer-events: auto;
}
.cookie-accept, .cookie-refuse {
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

.cookie-accept {
  background-color: #FDBF19;
  color: black;
}

.cookie-refuse {
  background-color: #666;
  color: white;
}
@media (max-width: 768px) {
  .highlight {
    color: #fbbf24 !important;
  }
}
@media (max-width: 767px) {
  .timeline {
    position: relative;
    padding-left: 1rem;
  }

  .timeline .mobile-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem; /* plus proche du bord pour un alignement fin */
    width: 2px;
    background-color: #fbbf24;
    z-index: 0;
  }

  .timeline .step-icon {
    position: absolute;
    top: 0;
    left: 0.2rem;
    transform: translateX(-50%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 4px solid #fbbf24;
    background-color: #fff;
    z-index: 1;
  }

  .timeline .step-icon-icon {
    position: absolute;
    top: 0;
    left: 0.2rem;
    transform: translateX(-50%);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
  }

  .timeline .step-icon-icon i {
    font-size: 1.5rem;
    color: #000;
  }

  .timeline .step-content {
    margin-left: 5.5rem;
  }

  .timeline .flex.flex-col > .relative.flex.items-start {
    margin-bottom: 2.5rem;
    position: relative;
  }
  details summary {
  list-style: none; /* Enlève la flèche native */
}

details summary::-webkit-details-marker {
  display: none; /* Enlève la flèche sur Chrome/Safari */
}

@media (max-width: 768px) {
  #hero-creer img {
    max-width: 180px;
    height: auto;
    margin: 1rem auto 1rem !important;
  }

  #hero-creer .md\\:w-1\\/2.relative {
    margin-top: 0 !important;
  }

  #hero-creer .md\\:w-1\\/2:first-child {
    margin-bottom: 0.5rem !important;
  }
  @media (max-width: 768px) {
  #hero-creer {
    padding-bottom: 0rem !important;
  }

  #hero-creer .md\\:w-1\\/2.relative img {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    max-width: 160px;
  }

  #hero-creer + section {
    margin-top: 1.5rem !important;
  }
}
@font-face {
  font-family: 'Phosphor';
  src: url('../fonts/phosphor.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* ← Ajoute cette ligne */
}
@media (max-width: 767px) {
  .snap-x {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .snap-start {
    scroll-snap-align: start;
  }

.snap-start.active-card {
  transform: perspective(600px) rotateY(-2deg) scale(1.02);
  transition: transform 0.4s ease-in-out;
}
@media (max-width: 768px) {
  .mobile-card-upper {
    min-height: 170px; /* ou ajuste selon ta maquette exacte */
  }

  .mobile-card-list {
    min-height: 100px;
  }

  .mobile-card {
    height: 480px; /* ou ajuste */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  @media (max-width: 768px) {
  .mobile-card {
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-card-upper {
    min-height: 170px;
  }

  .mobile-card-list {
    min-height: 100px;
  }
}

}


}
}


