/*
 Theme Name:   Galaxie
 Description:  A child theme of 2025
 Author:       CMP
 Author URI:   https://www.groupecmp.com/
 Template:     twentytwentyfive
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cookie&display=swap');



html { scroll-behavior: smooth;
 }

:root{
    --s-width:48rem;
    --m-width:62rem;
    --l-width:78rem;
}

.flex-v-spread{
    justify-content: space-between;
}
.flex{
    display: flex;
}
.flex-column{
    flex-direction: column;
}
.flex-v-center{
    justify-content: center;
}
div:where(.wp-site-blocks) > * {
    margin-block-start: 0;
    margin-block-end: 0;
}


.admin-bar .side-nav {
    padding-top: calc(2rem + 32px);
}
/* Fixed side navigation */
#nav.side-nav {
    /*position: fixed;*/
    top: 0;  
    position: sticky;
    height: 100vh;
    padding: 2rem 0;
    background: #375C7B;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.side-nav__list {
    width: 100%;
    display: flex;
    flex: 1;
    list-style: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    align-items: center;

}
.side-nav__list li{
    width: 100%;
}
.side-nav a{
    color: white;
    cursor: pointer;
    padding: 1.5rem 0.75rem;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}
.side-nav a:hover{
    background-color: #2C3E50;
    }
.side-nav__services {
    justify-content: flex-start;
}

.side-nav__services li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size: 1rem;
    align-items: center;
}

.side-nav__contact {
    justify-content: center;
}

.side-nav__socials {
    justify-content: flex-end;
}
.navbar-mobile {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .navbar-mobile {
        z-index: 5;
        position: fixed !important;
        bottom: 0;
        left: 0;
        width: 100% !important; ;
        background: #fff;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar-mobile .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #375C7B;
        font-size: 12px;    
    }

    .navbar-mobile .nav-item svg {
        font-size: 20px;
        margin-bottom: 5px;
    }

   .navbar-mobile .nav-item:hover {
        color: #007bff;
    }

    .admin-bar .side-nav{
        padding: 0;
        display: none;
    }
    #nav.side-nav{
        display: none;
        top:unset;
    bottom: 0;
    left: 0;
    flex-direction: row;
    padding: 0;
    }
    .side-nav__contact{
        display: none;
    }
    .side-nav__socials{
        display: none;
    }
    .side-nav__list {
        flex-direction: row;
    }
}
/**/
.wp-block-details {
  
}

 /* styles.css */
 *{
    box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background-size: cover;
}

.form-container {
width: var(--wp--style--global--wide-size);
margin: 100px auto;
padding: 20px;
color: white;
border-radius: 10px;
}

.form-container h1 {
text-align: center;
margin-bottom: 20px;
font-size: 2rem;
}

.form-container form {
display: flex;
flex-direction: column;
gap: 1.25rem;
}

.form-row {
display: flex;
gap: 1rem;
}

.form-container input, textarea {
width: 100%;
padding: 10px;
border: none;
font-size: 1rem;
font-family: "'CRIMSON PRO'";
padding: 1.25rem;
}

textarea {
height: 100px;
}

input[type="date"] {
color: #555;
}
.form-footer input[type="checkbox"] {
    width: unset;
}
.form-footer {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
gap: 1rem;
}

label {
display: flex;
align-items: center;
gap: 5px;
font-size: 1rem ;
}

button {
    padding-top: 1rem;
    padding-right: 2.25rem;
    padding-bottom: 1rem;
    padding-left: 2.25rem;
background: white;
color: #375c7b;
border: none;
border-top-left-radius: 36px;
border-top-right-radius: 8px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 36px;
font-size: 1rem;
cursor: pointer;
transition: background 0.3s;
font-family: "'CRIMSON PRO'";
}

button:hover {
background: red;
}

.numero-icone{
    position: absolute;
    top: -3rem;
    right: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background-color: #EBC6AD;
}

.wrapper{
    max-width: 1340px;
    width: 100%;
}

@media only screen and (max-width: 1024px){
    .biographie{
        display: none!important;
    }
    
}

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

    .derouler-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
/*serivces*/

.services-box{
    transition: all 0.2s ease-in-out;
}

.services-box:hover{
    transform: scale(1.05) skew(1deg);

}

.services-title::before{
    content: "";
    width: 0%;
    height: 4px;
    background: white;
    display: block;
    position: absolute;
    z-index: -1;
    transition: all 0.2s  cubic-bezier(.47,1.64,.41,.8);
    outline: 0 solid white;
    bottom: 0;
}
.services-box:hover .services-title::before{
    width: 100%;
}
#services-section h3{
    transition: all 0.2s  cubic-bezier(.47,1.64,.41,.8);
}

#services-section .services-title{
    width: fit-content;
}
.services-contact{
    position: relative;
}
.services-contact::after{
    content: "Contactez Pauline Rossignol";
    color: #375c7b;
    position: absolute;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    z-index: -1;
    transition: all 0.3s  cubic-bezier(.47,1.64,.41,.8);
}
.services-contact:hover::after{
    bottom: -50px;
}

/*time line*/

.time-line_line{
    height: 2px;
    background: #EBC6AD;
}
.time-line_top{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content:space-between;
    align-items: flex-end;
}
.time-line_bot{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.time-line_top_item{
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background: #f4f4f4;
    padding: 0 1rem;
}

.time-line_bot_item{
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease-in-out;
}
.time-line_verticalline{
    height: 50px;
    width: 0;
    position: relative;
    border: 1px dashed #375C7B;
    flex: 1;
    min-height: 40px;
}
.time-line_verticalline::after{
   content: "";
   height: 24px;
   width: 24px;
   background: #375C7B;
   border-radius: 50%;
   position: absolute;
   bottom: 0;
   transform: translate(-50%,50%);
}
.time-line_text{
    color: #375C7B;
    font-family: Barlow;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
}
.time-line_date{
    padding-top: 1rem;
    color: #375C7B;
    font-family: Barlow;
    font-size: 55px;
    font-style: italic;
    font-weight: 900;
    line-height: normal;
    margin: 0;
}

.tl-open{
    max-height: 500px;
    flex: 2;
}
/**/
.side-h{
    background: red;
}
body.page div div.flex-start{
    align-items: flex-start;
}
.flex1{
    flex: 1;
}
#nav.w-fit-content{
    width: fit-content;
}

.tb-perks{

}
.tb-perks > div{

    background: rgba(243, 243, 243, 0.022);
    padding: 1rem 0;
    border-radius: 2rem 0.5rem 2rem 0.5rem;
    border: solid 1px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tb-perks > div:hover {
    transform: scale(1.05) skew(1deg, 1deg); /* Slightly scales up the card */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds a deeper shadow for a "lifted" effect */
    
  }
.tb-perks svg{
 width: 96px;
 height: auto;
 fill: white;
}

/* services*/
.services{
    display: flex;
    flex-direction: row;
    margin: 4rem 0;
    gap: 1rem;

}
.service{
    flex: 1;
    background: #375C7B;
    min-height: 550px;
    border-radius: 48px 8px 48px 8px;   
    display: flex;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
}
.service::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(28, 28, 28, 0.476);
    transition: all 0.3s ease-in-out;
}
.service.a{
    background: url("https://fpva-conseil.fr/wp-content/uploads/2025/02/image00031-1.png")!important;
    background-repeat: no-repeat!important;
    background-position: 50% 50%!important;
    background-size: cover!important;
}
.service.b{background: url("https://fpva-conseil.fr/wp-content/uploads/2025/02/pauline-conf.png")!important;
    background-repeat: no-repeat!important;
    background-position: 50% 50%!important;
    background-size: cover!important
}
.service.c{background: url("https://fpva-conseil.fr/wp-content/uploads/2025/05/Pauline-Rossignol-Team-Building-fpva-s.webp")!important;
    background-repeat: no-repeat!important;
    background-position: 50% 50%!important;
    background-size: cover!important;
}
.service:hover{
    flex: 2;
}
.service p{
    margin-top: auto;
    margin-bottom: 1rem;
    margin-left: 1rem;
    transition: all 0.2s ease-in-out;
    color: white;
    position: relative;
}
.service p::after{
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    background: white;
    width: 0;
    transition: all 0.3s ease-in-out;
    }
.service:hover p::after{
 
    width: 100%;
    height: 2px;

}
.service:hover ~ .service p,
.service:has(+ .service:hover) p,
.service:has(+ .service + .service:hover) p {
    opacity: 0;
}

.service:hover ~ .service::before,
.service:has(+ .service:hover)::before,
.service:has(+ .service + .service:hover)::before {
    background: rgba(29, 29, 29, 0.867);
}

.covering-link{
    position: absolute;
    height: 100%;
    width: 100%;   
}
.service_description{
    max-height: 0;
    overflow: hidden;
    /* margin-bottom: 1rem; */
    /* margin-left: 1rem; */
    transition: all 0.2s ease-in-out;
    color: #385c7c;
    z-index: 1;
    background: white;
    font-size: 1rem;
    padding: 0;
}
.service:hover .service_description{
    max-height: 250px;
    padding: 1rem;
}
.fpva-form-contact{

}
.fpva-form-contact .nf-form-title{
    display: none;          
}
.fpva-form-contact .nf-form-fields-required{
    display: none;
}
.fpva-form-contact label, .fpva-form-contact .nf-label-span {
    font-size: 1rem;
    font-weight: 400;
    color: #385c7c;
}
.fpva-form-contact input{
    padding: 0.75rem;
}
.fpva-form-contact input[type="submit"] {
    background: #385c7c;
    color: white;
    border-radius: 30px 8px 30px 8px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #385c7c;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    font-family: "Crimson Pro";
}
.fpva-form-contact .nf-field-label{
    padding-left: 0;
}
.fpva-form-contact input[type="submit"]:hover {
 background: white;
 color: #385c7c;
}
.fpva-form-contact .nf-error-wrap,.fpva-form-contact .nf-error-msg{
    display: none;
}
.fpva-form-contact textarea{
    border: 1px solid rgb(118, 118, 118);
}

.nx12a strong{
    font-size: 3rem;
}