:root {
    --fond: #fbe9c51f;
    --jaune: #ffcc00;
    --brique:#cf4932;
    --forbg:#fbcc64;
    --marron: #512f34;
    --beige-clair: #ffe4ca;
    --beige-fonce: #ffd4a8;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background-color: #cf4932;
  border-radius: 5px;
}
body, html {
    overflow-x: hidden;
}
body {
    background-color: var(--fond);
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--marron);
    line-height: 1.7;
    font-size: 16px;    
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px !important;
    z-index: 9999914;
}
.progress-bar {
    display:none;
    height: 2px;
    background: #cf4932!important;
    width: 100%
}

#back_to_top {
  position: fixed;
  bottom: 20px;
  right: 26px;
  display: none;
  z-index:999;
}
#back_to_top img {
  width: 50px;
  height: 50px;
  cursor: pointer;
}
#back_to_top img:hover {
  width: 60px;
  height: 60px;
  cursor: pointer;
  border: 0px solid #200c31;
  border-radius: 50%  
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--marron);
}

h1 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 40px 0 20px;
}

h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 30px 0 15px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 10px;
}

p {
    margin-bottom: 15px;
}

a {
    transition: all 0.2s ease;
}

ul {
    padding-left: 25px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1024px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
}

.nav-wrapper {
    width: 100%;
    position: relative;
    z-index: 100;    
}

.nav-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--forbg);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideFadeDown 0.5s ease forwards;
}

.nav-wrapper.sticky {
    animation: slideFadeDown 0.5s ease forwards;
}

@keyframes slideFadeDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-restart {
    animation: slideFadeDown 0.5s ease forwards !important;
}

body.sticky-padding {
    padding-top: 120px;
}

.navbar {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0px solid var(--marron);
    border-bottom: 2px solid var(--marron);
}

.logo img,
.navbar img {
    height: 90px;
    box-shadow: 7px 7px 10px #888888;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu a {
    position: relative;
    display: inline-block;
    padding: 10px 16px;
    font-weight: bold;
    text-decoration: none;
    background: none;
    border-left: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    color: var(--marron);
}

.menu a span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.menu a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to right, #512f34 50%, #bdada6 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.5s ease, opacity 0.3s ease;
    z-index: 1;
    opacity: 0;
}

.menu a:hover::before {
    background-position: left bottom;
    opacity: 1;
}

.menu a:hover span {
    color: #fff;
}

.menu a:hover {
    border-left: 6px solid var(--brique);
}

.menu a.active {
    background-color: #fff;
    color: var(--brique);
    border-left: 6px solid var(--brique);
    background-image: none;
}

.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    color: var(--marron);
}

.menu-icon::before {
    content: '\2630';
    font-size: 28px;
    display: inline-block;
}

#menu-toggle:checked + .menu-icon::before {
    content: '\2715';
}

#menu-toggle {
    display: none;
}

.gammes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.gamme {
    flex: 1 1 48%;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gamme:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.gamme img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.gamme h2 {
    margin-top: 10px;
    color: var(--marron);
    font-size: 20px;
}

header img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
}

main h1 {
    text-align: center;
    color: var(--marron);
    font-size: 28px;
    margin-bottom: 20px;
}

main p, main ul, main h2 {
    line-height: 1.6;
    margin-bottom: 15px;
}

ul {
    list-style-type: square;
    padding-left: 20px;
}

.footer-wrapper {
    width: 100%;
    max-width: 1024px;
    background-color: var(--forbg);
    border-top: 2px solid var(--marron);
    padding: 0;
    margin: 0 auto;
}

.footer-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    color:#fff;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
}

.factive {
    color: var(--brique) !important;
}

a.vlr_mnpdp{color: var(--marron); text-decoration: none; margin-right: 4px;}
a.vlr_mnpdp:hover{color: var(--brique); text-decoration: underline;}

.vlr_btn {
  width: 74%;
  margin-top: 33px;
  margin-bottom: 10px;
  padding: 14px;
  border: none;
  border-left: 8px solid #5a5037;
  border-radius: 0px;
  box-sizing: border-box;
  background-color: #bdada6;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  -webkit-transition: color 0.4s;
  transition: color 0.4s;
  background-image: linear-gradient(to right, #5a5037 50%, #bdada6 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.7s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.vlr_btn:hover {
  color: #fff;
  background-position: left bottom;
  text-decoration: none;
}

.vlr_plan {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #bdada6;
    color: #512f34;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 2px;
    border-left: 8px solid #5a5037;
    font-weight: bold;
    overflow: hidden;
    -webkit-transition: color 0.4s;
    transition: color 0.4s;
    background-image: linear-gradient(to right, #5a5037 50%, #bdada6 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.7s ease;    
}

form button:hover {
  color: #fff;
  background-position: left bottom;
  text-decoration: none;
}

#formMessage {
    margin-top: 15px;
    font-weight: bold;
    color: #512f34;
}


@media screen and (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        position: relative;
    }    
    .logo {
        flex: 1;
        text-align: left;
    }    
    .logo img {
        height: 60px;
        box-shadow: 0px 0px 0px #888888;
    }    
    .navbar img:last-child {
        flex: 1;
        height: 60px;
        text-align: right;
        box-shadow: 0px 0px 0px #888888;
    }    
    .menu-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 28px;
        z-index: 20;   
        display: block;
        color: var(--marron);
    }    
    .menu {
        flex-direction: column;
        background-color: var(--forbg);
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        display: none;
        text-align: center;
        padding: 10px 0;        
        z-index: 10;
    }

    #menu-toggle:checked + .menu-icon + .menu {
        display: flex;
    }    

    .menu li {
        padding: 10px;
    }

    .gamme {
        flex: 1 1 100%;
    }  

    .footer-wrapper {width:100%}
}