/* ==========================================
   VARIABLES ET CONFIGURATION
   ========================================== */
:root {
    /* Couleurs des réseaux sociaux */
    --linkedin-color: #0077b5;
    --youtube-color: #ff0000;
    --spotify-color: #1DB954;
    --website-color: #4a6f97;
    
    /* Couleurs du thème Fresh */
    --primary-color: #2F3B41;
    --secondary-color: #546670;
    --text-color: #333;
    --light-color: #eef7f5;
    --dark-color: #2F3B41;
    --accent-color: #00B894;
    --accent-color-light: #7FEDD1;
    --accent-gradient: linear-gradient(135deg, #00B894, #7FEDD1);
    
    /* Backgrounds */
    --section-alt-bg: #e0f2ed;
    --hero-bg: var(--section-alt-bg);
    --card-bg: white;
    --header-bg: var(--primary-color);
    --footer-bg: var(--primary-color);
    --timeline-bg: white;
    
    /* Textes */
    --footer-text: white;
    --header-text: white;
    --text-xs: 0.85rem;
    --text-sm: 0.9rem;
    --text-md: 1rem;
    --text-lg: 1.05rem;
    --text-xl: 1.2rem;
    --text-2xl: 1.4rem;
    --text-3xl: 1.8rem;
    --text-4xl: 2rem;
    --text-5xl: 2.7rem;
    
    /* Éléments UI */
    --icon-bg: var(--accent-color);
    --icon-color: white;
    --highlight-bg: white;
    
    /* Effets */
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --highlight-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    --card-radius: 14px;
    --border-style: 2px solid #eef2f3;
    --transition: all 0.3s ease;
    
    /* Typographie */
    --font-family: 'Roboto', sans-serif;
    --heading-font: 'Roboto', sans-serif;
}

/* ==========================================
   RESET ET STYLES DE BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    transition: background-color 0.5s ease;
}

.container {
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ==========================================
   CLASSES UTILITAIRES
   ========================================== */
/* Classes utilitaires de texte */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-md { font-size: var(--text-md); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-light { color: var(--light-color); }

.text-italic { font-style: italic; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.text-bold { font-weight: 700; }
.text-semibold { font-weight: 600; }
.text-medium { font-weight: 500; }
.text-normal { font-weight: 400; }

.text-highlight {
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 184, 148, 0.1) 40%);
    padding: 0 2px;
}

/* Classe pour transition simple - l'animation flottante a été supprimée */
.float-animation {
    transition: transform 0.3s ease;
}

/* Classes pour les icônes */
.icon-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
    background-color: var(--icon-bg);
}

/* Classe tile pour tous les éléments en forme de carte */
.tile {
    background-color: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border: var(--border-style);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Effet de barre latérale au survol */
.side-bar-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-gradient);
    transition: height 0.4s ease;
    border-top-left-radius: var(--card-radius);
    border-bottom-left-radius: var(--card-radius);
    z-index: 0;
}

.side-bar-effect:hover::before {
    height: 100%;
}

/* Effet de survol avec dégradé */
.highlight-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.05) 0%, transparent 80%);
    border-radius: var(--card-radius);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.highlight-gradient:hover::before {
    opacity: 1;
}

/* Effet de liste avec puces */
.bullet-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* ==========================================
   TYPOGRAPHIE
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0;
    z-index: 2;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 16px;
    background-color: rgba(0, 184, 148, 0.12);
    border-radius: 0;
    z-index: -1;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: 600;
    margin-bottom: 2.25rem;
    text-align: left;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 0.8rem 0 0;
    background: var(--accent-gradient);
    border-radius: 20px;
}

/* Titres de section centrés */
.role h2, .engagements h2, .evenements h2, .passions h2, .contact h2 {
    text-align: center;
}

.role h2::after, .engagements h2::after, .evenements h2::after, .passions h2::after, .contact h2::after {
    margin: 0.8rem auto 0;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 0.75rem;
    font-size: var(--text-md);
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
    margin-bottom: 0.75rem;
}

/* Optimisation: tous les éléments strong héritent des styles text-accent et text-highlight */
strong {
    font-weight: 600;
    color: var(--accent-color);
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 184, 148, 0.1) 40%);
    padding: 0 2px;
}

/* ==========================================
   HEADER ET NAVIGATION
   ========================================== */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    padding: 0.75rem 0;
    position: relative;
}

.logo {
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-text);
    white-space: nowrap;
}

/* Menu principal */
.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    flex-grow: 1;
    max-width: 580px;
    margin-right: 0.5rem;
}

.nav-links li {
    padding: 0 0.7rem;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--accent-color);
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s ease;
    padding: 5px 0;
    font-size: var(--text-sm);
}

.nav-links a:hover {
    color: white;
}

/* Animation sous les liens */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 1;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Bouton LinkedIn */
.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-linkedin {
    margin-left: 0;
}

.linkedin-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--linkedin-color);
    color: white !important;
    padding: 0.45rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: var(--text-xs);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Effet de pulsation angulaire en haut à droite */
.linkedin-button::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.linkedin-button:hover::before {
    animation: cornerPulse 1.2s infinite;
    opacity: 1;
}

@keyframes cornerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.linkedin-button:hover {
    background-color: #005d93;
    transform: translateY(-2px);
    color: white !important;
}

.linkedin-button i {
    margin-right: 0.5rem;
}

/* Menu burger */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Navigation overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-active + .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Animation pour les liens du menu mobile */
@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* État du burger en mode ouvert */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================
   SECTION HERO
   ========================================== */
.hero {
    padding: 4rem 0;
    background-color: var(--hero-bg);
    text-align: left;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

/* Image de profil */
.hero-image {
    flex-shrink: 0;
}

.hero-image .portrait {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    z-index: 1;
}

.hero-image .portrait:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 184, 148, 0.5);
}

/* Effet de pulsation sur la photo */
.hero-image .portrait::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(0, 184, 148, 0.2);
    animation: pulse 2s infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image .portrait:hover::after {
    opacity: 1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.05); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Texte d'introduction */
.hero-text {
    text-align: left;
    max-width: 600px;
}

.hero h2 {
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.hero p {
    margin: 0 0 0.75rem;
    font-size: var(--text-lg);
}

/* ==========================================
   HIGHLIGHTS 
   ========================================== */
.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    flex: 1 1 calc(33.33% - 1rem);
    min-width: 200px;
    display: flex;
    align-items: flex-start;
}

.highlight-icon {
    margin-right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: var(--icon-color);
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ajout d'un effet subtil au survol */
.highlight-item:hover .highlight-icon {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-content {
    font-size: var(--text-sm);
}

/* ==========================================
   SECTIONS GÉNÉRALES
   ========================================== */
/* Structure commune pour toutes les sections */
.role, .engagements, .evenements, .passions, .contact {
    padding: 3.5rem 0;
    scroll-margin-top: 100px;
}

.role, .evenements {
    background-color: var(--card-bg);
}

.engagements, .passions, .contact {
    background-color: var(--section-alt-bg);
}

/* Cartes des rôles et engagements */
.role-cards, .engagement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.role-card {
    position: relative;
    padding-top: 20px; /* Espace réduit en haut */
    padding-bottom: 20px; /* Même espace en bas qu'en haut */
}

/* Styles pour les titres dans les cartes de rôle */
.role-card h3 {
    padding-right: 90px; /* Espace pour le logo standard */
    margin-top: 0; /* Élimine la marge supérieure */
    position: relative;
    z-index: 1;
}

/* Styles pour les sous-titres */
.role-card .subtitle {
    color: var(--secondary-color);
    font-size: var(--text-md);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.role-card .subtitle a, .engagement-card a {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.role-card .subtitle a:hover, .engagement-card a:hover {
    color: var(--primary-color);
}

/* Style pour les titres dans les cartes d'engagement - sans barre sous les titres */
.engagement-card h3 {
    margin-bottom: 1rem;
    position: relative;
}

/* Barre sous les titres supprimée */

/* Correction de l'effet de barre latérale pour les cartes d'engagement */
.engagement-card.side-bar-effect {
    overflow: visible;
}

.engagement-card.side-bar-effect::before {
    left: 0;
    border-top-left-radius: var(--card-radius);
    border-bottom-left-radius: var(--card-radius);
    z-index: 1;
}

/* Description du podcast */
.engagement-card .cc-description {
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Liens des réseaux sociaux */
.engagement-card .cc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.engagement-card .cc-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: var(--text-sm);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.engagement-card .cc-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Effet de surbrillance sur les liens */
.engagement-card .cc-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 4px;
}

.engagement-card .cc-link:hover::after {
    opacity: 1;
}

/* Couleurs spécifiques pour les plateformes */
.engagement-card .cc-link.youtube:hover {
    background-color: var(--youtube-color);
}

.engagement-card .cc-link.spotify:hover {
    background-color: var(--spotify-color);
}

.engagement-card .cc-link.linkedin:hover {
    background-color: var(--linkedin-color);
}

.engagement-card .cc-link.website:hover {
    background-color: var(--website-color);
}

.engagement-card .cc-link i {
    margin-right: 0.5rem;
}

/* Style pour les logos d'entreprise dans les cartes */
.company-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: auto;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 1; /* Assure que le logo est au-dessus du contenu */
}

/* Style pour le lien entourant le logo */
.role-card > a {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.role-card > a:hover .company-logo {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.role-card > a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, rgba(0, 184, 148, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    pointer-events: none;
}

.role-card > a:hover::after {
    opacity: 1;
    animation: pulseLogo 2s infinite;
}

@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Style spécifique pour le logo PlaniBIM */
.logo-planibim {
    width: 120px; /* 1.5x plus grand que la valeur standard */
}

/* Ajustement spécifique pour la carte avec le logo PlaniBIM */
.role-card:nth-child(2) h3 {
    padding-right: 130px; /* Espace plus grand pour le logo PlaniBIM */
}

/* Ajustement mobile pour éviter que les logos ne coupent le texte "chez..." */
@media screen and (max-width: 768px) {
    .company-logo {
        width: 60px;
    }
    
    .logo-planibim {
        width: 90px;
    }
    
    .role-card h3 {
        padding-right: 70px;
    }
    
    .role-card:nth-child(2) h3 {
        padding-right: 100px;
    }
    
    .role-card .subtitle {
        padding-right: 70px;
    }
}

/* ==========================================
   TIMELINE
   ========================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 100px;
    margin-left: -1px;
    z-index: 0;
}

/* Effet de point sur la timeline */
.timeline::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
    left: 100px;
    margin-left: -7.5px;
    top: 0;
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding: 0 0 1.5rem 130px;
}

/* Effet subtil au survol des éléments de timeline */
.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-year {
    position: absolute;
    width: 80px;
    text-align: right;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--primary-color);
    background-color: var(--light-color);
    padding: 0 5px;
    z-index: 1;
}

.timeline-content li.event-highlight {
    margin-bottom: 2rem;
}

/* Images dans la timeline */
.event-image {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Effet subtil au survol du conteneur d'image */
.event-image:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Effet de zoom sur l'image au survol */
.event-image img:hover {
    transform: scale(1.05);
}

.image-caption {
    padding: 0.75rem;
    font-size: var(--text-sm);
    color: #666;
    text-align: center;
    font-style: italic;
    background-color: var(--timeline-bg);
    border-bottom-left-radius: var(--card-radius);
    border-bottom-right-radius: var(--card-radius);
    border-top: 1px solid #eee;
}

/* ==========================================
   PASSIONS & INTERESTS
   ========================================== */
.passion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.passion-icon {
    font-size: 2.2rem;
    color: var(--icon-color);
    margin-bottom: 1.2rem;
    background-color: var(--icon-bg);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ajout d'un effet subtil au survol de la carte */
.passion-item:hover .passion-icon {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.passion-item h3 {
    margin-bottom: 0.75rem;
    text-align: left;
}

.passion-item p {
    font-size: var(--text-sm);
    text-align: left;
}

/* Current passions */
.current-passions {
    margin-top: 3rem;
}

.current-passions h3 {
    font-size: var(--text-xl);
    margin-bottom: 1.5rem;
    text-align: left;
    color: var(--primary-color);
}

.current-passions-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.current-passion-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.current-passion-row:hover {
    transform: translateY(-3px);
}

.current-passion-icon {
    width: 40px;
    height: 40px;
    background-color: var(--icon-bg);
    color: var(--icon-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet subtil au survol */
.current-passion-row:hover .current-passion-icon {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.current-passion-row p {
    margin-bottom: 0;
    font-size: var(--text-sm);
    line-height: 1.4;
}

/* ==========================================
   CALL TO ACTION & FOOTER
   ========================================== */
.contact {
    text-align: center;
}

/* Conteneur pour le bouton CTA qui contient le débordement */
.cta-button-container {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 15px;
    overflow: visible;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background-color: var(--linkedin-color);
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 15px rgba(0, 121, 181, 0.2);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background-color: #005d93;
    transform: translateY(-7px) scale(1.05);
    box-shadow: 0 20px 35px rgba(0, 121, 181, 0.4);
    letter-spacing: 0.5px;
}

/* Effet de chargement animé autour du bouton */
.cta-button::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 4px;
    background: transparent;
    border: 2px solid var(--linkedin-color);
    opacity: 0;
    z-index: -1;
    animation: ctaPulse 2s infinite;
    transition: all 0.4s ease;
    pointer-events: none;
}

.cta-button:hover::after {
    animation: ctaPulseHover 0.8s infinite;
    border-width: 3px;
    border-color: rgba(0, 119, 181, 0.8);
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    opacity: 1;
}

@keyframes ctaPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@keyframes ctaPulseHover {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.note {
    margin-top: 0.8rem;
    color: #666;
}

footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 1.5rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0;
    font-size: var(--text-sm);
}

/* ==========================================
   ANIMATIONS (supprimé floatAnimation qui n'est plus utilisé)
   ========================================== */

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
/* Écrans larges */
@media screen and (min-width: 1300px) {
    .container {
        max-width: 1200px;
    }
    
    .role-cards, .engagement-cards {
        gap: 2.5rem;
    }
}

/* Écrans moyens */
@media screen and (min-width: 1000px) {
    .passion-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .highlights {
        flex-wrap: nowrap;
    }
    
    .highlight-item {
        min-width: 0;
    }
}

@media screen and (max-width: 1100px) and (min-width: 769px) {
    .container {
        width: 92%;
        padding: 0 10px;
    }
    
    .tile {
        padding: 1.25rem;
    }
    
    .nav-links li {
        padding: 0 0.5rem;
    }
    
    .nav-links a, .logo span {
        font-size: var(--text-sm);
    }
    
    .linkedin-button {
        font-size: var(--text-xs);
        padding: 0.4rem 0.8rem;
    }
}

@media screen and (max-width: 960px) {
    .nav-links li {
        padding: 0 0.35rem;
    }
    
    .nav-links a {
        font-size: var(--text-sm);
    }
}

/* Tablettes et mobiles */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    /* Ajustements typographiques */
    h1 {
        font-size: var(--text-3xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: var(--text-xl);
    }
    
    p {
        font-size: var(--text-sm);
    }
    
    /* Ajustement de l'animation CTA pour mobile */
    .cta-button-container {
        padding: 15px;
        margin-bottom: 10px;
    }

    .cta-button {
        transition: all 0.3s ease;
    }
    
    /* Style active pour les appareils tactiles */
    .cta-button:active {
        background-color: #005d93;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 25px rgba(0, 121, 181, 0.3);
    }
    
    .cta-button:active::after {
        animation: ctaPulseMobile 0.8s infinite;
        border-width: 3px;
        border-color: rgba(0, 119, 181, 0.8);
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        opacity: 1;
    }
    
    /* Désactiver les effets hover sur mobile */
    .cta-button:hover {
        transform: none;
        box-shadow: 0 8px 15px rgba(0, 121, 181, 0.2);
        letter-spacing: normal;
    }
    
    .cta-button:hover::after {
        animation: none;
        opacity: 0;
    }
    
    @keyframes ctaPulseMobile {
        0% {
            transform: scale(1);
            opacity: 0.9;
        }
        50% {
            transform: scale(1.15);
            opacity: 0.6;
        }
        100% {
            transform: scale(1.25);
            opacity: 0;
        }
    }
    
    /* Ajustements de mise en page */
    .hero-text {
        text-align: left;
    }
    
    .passion-icon {
        margin-left: 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .role, .contact, .engagements, .evenements, .passions {
        padding: 2.5rem 0;
    }
    
    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    /* Ajustements de la navigation */
    nav {
        justify-content: space-between;
    }
    
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: var(--light-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links a {
        color: var(--primary-color);
        font-weight: 600;
        font-size: var(--text-lg);
    }
    
    .nav-links a:hover {
        color: var(--accent-color) !important;
    }
    
    .nav-links li {
        opacity: 0;
        padding: 1.5rem 0;
        height: auto;
        display: flex;
        justify-content: center;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .header-linkedin {
        display: none;
    }
    
    .header-right {
        flex-direction: row-reverse;
    }
    
    /* Ajustements de la timeline */
    .timeline::before {
        left: 60px;
    }
    
    .timeline-item {
        padding-left: 90px;
    }
    
    .timeline-year {
        width: 50px;
        font-size: 1rem;
        padding: 0 5px;
    }
    
    /* Masquer le point vert de la timeline en version mobile */
    .timeline::after {
        display: none;
    }
    
    /* Autres ajustements */
    section {
        scroll-margin-top: 80px;
    }
    
    .engagement-card .cc-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .engagement-card .cc-link {
        padding: 0.4rem 0.9rem;
        font-size: var(--text-xs);
    }
}

/* Mobiles */
@media screen and (max-width: 480px) {
    .logo span {
        font-size: 1.2rem;
    }
    
    /* Ajustements des highlights */
    .highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 100%;
    }
    
    /* Animation minimale sur mobile petit écran mais avec effet actif au tap */
    .cta-button:active {
        transform: scale(1.03);
        background-color: #005d93;
        box-shadow: 0 10px 20px rgba(0, 121, 181, 0.3);
    }
    
    .cta-button:active::after {
        animation: ctaPulseMobile 0.8s infinite;
        opacity: 1;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }
    
    /* Ajustements de la timeline */
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0;
        margin-bottom: 2rem;
    }
    
    .timeline-year {
        background-color: transparent;
        position: relative;
        text-align: left;
        margin-bottom: 1rem;
        padding: 0 0 0.5rem 0;
        border-bottom: 1px solid var(--secondary-color);
        width: 100%;
    }

    /* Ajustements des liens sociaux */
    .engagement-card .cc-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .engagement-card .cc-link {
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Style pour le message de recrutement */
.recruitment-message {
    position: relative;
    margin-top: 20px;
    padding-top: 15px;
    margin-bottom: 0; /* Supprime la marge en bas */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: var(--text-sm);
    line-height: 1.4;
}

/* Style pour le <br> dans le message de recrutement */
.recruitment-message br {
    display: block;
    content: "";
    margin-top: 0.3rem;
}

/* Style pour le bouton de recrutement */
.recruitment-btn {
    display: inline-block;
    background-color: #000000;
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: var(--text-xs);
    margin-left: 0;
    margin-top: 8px;
    margin-bottom: 0; /* Supprime la marge en bas */
    vertical-align: middle;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Effet de pulsation angulaire en haut à droite */
.recruitment-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.recruitment-btn:hover::before {
    animation: cornerPulse 1.2s infinite;
    opacity: 1;
}

.recruitment-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white !important;
}

/* Suppression de l'ancien effet après */
.recruitment-btn::after {
    display: none;
}
