/* 
██████╗ ██╗   ██╗██╗      █████╗ ███╗   ██╗   ██████╗ ███████╗██╗   ██╗
██╔══██╗╚██╗ ██╔╝██║     ██╔══██╗████╗  ██║   ██╔══██╗██╔════╝██║   ██║
██║  ██║ ╚████╔╝ ██║     ███████║██╔██╗ ██║   ██║  ██║█████╗  ██║   ██║
██║  ██║  ╚██╔╝  ██║     ██╔══██║██║╚██╗██║   ██║  ██║██╔══╝  ╚██╗ ██╔╝
██████╔╝   ██║   ███████╗██║  ██║██║ ╚████║██╗██████╔╝███████╗ ╚████╔╝ 
╚═════╝    ╚═╝   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═════╝ ╚══════╝  ╚═══╝
                                                                                                                                                                                      
Système développer par dylanpointdev.fr | © DylanPointDev tout droit réservé. 
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
	/* Palette DA fournie */
	--color-white: #DCE0D9; /* BLANC */
	--color-red:   #6B0F1A; /* ROUGE (foncé pour fond) */
	--color-black: #090909; /* NOIR (utilisé comme accent rouge foncé) */

	/* Dark theme core colors */
	--bg-dark: var(--color-black);
	--card-dark: rgba(255,255,255,0.02);
	--muted-dark: rgba(220,224,217,0.75);
	--accent-dark: var(--color-red);
	--text-dark: var(--color-white);

	/* Light theme core colors */
	--bg-light: var(--color-white);
	--card-light: #f7f7f8;
	--muted-light: #6b7280;
	--accent-light: var(--color-red);
	--text-light: var(--color-black);

	/* active tokens (map to dark by default) */
	--bg: var(--bg-dark);
	--card: var(--card-dark);
	--muted: var(--muted-dark);
	--accent: var(--accent-dark);
	--text: var(--text-dark);
}

/* Prevent accidental horizontal scroll from full-bleed sections */
html, body { overflow-x: hidden; }

html[data-theme="light"]{
	--bg: var(--bg-light);
	--card: var(--card-light);
	--muted: var(--muted-light);
	--accent: var(--accent-light);
	--text: var(--text-light);
}

*{
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif !important;
}

body{
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	/* Layout: ensure footer sits at viewport bottom for short pages */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container{
	max-width: 980px;
}

/* Make main grow to fill available space so footer is pushed to bottom */
main{
 	flex: 1 0 auto;
}

.bg-red {
    background-color: var(--color-red) !important;
    color: #fff !important;
    border: 0px solid #df2137 !important;
}

.bg-redblack {
    background-color: #0e0e0e !important;
    color: #fff !important;
    border: 0px solid #181818 !important;
}

/* Header / nav */
.header-main{
	background: transparent;
	position: relative;
	padding-top: .45rem;
	padding-bottom: .45rem;
	/* petit espacement pour abaisser visuellement l'en-tête */
	margin-top: 30px;
}

/* Make entire header sticky so nav remains visible on scroll */
.header-main{
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0px;
	z-index: 1150;
	transition: background .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}

.header-main.scrolled[data-theme="dark"],
.variant-1.scrolled[data-theme="dark"],
html[data-theme="dark"] .header-main.scrolled,
html[data-theme="dark"] .variant-1.scrolled{
	background: linear-gradient(180deg, rgb(16 16 16 / 92%), rgb(4 4 4 / 75%));
	backdrop-filter: blur(5px);
}

/* Fix header to top when scrolled */
.header-main.scrolled{
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1200;
	margin-top: 0; /* remove initial spacing when fixed */
}

.header-main.scrolled[data-theme="light"],
.variant-1.scrolled[data-theme="light"],
html[data-theme="light"] .header-main.scrolled,
html[data-theme="light"] .variant-1.scrolled{
	background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(250,250,250,0.78));
	backdrop-filter: blur(5px);
}

.header-main .brand-logo{
	width: 44px;
	display: block;
}

/* Switch logo color based on theme: dark -> white logo, light -> dark logo
   Uses CSS filter so a single SVG/PNG works; adjust if you prefer separate files. */
.brand-logo{
	transition: filter .18s ease, opacity .12s ease;
}

html[data-theme="light"] .brand-logo,
.html-theme-dark .brand-logo{
	filter: invert(1) brightness(1.2) saturate(0.9);
}

html[data-theme="dark"] .brand-logo,
.html-theme-light .brand-logo{
	filter: none;
}

.navbar-brand{
	display: flex;
	align-items: center;
}

/* Centre la nav dans l'en-tête */
.header-nav{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 1050;
}

.header-nav .nav{
	gap: .6rem;
}

/* style pill pour les items de navigation */

.header-nav .nav-link{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .45rem .85rem;
	min-width: 140px; /* Uniform width for nav boxes */
	min-height: 44px; /* Equal height */
	border-radius: 999px;
	color: var(--muted);
	background: transparent;
	border: 1px solid rgba(220,224,217,0.03);
	transition: transform .25s cubic-bezier(.34,.82,.4,1), 
	            box-shadow .25s cubic-bezier(.34,.82,.4,1), 
	            background .2s ease,
	            color .2s ease;
	will-change: transform;
	font-weight: 500;
	text-align: center;
}

.header-nav .nav-link i{
	font-size: 1rem;
}

.header-nav .nav-link:hover{
	background: var(--color-red);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.35);
	border-color: rgba(220,224,217,0.08);
	transform: translateY(-4px) scale(1.03);
}

.header-nav .nav-link.active{
	background: var(--color-red);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,.25);
	border-color: rgba(220,224,217,0.06);
}

.header-nav .nav-link:active{
	transform: translateY(-1px) scale(0.99);
	transition: transform .08s ease;
}

/* bouton theme droit, petit carré */
/* Theme toggle redesigned: circular, smooth icon animation */
#themeToggle{
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid rgba(220,224,217,0.06);
	background: transparent;
	box-shadow: 0 4px 10px rgba(0,0,0,0.18);
	transition: transform .22s cubic-bezier(.34,.82,.4,1),
				box-shadow .22s cubic-bezier(.34,.82,.4,1),
				background .18s ease, border-color .18s ease;
	will-change: transform;
	cursor: pointer;
	margin-left: .6rem;
}

#themeToggle:hover{
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 12px 30px rgba(0,0,0,0.32);
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

#themeToggle:active{
	transform: translateY(-1px) scale(0.99);
}

/* Light state — add subtle warm accent */
#themeToggle.is-light{
	background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
	border-color: rgba(220,224,217,0.12);
}

/* Icon smoothing and rotate/transition */
#themeToggle i{
	font-size: 1.05rem;
	display: inline-block;
	transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .18s ease;
}

/* optional small rotate when toggled */
#themeToggle.is-light i{
	transform: rotate(-20deg) scale(1.02);
}

@media (max-width: 767px){
	.header-nav{
		position: static;
		transform: none;
		margin-top: .5rem;
	}
	.header-main{
		padding-bottom: .6rem;
		/* ajustement du margin-top sur mobile */
		margin-top: 8px;
	}

	/* mobile: allow nav boxes to size naturally */
	.header-nav .nav-link{
		min-width: auto;
		min-height: auto;
		padding: .45rem .6rem;
	}
}

/* === Hero Profile Section (Discord-style) === */
.hero-content{
	margin: 0 auto;
}

.profile-section{
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	padding: 2rem 0;
}

.profile-avatar{
	position: relative;
	flex-shrink: 0;
}

.avatar-img{
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid var(--card);
	object-fit: cover;
	background: var(--card);
}

.status-indicator{
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	background: var(--muted);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	z-index: 2;
}
.status-indicator.online{ background: #23a55a; }
.status-indicator.dnd{ background: #e02424; }
.status-indicator.idle{ background: #ff9800; }
.status-indicator.offline{ background: #94a3b8; opacity: 0.9; }

/* optional small ring for online */
.status-indicator.online::after{
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%) scale(0.6);
	width: 18px;
	height: 18px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
	box-shadow: 0 0 0 6px rgba(35,165,90,0.18);
	animation: status-pulse 1.8s infinite ease-out;
}

/* pulse for other statuses (red/orange/gray) */
.status-indicator.dnd::after{
	content: '';
	position: absolute;
	left: 50%; top: 50%; transform: translate(-50%,-50%) scale(0.6);
	width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index:1;
	box-shadow: 0 0 0 6px rgba(224,36,36,0.18);
	animation: status-pulse 1.8s infinite ease-out;
}
.status-indicator.idle::after{
	content: '';
	position: absolute;
	left: 50%; top: 50%; transform: translate(-50%,-50%) scale(0.6);
	width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index:1;
	box-shadow: 0 0 0 6px rgba(255,152,0,0.16);
	animation: status-pulse 1.8s infinite ease-out;
}
.status-indicator.offline::after{
	/* offline: subtle, no strong pulse */
	content: '';
	position: absolute;
	left: 50%; top: 50%; transform: translate(-50%,-50%) scale(0.9);
	width: 10px; height: 10px; border-radius: 50%; pointer-events: none; z-index:1;
	box-shadow: 0 0 0 6px rgba(148,163,184,0.06);
	opacity: 0.9;
}

/* ===== Profile CTA row : status + squiggle + discord badge ===== */
.profile-cta-row{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: .65rem;
    margin-top: .75rem;
    width: 100%;
}

/* Chaque box prend la moitié de l'espace disponible */
.profile-cta-row .status-badge,
.profile-cta-row .discord-badge{
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .65rem 1rem;
    border-radius: 14px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text);
    transition: transform .25s cubic-bezier(.2,.9,.2,1),
                box-shadow .25s ease,
                background .2s ease,
                border-color .2s ease;
}

.profile-cta-row .status-badge:hover,
.profile-cta-row .badges-stack:hover .status-badge{
    transform: translateY(-4px) scale(1.015);
    background: rgba(255,255,255,0.055);
    border-color: rgba(107,15,26,0.22);
    box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}

/* ===== Stack de badges (VS Code + Spotify superposés) ===== */
.badges-stack{
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.badges-stack .status-badge{
    position: relative;
    z-index: 1;
    width: 100%;
    flex: none;
}

.spotify-badge{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: none; /* caché par défaut */
    align-items: center;
    gap: .85rem;
    padding: .65rem 1rem;
    border-radius: 14px;
    box-sizing: border-box;
    background: rgba(30,215,96,0.10);
    border: 1px solid rgba(30,215,96,0.25);
    color: var(--text);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: default;
    transition: transform .28s cubic-bezier(.2,.9,.2,1),
                box-shadow .25s ease,
                opacity .22s ease;
    opacity: 0;
    transform: translateY(8px);
}

.spotify-badge.is-active{
    display: flex;
}

/* Au repos : Spotify est légèrement visible derrière la card VS Code */
.badges-stack:has(.spotify-badge.is-active) .status-badge{
    box-shadow: 0 6px 0 0 rgba(30,215,96,0.15), 0 8px 18px rgba(0,0,0,0.18);
}

/* Hover sur la card VS Code → Spotify remonte */
.badges-stack:hover .spotify-badge.is-active{
    opacity: 1;
    transform: translateY(calc(100% + 6px));
    box-shadow: 0 4px 5px rgba(30,215,96,0.18);
}

/* Hover directement sur Spotify → elle monte au premier plan */
.spotify-badge.is-active:hover{
    z-index: 3;
    transform: translateY(calc(100% + 6px)) scale(1.015) translateY(-4px);
    background: rgba(30,215,96,0.16);
    border-color: rgba(30,215,96,0.45);
    box-shadow: 0 16px 36px rgba(30,215,96,0.22);
}

.spotify-badge-icon{
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #1ED760;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #000;
    overflow: hidden;
}

.spotify-album-art{
    width: 42px;
    height: 42px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.spotify-badge-body{
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
    flex: 1;
}

.spotify-badge-label{
    font-weight: 700;
    font-size: .9rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-badge-sub{
    font-size: .75rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-badge-logo{
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #1ED760;
    opacity: .7;
}

html[data-theme="light"] .spotify-badge{
    background: rgba(30,215,96,0.08);
    border-color: rgba(30,215,96,0.2);
}

@media (max-width: 768px){
    .spotify-badge{
        position: relative;
        opacity: 1;
        transform: none;
        margin-top: .4rem;
        bottom: auto;
    }
    .badges-stack:hover .spotify-badge.is-active{
        transform: none;
    }
}

/* Icon box — même style que discord-badge-icon */
.status-badge-icon{
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-red), #8a1f2e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: transform .25s cubic-bezier(.2,.9,.2,1);
}

/* Activity app logo (image) */
.activity-logo-img{
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

/* Fallback initials when no app image is available */
.activity-logo-initials{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(255,255,255,0.06);
	color: var(--text);
	font-weight: 700;
	font-size: 0.95rem;
}

.profile-cta-row .status-badge:hover .status-badge-icon{
    transform: rotate(-8deg) scale(1.08);
}

/* Text block */
.status-badge-body{
    display: flex;
    flex-direction: column;
    gap: .1rem;
    line-height: 1.3;
    min-width: 0;
}

.status-badge-label{
    font-weight: 700;
    font-size: .95rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge-sub{
    font-size: .75rem;
    color: var(--muted);
}

.status-badge-time{
    font-size: .7rem;
    color: var(--muted);
    opacity: .7;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    display: block;
}
.status-badge-time:empty{
    display: none;
}

/* Light theme */
html[data-theme="light"] .profile-cta-row .status-badge{
    background: #fff;
    border-color: rgba(9,9,9,0.07);
    box-shadow: 0 4px 16px rgba(16,24,32,0.05);
}
html[data-theme="light"] .profile-cta-row .status-badge:hover{
    border-color: rgba(107,15,26,0.16);
    box-shadow: 0 14px 32px rgba(16,24,32,0.08);
}

.hero-squiggle{
    display: block;
    flex-shrink: 0;
    width: 72px;
    height: 28px;
    animation: squiggle-float 3.2s ease-in-out infinite;
    filter: drop-shadow(0 1px 3px rgba(107,15,26,0.22));
}

@keyframes squiggle-float{
    0%, 100%{ transform: translateY(0) rotate(-1deg); }
    50%{ transform: translateY(-5px) rotate(1.5deg); }
}

@media (max-width: 768px){
    .profile-cta-row{
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
    }
    .profile-cta-row .status-badge,
    .profile-cta-row .discord-badge{
        width: 100%;
        flex: 0 0 100%;
    }
    .hero-squiggle{ display: none; }
}

@media (prefers-reduced-motion: reduce){
    .hero-squiggle{ animation: none; }
}

/* ===== Discord badge CTA ===== */
.discord-badge{
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .65rem 1rem .65rem .75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: transform .25s cubic-bezier(.2,.9,.2,1),
                box-shadow .25s ease,
                background .2s ease,
                border-color .2s ease;
    will-change: transform;
}

.discord-badge:hover{
    transform: translateY(-4px) scale(1.015);
    background: rgba(255,255,255,0.055);
    border-color: rgba(107,15,26,0.22);
    box-shadow: 0 14px 32px rgba(0,0,0,0.22);
    color: var(--text);
}

/* Icon circle */
.discord-badge-icon{
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-red), #8a1f2e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: transform .25s cubic-bezier(.2,.9,.2,1);
}

.discord-badge:hover .discord-badge-icon{
    transform: rotate(-8deg) scale(1.08);
}

/* Text block */
.discord-badge-body{
    display: flex;
    flex-direction: column;
    gap: .1rem;
    line-height: 1.3;
}

.discord-badge-label{
    font-weight: 700;
    font-size: .95rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discord-badge-sub{
    font-size: .75rem;
    color: var(--muted);
}

/* Arrow icon */
.discord-badge-arrow{
    margin-left: auto;
    padding-left: .4rem;
    font-size: 1.05rem;
    color: var(--muted);
    transition: transform .2s ease, color .2s ease;
}

.discord-badge:hover .discord-badge-arrow{
    transform: translate(2px, -2px);
    color: var(--color-red);
}

/* Light theme tweaks */
html[data-theme="light"] .discord-badge{
    background: #fff;
    border-color: rgba(9,9,9,0.07);
    box-shadow: 0 4px 16px rgba(16,24,32,0.05);
}
html[data-theme="light"] .discord-badge:hover{
    background: #fff;
    border-color: rgba(107,15,26,0.16);
    box-shadow: 0 14px 32px rgba(16,24,32,0.08);
}

/* Mobile */
@media (max-width: 576px){
    .discord-badge{ width: 100%; }
}

@media (prefers-reduced-motion: reduce){
    .discord-badge, .discord-badge-icon, .discord-badge-arrow{ transition: none !important; }
}

@keyframes status-pulse{
	0%{ transform: translate(-50%,-50%) scale(0.6); opacity: 0.9; }
	60%{ transform: translate(-50%,-50%) scale(1.6); opacity: 0.12; }
	100%{ transform: translate(-50%,-50%) scale(1.9); opacity: 0; }
}
.profile-info{
	flex: 1;
}

.profile-title{
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.wave-emoji{
	display: inline-block;
	animation: wave 2.5s infinite;
	transform-origin: 70% 70%;
	color: var(--color-red);
}

@keyframes wave{
	0%, 100%{ transform: rotate(0deg); }
	10%, 30%{ transform: rotate(14deg); }
	20%{ transform: rotate(-8deg); }
	40%{ transform: rotate(-4deg); }
	50%{ transform: rotate(10deg); }
	60%{ transform: rotate(0deg); }
}

.profile-bio{
	font-size: 1.1rem;
	color: var(--muted);
	margin-bottom: 1rem;
	line-height: 1.6;
}

.status-badge{
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(35,165,90,0.1);
	border: 1px solid rgba(35,165,90,0.2);
	border-radius: 8px;
	color: #23a55a;
	font-size: 0.9rem;
	font-weight: 500;
}

.status-badge .spotify-logo{
	display: inline-block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.status-badge i{
	font-size: 16px;
}

/* Experience section */
.experience-section{
	margin-top: 3rem;
}

.section-title{
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--text);
}

.experience-list{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.experience-item{
	display: flex;
	gap: 1.5rem;
	padding: 1.5rem;
	background: var(--card);
	border: 1px solid rgba(220,224,217,0.05);
	border-radius: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-item:hover{
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.exp-icon{
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.exp-icon i{
	font-size: 1.5rem;
	color: var(--color-white);
}

.exp-content{
	flex: 1;
}

.exp-role{
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 0.25rem;
}

.exp-company{
	font-size: 0.95rem;
	color: var(--muted);
	margin-bottom: 0.25rem;
}

.exp-period{
	font-size: 0.85rem;
	color: var(--muted);
	opacity: 0.8;
	margin: 0;
}

/* Responsive profile */
@media (max-width: 768px){
	.profile-section{
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1.5rem;
	}
	
	.profile-title{
		font-size: 2rem;
		justify-content: center;
	}
	
	.avatar-img{
		width: 100px;
		height: 100px;
	}
	
	.experience-item{
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}



/* Cards */
.card{
	background: var(--card);
	border: 0;
	color: var(--text);
}

/* Carte spécifique pour les mentions légales */
.legal-card{
	background: linear-gradient(130deg, var(--color-red) 32%, #0e0e0e 81%);
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 20px 40px rgba(0,0,0,0.35);
	border: 0;
	color: #ffffff;
}
.legal-card .card-body{
	padding: 1.75rem;
}
.legal-card h2{
	color: #ffffff;
}
.legal-card p,
.legal-card li{
	color: rgba(255,255,255,0.95);
}
.legal-card a{
	color: rgba(255,255,255,0.95);
	text-decoration: underline;
}
html[data-theme="light"] .legal-card{
	background: linear-gradient(130deg, var(--color-red) 32%, #090909 81%);
	color: var(--text-light);
}
html[data-theme="light"] .legal-card a{
	color: var(--accent-light);
}

/* ── Contact : styles épurés ─────────────────────────── */
.contact-section{ padding: 4rem 0 5rem; }
.contact-hero{ text-align: left; margin-bottom: 2rem; }
.contact-title{ font-size: clamp(2rem,4.5vw,3rem); font-weight:700; margin:0 0 .5rem; color:var(--text); }
.contact-title span{ color:var(--color-red); }
.contact-subtitle{ color:var(--muted); margin:0 0 1.25rem; }

.contact-form-wrap{ background: transparent; border-radius:12px; padding:0; }

.contact-form{ background: var(--card); border:1px solid rgba(255,255,255,0.03); border-radius:12px; padding:1.5rem; }
.contact-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:0.9rem; margin-bottom:1rem; }
.contact-field--full{ grid-column:1 / -1; }

.contact-field input, .contact-field select, .contact-field textarea{
	width:100%; padding:.8rem 1rem; border-radius:10px; border:1px solid rgba(255,255,255,0.04);
	background: transparent; color:var(--text); font-size:.95rem; outline:none;
}
.contact-field input::placeholder, .contact-field textarea::placeholder{ color: rgba(220,224,217,0.35); }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus{ box-shadow:0 6px 20px rgba(0,0,0,0.4); border-color:var(--color-red); }

.contact-form-footer{ display:flex; justify-content:flex-end; margin-top:.5rem; }
.contact-btn{ background:var(--color-red); color:#fff; border-radius:999px; padding:.65rem 1.25rem; border:0; font-weight:600; box-shadow:none; }
.contact-btn:hover{ transform:none; opacity:.95; }

/* Alerts (messages succès / erreur) — adapté à la DA */
.alert{ display:block; border-radius:10px; padding:12px 16px; margin-bottom:1rem; font-weight:600; box-shadow:0 10px 30px rgba(3,7,18,0.06); }
.alert-success{ background: #22c55e0f; color: var(--text); border:1px solid rgba(34,197,94,0.12); }
.alert-danger{ background: #6b0f1a73; color: var(--text); border:1px solid rgba(230,0,126,0.12); }
.alert i{ margin-right:8px; opacity:0.95; }

@media (max-width:768px){
	.alert{ padding:10px 12px; font-size:0.95rem; }
}

.contact-info-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 1.75rem;

	/* full-bleed behaviour: stretch to viewport edges while keeping inner padding */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 1.5rem 2.5rem; /* breathing room from edges */
	box-sizing: border-box;
	align-items: stretch;
}

.contact-info-card{
	background: linear-gradient(130deg, #6B0F1A 32%, #090909 81%);
	border-radius: 12px;
	padding: 1.25rem;
	text-align: center;
}
.contact-info-card--accent{ box-shadow: 0 6px 18px rgba(107,15,26,0.08); border-color: rgba(107,15,26,0.16); }
.contact-info-icon{ width:56px; height:56px; margin:0 auto 0.9rem; display:flex; align-items:center; justify-content:center; border-radius:50%; background: rgba(255,255,255,0.03); }
.contact-info-icon i{ color:var(--text); font-size:1.1rem; }
.contact-info-card h3{ margin:.4rem 0; font-weight:700; color:var(--text); }
.contact-info-card p{ margin:0; color:var(--muted); }

@media (max-width:768px){ .contact-info-grid{ grid-template-columns:1fr; } .contact-form-row{ grid-template-columns:1fr; } .contact-form{ padding:1rem; } }

/* ===== Improvements for Light Theme (contact area) ===== */

html[data-theme="light"] .contact-form{
	background: #ffffff; /* crisp white card for light mode */
	border: 1px solid rgba(9,9,9,0.06);
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 8px 28px rgba(16,24,32,0.06);
	color: var(--text);
}

html[data-theme="light"] .contact-field input,
html[data-theme="light"] .contact-field select,
html[data-theme="light"] .contact-field textarea{
	background: transparent;
	border: 1px solid rgba(9,9,9,0.08);
	padding: .85rem 1rem;
	border-radius: 10px;
	color: var(--text);
	box-shadow: none;
}

html[data-theme="light"] .contact-field input::placeholder,
html[data-theme="light"] .contact-field textarea::placeholder{
	color: rgba(9,9,9,0.35);
}

html[data-theme="light"] .contact-field input:focus,
html[data-theme="light"] .contact-field select:focus,
html[data-theme="light"] .contact-field textarea:focus{
	box-shadow: 0 10px 34px rgba(16,24,32,0.06);
	border-color: var(--color-red);
	outline: none;
}

html[data-theme="light"] .contact-info-card{
	background: #ffffff;
	border: 1px solid rgba(9,9,9,0.06);
	box-shadow: 0 8px 20px rgba(16,24,32,0.04);
}

/* Slightly darker muted text for better contrast in light mode */
html[data-theme="light"] .contact-info-card p,
html[data-theme="light"] .contact-subtitle{
	color: rgba(9,9,9,0.6);
}

/* ===== Hover / Motion enhancements for contact area ===== */
.contact-info-card{
	transition: transform .28s cubic-bezier(.2,.9,.2,1),
				box-shadow .28s ease,
				border-color .28s ease;
	will-change: transform;
}

.contact-info-card:hover{
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 24px 48px rgba(16,24,32,0.12);
	border-color: rgba(107,15,26,0.12);
}

.contact-info-card .contact-info-icon{
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.6rem auto;
	font-size: 1.05rem;
	background: rgba(255,255,255,0.02);
	transition: transform .28s cubic-bezier(.2,.9,.2,1),
				background .28s ease,
				box-shadow .28s ease;
}

.contact-info-card:hover .contact-info-icon{
	transform: translateY(-4px) scale(1.06);
	background: linear-gradient(135deg, rgba(107,15,26,0.12), rgba(107,15,26,0.06));
	box-shadow: 0 10px 30px rgba(107,15,26,0.10);
	color: var(--color-red);
}

.contact-info-card h3{
	transition: transform .22s ease, color .18s ease;
}
.contact-info-card:hover h3{ transform: translateY(-3px); }

/* Lift entire form slightly on hover for a subtle interactive feel */
.contact-form{
	transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}
.contact-form:hover{ transform: translateY(-6px); box-shadow: 0 22px 46px rgba(16,24,32,0.06); }

/* Button micro-interaction */
.contact-btn{
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	will-change: transform;
}
.contact-btn:hover{ transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 30px rgba(107,15,26,0.16); }

/* Respect user's reduce-motion preference */
@media (prefers-reduced-motion: reduce){
	.contact-info-card,
	.contact-form,
	.contact-btn,
	.contact-field input,
	.contact-field select,
	.contact-field textarea{
		transition: none !important;
		animation: none !important;
	}
}

/* Buttons */
.btn-primary{
	background: var(--accent);
	border: 0;
}

/* small responsive tweaks */
@media (max-width: 576px){
	.bottom-style-nav .nav-link{
		padding: .5rem .6rem;
	}
	header .navbar-brand .h4{
		font-size: 1.05rem;
	}
}

/* Skills */
.skill-item i{
	font-size: 1rem;
	margin-right: .45rem;
	opacity: .95;
}

.skill-item{
	padding: .45rem .65rem;
	border-radius: .6rem;
}

/* ensure badges have readable text on light theme */
html[data-theme="light"] .badge.bg-secondary{
	background: #efefef;
	color: var(--text);
}

/* Skill categories */
.skill-category{
	font-size: 1rem;
	margin: 0 0 .5rem 0;
	color: var(--text);
	font-weight: 600;
}

.tech-badge i{
	font-size: 1rem;
	margin-right: .5rem;
}

.tech-badge{
	padding: .45rem .7rem;
	border-radius: .5rem;
}

/* project badges */
.project-card{
	min-width: 432px;
	height: 302px;
	flex-wrap: wrap;
	margin-top: .6rem;
}

.project-badges .badge{
	background: rgba(255,255,255,.04);
	color: var(--muted);
	border-radius: .4rem;
	padding: .25rem .45rem;
	font-size: .8rem;
}

/* Logo brand */
.brand-logo{
	width: 44px;
	height: auto;
	display: block;
}

.navbar-brand small{
	color: var(--muted);
}

/* === Variant 1: sticky + hover sounds/effects === */
/* Make the visible variant-1 header sticky at top */
.header-previews[data-active="1"] .variant-1{
	display: block;
}

.variant-1{
	position: sticky;
	/* laisser un petit espace entre le haut de la fenêtre et l'en-tête sticky */
	top: 12px;
	z-index: 1150;
}

.variant-1 .container{
	padding-top: .6rem;
	padding-bottom: .6rem;
}

.variant-1.scrolled{
	background: linear-gradient(180deg, rgba(5,16,20,0.9), rgba(5,16,20,0.7));
	backdrop-filter: blur(6px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* nav pill hover effects */
.variant-1 .header-nav .nav-link{
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.variant-1 .header-nav .nav-link:hover{
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 10px 22px rgba(0,0,0,0.45);
}

.variant-1 .header-nav .nav-link:active{
	transform: translateY(-1px) scale(0.998);
}

.variant-1 .header-nav .nav-link:focus{
	outline: 2px solid rgba(220,224,217,0.06);
	outline-offset: 3px;
}

/* subtle pulse on theme button hover */
#themeToggle:hover,
#themeToggle2:hover,
#themeToggle4:hover,
#themeToggle5:hover{
	transform: scale(1.04);
	box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

/* selector weight */
.header-selector{
	background: transparent;
	border: 0;
}

.header-selector .sel-btn{
	opacity: .8;
	transition: transform .12s ease, background .12s ease;
	will-change: transform;
}

.header-selector .sel-btn:hover{
	transform: translateY(-2px);
	cursor: pointer;
}

/* ---------------------- Footer styles (end of file) ---------------------- */
.site-footer{
	border-top: 1px solid rgba(255,255,255,0.04);
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	/* allow footer to stick to bottom when page is short */
	margin-top: auto;
	background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent);
	flex-shrink: 0;
}

.site-footer .footer-bar{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-footer .footer-copyright{
	margin-bottom: .85rem;
	color: var(--muted);
	font-size: .95rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.site-footer .footer-copyright span i{
	color: var(--color-red);
}

.site-footer .footer-left{
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: .65rem;
}

.site-footer .footer-separator{
	color: rgba(220,224,217,0.38);
	user-select: none;
}

.site-footer .footer-link{
	color: var(--muted);
	text-decoration: none;
	transition: color .14s ease, transform .12s ease, opacity .12s ease;
	font-weight: 500;
}
.site-footer .footer-link:hover{
	color: var(--text);
	text-decoration: underline;
}

.site-footer .footer-socials{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .75rem;
	flex-wrap: wrap;
}

.site-footer .footer-social-bubble{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.06);
	color: var(--text);
	text-decoration: none;
	transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-footer .footer-social-bubble i{
	font-size: 1rem;
}

.site-footer .footer-social-bubble:hover{
	transform: translateY(-2px);
	background: rgba(107,15,26,0.18);
	border-color: rgba(107,15,26,0.32);
	box-shadow: 0 10px 24px rgba(0,0,0,0.2);
	color: #fff;
}

@media (prefers-color-scheme: light){
	.site-footer{ background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
}

@media (max-width: 575px){
	.site-footer{ text-align: center; }
	.site-footer .footer-copyright{
		margin-bottom: 1rem;
	}
	.site-footer .footer-bar{
		justify-content: center;
	}
	.site-footer .footer-socials{
		justify-content: center;
	}
}

/* small helper: reduce link opacity in muted state */
.site-footer .text-muted .footer-link{ opacity: 0.88; }

/* built-with / direction artistique (footer) */
.built-with{ display: inline-flex;gap: 0px;align-items: center;border-radius: 999px;font-size: 0.95rem;color: var(--muted);margin: 0;line-height: 1;flex-wrap: wrap; }
.built-with .made{ color:var(--muted); display:inline-flex; gap:0.4rem; align-items:center; }
.built-with i{ color:var(--color-red); font-size:1rem; display:inline-block; line-height:1; }
.built-with .sep{ color: rgba(255,255,255,0.06); margin:0 6px; }
.built-with .da-label{ text-transform:uppercase; font-weight:600; font-size:0.75rem; letter-spacing:0.06em; color:var(--muted); }
.built-with .designer{ color:var(--color-red); font-weight:700; margin-left:6px; text-decoration:none; }
.built-with .designer:hover{ text-decoration:underline; opacity:0.95; }

@media (max-width:768px){ .built-with{ font-size:0.9rem; padding:6px 10px; } }

/* end footer styles */

/* === Projects horizontal marquee === */
.projects-section{
	padding-top: 2rem;
}

/* === Services (offres) section === */
.services-section{
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.service-cards .service-card {
    background: linear-gradient(130deg, #6B0F1A 32%, #090909 81%);
    border-radius: 16px;
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}
/* Hover animation: lift + subtle accent on icons */
.service-cards .service-card {
	transition: transform .36s cubic-bezier(.2,.9,.2,1), box-shadow .36s ease, background .28s ease;
	will-change: transform;
}
.service-cards .service-card:hover,
.service-cards .service-card:focus-within {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.service-cards .service-card:focus-within { outline: none; }

/* Accent the icons on hover */
.service-cards .service-card:hover .service-logos i,
.service-cards .service-card:focus-within .service-logos i {
	color: var(--accent);
	transform: translateY(-2px) scale(1.08);
}
.service-logos i {
	transition: transform .28s cubic-bezier(.2,.9,.2,1), color .22s ease;
}

@media (max-width: 576px) {
	.service-cards .service-card:hover { transform: none; box-shadow: 0 16px 36px rgba(0,0,0,0.35); }
}
.service-title{
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: .6rem;
		color: #ffffff !important;
}
.service-logos img{ height: 20px; margin-right: .5rem; opacity: .95; }
.service-logos i{
	font-size: 1.35rem;
	margin-right: .6rem;
	opacity: .95;
	vertical-align: middle;
	color: #ffffff !important;
}
.service-logos i + i{ margin-left: .25rem; }
.service-logos .visually-hidden{ position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.service-desc{ color: #ffffff !important; margin: .6rem 0 1rem 0; flex: 0 0 auto; }
.service-price{ color: #ffffff !important; font-weight: 600; margin-bottom: 1rem; }
.service-image {
    height: 155px;
    border-radius: 0px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 992px){
	.service-cards .service-card{ min-height: 380px; }
	.service-image{ height: 110px; }
}

@media (max-width: 576px){
	.service-cards .service-card{ padding: 1.25rem; min-height: 320px; }
	.service-image{ height: 260px; }
}

/* Other services full-bleed */
.more-services-section{
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 5.5rem 0 6rem;
}
.more-services-shell{
	max-width: 980px;
	padding-left: 1rem;
	padding-right: 1rem;
}
.more-services-heading{
	margin-bottom: 2rem;
}
.more-services-grid{
	display: grid;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 3rem;
	box-sizing: border-box;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	align-items: stretch;
}
.more-service-card{
	background: linear-gradient(130deg, #6B0F1A 32%, #090909 81%);
	border-radius: 24px;
	padding: 1.6rem;
	min-height: 310px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 40px rgba(9,9,9,0.06);
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.more-service-card:hover{
	transform: translateY(-8px);
	box-shadow: 0 28px 52px rgba(107,15,26,0.12);
	border-color: rgba(107,15,26,0.18);
}
.more-service-card h3{
	margin: 0 0 1rem;
	font-size: 1.45rem;
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #ffffff;
}
.more-service-card p{
	margin: 0;
	font-size: .98rem;
	line-height: 1.55;
	color: #ffffff;
}
.more-service-cta{
	margin-top: auto;
	padding-top: 1.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 190px;
	padding: .8rem .95rem .8rem 1.2rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--color-red) 0%, #8a1f2e 100%);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 14px 30px rgba(107,15,26,0.18);
	transition: transform .22s ease, box-shadow .22s ease;
}
.more-service-cta i{
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	color: var(--color-red);
	font-size: 1rem;
}
.more-service-cta:hover{
	transform: translateY(-2px);
	box-shadow: 0 20px 38px rgba(107,15,26,0.22);
	color: #fff;
}

@media (max-width: 992px){
	.more-services-grid{
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
		padding: 0 2rem;
	}
	.more-service-card{
		min-height: 0;
	}
}

@media (max-width: 576px){
	.more-services-section{
		padding: 4rem 0;
	}
	.more-services-shell{
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.more-services-heading{
		margin-bottom: 1.5rem;
	}
	.more-services-grid{
		grid-template-columns: 1fr;
		padding: 0 1rem;
	}
	.more-service-card{
		padding: 1.4rem;
		border-radius: 18px;
	}
	.more-service-card h3{
		font-size: 1.55rem;
	}
	.more-service-card p{
		font-size: 1rem;
	}
}

.project-track{
	overflow: hidden;
	margin: 1rem 0 2rem 0;
}

/* full-bleed variant: extend the track to full viewport width while keeping content centered */
.project-track.full-bleed{
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
	padding: 0 3rem; /* horizontal breathing room */
}

/* Full-bleed 4 cards showcase */
.full-bleed-cards{
	/* section acts as a centered container; only .cards-inner will go full-bleed */
	max-width: 980px;
	margin: 0 auto;
	box-sizing: border-box;
	background: transparent;
	padding: 2.5rem 1rem;
}
.full-bleed-cards .cards-inner{
	/* make cards-inner stretch full-viewport while keeping parent centered text/title */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 3rem; /* breathing room inside full-bleed area */
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	align-items: start;
	grid-auto-rows: 1fr; /* ensure each card row stretches to equal height */
}
.full-bleed-cards .card-large{
	background: transparent;
	border-radius: 0;
	padding: 0;
	min-height: unset;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: .9rem;
	color: var(--text);
	transform: translateY(0);
	transition: transform .28s ease, opacity .28s ease;
}
.full-bleed-cards .card-large h3{
	margin: 0 0 .3rem 0;
	font-size: 1.15rem;
	transition: transform .28s ease, color .28s ease;
}
.full-bleed-cards .card-large p{
	color: var(--muted);
	margin: 0;
	font-size: .92rem;
	transition: transform .28s ease, color .28s ease, opacity .28s ease;
}
.full-bleed-cards .card-visual{
	height:195px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	transform: scale(1);
	filter: saturate(.92) brightness(.96);
	box-shadow: 0 0 0 rgba(0,0,0,0);
	transition: transform .4s cubic-bezier(.2,.9,.2,1), filter .28s ease, box-shadow .28s ease;
}
.full-bleed-cards .card-large:hover{
	transform: translateY(-8px);
}
.full-bleed-cards .card-large:hover .card-visual{
	transform: scale(1.035);
	filter: saturate(1.02) brightness(1.02);
	box-shadow: 0 22px 50px rgba(0,0,0,0.28);
}
.full-bleed-cards .card-large:hover h3,
.full-bleed-cards .card-large:hover p{
	transform: translateY(-2px);
}

@media (max-width: 992px){
	.full-bleed-cards .cards-inner{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px){
	.full-bleed-cards .cards-inner {
		width: auto;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		box-sizing: border-box;
		display: grid;
		grid-template-columns: 1fr;
		gap: 1rem;
		align-items: start;
		grid-auto-rows: 1fr;
	}
	.full-bleed-cards{ padding: 1.5rem 1rem; }
	.full-bleed-cards .card-visual{ height: 260px; }
}

	/* Diagonal skills ribbons */
	.skills-ribbons-section{
		position: relative;
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		height: 280px;
		overflow: hidden;
		isolation: isolate;
	}
	.skills-ribbons-section .ribbons-stage{
		position: relative;
		width: 100%;
		height: 100%;
	}
	.skills-ribbons-section .ribbon{
		position: absolute;
		left: -8%;
		width: 116%;
		height: 78px;
		display: flex;
		align-items: center;
		overflow: hidden;
		box-shadow: 0 14px 38px rgba(0,0,0,0.18);
		will-change: transform;
	}
	.skills-ribbons-section .ribbon-blue {
		top: 86px;
		background: var(--color-red);
		transform: rotate(5deg);
		z-index: 1;
	}
	.skills-ribbons-section .ribbon-dark {
		top: 118px;
		background: #0e0e0e;
		transform: rotate(-3.6deg);
		z-index: 2;
	}
	.skills-ribbons-section .ribbon-track{
		display: inline-flex;
		align-items: center;
		gap: 2.75rem;
		min-width: max-content;
		padding: 0 2rem;
		white-space: nowrap;
		animation: ribbon-scroll-left 28s linear infinite;
		font-size: 1.02rem;
		font-weight: 700;
		color: #fff;
		letter-spacing: -0.02em;
	}
	.skills-ribbons-section .ribbon-track.reverse{
		animation-name: ribbon-scroll-right;
		animation-duration: 30s;
	}
	.skills-ribbons-section .ribbon-track span{
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: .9rem;
		padding-left: 1.25rem;
	}
	.skills-ribbons-section .ribbon-track span::before{
		content: "";
		position: absolute;
		left: 0;
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: currentColor;
		top: 50%;
		transform: translateY(-50%);
		opacity: .95;
	}

	@keyframes ribbon-scroll-left{
		0%{ transform: translateX(0); }
		100%{ transform: translateX(-33.3333%); }
	}

	@keyframes ribbon-scroll-right{
		0%{ transform: translateX(-33.3333%); }
		100%{ transform: translateX(0); }
	}

	@media (max-width: 768px){
		.skills-ribbons-section{
			height: 220px;
		}
		.skills-ribbons-section .ribbon{
			height: 64px;
			left: -16%;
			width: 132%;
		}
		.skills-ribbons-section .ribbon-blue{
			top: 28px;
		}
		.skills-ribbons-section .ribbon-dark{
			top: 103px;
		}
		.skills-ribbons-section .ribbon-track{
			gap: 2rem;
			font-size: .92rem;
		}
	}

	/* Comparison section */
	.comparison-title{
		max-width: 900px;
		margin: 0 auto 2.75rem;
		text-align: center;
		font-size: clamp(2rem, 4.6vw, 3.35rem);
		line-height: 1.12;
		font-weight: 700;
		letter-spacing: -0.04em;
	}
	.redspan span{
		background: var(--color-red);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
	.comparison-grid{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 2rem;
		align-items: stretch;
	}
	.comparison-card{
		border-radius: 24px;
		padding: 2rem 1.8rem;
		display: flex;
		flex-direction: column;
		min-height: 390px;
		box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
		position: relative;
		overflow: hidden;
		transform: translateY(0);
		transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease, background .28s ease;
	}
	.comparison-card::after{
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%);
		opacity: 0;
		pointer-events: none;
		transition: opacity .28s ease;
	}
	.comparison-card h3{
		margin: 0 0 1.5rem;
		font-size: 1.9rem;
		line-height: 1.05;
		font-weight: 700;
		letter-spacing: -0.04em;
		transition: transform .28s ease;
	}
	.comparison-card-muted{
		background: #0e0e0e;
		color: #ffffff;
		backdrop-filter: blur(4px);
	}
	.comparison-card-featured{
		background: var(--color-red);
		color: #fff;
		transform: translateY(-12px);
		box-shadow: 0 30px 60px rgba(107, 15, 26, 0.28);
	}
	.comparison-card-featured h3,
	.comparison-card-featured .comparison-list li,
	.comparison-card-featured .comparison-note{
		color: #fff;
	}
	.comparison-list{
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: .9rem;
	}
	.comparison-list li{
		display: flex;
		align-items: flex-start;
		gap: .7rem;
		font-size: 1.05rem;
		line-height: 1.45;
		transition: transform .24s ease, opacity .24s ease;
	}
	.comparison-list i{
		flex: 0 0 auto;
		width: 1.45rem;
		height: 1.45rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 999px;
		font-size: .95rem;
		margin-top: .05rem;
		background: rgba(255,255,255,0.92);
		transition: transform .24s ease, background .24s ease, color .24s ease;
	}
	.comparison-list-negative i{
		color: var(--color-red);
	}
	.comparison-list-positive i{
		color: var(--color-red);
	}
	.comparison-cta{
		margin-top: auto;
		display: inline-flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: .9rem 1rem .9rem 1.25rem;
		border-radius: 15px;
		background: var(--color-black);
		color: #fff;
		text-decoration: none;
		font-weight: 600;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
		transition: transform .22s ease, box-shadow .22s ease;
		margin-top: 15px;
	}
	.comparison-cta i{
		width: 2.2rem;
		height: 2.2rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: rgba(255,255,255,0.92);
		color: var(--color-red);
		font-size: 1.1rem;
	}
	.comparison-cta:hover{
		transform: translateY(-2px);
		box-shadow: 0 18px 32px rgba(107, 15, 26, 0.26);
		color: #fff;
	}
	.comparison-card:hover{
		transform: translateY(-10px);
		box-shadow: 0 28px 54px rgba(0,0,0,0.24);
	}
	.comparison-card:hover::after{
		opacity: 1;
	}
	.comparison-card:hover h3{
		transform: translateY(-2px);
	}
	.comparison-card:hover .comparison-list li{
		transform: translateX(4px);
	}
	.comparison-card:hover .comparison-list i{
		transform: scale(1.08);
	}
	.comparison-card-featured:hover{
		box-shadow: 0 36px 70px rgba(107, 15, 26, 0.34);
	}

	@media (max-width: 768px){
		.comparison-card:hover{
			transform: translateY(-4px);
		}
		.comparison-card:hover .comparison-list li{
			transform: none;
		}
	}
	.comparison-note{
		margin-top: auto;
		padding-top: 1.35rem;
		font-size: .95rem;
		line-height: 1.45;
		color: var(--color-red);
		font-weight: 700;
	}

	@media (max-width: 992px){
		.comparison-grid{
			grid-template-columns: 1fr;
			gap: 1.25rem;
		}
		.comparison-card,
		.comparison-card-featured{
			min-height: auto;
			transform: none;
		}
		.comparison-title{
			max-width: 680px;
			margin-bottom: 2rem;
		}
	}

	@media (max-width: 576px){
		.comparison-section{
			padding: 4rem 0;
		}
		.comparison-card{
			padding: 1.5rem 1.25rem;
			border-radius: 18px;
		}
		.comparison-card h3{
			font-size: 1.55rem;
		}
		.comparison-list li{
			font-size: .98rem;
		}
	}

/* Appointment section */
.appointment-section{
	padding: 6rem 0;
	overflow: hidden;
}
.appointment-layout{
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(380px, 420px);
	gap: 3rem;
	align-items: center;
	min-height: 520px;
}
.appointment-copy{
	max-width: 460px;
	padding-left: 1rem;
	z-index: 2;
}
.appointment-copy h2{
	margin: 0 0 2rem;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.04em;
}
.appointment-meta{
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}
.appointment-icon{
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--color-red);
	color: var(--color-red);
	flex: 0 0 auto;
	margin-top: .1rem;
	background: rgb(255, 255, 255);
}
.appointment-meta h3{
	margin: 0 0 .45rem;
	font-size: 1.8rem;
	line-height: 1.1;
	font-weight: 700;
	color: var(--color-red);
}
.appointment-meta p{
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.55;
}
.appointment-visual{
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	z-index: 1;
}
.appointment-path{
	position: absolute;
	left: -270px;
	right: 320px;
	top: 50%;
	transform: translateY(-10%);
	height: 220px;
	pointer-events: none;
	z-index: 0;
}
.appointment-path svg{
	width: 100%;
	height: 100%;
	overflow: visible;
}
.appointment-path path{
	stroke: var(--color-red);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.appointment-path .dot{
	position: absolute;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--color-red);
	box-shadow: 0 0 0 5px rgba(255,255,255,0.92);
}
.appointment-path .dot-start{
	left: 10px;
	top: 38px;
}
.appointment-path .dot-end{
	right: -11px;
	top: 70px;
}
.appointment-card{
	position: relative;
	width: 100%;
	max-width: 410px;
	background: #0e0e0e;
	border: 1px solid rgba(107, 15, 26, 0.45);
	border-radius: 18px;
	padding: 2rem 2rem 1.6rem;
	box-shadow: 0 24px 60px rgba(53, 76, 125, 0.12);
	backdrop-filter: blur(8px);
	z-index: 1;
	transition: transform .28s ease, box-shadow .28s ease;
}
.appointment-card:hover{
	transform: translateY(-6px);
	box-shadow: 0 30px 70px rgba(53, 76, 125, 0.18);
}
.appointment-card-top{
	text-align: center;
	margin-bottom: 1.6rem;
}

.appointment-brand{
	display: flex;
	align-items: center;
	justify-content: center; /* center logo horizontally */
	margin-bottom: .75rem;
}

/* ensure logo inside appointment card is sized and centered */
.appointment-brand .brand-logo{
	width: 56px; /* slightly larger than header logo for visual balance */
	height: auto;
	display: block;
}

.appointment-card-top h3{
	margin: 0 0 1rem;
	font-size: 1.55rem;
	font-weight: 600;
	color: #ffffff;
}
.appointment-month-nav button{
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	border: 0;
	background: rgba(107,15,26,0.12);
	color: var(--color-red);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.appointment-month-nav span{
	color: #ffffff;
}
.appointment-calendar{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.appointment-weekdays,
.appointment-days{
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: .6rem;
	text-align: center;
}
.appointment-weekdays span{
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: #ffffff;
}
.appointment-days span{
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	font-size: .95rem;
	color: #ffffff;
	position: relative;
}
.appointment-days .muted{
	visibility: hidden;
}
.appointment-days .dot-day::after{
	content: "";
	position: absolute;
	bottom: -3px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--color-red);
}
.appointment-days .active{
	background: rgba(107,15,26,0.12);
	color: var(--color-red);
	font-weight: 700;
}
.appointment-cta{
	margin-top: 1.8rem;
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding: .95rem 1rem .95rem 1.15rem;
	border-radius: 999px;
	background: var(--color-black);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 16px 35px rgba(9,9,9,0.18);
	transition: transform .22s ease, box-shadow .22s ease;
}
.appointment-cta i{
	width: 2.2rem;
	height: 2.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	color: var(--color-red);
	font-size: 1.05rem;
}
.appointment-cta:hover{
	transform: translateY(-2px);
	box-shadow: 0 22px 40px rgba(107,15,26,0.22);
	color: #fff;
}

@media (max-width: 992px){
	.appointment-layout{
		grid-template-columns: 1fr;
		gap: 2rem;
		min-height: 0;
	}
	.appointment-copy{
		max-width: 100%;
		padding-left: 0;
	}
	.appointment-visual{
		min-height: 0;
		justify-content: center;
	}
	.appointment-path{
		left: 40px;
		right: 40px;
		top: -10px;
		transform: none;
		height: 140px;
	}
	.appointment-path .dot-start{
		left: 18%;
		top: 8px;
	}
	.appointment-path .dot-end{
		right: 17%;
		top: 44px;
	}
	.appointment-card{
		margin-top: 4.5rem;
	}
}

@media (max-width: 576px){
	.appointment-section{
		padding: 4rem 0;
	}
	.appointment-copy h2{
		font-size: 2.2rem;
	}
	.appointment-meta h3{
		font-size: 1.5rem;
	}
	.appointment-card{
		padding: 1.4rem 1rem 1.2rem;
	}
	.appointment-brand{
		font-size: 1.65rem;
	}
	.appointment-card-top h3{
		font-size: 1.2rem;
	}
	.appointment-month-nav{
		gap: .5rem;
		font-size: .9rem;
	}
	.appointment-weekdays,
	.appointment-days{
		gap: .3rem;
	}
	.appointment-days span{
		width: 2rem;
		height: 2rem;
		font-size: .85rem;
	}
	.appointment-path{
		display: none;
	}
	.appointment-card{
		margin-top: 0;
	}
}

/* Twitch live player styles */
.twitch-live-wrapper{
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.twitch-live-wrapper video{
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	background: #000;
	display: block;
	border-radius: 12px;
}

@media (max-width: 768px){
	.twitch-live-wrapper video{ aspect-ratio: 4 / 3; }
}

/* Twitch live — background full-bleed (header + hero) */
#hero-zone{
	position: relative;
	overflow: clip; /* clip ne casse pas le header sticky */
}
#hero-zone .twitch-bg-video{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 95%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
	filter: brightness(0.32) saturate(0.7);
}
#hero-zone > *:not(.twitch-bg-video):not(.twitch-bg-link):not(.header-main){ position: relative; z-index: 2; }
.twitch-bg-link{
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	cursor: pointer;
}

/* Badge EN LIVE */
#live-badge{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #e91916;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 4px;
	vertical-align: middle;
	margin-left: 8px;
}
#live-badge .live-dot{
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	animation: live-pulse 1.1s infinite;
	flEx-shrink: 0;
}
@keyframes live-pulse{
	0%,100%{ opacity:1; transform:scale(1); }
	50%{ opacity:0.35; transform:scale(0.65); }
}
.project-track.full-bleed .track{
	/* keep cards centered within the full-bleed area */
	align-items: center;
}
.project-track .track{
	display: flex;
 	gap: 1.25rem;
 	align-items: center;
 	/* the track content will be duplicated (via JS) and the animation
 	   translates the full duplicated width to create a seamless loop */
 	animation: scroll-left 25s linear infinite;
	animation-play-state: paused; /* keep paused until JS marks ready */
}
.project-track .track.reverse{
 	animation-direction: reverse;
 	animation-duration: 25s;
}

/* start animation only when ready to avoid visual jumps while layout/images load */
.project-track.is-ready .track{
    animation-play-state: running;
}
.project-card{
	min-width: 432px;
	/* let inner element determine height based on image aspect ratio */
	height: auto;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.03);
	flex-shrink: 0;
	transform-style: preserve-3d;
	transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
	will-change: transform;
	overflow: hidden; /* clip inner content */
	background: transparent; /* images live in inner element */
}

@keyframes scroll-left{
 	0%{ transform: translateX(0%); }
 	100%{ transform: translateX(-50%); }
}

@media (max-width: 1200px){
	.project-card{ min-width: 520px; height: 360px; }
}

@media (max-width: 1024px){
	.project-card{ min-width: 420px; height: 300px; }
}

@media (max-width: 768px){
	.project-card{ min-width: 320px; height: 173px; }
}

/* Inner element: holds the background image and performs the tilt */
.project-card-inner{
	width:100%;
	/* maintain original image aspect ratio so large images fit without cropping */
	aspect-ratio: 2625 / 1410;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: inherit;
	transform-style: preserve-3d;
	transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
	will-change: transform;
	backface-visibility: hidden;
	display: block;
}

/* fallback hover for inner element when JS is disabled */
.project-card-inner:hover{
	transform: perspective(1900px) rotateX(6deg) rotateY(-6deg) translateY(-6px);
}

