/*==========================================
VARIABLES
==========================================*/

:root{

    --primary:#23ABFF;
    --primary-dark:#0F6CBD;
    --secondary:#ff6b35;
    --success:#27ae60;
    --danger:#e74c3c;

    --dark:#1f2937;
    --gray:#6b7280;

    --light:#f5f7fb;
    --white:#ffffff;

    --shadow:0 15px 40px rgba(0,0,0,.10);
    --shadow-hover:0 25px 60px rgba(35,171,255,.18);

    --radius:22px;

    --transition:.35s ease;

}


/*==========================================
RESET
==========================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    color:var(--dark);

    background:
    radial-gradient(circle at top left,
    rgba(35,171,255,.12),
    transparent 35%),

    radial-gradient(circle at bottom right,
    rgba(35,171,255,.10),
    transparent 35%),

    var(--light);

    overflow-x:hidden;

    line-height:1.7;

}


/*==========================================
CONTAINER
==========================================*/

.container{

    width:min(92%,1320px);

    margin:auto;

}


/*==========================================
SELECTION
==========================================*/

::selection{

    background:var(--primary);

    color:var(--white);

}


/*==========================================
LIENS
==========================================*/

a{

    text-decoration:none;

    color:inherit;

}


/*==========================================
IMAGES
==========================================*/

img{

    display:block;

    max-width:100%;

}


/*==========================================
TRANSITIONS
==========================================*/

button,
input,
a{

    transition:var(--transition);

}


/*==========================================
HERO
==========================================*/

.hero-categories{

    position:relative;

    overflow:hidden;

    padding:110px 0 90px;

    background:
    linear-gradient(135deg,#ffffff 0%,#f7fbff 100%);

}


/*==========================================
HALOS
==========================================*/

.hero-categories::before{

    content:"";

    position:absolute;

    width:520px;
    height:520px;

    background:
    radial-gradient(circle,
    rgba(35,171,255,.22),
    transparent 70%);

    top:-220px;
    left:-180px;

    pointer-events:none;

}

.hero-categories::after{

    content:"";

    position:absolute;

    width:460px;
    height:460px;

    background:
    radial-gradient(circle,
    rgba(35,171,255,.18),
    transparent 70%);

    bottom:-180px;
    right:-140px;

    pointer-events:none;

}


/*==========================================
OVERLAY
==========================================*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(
    rgba(255,255,255,.12),
    rgba(255,255,255,.12));

}


/*==========================================
CONTENU
==========================================*/

.hero-content{

    position:relative;

    z-index:2;

    text-align:center;

    max-width:900px;

    margin:auto;

}


/*==========================================
BADGE
==========================================*/

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 24px;

    border-radius:50px;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(18px);

    border:1px solid rgba(35,171,255,.18);

    color:var(--primary-dark);

    font-weight:600;

    box-shadow:0 12px 30px rgba(35,171,255,.12);

    margin-bottom:28px;

}

.hero-badge i{

    color:var(--secondary);

    font-size:18px;

}


/*==========================================
TITRE
==========================================*/

.hero-content h1{

    font-size:clamp(2.8rem,6vw,4.5rem);

    font-weight:800;

    color:var(--dark);

    line-height:1.15;

    margin-bottom:22px;

    letter-spacing:-1px;

}


/*==========================================
PARAGRAPHE
==========================================*/

.hero-content p{

    max-width:760px;

    margin:auto;

    color:var(--gray);

    font-size:1.12rem;

    line-height:1.9;

}


/*==========================================
RESPONSIVE HERO
==========================================*/

@media(max-width:768px){

.hero-categories{

    padding:80px 0 70px;

}

.hero-content h1{

    font-size:2.4rem;

}

.hero-content p{

    font-size:1rem;

}

.hero-badge{

    padding:10px 18px;

    font-size:.9rem;

}

}



/*==========================================
RECHERCHE
==========================================*/

.hero-search{

    margin:55px auto 45px;

    max-width:700px;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    border:1px solid rgba(35,171,255,.10);

    border-radius:70px;

    padding:10px;

    display:flex;

    align-items:center;

    gap:12px;

    box-shadow:
    0 20px 45px rgba(35,171,255,.10);

    transition:var(--transition);

}

.hero-search:hover{

    transform:translateY(-3px);

    box-shadow:
    0 25px 60px rgba(35,171,255,.18);

}

.hero-search:focus-within{

    border-color:rgba(35,171,255,.35);

    box-shadow:
    0 0 0 6px rgba(35,171,255,.08),
    0 20px 55px rgba(35,171,255,.18);

}


/*==========================================
INPUT
==========================================*/

.hero-search input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    padding:18px 22px;

    font-size:1rem;

    font-family:'Poppins',sans-serif;

    color:var(--dark);

}

.hero-search input::placeholder{

    color:#9ca3af;

}


/*==========================================
BOUTON
==========================================*/

.hero-search button{

    width:62px;

    height:62px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.1rem;

    color:var(--white);

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark));

    box-shadow:
    0 12px 28px rgba(35,171,255,.35);

    transition:var(--transition);

}

.hero-search button:hover{

    transform:scale(1.08) rotate(8deg);

    box-shadow:
    0 18px 35px rgba(35,171,255,.45);

}

.hero-search button:active{

    transform:scale(.96);

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:768px){

.hero-search{

    margin:40px auto;

    padding:8px;

}

.hero-search input{

    padding:15px 16px;

    font-size:.95rem;

}

.hero-search button{

    width:54px;

    height:54px;

    font-size:1rem;

}

}




/*==========================================
STATISTIQUES
==========================================*/

.hero-stats{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}


/*==========================================
CARTE
==========================================*/

.hero-stats>div{

    position:relative;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    border:1px solid rgba(35,171,255,.12);

    border-radius:var(--radius);

    padding:28px 20px;

    text-align:center;

    box-shadow:var(--shadow);

    overflow:hidden;

    transition:var(--transition);

}


/* Halo décoratif */

.hero-stats>div::before{

    content:"";

    position:absolute;

    width:130px;
    height:130px;

    background:

    radial-gradient(circle,
    rgba(35,171,255,.20),
    transparent 70%);

    top:-60px;
    right:-60px;

    transition:var(--transition);

}


/*==========================================
ANIMATION
==========================================*/

.hero-stats>div:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

    border-color:rgba(35,171,255,.25);

}

.hero-stats>div:hover::before{

    transform:scale(1.35);

}


/*==========================================
NOMBRE
==========================================*/

.hero-stats h2{

    font-size:2.3rem;

    font-weight:800;

    color:var(--primary-dark);

    margin-bottom:8px;

    line-height:1;

}


/*==========================================
TEXTE
==========================================*/

.hero-stats span{

    display:block;

    color:var(--gray);

    font-size:.95rem;

    font-weight:500;

    letter-spacing:.3px;

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:900px){

    .hero-stats{

        grid-template-columns:1fr;

        gap:18px;

        margin-top:45px;

    }

    .hero-stats>div{

        padding:24px;

    }

}




/*==========================================
SECTION CATÉGORIES
==========================================*/

.categories-section{

    position:relative;

    padding:100px 0 120px;

}


/*==========================================
TITRE
==========================================*/

.section-title{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}


/*==========================================
PETIT BADGE
==========================================*/

.section-title span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    margin-bottom:22px;

    border-radius:50px;

    background:rgba(35,171,255,.10);

    color:var(--primary-dark);

    font-size:.82rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    border:1px solid rgba(35,171,255,.15);

}


/*==========================================
GRAND TITRE
==========================================*/

.section-title h2{

    font-size:clamp(2rem,4vw,3.2rem);

    font-weight:800;

    color:var(--dark);

    line-height:1.2;

    margin-bottom:18px;

    letter-spacing:-1px;

}


/*==========================================
DESCRIPTION
==========================================*/

.section-title p{

    max-width:640px;

    margin:auto;

    color:var(--gray);

    font-size:1.08rem;

    line-height:1.9;

}


/*==========================================
LIGNE DÉCORATIVE
==========================================*/

.section-title::after{

    content:"";

    display:block;

    width:90px;

    height:5px;

    margin:32px auto 0;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        var(--primary),
        #6fd4ff
    );

    box-shadow:0 8px 20px rgba(35,171,255,.30);

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:768px){

    .categories-section{

        padding:70px 0 90px;

    }

    .section-title{

        margin-bottom:50px;

    }

    .section-title h2{

        font-size:2rem;

    }

    .section-title p{

        font-size:1rem;

    }

}



/*==========================================
GRILLE
==========================================*/

.categories-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    align-items:stretch;

}


/*==========================================
CARTE
==========================================*/

.categorie-card{

    position:relative;

    display:flex;

    flex-direction:column;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    border:1px solid rgba(35,171,255,.08);

    border-radius:30px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:all .45s ease;

}


/* Halo lumineux */

.categorie-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at top right,
    rgba(35,171,255,.16),
    transparent 55%);

    opacity:0;

    transition:.45s;

    pointer-events:none;

}


/* Hover */

.categorie-card:hover{

    transform:translateY(-14px);

    box-shadow:
    0 30px 70px rgba(35,171,255,.18);

    border-color:rgba(35,171,255,.20);

}

.categorie-card:hover::before{

    opacity:1;

}


/*==========================================
IMAGE
==========================================*/

.card-top{

    position:relative;

    height:250px;

    overflow:hidden;

}


/* voile blanc */

.card-top::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(
    to top,
    rgba(255,255,255,.12),
    transparent);

}


.card-top img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .8s ease;

}


.categorie-card:hover .card-top img{

    transform:scale(1.10);

}


/*==========================================
BODY
==========================================*/

.card-body{

    position:relative;

    display:flex;

    flex-direction:column;

    flex:1;

    padding:32px;

}


/*==========================================
ICONE
==========================================*/

.card-icon{

    width:72px;

    height:72px;

    border-radius:22px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:-68px;

    margin-bottom:22px;

    background:

    linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark));

    color:white;

    font-size:28px;

    box-shadow:

    0 18px 35px rgba(35,171,255,.35);

    transition:.4s;

}


.categorie-card:hover .card-icon{

    transform:rotate(-8deg) scale(1.08);

}


/*==========================================
TITRE
==========================================*/

.card-body h3{

    font-size:1.65rem;

    font-weight:700;

    color:var(--dark);

    margin-bottom:10px;

}


/*==========================================
DESCRIPTION
==========================================*/

.card-body p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:30px;

    flex:1;

}


/*==========================================
FOOTER
==========================================*/

.card-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-top:25px;

    border-top:1px solid rgba(35,171,255,.08);

}


/* nombre */

.card-footer strong{

    display:block;

    color:var(--primary-dark);

    font-size:1.45rem;

    font-weight:800;

}

.card-footer span{

    color:var(--gray);

    font-size:.92rem;

}


/*==========================================
FLECHE
==========================================*/

.arrow{

    width:58px;

    height:58px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:

    linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark));

    color:white;

    font-size:20px;

    transition:.35s;

    box-shadow:

    0 12px 25px rgba(35,171,255,.25);

}


.categorie-card:hover .arrow{

    transform:translateX(8px);

}


/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:768px){

    .categories-grid{

        grid-template-columns:1fr;

        gap:28px;

    }

    .card-top{

        height:220px;

    }

    .card-body{

        padding:26px;

    }

}