.home_bg {
    min-height : 220px;
    width : 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.home_bg.summer {
    background-image: url('../../db/pictures/bg/summer/WayToSmile-background-van-on-road-700.webp');
}
@media (min-width: 576px) {
	.home_bg { min-height: 280px; }
}
@media (min-width: 768px) {
	.home_bg { min-height: 320px; }
}
@media (min-width: 992px) {
	.home_bg { min-height: 380px; }
    .home_bg.summer {
        background-image: url('../../db/pictures/bg/summer/WayToSmile-background-van-on-road-1400.webp');
    }
}
@media (min-width: 1200px) {
	.home_bg { min-height: 450px; }
}
@media (min-width: 1400px) {
	.home_bg { min-height: 500px; }
    .home_bg.summer {
        background-image: url('../../db/pictures/bg/summer/WayToSmile-background-van-on-road.webp');
    }
}

/* Insta Card */
.insta-card {
    max-width: 300px;
}

.insta-border {
    background: linear-gradient(45deg, #fec700, #fec700, #fb0172, #d300c5, #ff0366);
    padding: 4px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow : 0 0.325rem 0.25rem rgba(0, 0, 0, 0.175);
}


.insta-border img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bg-color-light);
}

.insta-border:hover {
    opacity : 0.8;
    transform: translateY(-5px);
    box-shadow : 0 0.525rem 0.25rem rgba(0, 0, 0, 0.075);
}
  

/* About */
.home_about {
    background-color: var(--bg-color-light);
}
.home_about .row {
    padding-top : 50px;
    padding-bottom : 50px;
}

.home_about .card {
    background-color: transparent;
    border : 0px;
    color : var(--txt-color-primary);
    text-align : center;
    max-width: 220px;
}

.home_about .card .card-title {
    font-size : 1.5rem;
    font-weight : 500;
    color : var(--txt-color-secondary);
    animation: fadeInUp 0.8s ease forwards;
}

.home_about .card .card-text {
    margin : 0px;
    padding : 0px;
}
.home_about .card .card-text .bi {
    font-size : 1.5em;
}
.home_about .card .card-text .nav-link {
    opacity : 1;
    transition : all 0.2s ease;
}
.home_about .card .card-text  .nav-link:hover {
    opacity : 0.5;
}

.home_about h1 {
    font-size : 1.5rem;
    color : var(--txt-color-primary);
    font-weight : 600;
    font-family: var(--font-text);
    animation: fadeInUp 0.8s ease forwards;
}
.home_about_infos h1 {
    font-size : 1.3rem;
    color : var(--txt-color-secondary);
    font-weight : 600;
    font-family: var(--font-text);
}

.home_about_infos h2 {
    font-size : 1.2rem;
    color : var(--txt-color-secondary);
    font-weight : 600;
    font-family: var(--font-text);
}

.home_about_infos p {
    padding-bottom : 5px;
}

.home_about_infos strong {
    font-weight : 400;
    color : var(--txt-color-primary);
}

.home_about_infos .alert {
    background-color : var(--bg-color-light);
    color : var(--txt-color-primary);
    border : 1px solid var(--txt-color-primary);
    margin-bottom : 0px;
}

.home_about_infos .alert .bi {
    margin-right : 8px;
}

/* About 2 */

.home_about2 {
    background: var(--bg-color-light-gradient);
    position : relative;
}

.home_about2 .container-lg {
    padding-top : 50px;
    padding-bottom : 50px;
}

.home_about2 h2 {
    margin-bottom : 50px;
    font-weight : 700;
    color : var(--txt-color-primary);
    animation: fadeInUp 0.8s ease forwards;
    text-transform: uppercase;
}

.home_about2 .card {
    background-color: transparent;
    border : 1px solid transparent;
    transition: all 0.2s ease;
    background: var(--bg-color-light-transparent-7 );
    backdrop-filter: blur(10px); 
}

.home_about2 .card:hover {
    background-color: var(--bg-color-light);
    border : 1px solid var(--txt-color-secondary);
}

.home_about2 .card .card-title {
    color : var(--txt-color-secondary);
    font-weight : 400;
    font-size : 1rem;
    transition: color 0.2s ease;
    font-family: var(--font-text);
}
.home_about2 .card:hover .card-title {
    color : var(--txt-color-primary);
}

.home_about2 .card .card-title .bi {
    color : var(--txt-color-primary);
    margin-right : 3px;
}

.home_about2 .card .card-text {
    font-size : 0.9rem;
    font-weight : 400;
}

/* Nuages */
.container-cloud {
    position: absolute;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display : none;
}
@media (min-width: 768px) {	.container-cloud { display : block; } }
.nuage {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
}

.nuage-1 {
    width: 130px;
    height: 96px;
    top: 10%;
    background-image: url('../../db/pictures/clouds/nuage-2.png');
    animation: moveRight 30s ease-in-out infinite;
}

.nuage-2 {
    width: 150px;
    height: 104px;
    top: 12%;
    background-image: url('../../db/pictures/clouds/nuage-3.png');
    animation: moveLeft 45s linear infinite;
}

.nuage-3 {
    width: 209px;
    height: 136px;
    top: 20%;
    background-image: url('../../db/pictures/clouds/nuage-7.png');
    animation: moveRight 50s linear infinite;
}

.nuage-4 {
    width: 110px;
    height: 74px;
    top: 22%;
    background-image: url('../../db/pictures/clouds/nuage-8.png');
    animation: moveLeft 35s linear infinite;
}

.nuage-5 {
    width: 150px;
    height: 100px;
    top: 35%;
    background-image: url('../../db/pictures/clouds/nuage-9.png');
    animation: moveRight 25s linear infinite;
}

@keyframes moveRight {
    0% {
        left: -300px;
    }
    100% {
        left: 100%;
    }
}
@keyframes moveLeft {
    0% {
        right: -300px;
    }
    100% {
        right: 100%;
    }
}

/* Offres */
.home_offres {
        background-color: var(--bg-color-light);
}
.home_offres .container-lg {
    padding-top : 50px;
    padding-bottom : 50px;
}
.home_offres .row {
    margin : 0;
}
.home_offres h2 {
    margin-bottom : 25px;
    font-weight : 700;
    color : var(--txt-color-primary);
    animation: fadeInUp 0.8s ease forwards;
    text-transform: uppercase;
}

.home_offres .glass-card {
    background: var(--bg-color-light-transparent-7);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.home_offres .card h3 {
    color : var(--txt-color-primary);
    transition: color 0.2s ease;
    font-family: var(--font-text);
}
.home_offres .card-text.display-4 {
    font-weight : 400;
    color : var(--txt-color-primary);
    font-family : var(--font-numeric);
    transition: color 0.2s ease;
}
.home_offres .card:hover .card-text.display-4 {
    color : var(--txt-color-secondary);
}

.home_offres .card .card-text.display-4, .card-text-start {
    font-size : 1rem;
    font-family: var(--font-text);
}
.home_offres .card .card-text.display-4, .card-text-price {
    font-family: var(--font-numeric);
}
.home_offres .card .card-text.display-4, .card-text-price small {
    font-size : 1.1rem;
    font-family: var(--font-numeric);
}

.home_offres .card-footer {
    background-color: transparent;
    border : 0px;
}

.home_offres .card:hover {
    background-color: var(--bg-color-light);
    border : 1px solid var(--txt-color-secondary);
}
.home_offres .card:hover h3 {
    color : var(--txt-color-secondary);
}

.badge {
    background-color: var(--bg-color-light);
    border : 1px dashed var(--txt-color-secondary);
    color : var(--txt-color-primary);
    font-weight : 500;
    font-family: var(--font-text);
}
.badge .bi {
    margin-right : 4px;
}

/* Comment ça marche */
.home_how {
    background: var(--bg-color-light-gradient);
    width : 100%;
    
}
@media (min-width: 576px) {
	.home_how {  background-size: 160% auto; }
}
@media (min-width: 768px) {
	.home_how {  background-size: 140% auto; }
}
@media (min-width: 992px) {
	.home_how {  background-size: 120% auto; }
}
@media (min-width: 1200px) {
	.home_how {  background-size: 110% auto; }
}
@media (min-width: 1400px) {
	.home_how {  background-size: 100% auto;}
}
.home_how .container-lg {
    padding-top : 50px;
    padding-bottom : 50px;
}

.home_how h2 {
    margin-bottom : 50px;
    font-weight : 700;
    color : var(--txt-color-primary);
    animation: fadeInUp 0.8s ease forwards;
    text-transform: uppercase;
}


/* timeline */

.timeline {
    position: relative;
    padding: 30px 0;
    height : 660px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--txt-color-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--txt-color-primary);
    border-radius: 50%;
    top: 40px;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg-color-light);
    transition: background-color 0.2s ease, box-shadow 0.2s ease-in-out;
}
.timeline-item:hover::after {
    background-color: var(--txt-color-secondary);
    box-shadow: 0 0 0 4px var(--txt-color-primary);
}

.time_left {
    left: 0;
    text-align: right;
}
.time_right {
    left: 50%;
    text-align: left;
}

.time_left::after {
    right: -7px;
}

.time_right::after {
    left: -8px;
}

.right1 { top : -120px; }
.left2 { top : -150px; }
.right2 { top : -250px; }
.left3 { top : -320px; }

.timeline-content {
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-size : 0.9rem;
    background-color: transparent;
    border : 1px solid transparent;
    background: var(--bg-color-light-transparent-7);
    backdrop-filter: blur(10px); 
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    background-color: var(--bg-color-light);
    border : 1px solid var(--txt-color-secondary);
}

.timeline-content h3 {
    font-size : 1.3rem;
    width : 100%;
    color : var(--txt-color-primary);
    transition: color 0.2s ease;
    font-family: var(--font-text);
}
.timeline-item:hover .timeline-content h3 {
    color : var(--txt-color-secondary);
}
.timeline-item .bi {
    color: var(--txt-color-primary);
    font-size : 1.5rem;
    position : absolute;
    top : 10px;
}
.timeline-item:hover .bi {
    color : var(--txt-color-secondary);
}
.time_left .bi {
    left : 10px;
}
.time_right .bi {
    right : 10px;
}


/* Styles responsifs */
@media (max-width: 767px) {
    .timeline {
        position: relative;
        padding: 30px 0;
        height : auto;
    }
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-content h3 {
       width : 90%;
    }
    .time_left, .time_right {
        left: 0;
        text-align: left;
    }
    
    .time_left::after, .time_right::after {
        left: 32px;
    }
    .time_left .bi {
        right : 10px;
        left : auto;
    }
    .right1 { top : auto; }
    .left2 { top : auto; }
    .right2 { top : auto; }
    .left3 { top : auto; }
}
@media (min-width: 768px) and (max-width: 800px) { 
    .timeline {
        height : 980px;
    }
    .right1 { top : -230px; }
    .left2 { top : -220px; }
    .right2 { top : -410px; }
    .left3 { top : -510px; }
}
@media (min-width: 800px) and (max-width: 850px) { 
    .timeline {
        height : 930px;
    }
    .right1 { top : -250px; }
    .left2 { top : -220px; }
    .right2 { top : -410px; }
    .left3 { top : -490px; }
}
@media (min-width: 850px) and (max-width: 900px) { 
    .timeline {
        height : 900px;
    }
    .right1 { top : -220px; }
    .left2 { top : -200px; }
    .right2 { top : -360px; }
    .left3 { top : -450px; }
}
@media (min-width: 900px) and (max-width: 992px) { 
    .timeline {
        height : 850px;
    }
    .right1 { top : -200px; }
    .left2 { top : -200px; }
    .right2 { top : -360px; }
    .left3 { top : -420px; }
    .time_right h3 { width : 90%; }
}
@media (min-width: 992px) and (max-width: 1200px) { 
    .timeline {
        height : 800px;
    }
    .right1 { top : -180px; }
    .left2 { top : -200px; }
    .right2 { top : -330px; }
    .left3 { top : -410px; }
    .time_right h3 { width : 90%; }
}
@media (min-width: 1200px) and (max-width: 1400px) { 
    .timeline {
        height : 700px;
    }
    .right1 { top : -150px; }
    .left2 { top : -170px; }
    .right2 { top : -290px; }
    .left3 { top : -360px; }
}