/*
Theme Name: Run & Bike Shop – Design 2022
Theme URI: https://run-and-bike-shop.fr
Author: Run & Bike Shop
Description: Reprise du design original 2022, avec textes et photos modifiables dans Apparence > Personnaliser.
Version: 1.2
Requires at least: 6.0
Text Domain: run-bike-shop-2022
*/
/* RESET */
@charset "utf-8";
* {margin:0; padding:0; list-style-type:none; border:0;}
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,800);

/*** HEADER ***/
html{
  scroll-behavior: smooth;
}

body{
    font-family: 'Montserrat';
}
header{
    font-size: 1em;
}

.header {
    background-color: #333230;
    height: 60px;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.header .logo {
    height: 50px;
    position: absolute;
    left: 10px;
}

.header a .logo_insta{
    height: 35px;
    position: absolute;
    right: 20px;
    top: 12px;
}

.header a .logo_facebook{
    height: 35px;
    position: absolute;
    right: 70px;
    top: 12px;
}

.header .menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 86vw;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    vertical-align: middle;
}

.header .menu *{
    box-sizing: border-box;
}

.header .menu li{
    width: 15%;
    min-width: 90px;
    padding-top: 25px;
}

.header .menu li a {
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.2s;
}

.header .menu li a:hover {
    color: #D9B9A7;
}

.div_background{
    height: 26px;
    overflow: hidden;
    background-image: url('Images/background.jpg');
}

.magasin_background{
    background-image: url('Images/Magasin/background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.selected{
    height: 70px;
    background-color: white;
}

.selected a{
    color: black !important;
}

footer{
    min-height: 30px;
    background-color: #333230;
    color: white;
    min-width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 10px;
    padding-top: -500px;
    display: flex;
    justify-content: center;
}

footer p{
    padding-top: 10px;
    display: flex;
    text-decoration: none;
    color: white;
}

footer p a{
    text-decoration: none;
    color: white;
}

.footer_index{
    position: absolute;
    bottom: -30px;
    display: flex;
    text-decoration: none;
    color: white;
}


/************Page index*************/

.boutons {
    display: flex;
    justify-content: center;
}

.div_index .boutons{
    margin-top: 8vh;
}

.div_index .boutons button {
    border: 1px solid white;
    border-radius: 25px;
    padding: 25px 50px;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    margin: 5vh;
    
}

.div_index .boutons button a{
    text-decoration: none;
    color: black;
    font-size: 1em;
}

.div_index .boutons .cycles {
    background-color: #1DB954;
    border-color: #1DB954;
    margin-right: 5px;
    transition: background-color 0.4s ease-out;

}

.div_index .boutons .running {
    background-color: white;
    transition: background-color 0.4s ease-out;
}


.div_index .boutons .cycles:hover {
    background-color: white;
    color: #1DB954;
    border-color: white;
}

.div_index .boutons .running:hover {
    color: white;
    background-color: #1DB954;
    border-color: #1DB954;
}

.magasin_background{
    overflow: hidden;
    z-index: -2;
    position: fixed;
    width: 100%;
    height: 100%;
}

.magasin_background img{
    max-height: 100%;
    max-width: 100%;
}


.div_index .titre{
    color: white;
    text-align: center;
    padding-top: 20vh;
    font-size: 5em;
}
.div_index .texte{
    color: white;
    text-align: center;
    padding-top: 15vh;
    font-size: 1.5em;
    width: 80%;
    margin: auto;
}

.invi{
    z-index: -100;
    position: absolute;
    color: white;
}
 /******* Carousel ******/

.titre_magasin{
    color: white;
    width: 100%;
    text-align: center;
    margin-top: 15vh;
    padding-top: 5vh;
    padding-bottom: 8vh;
    font-size: 3rem;
    font-weight: 300;
    font-style: italic;
    background-color: #333230;
}

.div_carousel{
    width: 100%;
    height: 100%;
    background-color: #333230;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-top: 50px;
}

.div_carousel .image{
    width: 40%;
    text-align: center;
    height: 40%;
    overflow: hidden;
    margin: 15px;
    min-width: 500px;
}

.div_carousel .image img{
    height: 60vh;
    transition: transform 0.4s ease-out;
    transition: opacity 0.4;
    margin: auto;
    opacity: 1;
    z-index: 1;
}

.div_carousel .image:hover img{
    transform: scale(1.15);
    opacity: 0.4;
}

.div_carousel .image .image_texte{
    width: 100%;
    height: 20%;
    color: white;
    font-size: 60px;
    text-align: center;
        opacity: 0;
}

.div_carousel .image .image_texte p{
    position: relative;
    width: 100%;
    text-align: center;
}

.div_carousel .image:hover .image_texte{
    opacity: 1;
    transition: opacity 0.4;
}


/************Page Cycles*************/


.div_video{
  width: 100%;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -3;
}

video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.header_cycles{
    text-align: center;
    width: 100%;
}
.header_cycles .titre_cycles_h1{
    color: white;
    text-align: center;
    padding-top: 30vh;
    width: 100%;
    font-size: 4em;
    z-index: 1;
}

.header_cycles .texte_cycles_p{
    color: white;
    text-align: center;
    padding-top: 10vh;
    font-size: 1.3em;
    width: 100%;
}

.header_cycles img{
    margin-top: 15vh;
    width: 4vw;
}

.page_cycles{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 16vh;
    background-color: white;
}

.div_cycles{
    margin-top: 70px;
    padding-left: 5vw;
    padding-right: 5vw;
    max-width: 39vw;
    min-width: 400px;
    text-align: center;
    transition: box-shadow 0.4s ease-out;
    min-width: 400px;
}

.div_cycles:hover{
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.photo_cycles{
    border-radius: 10px;
    margin: 2vw;

}
.photo_cycles img{
    position: relative;
    height: 250px;
}

.contenu_cycles{
    width: 69%;
    padding-top: 2%;
    vertical-align: middle;
    padding-left: 20%;
}

.titre_cycles{
    text-align: center;
    color: grey;
    padding: 2vh;
    font-size: 3em;
}

.texte_cycles{
    padding-top: 2%;
    text-align: justify;
    color: black;
    margin-bottom: 3vh;
    font-size: 1.2em;
}


/***********Atelier*************
*/
.titre_atelier{
        color: white;
    text-align: center;
    padding-top: 30vh;
    width: 100%;
    font-size: 4em;
    z-index: 1;
}
/*
.div_atelier{
     display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 50px;
    text-align: center;
    height: 80vh;
}

.div_atelier .etape{
    width: 25%;
    min-width: 300px;
    height: 200px;
    border: 0px ;
    text-align: center;
    margin: 30px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    background-color: white;
    border-radius: 0.5em;
}


.div_atelier .etape .numero_etape{
    font-size: 2em;
}

.div_atelier .etape .titre_etape{
    margin-top: 15px;
    margin-bottom: 15px;
}

.div_atelier .etape .texte_etape{
    width: 90%;
    margin: auto;
}
*/

.fond_atelier{
    background-color: white;
}

.timeline {
  position: relative;
  padding: 100px;
  margin: 0 auto;
  margin-top: 50vh;
  background-color: white;
  color: #333230;

}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #333230;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;

}

.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;

}

.right::after {
  left: -16px;
}

.content {
  padding: 20px 30px;
  min-width: 150px;
  position: relative;
  border-radius: 6px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


@media screen and (max-device-width: 500px) {
  .timeline::after {
  left: 31px;
  }
  

  .container {
  width: 100%;
  min-width: 300px;
  padding-left: 70px;
  padding-right: 25px;
  }
  
  .container::before {
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  }

  .left::after, .right::after {
  left: 15px;
  }
  
  .right {
  left: 0%;
  }
}

/*************Page running**********/


.Running_background{
    background-image: url('Images/Running/background2.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;

}

.banniere{
    box-sizing: border-box;
    overflow: hidden;
    min-height: 95vh;
}

.banniere .logo{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 70vh;
    padding-top: 25vh;
}

.banniere .logo a{
    width: 50%;
    text-align: center;
}
.banniere .logo a img{
    cursor: pointer;
    width: 30vw;
    min-width: 400px;
}

.div_marque{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-color: white;
    color: black;
    padding-top: 50px;
    position: relative;
}

.gris{
    background-color: grey;
}

.petit_logo{
    background-color:  #f4f4f4;
    width: 100%;
    text-align: center;
    padding-top: 50px;
    scroll-behavior: smooth;
}

.petit_logo img{
    width: 200px;
}

#logo_scott{
    height: 200px;
    width: auto;
}

.div_marque .bas{
    margin-bottom: 15px;
}

.div_marque .chaussure{
    margin-top: 50px;
    text-align: center;
    padding-left: 5vw;
    padding-right: 5vw;
    width: 39vw;
    text-align: center;
    min-width: 400px;
    transition: box-shadow 0.4s ease-out;
}

.div_marque .chaussure:hover{
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.div_marque .chaussure .titre{
    text-align: center;
    color: grey;
    font-size: 3em;
}

.div_marque .chaussure .texte{
    text-align: justify;
    margin-top: 5vh;
    padding-bottom: 5vh;
    min-width: 100%;
    font-size: 1.2em;
}

.div_marque .chaussure .photo img{
    height: 15vh;
    padding-top: 4vh;
    width: 15vw;
    height: 100%;
}

@media (max-width: 800px) {
    .banniere .logo{
        width: 100%;
        height: 20vh;
    }
    .div_marque .chaussure{
    width: 100%;

    }
}


/***********Page contact***********/
.contact_background{
    background-image: url('Images/Contact/background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100vh;
}

.div_contact{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
    height: auto;
    overflow: hidden;
}

.div_contact .contact{
    width: 50%;
    text-align: center;
    min-width: 400px;
}

/*.div_contact .contact .titre{
    color: white;
    font-size: 2em;
    padding-top: 7vh;
}*/

    
.div_contact .map {
    width: 50%;
    text-align: center;
    height: 100vh;
    margin-top: 15vh;
    max-height: 700px;
    overflow: hidden;
}

.div_contact .map iframe{
    padding: 0;
    margin: 0;
    width: 80%;
    height: 50%;
}

.div_contact .contact .coordonnee{
    margin-top: 15vh;
    padding-top: 5vh;
    padding-right: 5vw;
    padding-bottom: 2vh;
    padding-left: 5vw;
    background-color: white;
    color: black;
    min-width: 15vw;
    margin-left: 5vw;
    margin-right: 5vw;
    text-align: center;
    font-size: 1.3em;
}

.div_contact .contact .coordonnee .nom{
    margin-bottom: 2vh;
    font-weight: 500;
}

.div_contact .contact .coordonnee .texte{
    margin-bottom: 4vh;
    font-weight: 200;
}


.equipe .titre{
    text-align: center;
    margin-top: 5vh;
    margin-bottom: 10vh;
}

.equipe .div_membre{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 5vh;
}

.equipe .div_membre .membre{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding:  5vw;
    margin-left: 5vw;
    margin-right: 5vw;
}

.equipe .div_membre .membre .photo{
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.equipe .div_membre .membre .photo img{
    justify-content: center;
    width: 10vw;
    margin: auto;
}

.equipe .div_membre .membre p{
    margin-top: 5px;
    text-align: center;
}

.equipe .div_membre .membre .nom{
    font-weight: 700;
}

.equipe .div_membre .membre .role{
    font-style: italic;
}







/* Ajouts 2026 : conservation de la charte historique */
.header .menu{width:calc(100% - 100px);gap:8px;align-items:center;}
.header .menu li{width:auto;min-width:0;flex:1;padding-top:0;}
.header .menu li a{font-size:clamp(10px,1vw,15px);display:block;padding:12px 2px;}
.flo-promo{background:#333230;color:white;text-align:center;padding:65px 24px;}
.flo-promo h2{font-size:clamp(24px,3vw,40px);margin-bottom:18px;}
.flo-promo p{max-width:850px;margin:0 auto 30px;line-height:1.7;}
.flo-promo a,.flo-cta{display:inline-block;background:#1DB954;color:#151515;padding:16px 26px;border-radius:7px;text-decoration:none;font-weight:700;}
.actual-photo{display:block;max-width:min(100%,1050px);max-height:650px;object-fit:contain;margin:35px auto;}
.facade-photo{width:min(90%,1000px);height:auto;object-fit:contain;margin:110px auto 0;display:block;}
.new-page{min-height:100vh;padding:165px 8% 100px;background:#f6f5f2;color:#333230;text-align:center;}
.new-page h1{font-size:clamp(35px,5vw,66px);margin-bottom:20px;}
.new-page h2{font-size:clamp(22px,3vw,32px);margin-bottom:35px;}
.new-page p{font-size:18px;line-height:1.8;max-width:850px;margin:20px auto;}
.offer-grid{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin:40px auto;}
.offer-grid div{background:white;padding:25px;min-width:155px;box-shadow:0 3px 12px #0002;}
.offer-grid strong,.offer-grid span{display:block;margin:7px;}
@media(max-width:950px){.header{height:auto;min-height:85px;padding:10px 12px;position:relative;flex-wrap:wrap}.header .logo{position:static;height:55px}.header .menu{width:100%;order:3;flex-wrap:wrap;gap:3px}.header .menu li{flex:0 0 auto}.header .menu li a{font-size:12px;padding:8px}.header a .logo_insta,.header a .logo_facebook{position:static;height:28px}.new-page{padding-top:70px}.facade-photo{margin-top:30px}}

/* WordPress adaptations */
.rbs-editor-content{max-width:1050px;margin:40px auto;padding:20px;color:inherit}
.admin-bar .header{top:32px}
@media(max-width:782px){.admin-bar .header{top:46px}}
