/* __________________________________________________________ */
/* _ Main _______________________________________________ */
/* __________________________________________________________ */
main {
    position: relative;
    display: block;
    box-sizing: border-box;
}

/* __________________________________________________________ */
/* _ btnFontGrid_1 _______________________________________________ */
/* __________________________________________________________ */
main .grid1font {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;

}
/* __________________________________________________________ */
/* _ Parallax background image_____________________________________________ */
/* __________________________________________________________ */
main .imgparallax1,
main .imgparallax2,
main .imgparallax3 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
}

main .imgparallax1 {
      background-image: url('../images/parallax1.png'); 
} 

main .imgparallax2 {
     background-image: url("../images/parallax2.png"); 
}

main .imgparallax3 {
     background-image: url("../images/parallax3.png"); 
}

/* __________________________________________________________ */
/* _ GridBox _________________________________________________ */
/* __________________________________________________________ */
main .grid1,
main .grid2,
main .grid3{
    display: grid;
    gap: 10px;
    margin: 0px;    
    justify-content: space-evenly;                
}

main .grid1item1,
main .grid2item2,
main .grid3item3 {
  display: block;
  background: #444;
  color: white;
  text-decoration: none;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 20px;
  box-shadow: 4px 4px 8px #3a3a3a,
              -4px -4px 8px #4e4e4e;
  transition: all 0.2s ease-in-out;
  font-size: 1.1rem;
}

main .grid1item1:hover,
main .grid2item2:hover,
main .grid3item3:hover{
  box-shadow: inset 4px 4px 8px #3a3a3a,
              inset -4px -4px 8px #4e4e4e;
  transform: scale(1.02);
}

main .grid1item1:active,
main .grid2item2:active {
    box-shadow: inset 2px 2px 4px #1b1b1b, inset -2px -2px 4px #6d6d6d;
}

/* _ Grid_1 __________________________________________________ */
main .grid1item1 {
    align-items: center;
    display: flex;
    height: 50px;
    justify-content: flex-start;
}


main .grid1img{
    position: relative;
    width:20%;
    padding: 5px 25px 5px 5px;
}

/* _ Grid_2 __________________________________________________ */
main .grid2item2 {
    list-style:none;
    text-align: center; 
}

main .grid2img{ 
      width: 100%;
}

.grid2li{
background-color: #555;
height: 50px;
border-radius:15px 10px 0px 0px; 
align-content: center;
font-size: 30px;
font-weight: 100;
}

.grid2li a{
text-decoration: none;
color: #888;

}

/* _ Grid_3 __________________________________________________ */
main .grid3img{ 
    text-align: justify;
    position: relative;
    width: 30%;
    max-width: 400px;
    height: auto;
    padding: 5%;
}

/* ===================================================== */
/*  BTN TITLE – CTA TECHNO ULTRA LUMINEUX                */
/* ===================================================== */

main .btn_title {
  position: relative;
  display: block;
  width: 240px;
  margin: 70px auto;
  padding: 16px 10px;

  background: linear-gradient(180deg, #000000, #000000);
  color: #ffffff;

  font-size: 44px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;

  border-radius: 14px;
  border: none;

  /* 3D HARD */
  box-shadow:
    0 10px 0 #ffffff,
    0 18px 35px rgba(0,0,0,0.8),
    0 0 25px rgba(255,255,255,0.9),
    0 0 60px rgba(255,255,255,0.6);

  cursor: pointer;
  transition: transform 4s ease, box-shadow 2s ease;
}

/* ---- halo externe permanent ---- */
main .btn_title::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.8),
    rgba(255,255,255,0.0) 70%
  );
  filter: blur(20px);
  z-index: -1;
}

/* ---- tranche inférieure (épaisseur) ---- */
main .btn_title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background: #ffffff;
  border-radius: 0 0 14px 14px;
  z-index: -1;
}

/* ---- Hover = vibration légère ---- */
main .btn_title:hover {
  transform: translateY(-2px);
}

/* ---- Pression ---- */
main .btn_title:active {
  transform: translateY(8px);
  box-shadow:
    0 2px 0 #ffffff,
    0 6px 15px rgba(0,0,0,0.8),
    0 0 18px rgba(0,255,255,0.8);
}

main .btn_title.boost {
  box-shadow:
    0 10px 0 #ffffff,
    0 18px 35px rgba(0,0,0,0.8),
    0 0 40px rgba(255,255,255,1),
    0 0 90px rgba(255,255,255,0.9);
}
