/*

 Theme Name:  Yann Theme

 Theme URI:    https://yann-pivel.com

 Description:  Theme New Website Test

 Author:       Yann PIVEL

 Author URI:   https://yann-pivel.com

 Version:      1.2

*/


@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800&family=Roboto+Flex:wght@100;200;300;400;500;600;700;800&display=swap");


body {
    --pinkred :#EF0C58;
    --black : #1d1d1b;
    --white : #ffffff;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html {
    font-size: 16px;
}


body {
  font-family: "Roboto Flex", sans-serif;
  color: white;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: "Lexend";
}

h2 {
    font-size: 3em;
    margin: 0;
}


.wp-site-blocks {
  margin: 0;
  padding: 0;
}


/* .container {
  max-width: 1600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding:5%;
} */

.reveal-title {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
}

.reveal-title.visible {
  opacity: 1;
  transform: translateY(0);
}



/*PAGE D'ACCUEIL***
*****HERO SECTION**/

.hero-section {
    background-image: url('http://test.pivel.fr/wp-content/uploads/2025/07/MotoShifter-scaled.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;       /* pleine largeur écran */
    height: 100vh;      /* hauteur écran complète */
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    color: #fff;
}


.hero-section p {
    margin: 2em 0em 3em 0em;
    max-width: 800px;
}

.hero-section h3 {
    font-size:0.8em;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-section h2 {
    font-size: 3em;
    margin: 0;
}

.hero-section h1 {
    font-size:3em;
    font-weight: 200;
    margin: 0.5em 0em 0em 0em;
}


.hero p, .aboutus p, .premium p {
  margin: 2em 0em 3em 0em;
}



.screw {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: white;
  padding: 0.5em 1em;
  margin-bottom: 0;
  transform: translateX(8px);
}
.screw::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--pinkred);
  transform: skew(-15deg);
  transform-origin: left;
  z-index: -1;
}


/****END OF HERO SECTION***
***********/

/*PAGE D'ACCUEIL***
********LOGO SELECTOR*/

section.aboutus h3, section.premium h3 {
        margin-bottom: 0em;
    font-weight: 300;
    font-size: 1.3em;}

.motorcycle h3, .motorcycle h2 {
  color: #1b1b1b;
  text-align: center;
}

.logo_selector img {
    max-width: 100px;
}

.logo_selector {
    max-width: 1600px;
    justify-content: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-collapse: collapse;
  overflow: hidden;
  padding: 5%;
}


.logo-grid div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  border: 1px solid #999;
}

.logo-grid div:hover {
  background-color: #fff;
}

.logo-grid img {
  max-width: 120px;
  object-fit: contain;
}

.logo-grid div:nth-child(-n+4) {
  border-top: none;
}

.logo-grid div:nth-child(n+5) {
  border-bottom: none;
}

.logo-grid div:nth-child(4n+1) {
  border-left: none;
}

.logo-grid div:nth-child(4n) {
  border-right: none;
}

section.motorcycle h2 {
    font-size:2em;
}

section.motorcycle h3 {
    margin: 0em;
    padding-top: 8%;
    font-weight: 300;
    font-size: 1.3em;
}

section.motorcycle, .logo-grid, .motogrid {
    background-color: #f5f5f5;
}

/*MOTORCYCLE SECTION END****
********/

/*ABOUT US SECTION***
*****/

.aboutus {
    background-image: url('/wp-content/uploads/2025/07/backgroundmoto.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    width: 100vw;       /* pleine largeur écran */
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8% 5%;
}

.aboutus h2, .premium h2 {
    font-size: 2em;
}

/***END OF ABOUT US**
*****/

/****PREMIUM SECTION****
******/

.home section.premium .wp-block-columns {
    color:#1b1b1b;
    display: flex;
    align-items: center !important;

}


section.premium {
    background-image: url('/wp-content/uploads/2025/07/shifter-filigrane-28.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    /* background-size: cover;*/
    background-position: bottom; 
    overflow: hidden;
      width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding:5%;
}


section.premium .hero_links {
    max-width: 680px;
}

.number_premium {
    font-size:2.4em;
    color: var(--pinkred);
    text-wrap: nowrap;
    font-family: 'Lexend', sans-serif;
}

section.premium p {
    padding-right: 8%;
}


/**END OF PREMIUM****/

/**SITE FOOTER****
*****/

.site-footer {
    background-color: var(--black);
    padding: 8% 5% 0% 5%;
}

.footer_info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 5%;
}

.footer_info div {
    display: flex;
    flex-direction: column;
}

.footer_info img {
    max-width: 180px;
}

.footer_info h5 {
    font-size: 1.4em;
    margin: 0px 0px 3% 0px;
}

.footer_info a {
    color: var(--white);
    line-height: 2em;
}

.footer_links {
    padding:0.6% 0%;
    border-top: 1px solid var(--pinkred);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_links a{
    color:#aaa;
}
.site-footer a {
    transition: all .3s ease;
}
.site-footer a:hover {
    transform: translateX(5px);
}

/*END OF FOOTER****/


/*MEDIA QUERY DESKTOP*/

/* @media screen and (min-width: 981px) {

} */


/*MEDIA QUERY MACBOOK*/

/* @media only screen and (min-width: 1024px) and (max-width: 1620px) {

} */


/*MEDIA QUERY MOBILE*/

@media (max-width: 980px) {
        /*Affichage plus large sur tel*/
    .hero-section p {
        margin: 1.6em 0em;
        max-width: 100%;
    }


}