/*//padding: top right bottom left;*/

body{
    background-color: black !important;
    font-family: "Montserrat", sans-serif !important;
    color: white !important;
    cursor: none !important;
    overflow-x: hidden; /*empeche deborm=dement horizontal **/
}


/* =========================================
   MENU FIXE : COULEURS SELON LE FOND
========================================= */

/* Transition fluide entre le blanc et le bleu */
.header .brand span,
.header .pill,
.header .pill [data-menu-label] {
    transition:
        color 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}

/* Quand le header se trouve au-dessus d'un fond clair */
.header.header-light .brand span {
    color: #000000 !important;
}

.header.header-light .pill {
    color: #000000 !important;
    border-color: #000000 !important;
}

/* Conserver un joli contraste au survol */
.header.header-light .pill:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.header.header-light .pill:hover [data-menu-label] {
    color: #ffffff !important;
}


/* LOADER GLOBAL */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}


/* CONTENEUR *

.loader-container {
    width: 50em;
    text-align: center;
}*/


/* TITRE */

.loader-title {
    font-size: 7em;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.099em;
}


/* COMPTEUR */
.loader-counter {
    
    position: absolute;
    top: 65%;
    right: 5%;

    #count{
        font-size: 13em;
    }
        
    .pourcen{
        color: #ffffff;
        font-size: 10em;
    }

}

.logo{
    width: 10em;
}



#my-text{

    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
    line-height: 7rem !important;
    color: #0000FE;
    span{
        color: white;
    }

   /* color: black;
    text-shadow:
      1px 0 0 #0000FE,
     -1px 0 0 #0000FE,
      0 1px 0 #0000FE,
      0 -1px 0 #0000FE,
      1px 1px 0 #0000FE,
     -1px -1px 0 #0000FE,
      1px -1px 0 #0000FE,
     -1px 1px 0 #0000FE;**/
}


.char{
    transform: translateY(115px);
}


/* nv loader*/

/* =====================================================================
   LOADER : « aaaa » → anli rahada → Design Visuel.
   ★ Supprime les anciens blocs  #my-text{…}  et  .char{…}
   ★ Garde .loader-title, .loader-counter, .logo, #loader (inchangés)
   ===================================================================== */
.loader-container { 
    max-width: 94vw;
    text-align: center;
 }              /* évite le débordement sur petit écran */

.ld {
     color: #fff; 
    line-height: 1; }

.ld-name {
    display: flex;
    flex-wrap: wrap;                                /* sur mobile, les 2 mots passent l'un sous l'autre si besoin */
    justify-content: center;
    gap: 0 .22em;
    visibility: hidden;   
    font-weight: 800;
   /* font-family: "Instrument Serif", serif  !important; 
    font-style: italic !important;*/
    
    
    /* le JS l'affiche quand les lettres sont prêtes */
}
.ld-name.is-ready { 
    visibility: visible; 
}

.ld-word { 
    display: inline-flex; 
    white-space: nowrap; 
}
.ld-l    { 
    display: inline-block; 
    padding-bottom: .08em; 
    will-change: transform, opacity; 
}
.ld-l.is-a { 
    color: var(--ld-a, #0000FE);
 }         /* ★ couleur des « a » (mets #fff pour des « a » blancs) */

/* « Design Visuel. » : monte depuis un masque */
.ld-sub {
    display: block;
    overflow: hidden;
    margin-top: .35em;
    padding-bottom: .1em;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    font-size: .36em;
    letter-spacing: 0;
    line-height: 1.2;
}
.ld-sub > span { display: block; visibility: hidden; }




:root {
                --black: #000000;
                --blue:  #0100f4;
                --paper: #f4f4f8;
                --lilac: #c9c9ff;
                --menu-bg:   var(--blue);     /* ★ fond du menu ouvert */
                --menu-text: var(--paper);    /* ★ couleur du texte du menu ouvert */
                --pad:   clamp(1.25rem, 4vw, 3.5rem);

                /* ★ Police */
                --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

                /* ★ Marge gauche/droite (minimum, idéal, maximum) : à aligner sur celle de votre site */
                --pad: clamp(1.25rem, 4vw, 3.5rem);

                /* ★ Durée d'ouverture du rideau. 0.8s = 800 millisecondes. */
                --menu-duration: .8s;

                /* ★ « Sensation » des animations (testez des valeurs sur cubic-bezier.com) :
                  ease-out = démarre vite puis ralentit  |  ease-io = lent, rapide, lent */
                --ease-out: cubic-bezier(.2, .8, .1, 1);
                --ease-io:  cubic-bezier(.7, 0, .2, 1);
                --fg:#ffffff;
                --accent:#0100f4;                   /* ton bleu : halo des cartes, traits de vitesse, boutons */
                --cw:clamp(230px,28vw,420px);       /* largeur d'une carte (hauteur = 1.3 × largeur) */
                    box-sizing:border-box;
                --accent-soft:#0100f4;     /* bleu éclairci, lisible sur noir */
                 --muted:#8b8b9e;
                  --line:rgba(255,255,255,.14);
}

*, *::before, *::after { 
    box-sizing: border-box; 
}
html.is-locked { 
    overflow: hidden; 
}            /* bloque le défilement de la page sous le menu ouvert */

a { color: inherit; }
              
:focus-visible { 
    outline: 3px solid #ffffff; 
    outline-offset: 4px; 
}

/* --- En-tête : nom + bouton Menu ---------------------------------- */
.header {
                position: fixed; 
                inset: 0 0 auto 0; 
                z-index: 60;       /* z-index 60 > menu (55) : le bouton reste cliquable quand le menu est ouvert */
                display: flex; 
                background-color: #0000fe00;
                backdrop-filter: blur(10px);
                justify-content: space-between;
                align-items: center;
                padding: calc(env(safe-area-inset-top, 0px) + 1rem) var(--pad) 1rem;
                font-family: var(--font); 
                color: #f4f4f8;
                transition: transform .5s var(--ease-out), background-color .3s;
}
              
.header.is-scrolled { 
    background: #0000fe00; 
    backdrop-filter: blur(10px); 
}   /* ★ fond flouté dès que l'on a défilé */
              
.header.is-hidden   { 
    transform: translateY(-100%); 
}                                  /* en-tête caché quand on descend */

.brand { 
    font-weight: 700; 
    letter-spacing: -.01em;
    text-decoration: none; 
    display: flex;
    flex-direction: row;

    img{

        width: 5em !important;
    }
    span{
        color: white;
        padding-top: 2.5em;
        padding-left: 0.1em;
        font-size: 1.2em;
        font-weight: 800;
      
      
    }
}

/* ★ Bouton « Menu » en pilule. Pour un bouton carré : border-radius: 0 */

.pill {
        padding: .6rem 1.1rem; 
        border: 1px solid rgb(255, 255, 255); 
        border-radius: 999px;
        background: transparent; 
        font: inherit; 
        font-weight: 600; 
        color: inherit; 
        cursor: pointer;
        transition: background-color .25s, color .25s, border-color .25s;
}

.pill:hover { 
    background: #ffffff; 
    color: #000000; 
    border-color: #ffffff
}

/*  Menu plein écran  */
              
.menu {
            position: fixed; 
            inset: 0; 
            z-index: 55;
            display: flex; 
            flex-direction: column; 
            justify-content: flex-end; 
            gap: 2.5rem;
            padding: calc(env(safe-area-inset-top, 0px) + 5.5rem) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 2rem);
            background: #0100f4; 
            color: white; 
            overflow-y: auto;           /* sur un écran très bas, le menu défile au lieu de déborder */
            visibility: hidden; 
            clip-path: inset(0 0 100% 0);      /* fermé : rideau remonté tout en haut */
            transition: clip-path var(--menu-duration) var(--ease-io), visibility 0s var(--menu-duration);       
}

.menu.is-open {
        visibility: visible; 
        clip-path: inset(0); /* ouvert : le rideau descend et couvre l'écran */
        transition: clip-path var(--menu-duration) var(--ease-io), visibility 0s;
}

.menu__nav { 
    display: flex; 
    flex-direction: column; 
}

/* Liens : chaque lien est un masque (overflow: hidden) dont le texte monte au moment de l'ouverture */
              
.menu__link {  
        display: block; 
        overflow: hidden; 
        padding-bottom: .06em;
        font-size:7em;       /* ★ taille des liens (minimum, idéal, maximum) */
        font-weight: 800; 
        letter-spacing: -.045em; 
        color: rgb(255, 255, 255) !important;
        line-height: 1;
        text-decoration: none; 
        transition: opacity .3s;
}


.menu__link span { 

    display: block; 
    transform: translateY(105%); 
    transition: transform .7s var(--ease-out); 

}
              
.menu.is-open .menu__link span {

        transform: none; /* délai de départ (.3s) + décalage entre deux liens (--stagger, réglé dans le JavaScript) */
        transition-delay: calc(.3s + var(--i) * var(--stagger, 80ms));
}
              
.menu__nav:hover .menu__link:not(:hover) { 
    opacity: .45; 
}   /* ★ au survol, les autres liens s'atténuent (supprimez cette ligne pour désactiver) */


/* Bas du menu : e-mail + réseaux */

.menu__foot { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 1rem 2rem; 
    font-weight: 500; 
    a{
        color: #ffffff !important;
    }
}

.menu__foot ul { 

    display: flex; 
    gap: 1.5rem; 
    margin: 0; 
    padding: 0; 
    list-style: none; 
}

.icone{
    width: 2em;
}


html.hero-intro .hero__title .letter { opacity: 0; will-change: transform, opacity; }

/*grand curseur*/

.hero {
  position: relative;
  isolation: isolate;               /* le mode difference ne mélange qu'avec le contenu du hero */
  /*mix-blend-mode: difference;**/
  overflow: hidden;
  min-height: max(100svh, 34rem);
  background: var(--black);
}

/* Le nom : UN SEUL texte, plein (pas de contour) */

.hero__title {
  position: absolute;
  z-index: 1;
  left: 18%;
  top: 50%;
  color: rgb(255, 255, 255);
  /* ★ MODIFIABLE : taille du nom (minimum, idéal, maximum) */
  font-size: 12em;
  font-weight: 900; 
  line-height: .9; 
  letter-spacing: -0.095em;
  display: flex;
  flex-direction: row;
}

.anli{
    color: #0000FE;
    margin-left:0.2em;
}
.line { 
    display: block; 
    width: fit-content; 
    padding-block: .03em; 
}

/* Lettres du nom : --b va de 0 (loin du curseur) à 1 (tout près).
   Le contour de la même couleur que le texte l'épaissit, et la lettre se soulève. */

.hero__title .letter {

  display: inline-block;
/* -webkit-text-stroke: calc(var(--b, 0) * .04em) var(--paper);*/
  transform:
        translate(
            var(--fx, 0px),
            calc(var(--fy, 0px) + var(--b, 0) * -0.08em)
        )
        rotate(var(--fr, 0deg));

}

.hero__title .letter {
  display: inline-block;
  transform:
    translate(var(--fx, 0px), calc(var(--fy, 0px) + var(--b, 0) * -.08em))
    rotate(var(--fr, 0deg));
}


/* Le grand cercle bleu : un calque bleu découpé en cercle, posé PAR-DESSUS le texte.
   mix-blend-mode: difference → là où il recouvre le texte, la couleur du texte est inversée
   (le texte reste visible) ; là où il recouvre le fond noir, il reste bleu. */

/* Dans le cercle bleu, Anli devient noir comme Rahada */
.hero__lens .hero__title .anli {
    color: #000000 !important;
}

.hero__lens {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #0000FE;
  /* mix-blend-mode: difference;   ← à supprimer */
  clip-path: circle(0px at 100% 100%);
  pointer-events: none;
}






.color_stroke{
    color: rgb(0, 0, 0);
    /*
    text-shadow:
      1px 0 0 #0000FE,
     -1px 0 0 #0000FE,
      0 1px 0 #0000FE,
      0 -1px 0 #0000FE,
      1px 1px 0 #0000FE,
     -1px -1px 0 #0000FE,
      1px -1px 0 #0000FE,
     -1px 1px 0 #0000FE;*/

      text-shadow:
      1px 0 0 #ffffff,
     -1px 0 0 #ffffff,
      0 1px 0 #ffffff,
      0 -1px 0 #ffffff,
      1px 1px 0 #ffffff,
     -1px -1px 0 #ffffff,
      1px -1px 0 #ffffff,
     -1px 1px 0 #ffffff;

     transition: all 0.8s ease;
/*
     &:hover{

        transition: all 0.8s ease;
         color: white;
         /*
        text-shadow:
        1px 0 0 #01ccf4,
        -1px 0 0 #01ccf4,
        0 1px 0 #01ccf4,
        0 -1px 0 #01ccf4,
        1px 1px 0 #01ccf4,
        -1px -1px 0 #01ccf4,
        1px -1px 0 #01ccf4,
        -1px 1px 0 #01ccf4;*

     }*/
}





.rech_stage{

    position: absolute;
    right: 3%;
    top: 15%;
    z-index: 10;
    color: white;
    padding: 20px;
    width: fit-content;
        
    .stg{
        display: flex;
        flex-direction: column;
        align-items: end;
       
        font-size: 1.4em;

         .rch{
                font-weight: 700;
                 letter-spacing: -0.1em;

            }
        .sd{
            font-weight: 900;
            letter-spacing: -0.1em;
            margin-top: -1.2em;
            color: #0000FE;
        }
        .date_stg{
            font-size: 1.2em;
            margin-top: -1em;
        }       
    }
}

/*heure */



.text_intro
{
   position: absolute;
   top: 30%;
   left: 4%;
   z-index: 5;
   font-weight: 200;
   line-height: 1.1em;
   letter-spacing: -0.01rem;
   color: white;
}




.localisation {

    font-family: "Montserrat", sans-serif;
    position: absolute;
    left: 2.5%;
    top: 15%;
    z-index: 10;
    color: white;
    padding: 20px;
    width: fit-content;
}



.heure_ville{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 0px;
}


.ville {
    display: flex;
    align-items: center;
    font-size: 1.4em;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.099em;
    margin-top: -0.8em;

}


#heure {
    font-size: 1.8em;
    letter-spacing: -0.099em;
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
    color: white;
    font-variant-numeric: tabular-nums;  
}

#date,
.sd {
    transition: color 0.6s ease-in-out;
}

/* Couleur lorsque le grand cercle bleu passe dessus */
#date.lens-text-white,
.sd.lens-text-white {
    color: #ffffff !important;
}

#date {
    font-size: 1.4em;
    color: #0000FE;
    margin-top: -0.6em;
    font-weight: 900;
    text-transform: capitalize;
    letter-spacing: -0.099em;

}




/*bande deroulente */



.scroll_div{

    white-space: nowrap;
    margin-top: -4em;

    .gauche_a_droit{

        display: flex;
        align-items: center !important;
        justify-content: center !important;
        gap: 5em;
        
        margin-top: 4em;
        animation: spin2 14s infinite linear;
        padding-top: 1em;
        padding-bottom: 1em;


        .nom_img {
            display: flex;
            flex-direction: row;
            align-items: center !important;
            justify-content: center !important;
            gap: 0.5em;

            img{
                width: 4em;
            }
             p{
                font-weight: 800;
                text-transform: capitalize;
                color: #000000;
                font-size: 3em;
                letter-spacing: -0.09em;
                span{
                    color: #0000FE;
                }
            }
        }
    }
}


.point{
    width: 27px;
    height: 27px;
    background: #0000FE;
    border-radius: 50%;
    margin-bottom: 1em;
}

.bg_light{
    background-color: white;
  /*  transform: rotate(-4deg);*/

          -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            rgb(0, 0, 0) 20%,
            rgb(0, 0, 0) 80%,
            transparent 100%
        );
}


.sec_h{
     /*//padding: top right bottom left;*/
    margin-top: 7em;
    margin-bottom: 4em; 
    text-align: center;
}


.sec_h3{
     /*//padding: top right bottom left;*/
    margin-top: -1em;
    margin-bottom: 4em; 
    text-align: center;
}
.titre_h, .titre_h2, .titre_h3{

        font-weight: 900;
        font-size: 6em;
        letter-spacing: -0.090em;

        span{
            color: #0000FE;
        }
}

.titre_h{

     color: white;
     text-transform: capitalize;
}
.titre_h2{
    color: #000000;
    margin-bottom: 1em;
}

.titre_h3{
    color: #000;
    padding-top: 1em;
}

/* outils */



.wrap{
    
    margin-top: -5em;
    min-height:100svh;
    display:flex;
    flex-direction:column;
    gap:clamp(1rem,3vw,2rem);
    padding:clamp(1.2rem,5vw,4rem)
}

.head{
    display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:1.5rem;
  flex-wrap:wrap
}

.head h2{
  margin:0;
  font-weight:900;
  letter-spacing:-.035em;
  line-height:.95;
  font-size:clamp(2.2rem,6vw,4.6rem)
}

.side{
  display:grid;
  gap:.8rem;
  justify-items:start;
  max-width:150ch
}
.side p{
  color: rgba(255, 255, 255, 0.736);
  line-height:1.5;
  font-size:.95rem
}

.again{
  font:600 .9rem 'Montserrat',sans-serif;
  color:var(--fg);
  background:transparent;
  cursor:pointer;
  border:1px solid white;
  border-radius:999px;
  padding:.65em 1.3em;
  transition:background .3s,
  border-color .3s;
}
.again:hover{
  background:var(--accent);
  border-color:var(--accent)
}
.again:focus-visible{
  outline:2px solid var(--fg);
  outline-offset:3px
}

/* =====================================================================
   3) L'ARÈNE : la boîte dans laquelle tombent les pastilles
   ===================================================================== */
.arena{
  position:relative;
  flex:1;
  min-height:420px;
  height:min(72svh,640px);
  overflow:hidden;
  border-radius:34px;
  border:1px solid var(--line);
  /* lueur bleue au sol */
  background:radial-gradient(60% 55% at 50% 105%,rgba(1,0,244,.35),transparent 70%);
}

/* Pastille : la taille de la police dépend du niveau (--lv = 0 → 1) */
.passill{
  position:absolute;
  left:0;
  top:0;
  display:flex;
  align-items:center;
  gap:.55em;
  white-space:nowrap;
  padding:.42em .95em;
  border-radius:999px;
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.1;
  font-size:calc(.85rem + var(--lv) * (.7rem + 1.6vmin));
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  touch-action:none;                      /* permet de glisser une pastille au doigt */
  will-change:transform;
}

.passill.grab{
  cursor:grabbing
}

.passill small{
  font-size:.42em;
  font-weight:600;
  padding:.3em .65em;
  border:1px solid currentColor;
  border-radius:999px;opacity:.75
}

/* 4 styles qui se répartissent les pastilles */
.v0{
  background:var(--accent);
  color:#fff;
  box-shadow:0 0 28px rgba(1,0,244,.55)
}
.v1{
  background:transparent;
  color:var(--fg);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)
}
.v2{
  background:var(--fg);
  color:#000
}
.v3{
  background:#0c0c26;
  color:var(--accent-soft);
  box-shadow:inset 0 0 0 2px var(--accent)
}


/* SECTION SERVICES */
.services {
  background: var(--paper);
  color: var(--black);
  padding: clamp(5rem, 11vw, 10rem) var(--pad);
}

.acc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

.acc__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: clamp(1.25rem, 2.6vw, 2.25rem) 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.acc__title {
  font-size: clamp(1.75rem, 4.6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
  transition: transform 0.5s var(--ease-out), color 0.3s;
}

.acc__btn:hover .acc__title {
  transform: translateX(1rem);
  color: var(--blue);
}

.acc__icon {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 3px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease-io);
}

.acc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.acc__btn[aria-expanded="true"] .acc__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.6s var(--ease-io),
    visibility 0s 0.6s;
}

.acc__btn[aria-expanded="true"] + .acc__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 0.6s var(--ease-io),
    visibility 0s;
}

.acc__inner {
  min-height: 0;
  overflow: hidden;
}

.acc__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.acc__body p {
  max-width: 32em;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.acc__body ul {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acc__body li {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .acc__body {
    grid-template-columns: 1fr;
  }

  .acc__btn:hover .acc__title {
    transform: none;
  }
}



/*animation*/



@keyframes spin {

      from{
            translate: 0;           
      }
      to{
            translate: -200%;
      }
}



@keyframes spin2 {

      from{

            translate: -200%;           
      }
      to{

            translate: 0%;
      }
  
}



/* Accessibilité : si le visiteur a demandé moins d'animations, tout devient quasi instantané */

@media (prefers-reduced-motion: reduce) 
    {
        html { 
            scroll-behavior: auto; 
        }
        *, *::before, *::after { 
            transition-duration: .01ms !important; 
            transition-delay: 0s !important; 
        }
}



/*responsive tablette */

@media screen and (min-width: 768px) and (max-width: 1024px) 
{
                
    .menu {
                justify-content: flex-start; 
                padding-top: 12em;    
        }
    .menu__link {  
           
            font-size: 5em ;
    }

    /* Loader */
   .loader-title {
                font-size: 5em;
                margin-bottom: 1em;
            }
            .loader-counter {
               
                top: 80vh;
                left: 80%;
                 #count{
                        
                        font-size: 3em;
                    }
                        
                    .pourcen{
                     
                        font-size: 2.5em;
                    }
        }


    .logo {
        width: 7em;
    }

    /* En-tête */
    .brand img {
        width: 4em !important;
    }

    .brand span {
        padding-top: 2em;
        font-size: 1rem;
    }

    /* Présentation */
    .text_intro {
        top: 19%;
        left: 4%;
        max-width: 48%;
        font-size: clamp(.85rem, 1.5vw, 1rem);
    }

    .localisation {
        top: 17%;
        right: 2%;
        padding: 12px;
    }

    #heure {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    /* Nom principal */
    .hero {
        min-height: max(100svh, 34rem);
    }

    .hero__title {
        left: 7%;
        top: 48%;
        max-width: 90%;
        font-size: clamp(5rem, 13vw, 9rem);
        overflow-wrap: anywhere;
    }

    /* Bande de mots */
    .scroll_div {
        margin-top: -2em;
    }

    .scroll_div .gauche_a_droit {
        gap: 3em;
    }

    .scroll_div .nom_img p {
        font-size: 2.2em;
    }

    .point {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    /* Titre des créations */
    .titre_h {
        padding-inline: 1rem;
        font-size: clamp(3.5rem, 8vw, 5rem);
    }

}


/*responisve telephone */ 

@media screen and (max-width: 767px){

    
      
    .menu {
                justify-content: flex-start; 
                padding-top: 12em;    
    }
    .menu__nav{

        margin-top: 7em;
    }


   

    .localisation {
        top: 23%;
    }

    
    .loader-title {
                font-size: 4em;
                margin-bottom: 3em;
            }
    .loader-counter {
             
        top: 70%;
        left: 60%;
        #count{    
                    font-size: 5em;
             }
        .pourcen{
                    font-size: 3.5em;
                }
        }

    #my-text{
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
                line-height: 4rem !important;
            }
        
   

    /* Le nom : UN SEUL texte, plein (pas de contour) */
 
            
    .hero__title {
            left: 9%;
            top: 55%;
            font-size: 4em;
            display: flex;
            flex-direction: row;
        }

    .anli{
            color: #0000FE;
            margin-left:0.2em;
        }

        /* Empêche les débordements horizontaux */
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .logo {
        width: 6em;
        max-width: 35vw;
    }

    /* En-tête */
    .header {
        padding: calc(env(safe-area-inset-top, 0px) + .8rem)
                1rem
                .8rem;
    }

    .brand img {
        width: 3.2em !important;
    }

    .brand span {
        padding-top: 1.5em;
        font-size: .9rem;
    }

    .pill {
        padding: .55rem .9rem;
        font-size: .85rem;
    }

    /* Menu */
    .menu {
        justify-content: flex-start;
        gap: 2rem;
        padding: calc(env(safe-area-inset-top, 0px) + 7rem)
                1.25rem
                calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    }

    .menu__link {
        font-size: 4em;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .menu__foot {
        gap: 1.2rem;
        font-size: .9rem;
    }

    .menu__foot ul {
        flex-wrap: wrap;
        gap: .8rem 1rem;
    }

    /* Texte de présentation */
    .text_intro {
        top: 23%;
        left: 8%;
        max-width: 85%;
        font-size: clamp(.75rem, 3.2vw, .95rem);
        line-height: 1.5;
    }


    .localisation {
        left: 2%;
        top: 8%;
    }
    

    /* Nom principal */
    .hero {
        min-height: 50svh;
        min-height: max(70svh, 26rem);
    }

    .hero__title .line {
        max-width: 100%;
    }


    .rech_stage{
            right: 3%;
            top: 55%;
                
            .stg{
                font-size: 1.3em;
                .rch{
                        font-weight: 700;
                        letter-spacing: -0.1em;
                    }
                .sd{
                    margin-top: -1.3em;
                    color: #ffff;
                }
                .date_stg{
                    font-size: 1.2em;
                    margin-top: -1em;
                }          
            }
        }


    /* Bande de mots défilants */

      
    .scroll_div{
        margin-top: -2em;
        .gauche_a_droit{

            justify-content: flex-start !important;
            gap: 2rem;
            margin-top: 2rem;
            padding-block: .8rem;
            .nom_img {
                padding-top: 1em;
                p{            
                    font-size: 1.5em !important;
                }
            }
        }
    }


    .point {
        width: 12px;
        height: 12px;
        margin-bottom: .7em;
        flex-shrink: 0;
    }

        
    .sec_h{
        /*//padding: top right bottom left;*/
        margin-top: 1em;
        margin-bottom: 1em; 
    }


    /* Titre "quelques visuels" */
    .titre_h, .titre_h2, .titre_h3 {
        padding-inline: 1rem;
        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: 1.05;
        letter-spacing: -.07em;
        overflow-wrap: anywhere;
        z-index: 20 !important;
    }
    .titre_h, .titre_h3 {
        margin: 1.5em 0;
    }

    .titre_h2{
        padding-top: 0em;
    }
       
    .side{
        margin-top: 2em;
        max-width:140ch;
    }
    .side p{
        line-height:1.5;
        font-size:.75rem
    }


    /* Footer : adaptation des textes et des espaces */
    footer {
        padding-inline: 1rem;
    }

    footer .partie1 {
        flex-wrap: wrap;
        gap: 2rem;
    }

    footer .partie2 {
        padding-inline: .5rem;
    }

    footer .text_center {
        font-size: .75rem;
        line-height: 1.6;
    }

}

/* Téléphone en mode paysage */
@media screen and (max-width: 767px) and (orientation: landscape) {

.hero {
    min-height: 130svh;
}

.hero__title {
    top: 42%;
    font-size: clamp(3rem, 8vw, 5rem);
}

.text_intro {
    top: 22%;
    max-width: 55%;
}

.localisation {
    top: 20%;
    bottom: auto;
}

.menu {
    padding-top: 5rem;
}

.menu__link {
    font-size: clamp(2rem, 7vw, 3.5rem);
}
}
