 :root {
	 --bg1: #003f7d; --bg2: #0077c8; --card: #ffffff;
     --primary: #1f2933; --accent: #0077b6; --muted: #6b7280;
     --secondary: #10b981; --border: #e1e7ef;
     box-sizing: border-box;
}
* { margin: 0; padding: 0; }
body {
	display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400; line-height: 1.6; 
    background: linear-gradient(135deg, rgba(0, 63, 125, 0.9), rgba(0, 119, 200, 0.9)), 
                url('https://energix-97441.duckdns.org/images/EnergiX_logo.webp');
    background-size: auto; 
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; 
    background-blend-mode: overlay; 
    color: var(--primary);
    justify-content: center; padding: 24px;
	padding-top: 5%; 
    overflow-x: hidden; 
    animation: pageReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0; transform: scale(0.9) translateY(30px);
    letter-spacing: -0.01em;
}
@keyframes pageReveal {
    0% { opacity: 0; transform: scale(0.9) translateY(30px); }
    50% { opacity: 0.6; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
body.intro-active {
    overflow: hidden !important;
    height: 100vh;
    position: fixed; 
    width: 100%;
}
#intro-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
	height: 100dvh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
	overflow: hidden;
}
#intro-video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}
#intro-splash.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.page { 
    width: 90%;
    margin: 0 auto;
    pointer-events: auto;
}
@keyframes pageSlide { 
    to { opacity: 1; transform: translateX(0); } 
}
.card-header {
	cursor: pointer;
    position: relative;
    z-index: 50; 
    cursor: pointer;
    display: flex;
	justify-content: center;
    align-items: center;
    padding: auto; 
	background: transparent;
}
.header-container {
    display: flex;
    align-items: center;      
    justify-content: space-between; 
    width: 100%;
    flex-wrap: nowrap;        
	gap: 20px;
}
.card-header h3 {
	font-family: 'Montserrat', sans-serif;
    pointer-events: none; 
	text-align: center;
	color: var(--bg1); 
	font-size: 0.7rem;
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom:10px;
	margin-left: 50px;
}
.card {
    background: rgba(255, 255, 255, 0.97);
	position: relative;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    margin-bottom: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFade 0.6s ease-out forwards;
	pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
}
.card:nth-child(1) { animation-delay: 0.6s; }
.card:nth-child(2) { animation-delay: 0.9s; }

@keyframes cardFade { 
    to { opacity: 1; transform: translateY(0); } 
}
.card:hover { 
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}
.toggle-btn {
    position: absolute;
    top: 50%;            
    transform: translateY(-50%) rotate(-90deg);
    right: 5px;
    z-index: 20;
    width: 36px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--accent); 
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.toggle-btn:hover {
    top: 50%;            
	transform: translateY(-50%) rotate(-90deg) scale(1.1);
    background: rgba(0, 119, 182, 0.1); 
    color: var(--accent);                
    opacity: 1;
}
.card:hover .toggle-btn {
    opacity: 1;
    pointer-events: auto;
}
.toggle-btn.collapsed {
    transform: translateY(-50%) rotate(90deg);
}
.toggle-btn.collapsed:hover {
    transform: translateY(-50%) rotate(90deg) scale(1.1);
}
h1 { 
    margin: 0;
	font-family: arial;
    font-size: 1.5rem;
	font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--bg1);
    animation: titleSlide 0.7s ease-out 0.7s both;
    opacity: 0;
    transform: translateX(-30px);
}
@keyframes titleSlide {
    to { opacity: 1; transform: translateX(0); }
}
h2 {
    margin: 0;
	font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent);
    text-transform: uppercase;
}
.subtitle {
	font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
	text-transform: uppercase;
    color: #000000;
    margin: 4px 0 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.header {
    display: flex;
    flex-wrap: wrap;
	align-items: center; 
    gap: 20px;
	color: #000000;
}
.avatar {
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-image: url('image1.webp');
    border: 4px solid var(--accent);
    box-shadow: 0 8px 24px rgba(5, 119, 182, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: avatarBounce 0.8s ease-out 0.4s both;
    flex-shrink: 0;
}
@keyframes avatarBounce {
    0% { transform: scale(0) rotate(-10deg); }
    50% { transform: scale(1.08) rotate(2deg); }
    100% { transform: scale(1) rotate(0); }
}
.avatar:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 40px rgba(5, 119, 182, 0.4);
}
.icone {
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 8px 24px rgba(5, 119, 182, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: avatarBounce 0.8s ease-out 0.4s both;
    flex-shrink: 0;
    margin-left: auto; 
    display: flex;
    overflow: hidden; 
    cursor: pointer;
}
.icone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.icone:hover {
    transform: scale(1.05);
}
.bio-container {
    flex: 1;                  
    text-align: center;       
    min-width: 0;            
}
#logo {
    width: 50px;
    flex-shrink: 0;        
    border-radius: 50px;
    padding: 5px;
    margin-left: auto;  
	margin-right: 0;
    z-index: 9999;
    will-change: transform;
    transition: width 0.4s ease, transform 0.3s ease;
}
#logo:hover {
    transform: scale(1.05); 
    cursor: pointer;
}
.logo-link {
    display: flex;       
    margin-left: auto;   
    margin-right: 20px;  
	margin-top : 50px;
    flex-shrink: 0;      
}
.school-logo {
	display: block;
    width: 50px !important;
    float: left;            
    margin-right: 5px;     
    margin-top: 5px;  
	margin-bottom:5px;
    border-radius: 5px;
	border: none; 
}
a {
    display: inline-block; 
    text-decoration: none;
}
.qr-container {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 5px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    max-width: 130px;
    margin: 10px 0;
    pointer-events: auto;
}
.qr-label {
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.zoomable-qr {
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease;
    touch-action: manipulation;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}
.qr-modal {
    display: none; 
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}
.qr-modal[style*="display: flex"], 
.qr-modal[style*="display:block"] {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}
.qr-modal img {
    max-width: 85%;
    max-height: 85%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    cursor: default;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}
.qr-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}
.qr-link-wrapper {
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
}
.btn-copy-trombone {
    background: none;
    border: none;
    cursor: pointer;
    color: #667;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: all 0.2s ease;
}
.btn-copy-trombone:hover {
    color: #007bff;
}
.btn-copy-trombone span {
    font-size: 12px;
    font-weight: 500;
}
.notification-message {
    color: #10b981;
    font-weight: 400;
}
.notification-message-loading {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    padding: auto;
    margin-top: 70px;
	margin-bottom : 15px;
    text-align: center;
    box-sizing: border-box;
    color: black;
    font-weight: 400;
    background: linear-gradient(
        to right, 
        rgba(16, 185, 129, 0) 0%, 
        rgba(16, 185, 129, 0.12) 8%, 
        rgba(16, 185, 129, 0.12) 92%, 
        rgba(16, 185, 129, 0) 100%
    );
}
.notification-message-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid #10b981;
    border-bottom: 1px solid #10b981;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.notification-details {
    color: #000000;
    font-weight: 400;
}
.contact {
	font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-wrap: wrap;
	align-items: center;
	justify-content: center;
    gap: 8px 15px;
    font-size: 0.75rem;
	font-weight: 400;
    color: #000000;
    animation: fadeInUp 0.6s ease-out 1s both;
    opacity: 0;
    transform: translateY(15px);
	margin-top: 10px;
}
.contact-icon {
	font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}
.contact-icon:hover {
    color: var(--secondary);
    transform: translateX(4px);
}
.contact-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.badge {
	font-family: 'Montserrat', sans-serif;
    display: flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	text-decoration: none;
    flex-wrap: wrap;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(16, 185, 255, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    border: 1px solid rgba(5, 119, 182, 0.7);
    transition: all 0.3s ease;
}
.badge:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.9);
}
.cv-download-btn {
    display: flex;
	flex-wrap: wrap;
	font-family: 'Montserrat', sans-serif;
	text-transform:uppercase;
    font-size: 0.6rem;
	font-weight: 400;
    align-items: center;
	justify-content: center;
	letter-spacing:12%;
    gap: 10px;
    padding: 4px 15px;
    background: #0077B5;
    color: white !important;
	border: 1px solid rgba(5, 119, 182, 0.7);
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out 1.1s both;
}
.cv-download-btn:hover {
    background: #10b981;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.7);
    color: white !important;
	border: 1px solid rgba(255, 255, 255, 0.9);
}
.cv-download-btn[style*="margin: 0"] {
    flex-shrink: 0;
    animation-delay: 0.9s !important;
}
.button-group {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 10px;           
    flex-wrap: wrap;     
    margin-top: 15px;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.card-header {
    position: relative;
    z-index: 2;
    padding-right: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.lettre-content {
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    font-size: 0.85rem;
    max-width: 97%;
    margin: 0 auto;
}
.lettre-content p {
    margin: 20px 0;
    text-align: justify;
	line-height: 1.55;
}
.lettre-content strong {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
    color: var(--accent);
}
.alinea-premier {
	margin-bottom: 1.2em;
	margin : auto;
}
.signature-container {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
}
.signature-name {
	font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--bg1);
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.signature-title {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
    color: #002395;
	font-size: 0.8rem;
    font-weight: 400;
	margin-top:10px;
    margin-bottom: 10px;
}
.signature-subtitle {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
    text-align: center;
    font-size: 0.6rem;
	font-weight: 400;
    color: #002395;
	margin-left:80px;
    margin: 5px auto;
    line-height: 1.6;
    opacity: 0.8;
}
.signature-info {
	font-family: 'Montserrat', sans-serif;
    color: #000000;
    margin-bottom: 20px;
    font-size: 0.7rem;
}
.layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.8rem;
	font-weight: 400;
    gap: 18px;
	align-items: start;
}
.pave {
    grid-column: 2 / 3; 
    margin-top: 50px;   
}
.pave-gauche, .pave-droite {
    display: flex;
    flex-direction: column;
    min-width: 0; 
}
.section-title {
    position: relative;
    font-family: Arial;
    font-weight: 400;
    font-size: 0.85rem;
    margin: 20px 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    transition: all 0.3s ease;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-title:hover {
    color: var(--secondary);
}
.section-title:hover::after {
    width: 100%;
}
ul {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0;
	color: rgba(0,0,0,0.8) ;
}
li {
    margin-bottom: 12px;
    font-size: 0.75rem;
	font-weight: 400;
	color: var(--muted);
}
li strong{
    margin-bottom: 12px;
    font-size: 0.65rem;
	font-weight: 400;
	text-transform : uppercase;
	color: rgba(0,0,0,0.8);
}
.small {
	font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
	font-weight: 400;
    color: var(--muted);
    line-height: 1.55;
	color: rgba(0,0,0,0.7);
}
.small  strong{
	font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
	font-weight: 450;
}
.xp-title {
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 2px;
    line-height: 1.3;
	color: rgba(0,0,0,0.75);
}
.xp-meta {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.6);
    margin-bottom: 4px;
    font-weight: 400;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
	margin-bottom:10px;
	color: #000000;
}
.tag {
    padding: 3px 5px;
    border-radius: 16px;
	font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    background: rgba(99, 102, 241, 0.1);
    color: #3730a3;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
	text-decoration: none;
}
.tag:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-1px);
}
.pill {
    display: inline-block;
    margin: 2px 4px 2px 0;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(243, 244, 246, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.3s ease;
}
.pill:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-1px);
}
.cv-footer {
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--muted);
    text-align: center;
    font-weight: 400;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(99, 102, 241, 0.07); 
    z-index: 100;
}
@media print {
    body {
        background: #fff;
        padding: 0;
        animation: none;
        font-family: system-ui, sans-serif;
    }
    .card {
        box-shadow: none;
        border-radius: 0;
        border: 1px solid #ccc;
        animation: none;
        padding: 20px;
    }
    * {
        animation: none !important;
    }
}
.contact-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: 150;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 0.2);
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: var(--secondary) !important;
    color: white !important;
}
.gmail-btn {
    position: relative; 
    display: inline-flex;
    padding: 10px 20px;
    border-radius: 28px;
    gap: 10px; 
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    border: none;
	background: rgba(0, 35, 149, 0.4);
    color: white !important;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.gmail-btn::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(0, 35, 149, 0.85);
    border-radius: 25px;
    z-index: -1;
    transition: all 0.3s ease;
}
.gmail-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 200%;
    height: 400%;
    background: conic-gradient(#4285F4, #34A853, #FBBC05, #EA4335, #4285F4);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gmail-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 25px 45px rgba(66, 133, 244, 0.5); 
}
.gmail-btn:hover::before {
    opacity: 1;
    animation: spinBorder 2s linear infinite;
}
.gmail-btn:hover::after {
    background: rgba(0, 27, 117, 0.9);
}
@keyframes spinBorder {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.linkedin-btn {
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: rgba(0, 119, 181, 0.30);
    color: white !important;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: hidden;
    text-decoration: none;
}
.linkedin-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0077b5;
    border-radius: 23px;
    z-index: -1;
    transition: all 0.3s ease;
}
.linkedin-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 250%;
    height: 500%;
    background: conic-gradient(#0077b5, #00a0dc, #ffffff, #004b7c, #0077b5);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.linkedin-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.4);
	box-shadow: 0 25px 45px rgba(66, 133, 244, 0.5); 
}
.linkedin-btn:hover::before {
    opacity: 1;
    animation: spinSnake 1.5s linear infinite;
}
.signature-buttons {
    display: flex;          
    justify-content: center; 
    align-items: center;     
    gap: 15px;              
    flex-wrap: wrap;      
    margin-top: 15px;
}
@keyframes spinSnake {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.titre-signature {
	display: flex; 
    font-size: 0.75rem;
    text-transform: uppercase;
	justify-content: center;
    letter-spacing: 2px;
    color: #002395;
    font-weight: 500;
    margin-top: 15px;
	margin-bottom : 15px;
    transition: color 0.4s ease, transform 0.3s ease;
    cursor: default;
	letter-spacing: 0.6px; 
	gap: 8px;
}
.titre-signature:hover {
    color: #10b981;
    transform: translateY(-2px);
}
.visitor-counter {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.55rem;
	font-weight: 500;
    margin-top: 50px;
	margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#stats-badge {
    display: flex;
	font-size: 0.7rem;
	letter-spacing: 0.85px; 
	color: black;
	padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 1); 
    font-weight: 400;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
}
.status-dot {
    height: 8px;
    width: 8px;
    background-color: #10b981;
	margin-right:10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.visitor-text {
	letter-spacing: 0.9px; 
	font-size: 0.7rem; 
	opacity: 0.8;
}
.footer-block {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 2px;
    width: 90%;
    margin: auto; 
	margin-bottom: 0;
}
.footer-buttons-container {
    display: flex;
    justify-content: center; 
    align-items: center;    
    gap: 15px;              
    flex-wrap: wrap;    
	margin-top:	20px;
    margin-bottom: 20px;
}
.btn-cv {
    background: #002395;
    color: white;
	border: 1px solid #002395;
}
.btn-portfolio {
    color: #002395;
    border: 1px solid #002395;
}
.btn-pv {
    background: #10b981;
    color: white;
	border: 1px solid #002395;
}
.footer-inner {
	flex: 1;
    display: flex;
    flex-direction: column; 
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: #000000;
}
.footer-divider {
    width: 140px;
    height: 1.65px;
    background: #F0C300;
    margin: auto; 
	margin-top:7px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(255, 77, 0, 0.3);
}
.footer-brand{
	font-size: 0.75rem;
}
.footer-brand span { font-weight: 700; }
.footer-brand .blue { color: #002395; font-size: 0.75rem; font-weight: 600; }
.footer-brand .green { color: #10b981; font-size: 0.75rem; font-weight: 600;}
.footer-baseline {
	font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; 
	color: #000000; 
	line-height: 1.5; 
	max-width: 400px; 
	margin: 10px;
}
#energi-clock-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
	will-change: transform;
    z-index: 9999;
}
#energi-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#energi-right {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
#energi-battery {
    display: inline-flex;
    align-items: center;
	gap: 7.5px;
    font-size: 0.85rem;
}
.battery-icon {
    width: 22px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 3px;
    position: relative;
}
.battery-icon::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 3px;
    width: 3px;
    height: 6px;
    background: #fff;
    border-radius: 1px;
}
.battery-level {
    height: 100%;
    background: #10b981;
    border-radius: 1px;
}
@media (max-width: 768px) {
    .header {
        flex-direction: column !important;
        text-align: center;
        align-items: center;
        width: 100%;
        gap: 15px !important;
    }
    .button-group, .signature-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cv-download-btn {
        justify-content: center !important;
        padding: auto;
        margin: 0 auto;
		margin-bottom: 10px;
		font-size: 0.5rem;
		font-weight: 400;
    }
    .avatar, .icone {
        width: 100px !important;
        height: 100px !important;
    }
    .layout {
        grid-template-columns: 1fr !important; 
    }
    .pave-gauche, .pave-droite {
        gap: 15px;
    }
    a[style*="position: fixed"] {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        display: flex !important;
        justify-content: center;
        margin: 10px auto 20px auto !important;
        width: 100% !important;
        z-index: 10 !important;
    }
    a[style*="position: fixed"] img {
        width: 130px !important;
        height: auto !important;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1)) !important;
    }
    body {
        padding: 10px !important;
    }
    .avatar {
        width: 110px !important;
        height: 110px !important;
    }
    h1 {
        font-size: 1.4rem !important;
    }
    .contact {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .header-container {
        flex-direction: column; 
        text-align: center;     
        flex-wrap: wrap;        
        gap: 15px;            
    }
    .header-container .avatar {
        order: 1; 
    }
    .header-container .bio-container {
        order: 2; 
    }
    .header-container .icone {
        order: 3; 
    }
    .card-content {
        position: relative;
        padding-bottom: 80px !important; 
    }
	.notification-message-loading {
		display: flex;
		justify-content: center; 
		align-items: center;     
		text-align: center;  
		left: 0;
		right: 0;
		bottom: 15px; 
		width: 100%;
		padding: 8px 10px; 
		font-size: 0.85rem;  
		margin: 0 !important;
	}
	.gmail-btn, .linkedin-btn {
		display: flex;
		gap: 5px; 
        width: 40% !important;
        justify-content: center !important;
        padding: 8px 10px;
        margin: 0 auto;
		margin-bottom: 10px;
    }
	.footer-buttons-container {
		display: flex;
		justify-content: center; 
		align-items: center; 
		padding: auto;
		width: 60%;  
		margin: 20px auto; 
		gap: 15px;              
		flex-wrap: wrap;    
		margin-top: 20px;
		margin-bottom: 20px;
		font-size: 0.5rem;
		font-weight: 400;
	}
    .logo-link {
        display: block !important;
        position: absolute !important;
		flex-shrink: 0; 
        bottom: 25px !important; 
		margin-top: 50px;
        right: 10px !important;  
        margin-left: auto !important;   
        transform: none !important; 
        margin: 0 !important;
        z-index: 10;
    }   
    #logo {
        width: 45px !important; 
    }
	.contact-btn .linkedin-btn {
		margin-bottom: 25px;
	}
}

@media (max-width: 480px) {
    h1 { font-size: 1.2rem !important; }
    .card { padding: 15px !important; }
    .lettre-content { max-width: 100% !important; }
	
	.notification-message-loading {
		display: flex;
		left: 0;
		right: 0;
		bottom: 15px;
		width: 100%;
		padding: 8px 10px; 
        font-size: 0.85rem;  
        margin: 0 !important;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 40px !important; 
    }
    #energi-clock-bar {
        font-size: 0.75rem !important;
        padding: 0 5px !important;
    }
}