1234 lines
29 KiB
CSS
1234 lines
29 KiB
CSS
/* ═══════════════════════════════════════════════════════════════════════════
|
|
PORTFOLIO ALEXANDRE — Feuille de style principale
|
|
Style : Tech / Industrie — Sobre, moderne, responsive
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
/* ─── Variables CSS ─────────────────────────────────────────────────────── */
|
|
:root {
|
|
--bg-primary: #0a0e1a;
|
|
--bg-secondary: #0f1629;
|
|
--bg-card: #131d35;
|
|
--bg-card-hover: #1a2744;
|
|
--accent-primary: #3b82f6;
|
|
--accent-secondary: #6366f1;
|
|
--accent-glow: rgba(59, 130, 246, 0.15);
|
|
--text-primary: #f1f5f9;
|
|
--text-secondary: #94a3b8;
|
|
--text-muted: #64748b;
|
|
--border-color: rgba(59, 130, 246, 0.15);
|
|
--border-hover: rgba(59, 130, 246, 0.4);
|
|
--success: #10b981;
|
|
--font-main: 'Inter', sans-serif;
|
|
--font-mono: 'JetBrains Mono', monospace;
|
|
--radius-sm: 6px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 20px;
|
|
--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
|
|
--shadow-hover: 0 8px 40px rgba(59, 130, 246, 0.2);
|
|
--transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
--nav-height: 68px;
|
|
}
|
|
|
|
/* ─── Reset & Base ──────────────────────────────────────────────────────── */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html { scroll-behavior: smooth; }
|
|
|
|
body {
|
|
font-family: var(--font-main);
|
|
background-color: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a { text-decoration: none; color: inherit; }
|
|
img { max-width: 100%; display: block; }
|
|
ul { list-style: none; }
|
|
|
|
/* ─── Navigation ────────────────────────────────────────────────────────── */
|
|
.navbar {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0;
|
|
z-index: 100;
|
|
height: var(--nav-height);
|
|
background: rgba(10, 14, 26, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.nav-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
}
|
|
|
|
.nav-logo {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.02em;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-logo:hover { color: var(--accent-primary); }
|
|
|
|
.logo-bracket {
|
|
color: var(--accent-primary);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nav-link {
|
|
padding: 6px 14px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-link:hover, .nav-link.active {
|
|
color: var(--text-primary);
|
|
background: var(--accent-glow);
|
|
}
|
|
|
|
.nav-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
}
|
|
|
|
.nav-toggle span {
|
|
display: block;
|
|
width: 24px;
|
|
height: 2px;
|
|
background: var(--text-secondary);
|
|
border-radius: 2px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
/* ─── Boutons ───────────────────────────────────────────────────────────── */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
border: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent-primary);
|
|
color: white;
|
|
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: #2563eb;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(59, 130, 246, 0.45);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
border: 1.5px solid var(--border-hover);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--accent-glow);
|
|
border-color: var(--accent-primary);
|
|
}
|
|
|
|
.btn-cv {
|
|
background: transparent;
|
|
color: var(--accent-secondary);
|
|
border: 1.5px solid var(--accent-secondary);
|
|
gap: 8px;
|
|
}
|
|
.btn-cv:hover {
|
|
background: rgba(99, 102, 241, 0.12);
|
|
border-color: var(--accent-secondary);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-muted); }
|
|
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
|
|
|
|
/* ─── Hero Section ──────────────────────────────────────────────────────── */
|
|
.hero {
|
|
min-height: 100vh;
|
|
padding: calc(var(--nav-height) + 60px) 24px 80px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
background:
|
|
radial-gradient(ellipse 70% 50% at 10% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
|
|
radial-gradient(ellipse 50% 60% at 90% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 64px;
|
|
align-items: center;
|
|
width: 100%;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 14px;
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
border-radius: 100px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
color: var(--success);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.hero-badge::before {
|
|
content: '';
|
|
width: 6px; height: 6px;
|
|
background: var(--success);
|
|
border-radius: 50%;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.5; transform: scale(0.8); }
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: clamp(2.2rem, 5vw, 3.5rem);
|
|
font-weight: 700;
|
|
line-height: 1.15;
|
|
letter-spacing: -0.03em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.gradient-text {
|
|
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.05rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
margin-bottom: 36px;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.hero-subtitle strong { color: var(--text-primary); font-weight: 500; }
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.hero-stats {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
|
|
.stat-number {
|
|
display: block;
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
font-family: var(--font-mono);
|
|
color: var(--accent-primary);
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.stat-divider {
|
|
width: 1px;
|
|
height: 40px;
|
|
background: var(--border-color);
|
|
}
|
|
|
|
/* ─── Code window ───────────────────────────────────────────────────────── */
|
|
.code-window {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.code-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
background: rgba(0,0,0,0.2);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.dot {
|
|
width: 12px; height: 12px;
|
|
border-radius: 50%;
|
|
}
|
|
.dot.red { background: #ff5f57; }
|
|
.dot.yellow { background: #ffbd2e; }
|
|
.dot.green { background: #28ca41; }
|
|
|
|
.code-filename {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.code-content {
|
|
padding: 24px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.82rem;
|
|
line-height: 1.8;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.code-keyword { color: #c084fc; }
|
|
.code-class { color: #67e8f9; }
|
|
.code-func { color: #86efac; }
|
|
.code-str { color: #fbbf24; }
|
|
|
|
/* ─── Sections ──────────────────────────────────────────────────────────── */
|
|
.section {
|
|
padding: 80px 24px;
|
|
}
|
|
|
|
.section-dark {
|
|
background: var(--bg-secondary);
|
|
border-top: 1px solid var(--border-color);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.section-container, .page-header-container,
|
|
.filters-container, .detail-container,
|
|
.project-nav-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: 56px;
|
|
}
|
|
|
|
.section-tag {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid var(--border-hover);
|
|
border-radius: 100px;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--accent-primary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(1.8rem, 4vw, 2.4rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-sub {
|
|
color: var(--text-secondary);
|
|
font-size: 1rem;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-footer {
|
|
text-align: center;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
/* ─── Grille technologies ────────────────────────────────────────────────── */
|
|
.tech-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.tech-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.88rem;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.tech-badge:hover {
|
|
border-color: var(--border-hover);
|
|
background: var(--bg-card-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.tech-dot {
|
|
width: 6px; height: 6px;
|
|
background: var(--accent-primary);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* ─── Tags technologies ─────────────────────────────────────────────────── */
|
|
.tech-tag {
|
|
display: inline-block;
|
|
padding: 3px 10px;
|
|
background: rgba(59, 130, 246, 0.1);
|
|
border: 1px solid rgba(59, 130, 246, 0.2);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.78rem;
|
|
font-weight: 500;
|
|
color: #93c5fd;
|
|
}
|
|
|
|
.tech-tag-lg {
|
|
padding: 5px 14px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.tech-tag-more {
|
|
background: var(--bg-card);
|
|
border-color: var(--border-color);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.tech-tag-clickable {
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.tech-tag-clickable:hover {
|
|
background: rgba(59, 130, 246, 0.25);
|
|
border-color: var(--accent-primary);
|
|
color: white;
|
|
}
|
|
|
|
/* ─── Cartes projets ────────────────────────────────────────────────────── */
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
|
gap: 28px;
|
|
}
|
|
|
|
.projects-grid-full {
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
transition: var(--transition);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.project-card:hover {
|
|
border-color: var(--border-hover);
|
|
background: var(--bg-card-hover);
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.card-image-wrapper {
|
|
position: relative;
|
|
height: 200px;
|
|
overflow: hidden;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.card-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.4s ease;
|
|
}
|
|
|
|
.project-card:hover .card-image { transform: scale(1.04); }
|
|
|
|
.card-image-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.card-category-badge {
|
|
position: absolute;
|
|
top: 12px; left: 12px;
|
|
padding: 4px 10px;
|
|
background: rgba(10, 14, 26, 0.85);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 100px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.card-body {
|
|
padding: 24px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.card-desc {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
.card-techs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.card-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--accent-primary);
|
|
margin-top: 8px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.card-link:hover { gap: 10px; color: #60a5fa; }
|
|
|
|
/* ─── Page header ───────────────────────────────────────────────────────── */
|
|
.page-header {
|
|
padding: calc(var(--nav-height) + 48px) 24px 48px;
|
|
text-align: center;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.page-title {
|
|
font-size: clamp(2rem, 5vw, 3rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.page-sub {
|
|
color: var(--text-secondary);
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* ─── Filtres ───────────────────────────────────────────────────────────── */
|
|
.filters-section {
|
|
padding: 32px 24px;
|
|
background: var(--bg-secondary);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.filters-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.filter-group { display: flex; flex-direction: column; gap: 10px; }
|
|
|
|
.filter-label {
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.filter-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-pill {
|
|
padding: 6px 14px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 100px;
|
|
font-size: 0.82rem;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.filter-pill:hover {
|
|
border-color: var(--border-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.filter-pill.active {
|
|
background: var(--accent-primary);
|
|
border-color: var(--accent-primary);
|
|
color: white;
|
|
}
|
|
|
|
/* Pills cachées / voir plus */
|
|
.pill-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.pill-more {
|
|
border-style: dashed;
|
|
color: var(--accent-primary);
|
|
border-color: var(--accent-primary);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.pill-more:hover {
|
|
background: var(--accent-glow);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.pill-less {
|
|
border-style: dashed;
|
|
color: var(--text-muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.filter-result-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 28px;
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.filter-tag-active {
|
|
padding: 3px 10px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid var(--border-hover);
|
|
border-radius: 100px;
|
|
font-size: 0.8rem;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.empty-state {
|
|
grid-column: 1/-1;
|
|
color: var(--text-muted);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.empty-state-container {
|
|
grid-column: 1/-1;
|
|
text-align: center;
|
|
padding: 80px 24px;
|
|
}
|
|
|
|
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
|
|
.empty-state-container h3 { font-size: 1.2rem; margin-bottom: 8px; }
|
|
.empty-state-container p { color: var(--text-secondary); }
|
|
.empty-state-container a { color: var(--accent-primary); }
|
|
|
|
/* ─── Page détail ───────────────────────────────────────────────────────── */
|
|
.project-hero {
|
|
padding: calc(var(--nav-height) + 48px) 24px 48px;
|
|
background: var(--bg-secondary);
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.project-hero-container { max-width: 1200px; margin: 0 auto; }
|
|
|
|
.breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.breadcrumb a:hover { color: var(--accent-primary); }
|
|
.breadcrumb-sep { color: var(--text-muted); opacity: 0.5; }
|
|
|
|
.project-meta-top { margin-bottom: 16px; }
|
|
|
|
.project-category-badge {
|
|
padding: 5px 14px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid var(--border-hover);
|
|
border-radius: 100px;
|
|
font-size: 0.82rem;
|
|
font-weight: 600;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.project-hero-title {
|
|
font-size: clamp(1.8rem, 4vw, 2.8rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 16px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.project-hero-desc {
|
|
font-size: 1.05rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
max-width: 680px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.project-techs-header { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
|
|
.detail-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px;
|
|
gap: 48px;
|
|
padding: 48px 24px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.detail-section-title {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Galerie */
|
|
.gallery-section { margin-bottom: 48px; }
|
|
|
|
.gallery-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.gallery-item {
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-color);
|
|
cursor: pointer;
|
|
position: relative;
|
|
aspect-ratio: 16/9;
|
|
}
|
|
|
|
.gallery-item img {
|
|
width: 100%; height: 100%;
|
|
object-fit: cover;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.gallery-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.gallery-item:hover img { transform: scale(1.05); }
|
|
.gallery-item:hover .gallery-overlay { opacity: 1; }
|
|
|
|
/* Description */
|
|
.description-section { margin-bottom: 32px; }
|
|
|
|
.description-content {
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.description-content p { margin-bottom: 16px; }
|
|
|
|
/* Sidebar */
|
|
.detail-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); align-self: start; }
|
|
|
|
.sidebar-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 24px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sidebar-card-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 16px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.highlights-list { display: flex; flex-direction: column; gap: 10px; }
|
|
|
|
.highlight-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
font-size: 0.88rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.highlight-check {
|
|
color: var(--success);
|
|
font-weight: 700;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.sidebar-techs { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
|
|
.category-link {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid var(--border-hover);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: var(--accent-primary);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.category-link:hover { background: rgba(59, 130, 246, 0.2); }
|
|
|
|
/* ─── Navigation projet ─────────────────────────────────────────────────── */
|
|
.project-nav-section {
|
|
padding: 40px 24px;
|
|
border-top: 1px solid var(--border-color);
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.project-nav-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.project-nav-card {
|
|
flex: 1;
|
|
max-width: 280px;
|
|
padding: 16px 20px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-md);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.project-nav-card:hover {
|
|
border-color: var(--border-hover);
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.project-nav-next { text-align: right; }
|
|
|
|
.nav-direction {
|
|
display: block;
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.nav-project-title {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ─── Lightbox ──────────────────────────────────────────────────────────── */
|
|
.lightbox {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
background: rgba(0,0,0,0.95);
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lightbox.open { display: flex; }
|
|
|
|
.lightbox-img {
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
object-fit: contain;
|
|
border-radius: var(--radius-md);
|
|
cursor: default;
|
|
}
|
|
|
|
.lightbox-close {
|
|
position: absolute;
|
|
top: 20px; right: 20px;
|
|
background: rgba(255,255,255,0.1);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
color: white;
|
|
width: 40px; height: 40px;
|
|
border-radius: 50%;
|
|
font-size: 1.1rem;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
|
|
|
|
/* ─── Contact ───────────────────────────────────────────────────────────── */
|
|
.contact-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 20px;
|
|
max-width: 760px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.contact-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 20px 24px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.contact-card:hover {
|
|
border-color: var(--border-hover);
|
|
background: var(--bg-card-hover);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 44px; height: 44px;
|
|
background: var(--accent-glow);
|
|
border: 1px solid var(--border-hover);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--accent-primary);
|
|
flex-shrink: 0;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.contact-label {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.contact-value {
|
|
font-size: 0.88rem;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* ─── Skills groupés ────────────────────────────────────────────────────── */
|
|
.skills-groups {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 36px;
|
|
}
|
|
|
|
.skill-group-label {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
/* ─── Expériences professionnelles ──────────────────────────────────────── */
|
|
.experience-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
max-width: 860px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.experience-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
padding: 28px 32px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.experience-card:hover {
|
|
border-color: var(--border-hover);
|
|
background: var(--bg-card-hover);
|
|
}
|
|
|
|
.exp-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.exp-company {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.exp-role {
|
|
font-size: 0.9rem;
|
|
color: var(--accent-primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.exp-period {
|
|
font-size: 0.82rem;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-mono);
|
|
background: var(--bg-secondary);
|
|
padding: 4px 12px;
|
|
border-radius: 100px;
|
|
border: 1px solid var(--border-color);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.exp-description {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
|
|
/* ─── Footer ────────────────────────────────────────────────────────────── */
|
|
.footer {
|
|
padding: 32px 24px;
|
|
border-top: 1px solid var(--border-color);
|
|
background: var(--bg-secondary);
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-text {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.footer-sub {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ─── Main content padding ──────────────────────────────────────────────── */
|
|
.main-content {
|
|
padding-top: var(--nav-height);
|
|
min-height: calc(100vh - var(--nav-height));
|
|
}
|
|
|
|
.hero { padding-top: 0; margin-top: calc(-1 * var(--nav-height)); padding-top: calc(var(--nav-height) + 60px); }
|
|
|
|
/* ─── Responsive ────────────────────────────────────────────────────────── */
|
|
@media (max-width: 1024px) {
|
|
.detail-container { grid-template-columns: 1fr; }
|
|
.detail-sidebar { position: static; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-container { grid-template-columns: 1fr; }
|
|
.hero-visual { display: none; }
|
|
.projects-grid { grid-template-columns: 1fr; }
|
|
.nav-links { display: none; }
|
|
.nav-toggle { display: flex; }
|
|
.hero-stats { gap: 20px; }
|
|
.project-nav-container { flex-direction: column; }
|
|
.project-nav-card { max-width: 100%; width: 100%; }
|
|
.gallery-grid { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-actions { flex-direction: column; }
|
|
.btn { justify-content: center; }
|
|
.contact-grid { grid-template-columns: 1fr; }
|
|
.gallery-grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* ─── Mobile nav menu ───────────────────────────────────────────────────── */
|
|
@media (max-width: 768px) {
|
|
.nav-links.open {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: var(--nav-height);
|
|
left: 0; right: 0;
|
|
background: var(--bg-primary);
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding: 16px 24px;
|
|
gap: 4px;
|
|
}
|
|
}
|
|
|
|
/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
|
|
::-webkit-scrollbar { width: 6px; }
|
|
::-webkit-scrollbar-track { background: var(--bg-primary); }
|
|
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
|
|
|
|
/* ─── Page CV ───────────────────────────────────────────────────────────── */
|
|
.cv-section { padding-top: 24px; }
|
|
|
|
.cv-container {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 0 24px 64px;
|
|
}
|
|
|
|
.cv-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 28px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.cv-viewer-wrapper {
|
|
width: 100%;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: 0 4px 32px rgba(0,0,0,0.3);
|
|
background: var(--bg-card);
|
|
min-height: 80vh;
|
|
}
|
|
|
|
.cv-iframe {
|
|
width: 100%;
|
|
height: 85vh;
|
|
min-height: 600px;
|
|
border: none;
|
|
display: block;
|
|
}
|
|
|
|
.cv-fallback {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 64px 24px;
|
|
text-align: center;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.cv-fallback-icon { font-size: 4rem; }
|
|
|
|
@media (max-width: 768px) {
|
|
.cv-actions { flex-direction: column; }
|
|
.cv-actions .btn { width: 100%; justify-content: center; }
|
|
.cv-iframe { height: 70vh; }
|
|
}
|