/* Section de rémunération */

/* Centrage du contenu des cartes de service */
.service-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 20px;
    width: 100%;
}

/* Ajustement des marges pour les éléments internes */
.service-item-content h3,
.service-item-content .tier-percentage,
.service-item-content p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustement pour le conteneur d'exemple */
.tier-example {
    width: 100%;
    max-width: 100%;
}


/* Configuration générale de la section */
.remuneration-section {
    background-color: #f8f9fa;  /* Fond gris clair */
    padding: 80px 0;           /* Espacement vertical */
}

/* Boîte d'information principale */
.remuneration-info-box {
    background: #fff;          /* Fond blanc */
    border-radius: 15px;       /* Coins arrondis */
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);  /* Ombre légère */
    padding: 40px;            /* Espacement interne */
    position: relative;        /* Positionnement relatif */
    overflow: hidden;         /* Cache le contenu débordant */
}

/* Carte de niveau */
.tier-card {
    background: #fff;          /* Fond blanc */
    border-radius: 12px;       /* Coins arrondis */
    padding: 30px 25px;        /* Espacement interne */
    height: 100%;             /* Hauteur maximale */
    border: 1px solid #e9ecef;  /* Bordure légère */
    transition: all 0.3s ease;  /* Transition douce */
    position: relative;        /* Positionnement relatif */
    text-align: center;       /* Texte centré */
}

/* Carte de niveau mise en avant */
.tier-card.featured {
    border: 2px solid #6c5ce7;  /* Bordure violette */
    transform: translateY(-10px);  /* Élévation */
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.15);  /* Ombre plus prononcée */
}

/* Effet au survol des cartes */
.tier-card:hover {
    transform: translateY(-5px);  /* Élévation légère */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);  /* Ombre plus prononcée */
}

/* Effet au survol de la carte mise en avant */
.tier-card.featured:hover {
    transform: translateY(-15px);  /* Élévation plus prononcée */
}

/* En-tête de la carte */
.tier-header {
    margin-bottom: 20px;      /* Espacement en bas */
    padding-bottom: 15px;     /* Espacement en bas */
    border-bottom: 1px solid #f1f1f1;  /* Séparateur */
}

/* Titre de la carte */
.tier-header h3 {
    font-size: 22px;          /* Taille du texte */
    font-weight: 700;         /* Poids du texte */
    margin-bottom: 5px;       /* Espacement en bas */
    color: #2d3436;           /* Couleur du texte */
}

/* Pourcentage de rémunération */
.tier-percentage {
    font-size: 32px;          /* Taille du texte */
    font-weight: 800;         /* Poids du texte */
    color: #6c5ce7;           /* Couleur violette */
    padding: 10px 0;          /* Espacement vertical */
}

/* Plage de rémunération */
.tier-range {
    font-size: 16px;          /* Taille du texte */
    color: #636e72;           /* Couleur du texte */
    margin-bottom: 20px;      /* Espacement en bas */
    font-weight: 500;         /* Poids du texte */
}

/* Exemple de rémunération */
.tier-example {
    background: #0000005c;    /* Fond semi-transparent */
    padding: 15px;           /* Espacement interne */
    border-radius: 8px;      /* Coins arrondis */
    margin-top: 20px;        /* Espacement en haut */
}

/* Texte de l'exemple */
.tier-example p {
    margin-bottom: 10px;      /* Espacement en bas */
    color: #636e72;           /* Couleur du texte */
    font-size: 14px;          /* Taille du texte */
}

/* Montant en diamants */
.diamond-amount {
    font-size: 24px;          /* Taille du texte */
    font-weight: 700;         /* Poids du texte */
    color: #6c5ce7;           /* Couleur violette */
    display: flex;           /* Flexbox */
    align-items: center;     /* Centrage vertical */
    justify-content: center;  /* Centrage horizontal */
}

/* Icône des diamants */
.diamond-amount i {
    margin-right: 8px;        /* Espacement à droite */
    color: #00cec9;           /* Couleur turquoise */
}

/* Bannière d'avertissement - Style adapté au thème */
.alert-warning {
    background: var(--secondary-color);
    border: 1px solid var(--divider-color);
    border-left: 4px solid var(--accent-color);
    color: var(--text-color);
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.7;
    margin: 25px 0 30px;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Fond avec effet de bruit */
.alert-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.8;
    mix-blend-mode: overlay;
}

/* Effet de bordure animée */
.alert-warning::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(108, 92, 231, 0.8) 0%, 
        rgba(4, 255, 254, 0.6) 50%, 
        rgba(108, 92, 231, 0.8) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    -webkit-mask-composite: source-out;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    opacity: 0.8;
    animation: borderGradient 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.alert-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-secondary-color, #00cec9);
}

/* Style de l'icône */
.alert-warning i {
    color: var(--accent-color);
    font-size: 1.3em;
    margin-right: 12px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Style du texte en gras */
.alert-warning strong {
    color: var(--heading-color);
    font-weight: 700;
    margin-right: 5px;
}

/* Animation de l'icône */
.alert-warning i.fa-exclamation-triangle {
    animation: tikPulse 2s infinite ease-in-out;
}

@keyframes tikPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-200%); }
    100% { transform: rotate(45deg) translateX(200%); }
}

.alert-warning i {
    animation: pulse 3s infinite;
}

/* Effet de flottement pour les éléments importants */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.alert-warning .highlight-conditions {
    animation: float 4s ease-in-out infinite;
}

.alert-warning .highlight-conditions:nth-child(2n) {
    animation-delay: 0.5s;
}

.alert-warning .highlight-conditions:nth-child(3n) {
    animation-delay: 1s;
}

.alert-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.15);
}

/* Style pour le texte */
.alert-warning p {
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Mise en valeur des conditions importantes */
.alert-warning .highlight-conditions {
    display: inline-block;
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--accent-color);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin: 0 4px;
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.alert-warning .highlight-conditions:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-1px);
}

/* Style du texte en gras */
.alert-warning strong {
    color: var(--heading-color);
    font-weight: 600;
    margin-right: 5px;
}

.remuneration-note {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .tier-card {
        margin-bottom: 30px;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .tier-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767.98px) {
    .remuneration-info-box {
        padding: 25px 20px;
    }
    
    .tier-header h3 {
        font-size: 20px;
    }
    
    .tier-percentage {
        font-size: 23px;
    }
}

