* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "TT Firs Neue Trial", system-ui, sans-serif;
  background: #fff;
  color: #0b0b0b;
  
}

.page {
  height: 100dvh;
  width: 100%;
  
  display: flex;
  flex-direction: column;
  
  overflow-x: hidden;
  overflow: hidden;
}


.topbar{
  position: relative;
  display: flex;
  align-items: center;     /* ✅ centre vertical */
  justify-content: center; /* centre horizontal */
  min-height: 72px;        /* ✅ ajuste la hauteur */
  padding: 12px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 22px;
  font-family: "Neue Machina", system-ui, sans-serif;
  font-weight: 800;
}

.coming-soon {
  position: absolute;
  top: 0;
  right: 0;
  width: min(260px, 28vw);
  transform: rotate(18deg);
  opacity: 0.9;
}
.coming-soon img {
  width: 100%;
  height: auto;
  display: block;
}

.hero {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
   /* si la forme déborde */
  padding: clamp(24px, 4vh, 64px) 24px;
  position: relative;

  
}

.intro{
  margin: 0;
  max-width: 780px;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* un peu plus “impact” sur desktop */
@media (min-width: 860px){
  .intro{ font-size: 18px; }

}

/* sur mobile : plus compact */
@media (max-width: 860px){
  .intro{
    font-size: 14px;
    line-height: 1.45;
    padding: 0 6px;
    z-index: 1; /* au-dessus du blob */
  }
  .page {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100svh + 200px); 
  }
}

.hero-title{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  width: 100%;
}

.hero-title .name{
  min-width: 0;            /* ✅ autorise le shrink */
  overflow: hidden;        /* ✅ empêche de pousser la grille */
  text-overflow: ellipsis; /* optionnel */
  white-space: nowrap;     /* optionnel (sinon ça wrap) */
}

.hero-title .symbol{
  justify-self: center; /* ✅ image centrée dans la colonne du milieu */
}

.hero-title .name.left{
  justify-self: end;    /* texte gauche collé vers l’image */
  text-align: right;
}

.hero-title .name.right{
  justify-self: start;  /* texte droite collé vers l’image */
  text-align: left;
}


.name {
  margin: 0;
  letter-spacing: -0.02em;
  font-family: "Staatliches", system-ui, sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 0.95;
}

.symbol {
  width: 300px;
  height: auto;
}

.btn-map{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 48px;
  border-radius: 999px;

  /* ✅ bordure gradient */
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,  /* fond du bouton */
    var(--brand-grad) border-box;             /* bordure en dégradé */

  color: #111;
  font-weight: 700;
  letter-spacing: 0.12em;

  transition: transform .15s ease, filter .15s ease;
}

.btn-map:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn-map2{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 48px;
  border-radius: 999px;

  /* ✅ bordure gradient */
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,  /* fond du bouton */
    var(--brand-grad) border-box;             /* bordure en dégradé */

  color: #111;
  font-weight: 700;
  letter-spacing: 0.12em;

  transition: transform .15s ease, filter .15s ease;
}

.btn-map2:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

:root{
  /* Brand gradient (bleu -> vert) */
  --brand-grad-bv: linear-gradient(135deg, rgba(var(--accentblue-rgb),1), rgba(var(--accentgreen-rgb),1));
}

/* garde exactement le style du bouton "Carte", mais change juste le dégradé de bordure */
.btn-preinscription{
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand-grad-bv) border-box;
}

/* optionnel : hover un peu plus “glow” bleu/vert */
.btn-preinscription:hover{
  filter: brightness(1.05);
}

.coming-soon{
  position: absolute;
  top: 40px;
  right: 0;
  width: min(260px, 28vw);
  transform: rotate(18deg);
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.22))
          drop-shadow(0 6px 14px rgba(0,0,0,0.22));
  z-index: 50;
}


.coming-soon img{
  width: 70%;

  height: auto;
  display: block;
}
@media (max-width: 1200px){
  .coming-soon{
    display: none !important;
  }
  .name {

  font-size: 50px;
}
}


    a.coming-soon{
    display: block;
    cursor: pointer;
    pointer-events: auto;
    }

/* Mobile */
@media (max-width: 1600px){
  .coming-soon{
    width: 180px;
  }
}



.bottom{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;            /* ajuste */
  z-index: 5;              /* au-dessus du blob */
  padding: 0 24px;

  /* garde ton grid existant */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
}

.bottom-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

.bottom-icon{
  width: 100px;     /* ajuste selon tes PNG */
  height: auto;
  display:block;
  margin-bottom: 6px;
}

.card {
  text-decoration: none;
  color: #111;
  background: var(--greylight-brand);
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 14px;
  min-width: min(240px, 100%);
  text-align: center;

}

/* ===== Drawer (A propos) — slide horizontal smooth ===== */
.drawer{
  position: fixed;
  inset: 0;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.drawer.is-open{
  opacity: 1;
  pointer-events: auto;
}

.drawer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

/* Panneau qui slide depuis la droite */
.drawer__panel{
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;

  width: min(1000px, calc(100vw - 36px));
  height: 70%;
  background: rgba(10,10,12,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);

  overflow: auto;
  padding: 18px;

  transform: translateX(110%);
  transition: transform .28s cubic-bezier(.22,.8,.25,1);
  will-change: transform;
}

.drawer.is-open .drawer__panel{
  transform: translateX(0);
}

.drawer__close{
  position: sticky;
  top: 0;
  margin-left: auto;

  width: 40px;
  height: 40px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);

  cursor: pointer;
}

/* layout image gauche / texte droite */
.about{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  margin-top: 10px;
}

.about__media img{
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  display: block;
}

.about__title{
  margin: 0 0 10px;
  font-family: "Neue Machina", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 40px;
  color: rgba(255,255,255,0.92);
}

.about__desc{
  margin: 0;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  font-size: 16px;
  white-space: pre-wrap;
}

/* mobile: plein écran, slide depuis la droite aussi */
@media (max-width: 860px){
  .drawer__panel{
    top: 12px;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px;
  }

  .about{
    grid-template-columns: 1fr;
  }

  .about__media img{
    max-height: 260px;
    height: 260px;
  }
  .btn-map2{
    font-size: 14px;
    padding: 12px 30px;
    font-weight: normal;
    border-width: 2px ;
  }
}





/* ===== Drawer (Coming soon) ===== */
.drawer{
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* au lieu de display:none */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.drawer.is-open{
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.drawer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

/* panneau centré + slide vertical */
.drawer__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 24px));
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;

  width: min(980px, calc(100vw - 36px));
  max-height: min(78vh, 720px);
  overflow: auto;

  background: rgba(10,10,12,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  padding: 18px;
}

.drawer.is-open .drawer__panel{
  transform: translate(-50%, -50%);
  opacity: 1;
}

.drawer__close{
  position: sticky;
  top: 0;
  margin-left: auto;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}
.projects{
  padding: 12px 8px 6px;
  color: rgba(255,255,255,0.92);
}

.projects__title{
  margin: 0 0 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 26px;
}

/* liste */
.projects__list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}

/* card projet */
.project{
  display: flex;                 /* ✅ plus de grid */
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
}

/* media uniquement si image existe */
.project__media{
  flex: 0 0 220px;
  width: 220px;
}

.project__media img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  display: block;
}

/* ✅ texte prend tout le reste */
.project__content{
  flex: 1 1 auto;
  min-width: 0;
}

.project__name{
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.project__desc{
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  font-size: 14px;
  white-space: pre-wrap;
}

/* empty */
.projects__empty{
  text-align: center;
  padding: 18px 10px;
  color: rgba(255,255,255,0.65);
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
}


  /* Le gros “blob” dégradé en bas */
  .hero::after{
    content:"";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -200px;
    width: 130dvh;
    height: calc(100dvh - 210px);
    background: var(--brand-grad);
    border-radius: 800px 800px 0 0;
    z-index: -1;
  }


  @media (min-width: 860px){

    .btn-map{
  transform: translateY(-100px);
}
    .btn-map:hover{
  transform: translateY(-100px);
}
 .hero::after{
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-35vh;
    width: 240vw;
    height: 80vh;
    background: var(--brand-grad);
    z-index:-1;

    /* ✅ ellipse ancrée en haut */
    clip-path: ellipse(50% 45% at 50% 50%);
  }

 
}

  .page--presortie .hero::after{
    background: var(--brand-grad-bv) !important; /* bleu -> vert */
  }



/* mobile */
@media (max-width: 720px){
  .drawer--projects .drawer__panel{
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .projects__title{
    font-size: 22px;
  }

  .project{
    flex-direction: column;
  }

  .project__media{
    width: 100%;
    flex: 0 0 auto;
  }

  .project__media img{
    height: 220px;
  }
}


/* ============ RESPONSIVE ============ */





@media (max-width: 860px) {

  .no-mobile{display: none;}
  .bottom { grid-template-columns: 1fr; gap: 18px; }
  .coming-soon { width: 180px; }
  .cd-num { font-size: 16px !important;  }
  .cd-lab { font-size: 16px !important;  }
  .cd-sep { font-size: 16px !important;  }

}
/* ============ MOBILE LOOK (comme ta capture) ============ */
@media (min-width: 860px){
  .hide-desktop{ display: none !important; }
}

@media (max-width: 860px){

  body{
    background: #fff;
    color: var(--text-black);
  }


  .topbar{
    min-height: 64px;
    padding: 10px 0;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .brand{
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  /* Hero devient la scène principale */
  .hero{
    position: relative;
    gap: 20px;
    padding: 18px 0 26px;
    justify-content: center;
  }



  /* On empile PRENDRE / symbole / RÉPANDRE */
  .hero-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(8px, 2vh, 18px);
    gap: clamp(10px, 2vh, 18px);
    width: 100%;
    z-index: 1;
  }

  /* On “décroche” le RÉPANDRE pour qu’il tombe dans le blob */
  .hero-title .name.left{
    font-size: 50px;
    order: 1;
    text-align: center;
  }

  .hero-title .symbol{
    order: 2;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .hero-title .name.right{
    order: 3;
    font-size: 50px;
          
    text-align: center;
    color: var(--text-black);
  }

  .name{
    font-size: clamp(56px, 14vw, 84px);
    line-height: 0.92;
    letter-spacing: -0.02em;
  }

  .symbol{
    width: 170px;
    height: auto;
  }

  /* Bouton “Carte” placé dans le blob */
  .btn-map{
    z-index: 1;
    margin-top: 12px;
    padding: 16px 40px;
    width: min(320px, 86vw);

    border: 3px solid transparent;
    background:
      linear-gradient(#f6f6f6, #f6f6f6) padding-box,
      var(--brand-grad) border-box;
    color: var(--text-black);
  }

  /* Instagram icon centré en bas du blob */
  .ig-btn{
    z-index: 1;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;


    color: var(--text-black);

    text-decoration: none;
  }
   .ig-btn img{
    width: 50px;
    height: 50px;
  }

  /* En mobile, on vire les 3 cartes du bas (tu n’en veux pas sur la capture) */
  .bottom{
    display:none;
  }
}

/* specifiqiue pre landing */

.countdown.countdown--top{
  width: 100%;
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap: 10px;
  margin-top: 10px;

  /* ✅ plus de pill */
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

.countdown.countdown--top .cd-num{
  font-family: "Neue Machina", system-ui, sans-serif; /* ou var(--font-display) */
  font-weight: 900;
  font-size: 28px; /* ✅ plus grand */
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: #111;
}

.countdown.countdown--top .cd-lab{
  font-weight: 800;
  font-size: 14px;
  opacity: .75;
}

.countdown.countdown--top .cd-sep{
  font-weight: 900;
  font-size: 22px;
  opacity: .35;
}


@media (max-width: 860px){
  .page--presortie .btn-map.btn-preinscription{
    border: 3px solid transparent;
    background:
      linear-gradient(#f6f6f6, #f6f6f6) padding-box,
      var(--brand-grad-bv) border-box;
    color: var(--text-black);
  }
}
  