@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1622372738946-62e02505feb3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
}
/*Je prends des images directement hébergée en ligne sur CDN*/

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.before-after {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.before-after img {
    width: 100%;
    height: auto;
    display: block;
}

.before-after .slider {
    position: absolute;
    appearance: none;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    margin: 0;
    transition: all .2s;
    top: 0;
}

.before-after .slider::-webkit-slider-thumb,
.before-after .slider::-moz-range-thumb {
    width: 4px;
    height: 100vh;
    background: white;
    cursor: pointer;
    border: none;
}

.btn-cta {
    position: relative;
    overflow: hidden;
}

.btn-cta:hover::after {
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    bottom: -30px;
    left: -30px;
    border: 5px solid rgba(217, 119, 6, 0.4);
    border-radius: 9999px;
    transition: all 0.3s ease;
}


