

/* ---------------------------------------------
 * COLORS
 * --------------------------------------------- */

.text-pegasus-1{
    color:#0f4780 !important;
}
.text-pegasus-2{
    color : #2ba9e4 !important;
}

/* ---------------------------------------------
 * BACKGROUND IMAGE - COLOR
 * --------------------------------------------- */

.bg-secondary-deg {
    background: linear-gradient(to bottom, rgba(var(--bs-secondary-rgb), 1) 0%, #ffffff 100%);
}
.bg-pegasus-1{
    background-color:#0f4780 !important;
}
.bg-pegasus-2{
    background-color : #2ba9e4 !important;
}

.clip-oblic-rigth {
    position: relative !important;
    clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%) !important;
    z-index: 1 !important;
}


.wave-svg {
    display: block;
    width: 100%;
    height: auto;
    fill: rgba(0, 134, 205, 0.1); /* couleur du fond (comme bg-light) */
}

.svg-wrapper {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}


/*
    ANIMATION HEADER TEXT
 */
/* Container texte */
.shimmer-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Effet lumière */
.shimmer-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    height: 100%;
    width: 50%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 3.5s infinite;
}

.shimmer-text-1 {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Effet lumière */
.shimmer-text-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    height: 100%;
    width: 50%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: shimmer 7s alternate infinite;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}


.parallax-img {
    will-change: transform;
    transition: transform 0.2s ease-out;
}

/* ---------------------------
  1. Zoom sur l’image au hover
  ---------------------------- */

.card-img-scale-wrapper img {
    transition: transform 0.5s ease;
}
.card:hover .card-img-scale-wrapper img {
    transform: scale(1.1);
}

/* -----------------------------
  2. Flip horizontal de la carte
  ------------------------------ */

.card.flip-hover {
    perspective: 1000px;
}
.card.flip-hover .card-img-scale-wrapper {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.card.flip-hover:hover .card-img-scale-wrapper {
    transform: rotateY(180deg);
}

/* -------------------------------------------
  3. Wave / Floating card (lévitation subtile)
  -------------------------------------------- */
.card.wave-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.wave-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ---------------------------
  4. Brillance au survol
  ---------------------------- */
.card.shine-hover {
    position: relative;
    overflow: hidden;
}
.card.shine-hover::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.2) 100%);
    transform: rotate(25deg);
    transition: 0.7s;
}
.card.shine-hover:hover::before {
    top: 100%;
    left: 100%;
}






/* =================================================================================
 * Liste des icons flottant animé dans le Header
 * ================================================================================= */

.icon-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* pour que ça ne bloque rien au clic */
    z-index: 1;
}

.icon-curve img {
    position: absolute;
    width: 32px;
    opacity: 0.8;
    animation: floatRotate 10s ease-in-out infinite;
}

/* Positionnement le long d'une courbe manuelle (exemple simplifié) */
/*.icon-curve img:nth-child(1) { top: 30%; left: 5%; }*/
.icon-curve img:nth-child(1) { top: 75%; left: 25%; }
.icon-curve img:nth-child(2) { top: 28%; left: 30%; }
.icon-curve img:nth-child(3) { top: 70%; left: 70%; }

/* Animation flottante + rotation douce */
@keyframes floatRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}


/* =================================================================================

 */



/*
    Card content sub header activies preseantation
 */

.card-content-hover-visible .hover-content-visible {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    padding: 40px;
    opacity: 0.8;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.card-content-hover-visible:hover .hover-content-visible {
    visibility: visible;
    opacity: 1;
    transition: all 0.6s ease-in-out;
    bottom: 0;
}