/* Corrections des chemins pour les fichiers locaux */

/* Polices Google en local */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/nunito-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/nunito-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/nunito-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}

/* Polices icônes */
@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/fa-brands-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Flaticon';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/Flaticon.woff2') format('woff2');
}

@font-face {
    font-family: 'simple-line-icons';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/Simple-Line-Icons.woff2') format('woff2');
}

@font-face {
    font-family: 'ElegantIcons';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/ElegantIcons.woff') format('woff');
}

/* Icones de décoration */
.icon-pink-blur {
    background-image: url('../images/icons/pink-blur.png') !important;
}

.icon-green-blur {
    background-image: url('../images/icons/green-blur.png') !important;
}

.icon-blue-blur {
    background-image: url('../images/icons/blue-blur.png') !important;
}

.icon-yellow-blur {
    background-image: url('../images/icons/yellow-blur.png') !important;
}

.shape-5 {
    background-image: url('../images/icons/shape-5.png') !important;
}

/* Cercles animés */
.icon-circle-1 {
    background-image: url('../images/icons/icon-circle-1.png') !important;
}

.icon-circle-2 {
    background-image: url('../images/icons/icon-circle-2.png') !important;
}

.icon-circle-3 {
    background-image: url('../images/icons/icon-circle-3.png') !important;
}

/* Triangles animés */
.icon-triangle-1 {
    background-image: url('../images/icons/icon-triangle-1.png') !important;
}

.icon-triangle-2 {
    background-image: url('../images/icons/icon-triangle-2.png') !important;
}

/* Fond violet derrière le téléphone */
.banner-section .layer-image {
    background-image: url('../images/icons/1.png') !important;
}

/* Masquer le preloader */
.preloader {
    display: none !important;
}

/* Fix pour les icônes Font Awesome */
.fa, .fas {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

.far {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 400 !important;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: #8a57de;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    display: none;
    transition: background 0.3s;
}

.scroll-to-top:hover {
    background: #6a3db8;
}

/* Fix pour Flaticon */
[class^="flaticon-"]:before,
[class*=" flaticon-"]:before {
    font-family: 'Flaticon' !important;
}

/* Fix pour ElegantIcons */
.icon_plus:before {
    font-family: 'ElegantIcons' !important;
}

/* Fond des feature blocks (icônes) */
.feature-block .icon-box:before {
    background-image: url('../images/icons/small-shape-1.png') !important;
}

/* Header fixe au scroll */
.main-header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 300ms ease;
}

.main-header.fixed-header {
    background-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 10px 20px rgba(42, 38, 49, 0.08) !important;
}

/* Espace pour le header fixe */
.banner-section {
    padding-top: 80px;
}

/* Carousel Press - Navigation arrows */
.testimonial-carousel-three .owl-nav {
    display: block !important;
}

.testimonial-carousel-three .owl-nav .owl-prev,
.testimonial-carousel-three .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #8a57de !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.testimonial-carousel-three .owl-nav .owl-prev {
    left: -25px;
}

.testimonial-carousel-three .owl-nav .owl-next {
    right: -25px;
}

.testimonial-carousel-three .owl-nav .owl-prev:hover,
.testimonial-carousel-three .owl-nav .owl-next:hover {
    background: #6a3db8 !important;
}

/* Carousel Press - Dots (bullets) */
.testimonial-carousel-three .owl-dots {
    display: block !important;
    text-align: center;
    margin-top: 30px;
}

.testimonial-carousel-three .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #d4d4d4 !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-carousel-three .owl-dot.active,
.testimonial-carousel-three .owl-dot:hover {
    background: #8a57de !important;
}

/* Mockup iPhone pour les screenshots */
.app-screenshots-one .carousel-outer .mockup-layer {
    background: url('../images/icons/iphone-mockup-one.png') center top no-repeat !important;
}

.app-screenshots-one .carousel-outer .mockup-layer:before {
    background: url('../images/icons/iphone-mockup-one.png') left top no-repeat !important;
}

.app-screenshots-one .carousel-outer .mockup-layer:after {
    background: url('../images/icons/iphone-mockup-one.png') right top no-repeat !important;
}

.app-screenshots-one .carousel-outer .mockup-layer-2 {
    background: url('../images/icons/iphone-mockup-one.png') center top no-repeat !important;
}

.app-screenshots-one .carousel-outer .mockup-layer-3 {
    background: url('../images/icons/iphone-mockup-one.png') center bottom no-repeat !important;
}

.app-screenshots-one .carousel-outer .shadow-layer {
    background: url('../images/icons/iphone-shadow.png') center top no-repeat !important;
}

/* Carousel Press - Masquer les flèches */
.testimonial-carousel-three .owl-nav {
    display: none !important;
}

/* Dots horizontaux pour la presse */
.testimonial-carousel-three .owl-dots {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: flex !important;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-carousel-three .owl-dot {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background: #d4d4d4 !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.testimonial-carousel-three .owl-dot.active,
.testimonial-carousel-three .owl-dot:hover {
    background: #8a57de !important;
}

/* Amélioration de l'affichage */
body {
    overflow-x: hidden;
}

.screenshot-carousel img {
    max-width: 100%;
    height: auto;
}

/* Cacher l'iPhone de la bannière avant l'animation WOW.js */
.banner-section .image-box .wow {
    visibility: hidden;
}

/* Masquer les screenshots qui dépassent à droite du téléphone */
.app-screenshots-one .carousel-outer {
    overflow: hidden !important;
}

.app-screenshots-one .owl-stage-outer {
    width: 100% !important;
    overflow: hidden !important;
}
