﻿
/* ===================================================
       VARIABLES
       =================================================== */
:root {
	--bg: #e4e5df;
	--bg-card: #edeee8;
	--bg-white: #f5f5f0;
	--primary: #244780;
	--primary-dk: #1a3358;
	--primary-lt: rgba(36, 71, 128, 0.08);
	--comp: #cc8221;
	--comp-lt: rgba(204, 130, 33, 0.12);
	--accent: #803224;
	--accent-lt: rgba(128, 50, 36, 0.1);
	--text: #083447;
	--text-sec: #657379;
	--border: rgba(36, 71, 128, 0.12);
	--border-comp: rgba(204, 130, 33, 0.3);
	--shadow-sm: 0 2px 12px rgba(8, 52, 71, 0.06);
	--shadow: 0 4px 24px rgba(8, 52, 71, 0.09);
	--shadow-lg: 0 8px 40px rgba(8, 52, 71, 0.14);
	--radius: 14px;
	--radius-sm: 8px;
	--ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	/*overflow-x: hidden;*/
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

/* ===================================================
       TYPOGRAPHY
       =================================================== */
h1, h2, h3, h4 {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text);
}

/* ===================================================
       LAYOUT UTILITIES
       =================================================== */
.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 28px;
}

.section {
	padding: 88px 0;
}

.section-label {
	font-family: 'Raleway', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3.5px;
	text-transform: uppercase;
	color: var(--comp);
	margin-bottom: 10px;
}

.section-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: clamp(26px, 3vw, 36px);
	color: var(--primary);
	position: relative;
	padding-bottom: 16px;
}

	.section-title::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 44px;
		height: 3px;
		background: var(--comp);
		border-radius: 2px;
	}

.section-header {
	margin-bottom: 52px;
}

/* Tags */
.tag {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.3px;
}

.tag-primary {
	background: var(--primary-lt);
	color: var(--primary);
	border: 1px solid var(--border);
}

.tag-comp {
	background: var(--comp-lt);
	color: var(--comp);
	border: 1px solid var(--border-comp);
}

.tag-accent {
	background: var(--accent-lt);
	color: var(--accent);
	border: 1px solid rgba(128,50,36,0.25);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--radius-sm);
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--ease);
	white-space: nowrap;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
}

	.btn-primary:hover {
		background: var(--primary-dk);
		transform: translateY(-2px);
		box-shadow: var(--shadow-lg);
	}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}

	.btn-outline:hover {
		background: var(--primary);
		color: #fff;
		transform: translateY(-2px);
	}

.btn-comp {
	background: var(--comp);
	color: #fff;
}

	.btn-comp:hover {
		background: #b47119;
		transform: translateY(-2px);
		box-shadow: 0 8px 28px rgba(204,130,33,0.35);
	}

/* ===================================================
       SCROLL REVEAL
       =================================================== */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

	.reveal.delay-1 {
		transition-delay: 0.1s;
	}

	.reveal.delay-2 {
		transition-delay: 0.2s;
	}

	.reveal.delay-3 {
		transition-delay: 0.3s;
	}

	.reveal.in {
		opacity: 1;
		transform: translateY(0);
	}

/* ===================================================
       NAV
       =================================================== */
#main-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	transition: var(--ease);
	padding: 18px 0;
}

	#main-nav.scrolled {
		background: rgba(228, 229, 223, 0.96);
		backdrop-filter: blur(14px);
		box-shadow: 0 1px 20px rgba(8,52,71,0.09);
		padding: 12px 0;
	}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 28px;
}

.nav-logo {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: var(--primary);
	letter-spacing: -0.5px;
}

	.nav-logo span {
		color: var(--comp);
	}

.nav-links {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
}

	.nav-links a {
		font-family: 'Raleway', sans-serif;
		font-weight: 600;
		font-size: 12px;
		color: var(--text-sec);
		text-transform: uppercase;
		letter-spacing: 1.2px;
		transition: color var(--ease);
	}

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

.nav-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

/*.lang-btn {
	background: transparent;
	border: 1.5px solid var(--border);
	color: var(--text-sec);
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 1px;
	padding: 6px 12px;
	border-radius: 20px;
	cursor: pointer;
	transition: var(--ease);
}*/


.lang-toggle {
	display: flex;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 50px;
	padding: 3px;
}

.lang-btn {
	padding: 0.2rem 0.75rem;
	border-radius: 50px;
	font-size: 0.7rem;
	font-weight: 700;
	cursor: pointer;
	border: none;
	background: transparent;
	color: var(--muted);
	font-family: 'Space Grotesk', sans-serif;
	transition: all 0.2s;
}
	.lang-btn:hover {
		border-color: var(--comp);
		color: var(--comp);
	}

	.lang-btn.active {
		background: var(--primary);
		color: white;
	}

.nav-cv-btn {
	display: flex;
	align-items: center;
	gap: 7px;
	background: var(--comp);
	color: #fff;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 12px;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: var(--ease);
	text-decoration: none;
}

	.nav-cv-btn:hover {
		background: #b47119;
		transform: translateY(-1px);
	}

	.nav-cv-btn svg {
		width: 13px;
		height: 13px;
	}

/* ===================================================
       HERO
       =================================================== */
#hero {
	/*min-height: 100vh;*/
	display: flex;
	align-items: center;
	padding: 110px 0 70px;
	position: relative;
	overflow: hidden;
}

/* Motif géométrique décoratif droit */
.hero-geo {
	position: absolute;
	top: 0;
	right: 0;
	width: 52%;
	height: 100%;
	/*background: #2447800f;*/
	clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
	opacity: 1;
	pointer-events: none;
}

.hero-geo-img {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;

	opacity: 0.6;
	pointer-events: none;
}

/* Orb ambre */
.hero-orb {
	position: absolute;
	bottom: -80px;
	right: 10%;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, var(--comp) 0%, transparent 70%);
	opacity: 0.08;
	pointer-events: none;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 440px;
	gap: 64px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.hero-eyebrow {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: var(--comp);
	letter-spacing: 2px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}

	.hero-eyebrow::before {
		content: '';
		display: block;
		width: 24px;
		height: 2px;
		background: var(--comp);
	}

.hero-name {
	font-family: 'Raleway', sans-serif;
	font-size: clamp(44px, 5.5vw, 72px);
	font-weight: 900;
	color: var(--accent);
	line-height: 1.05;
	letter-spacing: -2px;
	margin-bottom: 14px;
}

.hero-title {
	font-family: 'Raleway', sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: var(--comp);
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hero-title-sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--comp);
	opacity: 0.5;
}

.hero-bio {
	font-size: 16px;
	color: var(--text-sec);
	line-height: 1.75;
	margin-bottom: 36px;
	max-width: 520px;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.hero-social {
	display: flex;
	gap: 10px;
	align-items: center;
}

.social-icon {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	color: var(--text-sec);
	background: var(--bg-card);
	transition: var(--ease);
}

	.social-icon:hover {
		border-color: var(--primary);
		color: var(--primary);
		background: var(--primary-lt);
		transform: translateY(-3px);
	}

	.social-icon svg {
		width: 17px;
		height: 17px;
	}

/* Hero card right */
.hero-card {
	background: var(--bg-white);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.hero-card-top {
	background: var(--primary);
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--comp), #e8a93e);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: #fff;
	flex-shrink: 0;
	border: 3px solid rgba(255,255,255,0.2);
}

.avatar-img {
	width: 55px;
	height: 55px;
	border-radius: 50%;
}

.avatar-info-name {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
}

.avatar-info-role {
	font-size: 12px;
	color: rgba(255,255,255,0.65);
	margin-top: 3px;
}

.available-badge {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 20px;
	padding: 5px 12px;
	font-size: 11px;
	color: rgba(255,255,255,0.85);
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	white-space: nowrap;
}

.badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}

	50% {
		opacity: 0.4;
	}
}

.hero-card-body {
	padding: 20px;
}

.card-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 18px;
}

.cstat {
	background: var(--bg);
	border-radius: var(--radius-sm);
	padding: 12px;
	text-align: center;
	border: 1px solid var(--border);
}

.cstat-val {
	font-family: 'Raleway', sans-serif;
	font-size: 26px;
	font-weight: 900;
	color: var(--primary);
	line-height: 1;
}

.cstat-label {
	font-size: 10px;
	color: var(--text-sec);
	margin-top: 4px;
	font-weight: 500;
}

.card-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

.card-divider {
	height: 1px;
	background: var(--border);
	margin: 14px 0;
}

.card-cv-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(90deg, var(--primary), #3460a8);
	color: #fff;
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	transition: var(--ease);
	width: 100%;
	justify-content: center;
}

	.card-cv-btn:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow-lg);
	}

	.card-cv-btn svg {
		width: 16px;
		height: 16px;
	}

/* ===================================================
       ABOUT
       =================================================== */
#about {
	background: var(--bg-white);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 60px;
	align-items: start;
}

.about-text p {
	color: var(--text-sec);
	line-height: 1.8;
	margin-bottom: 16px;
	font-size: 15px;
}

.about-values {
	margin-top: 28px;
	display: grid;
	gap: 12px;
}

.val-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px;
	background: var(--bg);
	border-radius: var(--radius-sm);
	border-left: 3px solid var(--accent);
}

.val-dot {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: 32px;
	filter: brightness(0) saturate(100%) invert(44%) sepia(92%) saturate(397%) hue-rotate(354deg) brightness(105%) contrast(95%);
	letter-spacing: -0.5px;
	width: 28px;
	height: 28px;
	align-self: center;
}

.val-dot-second {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: 22px;
	display: inline-block;
}

	.val-dot-second img {
		filter: brightness(0) saturate(100%) invert(24%) sepia(12%) saturate(4426%) hue-rotate(328deg) brightness(96%) contrast(94%);
		width: 18px;
		display: inline-block;
		margin-right: 6px;
		margin-bottom: -4px;
	}

.val-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: var(--text);
	margin-bottom: 3px;
}

.val-desc {
	font-size: 12px;
	color: var(--text-sec);
	line-height: 1.5;
}

/* Aside cards */
.aside-cards {
	display: grid;
	gap: 16px;
}

.aside-card {
	background: var(--bg);
	border-radius: var(--radius);
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-right: 3px solid var(--accent);
}

.aside-card-img {
	border-radius: var(--radius);
	padding: 18px 20px;
}
	.aside-card-img img {
		border-radius: var(--radius);
		border-right: 3px solid var(--accent);
		border-bottom: 3px solid var(--accent);
	}

.aside-card-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
}

.lang-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 14px;
}

.lang-level {
	font-size: 11px;
	font-weight: 700;
	color: var(--comp);
	font-family: 'Raleway', sans-serif;
}

.award-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.award-emoji {
	font-size: 22px;
}

.award-text-title {
	font-weight: 600;
	font-size: 13px;
	color: var(--text);
	margin-bottom: 3px;
}

.award-text-org {
	font-size: 11px;
	color: var(--text-sec);
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

/* ===================================================
       SKILLS
       =================================================== */
#skills {
	background: var(--bg);
	position:relative;
}

.unity {
	pointer-events: none;
	position: absolute;
	left: 30%;
	top: 0%;
	opacity: 0.16;
	filter: brightness(0) saturate(100%) invert(99%) sepia(65%) saturate(0%) hue-rotate(302deg) brightness(109%) contrast(100%);
}

.skills-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.skills-block-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 21px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--primary);
	margin-bottom: 20px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--border);
}

.skill-row {
	margin-bottom: 18px;
}

.skill-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 7px;
}

.skill-name {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 20px;
	font-size: 16px;
	font-weight: 600;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.3px;
}

.skill-pct {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	font-weight: 600;
	color: var(--comp);
}

.bar-bg {
	height: 7px;
	background: var(--border);
	border-radius: 4px;
	overflow: hidden;
}

.bar-fill {
	height: 100%;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--primary), var(--comp));
	width: 0;
	transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 9px;
	margin-top: 4px;
}

.tool-pill {
	background: var(--bg-white);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 9px 6px;
	text-align: center;
	font-size: 12px;
	font-weight: 500;
	color: var(--text);
	transition: var(--ease);
}

.tool-pill-1 {
	border-top: 2px solid var(--primary);
	border-left: 2px solid var(--primary);
}

.tool-pill-2 {
	border-top: 2px solid var(--primary);
}

.tool-pill-3 {
	border-top: 2px solid var(--primary);
	border-right: 2px solid var(--primary);
}

.tool-pill-4 {
	border-left: 2px solid var(--comp);
}

.tool-pill-5 {

}

.tool-pill-6 {
	border-right: 2px solid var(--comp);
}

.tool-pill-7 {
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
}

.tool-pill-8 {
	border-bottom: 2px solid var(--accent);
}

.tool-pill-9 {
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
}

.soft-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 6px;
}

.soft-pill {
	padding: 8px 14px;
	background: var(--bg-white);
	border: 1.5px solid var(--border);
	border-radius: 20px;
	font-size: 13px;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	color: var(--text);
	transition: var(--ease);
}

/* ===================================================
       EXPERIENCE (TIMELINE)
       =================================================== */
#experience {
	background: var(--bg-white);
}

.exp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
}

.timeline {
	padding-left: 28px;
	position: relative;
}

	.timeline::before {
		content: '';
		position: absolute;
		left: 0;
		top: 10px;
		bottom: 10px;
		width: 2px;
		background: linear-gradient(to bottom, var(--primary), rgba(36,71,128,0.1));
	}

.tl-item {
	position: relative;
	margin-bottom: 32px;
}

	.tl-item::before {
		content: '';
		position: absolute;
		left: -33px;
		top: 7px;
		width: 13px;
		height: 13px;
		border-radius: 50%;
		background: var(--comp);
		border: 3px solid var(--bg-white);
		box-shadow: 0 0 0 2px var(--comp);
	}

.tl-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.tl-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--text);
}

.tl-company {
	font-size: 13px;
	font-weight: 600;
	color: var(--comp);
	margin-top: 2px;
}

.tl-date {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--accent);
	background: var(--bg);
	padding: 3px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.tl-desc {
	font-size: 13px;
	color: var(--text-sec);
	line-height: 1.65;
	margin-bottom: 10px;
}

.tl-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.placeholder-note {
	font-style: italic;
	font-size: 12px;
	color: var(--comp);
	background: var(--comp-lt);
	border: 1px dashed var(--border-comp);
	border-radius: var(--radius-sm);
	padding: 8px 12px;
	margin-top: 6px;
}

/* ===================================================
       PROJECTS
       =================================================== */
#projects {
	background: var(--bg);
}

.projects-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

/* Featured : largeur pleine */
.proj-featured {
	grid-column: 1 / -1;
	display: flex;
}

.proj-card {
	background: var(--bg-white);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--ease);
}

	.proj-card:hover {
		transform: translateY(-5px);
		box-shadow: var(--shadow-lg);
		border-color: rgba(36,71,128,0.25);
	}

.proj-featured .proj-card {
	flex-direction: row;
}

.proj-thumb {
	height: 190px;
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}

.proj-featured .proj-thumb {
	width: 360px;
	height: auto;
}

.proj-thumb-bg {
	position: absolute;
	inset: 0;
	transition: transform 0.4s ease;
}

.proj-card:hover .proj-thumb-bg {
	transform: scale(1.06);
}

/* Motif grille sur thumb style gaming */
.proj-thumb-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 24px 24px;
}

.proj-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 10px;
	font-weight: 700;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0,0,0,0.45);
	padding: 3px 10px;
	border-radius: 20px;
	backdrop-filter: blur(4px);
}

.proj-year {
	position: absolute;
	bottom: 12px;
	right: 12px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: rgba(255,255,255,0.8);
	background: rgba(0,0,0,0.75);
	padding: 2px 8px;
	border-radius: 4px;
}

.proj-body {
	padding: 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.proj-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	font-size: 19px;
	color: var(--text);
	margin-bottom: 10px;
}

.proj-desc {
	font-size: 13px;
	color: var(--text-sec);
	line-height: 1.65;
	margin-bottom: 18px;
	flex: 1;
}

.proj-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--border);
	gap: 12px;
	flex-wrap: wrap;
}

.proj-link {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 12px;
	color: var(--primary);
	display: flex;
	align-items: center;
	gap: 4px;
	transition: var(--ease);
	white-space: nowrap;
}

	.proj-link:hover {
		color: var(--comp);
		gap: 8px;
	}


/* ===================================================
       CONTACT
   =================================================== */
#contact {
	background: var(--primary);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

#contact .section-label {
	color: rgba(204,130,33,0.9);
}

#contact .section-title {
	color: #fff;
}

	#contact .section-title::after {
		background: var(--comp);
	}

.contact-intro {
	font-size: 15px;
	color: rgba(255,255,255,0.7);
	line-height: 1.75;
	margin-bottom: 28px;
}

.contact-links {
	display: grid;
	gap: 10px;
}

.c-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--radius-sm);
	color: #fff;
	transition: var(--ease);
}

	.c-link:hover {
		background: rgba(255,255,255,0.13);
		border-color: var(--comp);
		transform: translateX(5px);
	}

.c-link-icon {
	width: 38px;
	height: 38px;
	border-radius: var(--radius-sm);
	background: var(--comp);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

	.c-link-icon svg {
		width: 18px;
		height: 18px;
	}

.c-link-meta {
	font-size: 10px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.45);
	margin-bottom: 2px;
}

.c-link-val {
	font-size: 14px;
	font-weight: 500;
}

/* Form */
.c-form {
	margin-top : 15px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: var(--radius);
	padding: 28px;
}

.c-form img {

	border-radius: var(--radius);

}

.c-form-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	font-size: 18px;
	color: #fff;
	margin-bottom: 22px;
}

.f-group {
	margin-bottom: 14px;
}

	.f-group label {
		display: block;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.5px;
		text-transform: uppercase;
		color: rgba(255,255,255,0.5);
		font-family: 'Raleway', sans-serif;
		margin-bottom: 5px;
	}

	.f-group input, .f-group textarea {
		width: 100%;
		background: rgba(255,255,255,0.08);
		border: 1px solid rgba(255,255,255,0.13);
		border-radius: var(--radius-sm);
		color: #fff;
		font-family: 'Inter', sans-serif;
		font-size: 14px;
		padding: 10px 14px;
		outline: none;
		transition: var(--ease);
	}

		.f-group input:focus, .f-group textarea:focus {
			border-color: var(--comp);
			background: rgba(255,255,255,0.12);
		}

		.f-group input::placeholder, .f-group textarea::placeholder {
			color: rgba(255,255,255,0.28);
		}

	.f-group textarea {
		height: 100px;
		resize: vertical;
	}

.f-submit {
	width: 100%;
	justify-content: center;
	margin-top: 6px;
}

/* ===================================================
       FOOTER
       =================================================== */
footer {
	background: var(--primary-dk);
	padding: 22px 0;
}

.footer-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 28px;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-logo {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: 18px;
	color: #fff;
}

	.footer-logo span {
		color: var(--comp);
	}

.footer-copy {
	font-size: 12px;
	color: rgba(255,255,255,0.35);
}

.footer-links {
	display: flex;
	gap: 10px;
}

	.footer-links a {
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: rgba(255,255,255,0.08);
		display: flex;
		align-items: center;
		justify-content: center;
		color: rgba(255,255,255,0.55);
		transition: var(--ease);
	}

		.footer-links a:hover {
			background: var(--comp);
			color: #fff;
		}

	.footer-links svg {
		width: 16px;
		height: 16px;
	}

/* ===================================================
       PROJETS
   =================================================== */

/* NAV */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(228,229,223,0.95);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 20px rgba(8,52,71,0.09);
	padding: 14px 0;
}

.nav-in {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-back {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: var(--primary);
	transition: var(--ease);
}

	.nav-back:hover {
		color: var(--comp);
		gap: 12px;
	}

	.nav-back svg {
		width: 16px;
		height: 16px;
	}

.nav-logo {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: 20px;
	color: var(--primary);
}

	.nav-logo span {
		color: var(--comp);
	}

.nav-cv {
	display: flex;
	align-items: center;
	gap: 7px;
	background: var(--comp);
	color: #fff;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 12px;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	transition: var(--ease);
}

	.nav-cv:hover {
		background: #b47119;
	}

	.nav-cv svg {
		width: 13px;
		height: 13px;
	}

/* HERO BANNER */
.proj-hero {
	margin-top: 60px;
	height: 380px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.proj-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #244780 0%, #1a3358 50%, #0d1f38 100%);
}
	.proj-hero-bg::after {
		content: '';
		position: absolute;
		inset: 0;
		background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
		background-size: 32px 32px;
	}

	.proj-hero-bg img {
		filter: brightness(50%);
		width: 100%;
	}

.proj-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8,52,71,0.7) 0%, transparent 60%);
}

.proj-hero-content {
	position: relative;
	z-index: 1;
	max-width: 1120px;
	margin: 0 auto;
	width: 100%;
	padding: 0 28px 36px;
}

.proj-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(128, 50, 36,0.5);
	border: 1px solid var(--accent);
	color: var(--bg-card);
	border-radius: 20px;
	padding: 4px 14px;
	font-size: 11px;
	font-weight: 700;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.proj-hero-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 900;
	font-size: clamp(36px, 5vw, 60px);
	color: var(--bg-card);
	line-height: 1.1;
	letter-spacing: -1px;
	margin-bottom: 10px;
}

.proj-hero-sub {
	font-size: 16px;
	color: var(--comp);
}

/* MAIN LAYOUT */
.proj-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 48px 28px 80px;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
	align-items: start;
}

/* Content left */
.proj-section {
	margin-bottom: 44px;
}

.proj-section-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	font-size: 20px;
	color: var(--primary);
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border);
}

.proj-text p {
	font-size: 15px;
	color: var(--text-sec);
	line-height: 1.8;
	margin-bottom: 14px;
}

.feature-list {
	list-style: none;
	display: grid;
	gap: 10px;
}

	.feature-list li {
		display: flex;
		gap: 12px;
		align-items: flex-start;
		padding: 12px 16px;
		background: var(--bg-white);
		border-radius: var(--radius-sm);
		border: 1px solid var(--border);
	}

.feature-num {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 600;
	color: var(--comp);
	flex-shrink: 0;
	margin-top: 2px;
}

.feature-text {
	font-size: 14px;
	color: var(--text-sec);
}

/* Gallery */
.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.gallery-item {
	border-radius: var(--radius-sm);
	overflow: hidden;
	aspect-ratio: 16/9;
	position: relative;
}

.gallery-item-bg {
	position: absolute;
	inset: 0;
}

.gallery-item:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 21/9;
}

/* Sidebar */
.proj-sidebar {
	display: grid;
	gap: 16px;
}

.side-card {
	background: var(--bg-white);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	padding: 20px;
}

.side-card-title {
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text);
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
}

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 10px;
	gap: 12px;
	font-size: 13px;
}

.info-label {
	color: var(--text-sec);
	font-weight: 500;
	flex-shrink: 0;
}

.info-val {
	color: var(--text);
	font-weight: 600;
	text-align: right;
}

.tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tag {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	font-family: 'Raleway', sans-serif;
}

.tag-primary {
	background: var(--primary-lt);
	color: var(--primary);
	border: 1px solid var(--border);
}

.tag-comp {
	background: var(--comp-lt);
	color: var(--comp);
	border: 1px solid var(--border-comp);
}

.tag-accent {
	background: var(--accent-lt);
	color: var(--accent);
	border: 1px solid rgba(128,50,36,0.25);
}

.side-cv-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(90deg, var(--primary), #3460a8);
	color: #fff;
	border-radius: var(--radius-sm);
	padding: 13px 16px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	width: 100%;
	justify-content: center;
	transition: var(--ease);
}

	.side-cv-btn:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow-lg);
	}

	.side-cv-btn svg {
		width: 15px;
		height: 15px;
	}

.side-cv-btn-steam {
	display: flex;
	align-items: center;
	gap: 0px;
	background: linear-gradient(90deg, var(--primary), #3460a8);
	color: #fff;
	border-radius: var(--radius-sm);
	padding: 5.9px 10px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	width: 100%;
	justify-content: center;
	transition: var(--ease);
}

	.side-cv-btn-steam:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow-lg);
	}

	.side-cv-btn-steam svg {
		width: 35px;
		height: 35px;
	}


.back-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--bg);
	border: 2px solid var(--border);
	color: var(--text);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	width: 100%;
	justify-content: center;
	transition: var(--ease);
}

	.back-btn:hover {
		border-color: var(--primary);
		color: var(--primary);
	}


/* ===================================================
       RESPONSIVE
   =================================================== */

@media all and (max-width: 900px) {
	.hero-grid,
	.about-grid,
	.skills-grid,
	.exp-grid,
	.projects-grid,
	.vol-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.proj-featured {
		grid-column: 1;
	}

		.proj-featured .proj-card {
			flex-direction: column;
		}

		.proj-featured .proj-thumb {
			width: 100%;
			height: 200px;
		}

	.hero-geo {
		display: none;
	}

	.hero-geo-img {
		display: none;
	}

	.nav-inner {
		max-width: 700px;
		margin-left: 0px;
	}

	.nav-links {
		display: none;
	}

	.hero-name {
		font-size: 40px;
	}

	.proj-main {
		grid-template-columns: 1fr;
	}

	.gallery {
		grid-template-columns: 1fr;
	}

	.gallery-item:first-child {
		grid-column: 1;
	}
}

@media all and (max-width: 420px) {
	.nav-inner {
		display: -webkit-inline-box;
	}

	.nav-right {
		margin-left:50px;
	}

	.nav-in .nav-right {
		margin-left: 20px;
	}

	.hero-grid,
	.about-grid,
	.skills-grid,
	.exp-grid,
	.projects-grid,
	.vol-grid,
	.contact-grid {
		grid-template-columns: 330px;
	}
}

@media all and (max-width: 360px) {

	.hero-grid,
	.about-grid,
	.skills-grid,
	.exp-grid,
	.projects-grid,
	.vol-grid,
	.contact-grid {
		grid-template-columns: 300px;
	}

	.hero-card-top {
		display: grid;
	}
}

/*@media (min-aspect-ratio: 225/124) {
	#hero {
		min-height: 100vh;
	}
}*/

@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 383/216) {
	#hero {
		min-height: 50vh;
	}
}

@media (min-aspect-ratio: 384/216) {
	#hero {
		min-height: 100vh;
	}
}