/* ==========================================================================
   GBR Landry : portfolio
   Direction : noir bleuté, blanc froid, un seul accent doré.
   Sommaire : 1 Jetons  2 Base  3 Utilitaires  4 Boutons  5 Loader, curseur
              6 Navbar  7 Hero  8 À propos  9 Parcours  10 Compétences
              11 Projets  12 Contact  13 Footer  14 Apparitions au scroll
              15 Mouvement réduit
   ========================================================================== */

/* 1. Jetons --------------------------------------------------------------- */
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Mrs Saint Delafield";
	src: url("../fonts/mrs-saint-delafield-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #0A0C11;
	--bg-raised: #12151C;
	--surface: #FFFFFF;
	--surface-alt: #F5F6F8;
	--ink: #0E1117;
	--ink-soft: #4A5160;
	--on-dark: #F4F5F7;
	--on-dark-soft: #A9AFBC;
	--accent: #E2A93B;
	--accent-light: #F6D584;
	--accent-deep: #B97F1E;
	--line-dark: #262A33;
	--line-light: #E4E6EB;

	--gold: linear-gradient(105deg, var(--accent-deep) 0%, var(--accent) 28%, var(--accent-light) 50%, var(--accent) 72%, var(--accent-deep) 100%);
	--glow: 0 10px 34px -10px rgba(226, 169, 59, .55);

	--font: "Montserrat", "Segoe UI", system-ui, sans-serif;
	--script: "Mrs Saint Delafield", "Segoe Script", "Brush Script MT", cursive;

	--r-sm: 8px;
	--r-md: 14px;
	--r-pill: 999px;

	--container: 1180px;
	--gutter: 24px;
	--section: clamp(72px, 9vw, 120px);
	--nav-h: 76px;

	--ease: cubic-bezier(.22, .8, .24, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) - 8px);
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

/* Les éléments en attente d'apparition ne doivent jamais élargir la page. */
.grl main { overflow-x: clip; }

body.grl {
	margin: 0;
	background: var(--bg);
	color: var(--on-dark);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

:where(.grl) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.grl) :where(ul, ol) { list-style: none; }
:where(.grl) :where(a) { color: inherit; text-decoration: none; }
:where(.grl) :where(img, svg) { display: block; max-width: 100%; }
:where(.grl) :where(img) { height: auto; }
:where(.grl) :where(button, input, textarea) { font: inherit; color: inherit; }
:where(.grl) :where(em) { font-style: normal; }

.grl :focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.grl ::selection { background: var(--accent); color: var(--ink); }

/* 3. Utilitaires ---------------------------------------------------------- */
.container {
	width: min(var(--container), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--bg); color: var(--on-dark); }
.section--raised { background: var(--bg-raised); color: var(--on-dark); }
.section--light { background: var(--surface-alt); color: var(--ink); }

.eyebrow {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}
.section--light .eyebrow { color: var(--accent-deep); }

.h2 {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.015em;
}

.script {
	font-family: var(--script);
	font-weight: 400;
	line-height: 1;
	color: var(--accent);
}

.gold-text {
	background: var(--gold);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: gold-slide 9s linear infinite;
}
@keyframes gold-slide { to { background-position: -220% 0; } }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip {
	position: fixed; top: 8px; left: 8px; z-index: 200;
	padding: 10px 16px; border-radius: var(--r-sm);
	background: var(--accent); color: var(--ink); font-weight: 600;
	transform: translateY(-200%);
}
.skip:focus { transform: none; }

.link {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .45s var(--ease), color .3s;
	padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; color: var(--accent-light); }

/* Logo GR */
.logo {
	display: inline-flex; align-items: baseline;
	font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: -.12em;
	padding-right: .12em;
}
.logo__g { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__r { color: var(--on-dark); }
.logo--xl { font-size: clamp(3.4rem, 9vw, 5.5rem); }

/* Réseaux sociaux */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
	display: grid; place-items: center; width: 42px; height: 42px;
	border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark);
	transition: color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); box-shadow: var(--glow); }
.socials a:hover .icon { animation: nudge .5s var(--ease); }
@keyframes nudge { 40% { transform: translateY(-3px) rotate(-6deg); } }

/* 4. Boutons -------------------------------------------------------------- */
.btn {
	--tx: 0px; --ty: 0px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 26px;
	border: 1px solid transparent; border-radius: var(--r-pill);
	font-size: .92rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
	cursor: pointer; overflow: hidden; isolation: isolate;
	transform: translate(var(--tx), var(--ty));
	transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s, color .35s, background-color .35s;
}
.btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translate(var(--tx), calc(var(--ty) - 3px)); }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.97); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--gold { background: linear-gradient(120deg, var(--accent-light), var(--accent) 55%, var(--accent-deep)); color: var(--ink); }
.btn--gold:hover { box-shadow: var(--glow); }

.btn--ghost { border-color: rgba(244, 245, 247, .5); color: var(--on-dark); background: rgba(10, 12, 17, .35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-light); box-shadow: var(--glow); }

.btn--outline-gold { border-color: var(--accent); color: var(--accent-light); background: rgba(10, 12, 17, .4); }
.btn--outline-gold:hover { background: var(--accent); color: var(--ink); box-shadow: var(--glow); }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: .82rem; }

/* 5. Loader, curseur, progression ---------------------------------------- */
.loader {
	position: fixed; inset: 0; z-index: 300;
	display: none; place-items: center;
	background: var(--bg);
	transition: opacity .7s var(--ease), visibility .7s;
}
.js .loader { display: grid; }
.js.seen .loader { display: none; }
.js.is-ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.loader__inner::before {
	content: ""; position: absolute; inset: -90px; z-index: -1;
	background: radial-gradient(circle, rgba(226, 169, 59, .28), transparent 62%);
	opacity: 0; animation: loader-glow 1.6s .2s var(--ease) forwards;
}
.loader .logo { opacity: 0; transform: translateY(14px) scale(.94); animation: loader-logo 1s .15s var(--ease-out) forwards; }
.loader__line {
	width: 150px; height: 1px; background: var(--gold);
	transform: scaleX(0); transform-origin: left;
	animation: loader-line 1.1s .5s var(--ease) forwards;
}
@keyframes loader-logo { to { opacity: 1; transform: none; } }
@keyframes loader-glow { 50% { opacity: 1; } 100% { opacity: .55; } }
@keyframes loader-line { to { transform: scaleX(1); } }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.js.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 250; pointer-events: none; }
	.cursor__ring, .cursor__dot { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
	.cursor__ring {
		width: 34px; height: 34px; margin: -17px 0 0 -17px;
		border: 1px solid var(--accent);
		opacity: .75;
		transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background-color .3s;
	}
	.cursor__dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--accent); }
	.cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(226, 169, 59, .12); opacity: 1; }
	.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
}

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* 6. Navbar --------------------------------------------------------------- */
.nav {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: var(--nav-h);
	border-bottom: 1px solid transparent;
	transition: background-color .4s, border-color .4s, height .4s var(--ease), transform .8s var(--ease-out), opacity .8s;
}
.nav.is-scrolled {
	--nav-h: 64px;
	background: rgba(10, 12, 17, .68);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	border-bottom-color: rgba(226, 169, 59, .22);
}
.js:not(.is-ready) .nav { transform: translateY(-100%); opacity: 0; }

.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav__brand, .footer__brand { display: flex; align-items: center; gap: 14px; }
.nav__id { display: grid; line-height: 1.25; }
.nav__name { font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.nav__roles { font-size: .68rem; color: var(--on-dark-soft); letter-spacing: .03em; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu ul { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav__link {
	position: relative; display: block; padding: 8px 0;
	font-size: .84rem; font-weight: 600; color: var(--on-dark);
	transition: color .3s;
}
.nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--gold); border-radius: 2px;
	transform: scaleX(0); transform-origin: right;
	transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--accent-light); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; }

@media (max-width: 1080px) {
	.nav__roles { display: none; }
	.nav__name { max-width: 150px; }
}

@media (max-width: 900px) {
	.nav__burger {
		display: grid; align-content: center; gap: 7px;
		width: 44px; height: 44px; padding: 0 9px;
		background: none; border: 1px solid var(--line-dark); border-radius: 50%; cursor: pointer;
		position: relative; z-index: 2;
	}
	.nav__burger span { display: block; height: 1.5px; background: var(--on-dark); transition: transform .4s var(--ease); }
	.nav.is-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
	.nav.is-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
	.nav__brand { position: relative; z-index: 2; }

	.nav__menu {
		position: fixed; inset: 0; height: 100dvh;
		flex-direction: column; justify-content: center; gap: 36px;
		background: rgba(10, 12, 17, .97);
		opacity: 0; visibility: hidden;
		transition: opacity .4s var(--ease), visibility .4s;
	}
	.nav.is-open .nav__menu { opacity: 1; visibility: visible; }
	.nav__menu ul { flex-direction: column; align-items: center; gap: 6px; }
	.nav__link { font-size: 1.35rem; padding: 10px 4px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
	.nav.is-open .nav__link { opacity: 1; transform: none; }
	.nav.is-open li:nth-child(2) .nav__link { transition-delay: .05s; }
	.nav.is-open li:nth-child(3) .nav__link { transition-delay: .1s; }
	.nav.is-open li:nth-child(4) .nav__link { transition-delay: .15s; }
	.nav.is-open li:nth-child(5) .nav__link { transition-delay: .2s; }
	.nav.is-open li:nth-child(6) .nav__link { transition-delay: .25s; }
}

/* 7. Hero ----------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	min-height: min(100svh, 900px);
	padding-top: var(--nav-h);
	display: grid; align-items: stretch;
	background:
		radial-gradient(60% 70% at 78% 40%, rgba(226, 169, 59, .10), transparent 70%),
		linear-gradient(180deg, #0D1016 0%, var(--bg) 100%);
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__beam {
	position: absolute; top: -30%; left: 38%; width: 46%; height: 160%;
	background: linear-gradient(90deg, transparent, rgba(246, 213, 132, .07), transparent);
	transform: rotate(18deg);
	animation: beam 14s ease-in-out infinite alternate;
}
@keyframes beam { from { transform: translateX(-12%) rotate(18deg); opacity: .5; } to { transform: translateX(22%) rotate(18deg); opacity: 1; } }

.hero__dots i {
	position: absolute; width: 3px; height: 3px; border-radius: 50%;
	background: var(--accent-light); opacity: 0;
	animation: mote 12s linear infinite;
}
.hero__dots i:nth-child(1)  { left: 6%;  top: 78%; animation-delay: -1s; }
.hero__dots i:nth-child(2)  { left: 14%; top: 22%; animation-delay: -7s;  animation-duration: 15s; }
.hero__dots i:nth-child(3)  { left: 24%; top: 88%; animation-delay: -3s; }
.hero__dots i:nth-child(4)  { left: 33%; top: 14%; animation-delay: -9s;  animation-duration: 17s; }
.hero__dots i:nth-child(5)  { left: 43%; top: 62%; animation-delay: -5s; }
.hero__dots i:nth-child(6)  { left: 51%; top: 30%; animation-delay: -11s; animation-duration: 14s; }
.hero__dots i:nth-child(7)  { left: 58%; top: 84%; animation-delay: -2s; }
.hero__dots i:nth-child(8)  { left: 66%; top: 12%; animation-delay: -8s;  animation-duration: 18s; }
.hero__dots i:nth-child(9)  { left: 73%; top: 70%; animation-delay: -4s; }
.hero__dots i:nth-child(10) { left: 81%; top: 26%; animation-delay: -10s; animation-duration: 16s; }
.hero__dots i:nth-child(11) { left: 88%; top: 58%; animation-delay: -6s; }
.hero__dots i:nth-child(12) { left: 94%; top: 16%; animation-delay: -12s; animation-duration: 13s; }
.hero__dots i:nth-child(13) { left: 38%; top: 44%; animation-delay: -13s; animation-duration: 19s; }
.hero__dots i:nth-child(14) { left: 9%;  top: 50%; animation-delay: -14s; animation-duration: 16s; }
@keyframes mote {
	0% { transform: translate3d(0, 20px, 0); opacity: 0; }
	15% { opacity: .55; }
	85% { opacity: .35; }
	100% { transform: translate3d(18px, -90px, 0); opacity: 0; }
}

.hero__grid {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center; gap: 24px;
}

.hero__copy { padding-block: clamp(32px, 6vh, 72px); position: relative; z-index: 2; }

.hero__hello { font-size: clamp(2.7rem, 4.6vw, 4rem); margin: 0 0 .16em -4px; transform-origin: left; }

.hero__title {
	font-size: clamp(2.2rem, 3.75vw, 3.55rem);
	font-weight: 700; line-height: 1.06; letter-spacing: -.012em;
	text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; }

.hero__roles { margin-top: 14px; font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 400; color: var(--on-dark); }
.hero__text { margin-top: 20px; max-width: 34em; font-size: 1.02rem; color: #D5D9E1; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.socials--hero { margin-top: 28px; }

.hero__visual { position: relative; align-self: stretch; min-height: 560px; }

.hero__nb {
	position: absolute; top: 0; bottom: 0; right: calc((100vw - min(var(--container), 100vw - var(--gutter) * 2)) / -2);
	width: 74%;
	-webkit-mask-image: linear-gradient(to left, #000 20%, rgba(0, 0, 0, .7) 55%, transparent 96%), linear-gradient(to top, transparent, #000 22%, #000 80%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to left, #000 20%, rgba(0, 0, 0, .7) 55%, transparent 96%), linear-gradient(to top, transparent, #000 22%, #000 80%, transparent);
	mask-composite: intersect;
	opacity: .62;
}
.hero__nb img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }

.hero__glow {
	position: absolute; left: 4%; bottom: 6%; width: 78%; aspect-ratio: 1;
	background: radial-gradient(circle, rgba(226, 169, 59, .34), rgba(226, 169, 59, .08) 45%, transparent 68%);
	filter: blur(6px);
	animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

.hero__portrait {
	position: absolute; left: -4%; bottom: 0; height: 97%; aspect-ratio: 640 / 1138;
	-webkit-mask-image: linear-gradient(to top, transparent 0, #000 9%);
	mask-image: linear-gradient(to top, transparent 0, #000 9%);
}
.hero__portrait img {
	width: 100%; height: 100%; object-fit: contain; object-position: bottom;
	filter: drop-shadow(0 30px 40px rgba(5, 6, 9, .6));
	animation: float 9s ease-in-out infinite alternate;
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.hero__sign {
	position: absolute; right: 2%; bottom: 9%;
	font-size: clamp(2.8rem, 4.4vw, 4rem); transform: rotate(-8deg);
	text-shadow: 0 2px 18px rgba(10, 12, 17, .9);
}

/* Entrée du hero */
.js [data-enter] { opacity: 0; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.js [data-enter="1"] { transform: translateX(-24px) rotate(-4deg); }
.js .hero__title [data-enter] { transform: translateY(105%); opacity: 1; }
.js [data-enter="4"], .js [data-enter="5"], .js [data-enter="6"], .js [data-enter="7"] { transform: translateY(22px); }
.js [data-enter="visual"] { transform: translateX(40px) scale(1.03); filter: blur(10px); transition-duration: 1.5s; }
.js.is-ready [data-enter] { opacity: 1; transform: none; filter: none; }
.js.is-ready [data-enter="1"] { transition-delay: .25s; }
.js.is-ready [data-enter="2"] { transition-delay: .4s; }
.js.is-ready [data-enter="3"] { transition-delay: .55s; }
.js.is-ready [data-enter="4"] { transition-delay: .75s; }
.js.is-ready [data-enter="5"] { transition-delay: .88s; }
.js.is-ready [data-enter="6"] { transition-delay: 1s; }
.js.is-ready [data-enter="7"] { transition-delay: 1.12s; }
.js.is-ready [data-enter="visual"] { transition-delay: .35s; }

@media (max-width: 900px) {
	.hero { min-height: 0; }
	.hero__grid { grid-template-columns: 1fr; gap: 0; }
	.hero__copy { padding-block: 36px 8px; }
	.hero__title { font-size: clamp(1.55rem, 7.3vw, 3rem); }
	.hero__visual { min-height: 0; height: min(118vw, 600px); margin-inline: calc(var(--gutter) * -1); }
	.hero__nb { right: 0; width: 70%; }
	.hero__portrait { left: 2%; height: 100%; }
	.hero__glow { left: 0; width: 80%; }
	.hero__sign { right: 6%; bottom: 8%; }
	.hero__actions .btn { flex: 1 1 auto; }
}

/* 8. À propos ------------------------------------------------------------- */
.about { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%); }

.about__grid {
	display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr) minmax(0, 1.05fr);
	gap: clamp(28px, 4vw, 56px); align-items: start;
}

.about__photo { position: relative; margin-left: 10px; }
.about__img {
	position: relative; overflow: hidden; border-radius: var(--r-md);
	aspect-ratio: 4 / 5; background: var(--ink);
	box-shadow: 0 30px 60px -28px rgba(14, 17, 23, .7);
	transition: transform .7s var(--ease-out);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 18s ease-in-out infinite alternate; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }

.about__frame {
	position: absolute; inset: 0; border-radius: var(--r-md);
	background: var(--gold); background-size: 250% 100%;
	transform: translate(-10px, 10px);
	transition: transform .7s var(--ease-out);
	animation: gold-slide 8s linear infinite;
}
.about__photo:hover .about__img { transform: rotate(-1.6deg) translateY(-4px); }
.about__photo:hover .about__frame { transform: translate(-14px, 14px) rotate(1.2deg); }

.about__shine {
	position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 38%, rgba(246, 213, 132, .28) 50%, transparent 62%);
	transform: translateX(-130%);
	animation: shine 7s 1.5s var(--ease) infinite;
}
@keyframes shine { 0% { transform: translateX(-130%); } 32%, 100% { transform: translateX(130%); } }

.about__body .h2 { margin-bottom: 22px; }
.about__p { color: var(--ink-soft); max-width: 62ch; }
.about__p + .about__p { margin-top: 16px; }
.about__p strong { color: var(--ink); font-weight: 700; }
.about__sign { margin-top: 26px; font-size: clamp(3rem, 4.6vw, 4.2rem); color: var(--accent-deep); transform: rotate(-5deg); transform-origin: left; display: inline-block; }
.about__sign span { display: inline-block; padding: .1em .3em .25em .05em; }

.about__aside { border-left: 1px solid var(--line-light); padding-left: clamp(20px, 2.4vw, 34px); }
.facts { display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .9rem; line-height: 1.4; }
.fact strong { display: block; font-weight: 600; color: var(--ink); }
.fact em { display: block; color: var(--ink-soft); font-size: .82rem; }
.fact__icon {
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--ink); color: var(--accent-light); font-size: .82rem;
	transition: transform .4s var(--ease), box-shadow .4s;
}
.fact:hover .fact__icon { transform: translateY(-2px) rotate(-8deg); box-shadow: var(--glow); }
.about__rule { display: block; height: 1px; margin: 20px 0; background: var(--gold); transform-origin: left; }

.stats {
	margin-top: clamp(48px, 6vw, 80px);
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line-light);
}
.stat { padding: 26px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat__value { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__value span { background: linear-gradient(120deg, var(--ink) 40%, var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 8px; font-size: .86rem; color: var(--ink-soft); max-width: 18ch; line-height: 1.4; }

@media (max-width: 1000px) {
	.about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
	.about__aside { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
	.about__rule { display: none; }
}
@media (max-width: 700px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__photo { margin-top: 0; max-width: 300px; margin-left: 10px; }
	.about__aside { grid-template-columns: 1fr; gap: 14px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 22px 12px 22px 0; }
	.stat + .stat { padding-left: 0; border-left: 0; }
	.stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-light); }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

/* 9. Parcours ------------------------------------------------------------- */
.xp { overflow: hidden; }
.xp::before {
	content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1;
	background: radial-gradient(circle, rgba(226, 169, 59, .08), transparent 65%);
	pointer-events: none;
}

.timeline {
	position: relative; margin-top: clamp(40px, 5vw, 64px);
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.timeline::before {
	content: ""; position: absolute; top: 27px; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, var(--accent), var(--accent-light) 50%, rgba(226, 169, 59, .25));
	transform: scaleX(0); transform-origin: left;
	transition: transform 2s var(--ease);
}
.timeline.is-in::before { transform: scaleX(1); }

.timeline__item { position: relative; }
.timeline__node {
	position: relative; z-index: 1;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--bg); border: 1px solid var(--accent); color: var(--accent);
	font-size: 1.15rem;
	box-shadow: 0 0 0 6px var(--bg), 0 0 26px rgba(226, 169, 59, .32);
	transition: transform .5s var(--ease), box-shadow .5s, background-color .5s, color .5s;
}
.timeline__node::after {
	content: ""; position: absolute; inset: -1px; border-radius: 50%;
	border: 1px solid var(--accent); opacity: 0;
	animation: ping 3.6s var(--ease) infinite;
}
.timeline__item:nth-child(2) .timeline__node::after { animation-delay: .9s; }
.timeline__item:nth-child(3) .timeline__node::after { animation-delay: 1.8s; }
.timeline__item:nth-child(4) .timeline__node::after { animation-delay: 2.7s; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(1.7); opacity: 0; } }

.xp-card {
	margin-top: 22px; padding: 22px 22px 24px;
	border: 1px solid var(--line-dark); border-radius: var(--r-md);
	background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.xp-card__company { font-size: 1.14rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.xp-card__period { margin-top: 6px; font-size: .86rem; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.xp-card__role { margin-top: 12px; font-size: .92rem; color: var(--on-dark-soft); line-height: 1.5; transition: color .4s; }
.xp-card__detail { margin-top: 10px; font-size: .86rem; color: var(--on-dark-soft); line-height: 1.5; }

.timeline__item:hover .xp-card, .timeline__item:focus-within .xp-card {
	transform: translateY(-8px); border-color: var(--accent);
	box-shadow: 0 24px 50px -26px rgba(226, 169, 59, .55), inset 0 0 0 1px rgba(226, 169, 59, .12);
}
.timeline__item:hover .xp-card__role { color: var(--on-dark); }
.timeline__item:hover .timeline__node { transform: scale(1.08); background: var(--accent); color: var(--ink); box-shadow: 0 0 0 6px var(--bg), 0 0 34px rgba(226, 169, 59, .6); }

@media (max-width: 900px) {
	.timeline { grid-template-columns: 1fr; gap: 0; }
	.timeline::before { top: 0; bottom: 0; left: 27px; right: auto; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--accent), var(--accent-light) 50%, rgba(226, 169, 59, .25)); }
	.timeline.is-in::before { transform: scaleY(1); }
	.timeline__item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 22px; }
	.xp-card { margin-top: 0; }
}

/* 10. Compétences --------------------------------------------------------- */
.skills { background: var(--surface-alt); overflow: hidden; }
.skills::before {
	content: ""; position: absolute; left: -8%; bottom: -40%; width: 50%; aspect-ratio: 1;
	background: radial-gradient(circle, rgba(226, 169, 59, .16), transparent 65%);
	pointer-events: none;
}

.skills__grid {
	position: relative; margin-top: clamp(32px, 4vw, 52px);
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
	perspective: 1200px;
}
.skills__grid > li { display: grid; }

.skill {
	--rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
	position: relative; overflow: hidden;
	padding: 28px 18px 30px; text-align: center;
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid var(--line-light); border-radius: var(--r-md);
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transform-style: preserve-3d;
	transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.skill::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(240px circle at var(--mx) var(--my), rgba(226, 169, 59, .24), transparent 65%);
	opacity: 0; transition: opacity .4s;
}
.skill:hover { border-color: var(--accent); box-shadow: 0 26px 50px -30px rgba(185, 127, 30, .7); transition-duration: .15s, .4s, .5s; }
.skill:hover::before { opacity: 1; }
.skill > * { position: relative; }

.skill__icon {
	display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px;
	border-radius: 50%; background: var(--ink); color: var(--accent-light); font-size: 1.15rem;
	transform: translateZ(26px);
	transition: transform .5s var(--ease), box-shadow .5s;
}
.skill:hover .skill__icon { transform: translateZ(26px) translateY(-4px) rotate(-6deg); box-shadow: var(--glow); }
.skill__title { font-size: .98rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.skill__text { margin-top: 8px; font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }
.skill__bar {
	position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; border-radius: 2px;
	background: var(--gold); transform: scaleX(0); transform-origin: left;
	transition: transform 1.2s .4s var(--ease);
}
.is-in > .skill .skill__bar { transform: scaleX(1); }

@media (max-width: 1000px) {
	.skills__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.skills__grid > li { grid-column: span 2; }
	.skills__grid > li:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 620px) {
	.skills__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.skills__grid > li, .skills__grid > li:nth-child(n+4) { grid-column: auto; }
	.skills__grid > li:last-child { grid-column: 1 / -1; }
	.skill { padding: 22px 12px 24px; }
}

/* 11. Projets ------------------------------------------------------------- */
.projects__grid {
	margin-top: clamp(32px, 4vw, 52px);
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
	perspective: 1400px;
}

.project {
	--rx: 0deg; --ry: 0deg; --px: 0px; --py: 0px;
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 320px; display: grid; align-items: end;
	border: 1px solid var(--line-dark); border-radius: var(--r-md);
	background: var(--bg-raised);
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transform-style: preserve-3d;
	transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s;
}
.project:hover { border-color: rgba(226, 169, 59, .7); box-shadow: 0 40px 70px -40px rgba(226, 169, 59, .5); transition-duration: .15s, .4s, .6s; }

.project__media { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease-out); }
.project:hover .project__media { transform: scale(1.06); }

.project__pattern { position: absolute; inset: 0; }
.project--pixel .project__pattern {
	background:
		radial-gradient(70% 90% at 85% 15%, rgba(226, 169, 59, .30), transparent 60%),
		linear-gradient(rgba(244, 245, 247, .055) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(244, 245, 247, .055) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(135deg, #171B24, #0C0E13);
}
.project--style .project__pattern {
	background:
		radial-gradient(70% 90% at 85% 15%, rgba(244, 245, 247, .16), transparent 60%),
		repeating-linear-gradient(118deg, rgba(244, 245, 247, .05) 0 1px, transparent 1px 13px),
		linear-gradient(135deg, #1A1A1D, #0B0C10);
}

.project__mark {
	position: absolute; right: 5%; top: 2%;
	font-size: clamp(8rem, 15vw, 12.5rem); font-weight: 800; line-height: 1; letter-spacing: -.08em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(226, 169, 59, .75);
	transform: translate(var(--px), var(--py));
	transition: transform .6s var(--ease-out);
}
.project--style .project__mark { font-weight: 300; font-style: italic; -webkit-text-stroke-color: rgba(244, 245, 247, .7); }

.project__shade {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(10, 12, 17, .96) 8%, rgba(10, 12, 17, .55) 55%, rgba(10, 12, 17, .1));
	transition: opacity .6s;
}
.project:hover .project__shade { opacity: .86; }
.project::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(110deg, transparent 40%, rgba(246, 213, 132, .10) 50%, transparent 60%);
	transform: translateX(-120%);
	animation: shine 9s 2s var(--ease) infinite;
}
.project--style::after { animation-delay: 5s; }

.project__body {
	padding: clamp(22px, 3vw, 34px); max-width: 30em;
	transform: translate(calc(var(--px) * -.35), calc(var(--py) * -.35)) translateZ(30px);
	transition: transform .6s var(--ease-out);
}
.project__kind { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project__title { margin-top: 6px; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.15; }
.project__text { margin-top: 10px; color: #CFD3DB; font-size: .95rem; }
.project__cta { margin-top: 20px; }

.projects__cell { display: grid; }
.project__more { display: grid; grid-template-rows: 1fr; }
.project__more > div { overflow: hidden; min-height: 0; padding: 0 4px 4px 0; }

@media (hover: hover) and (min-width: 901px) {
	.project__more { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease-out), opacity .6s var(--ease); }
	.project:hover .project__more, .project:focus-within .project__more, .project:focus .project__more { grid-template-rows: 1fr; opacity: 1; }
}

@media (max-width: 900px) {
	.projects__grid { grid-template-columns: 1fr; }
	.project { min-height: 300px; }
}

/* 12. Contact ------------------------------------------------------------- */
.contact { overflow: hidden; }
.contact::before {
	content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	transform: translateX(-50%);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__text { margin-top: 16px; color: var(--on-dark-soft); max-width: 30em; }

.contact__list { margin-top: 34px; display: grid; gap: 20px; }
.contact__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.contact__list em { display: block; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact__list li > span:last-child { display: grid; justify-items: start; font-weight: 500; overflow-wrap: anywhere; }
.contact__icon {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid rgba(226, 169, 59, .45); color: var(--accent); font-size: 1rem;
	transition: transform .4s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.contact__list li:hover .contact__icon { background: var(--accent); color: var(--ink); transform: translateY(-3px); box-shadow: var(--glow); }
.socials--contact { margin-top: 32px; }

.form {
	padding: clamp(22px, 3.2vw, 38px);
	border: 1px solid var(--line-dark); border-radius: var(--r-md);
	background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field__label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark); }
.field input, .field textarea {
	width: 100%; padding: 13px 15px;
	background: rgba(10, 12, 17, .55); color: var(--on-dark);
	border: 1px solid #3A3F4B; border-radius: var(--r-sm);
	transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: #5A6070; }
.field input:focus, .field textarea:focus {
	outline: none; border-color: var(--accent); background: rgba(10, 12, 17, .8);
	box-shadow: 0 0 0 3px rgba(226, 169, 59, .2);
}
.field.has-error input, .field.has-error textarea { border-color: #F08A7B; }
.field__error { font-size: .78rem; color: #F5A99D; min-height: 0; }
.field__error:empty { display: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: .9rem; color: var(--on-dark-soft); }
.form__status.is-ok { color: var(--accent-light); }
.form__status.is-error { color: #F5A99D; }

.btn--send { min-width: 230px; }
.btn--send .btn__icon, .btn--send .btn__done { display: grid; transition: transform .5s var(--ease), opacity .3s; }
.btn--send .btn__done { position: absolute; opacity: 0; transform: scale(.4); }
.btn--send:hover .btn__icon { transform: translate(4px, -4px); }
.btn--send.is-sending { pointer-events: none; }
.btn--send.is-sending .btn__icon { animation: fly 1s var(--ease) infinite; }
.btn--send.is-sent .btn__label, .btn--send.is-sent .btn__icon { opacity: 0; }
.btn--send.is-sent .btn__done { opacity: 1; transform: scale(1.3); }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(22px, -22px); opacity: 0; } 61% { transform: translate(-18px, 18px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }

@media (max-width: 900px) {
	.contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.form__row { grid-template-columns: 1fr; }
	.btn--send { width: 100%; }
}

/* 13. Footer -------------------------------------------------------------- */
.footer { background: var(--bg); border-top: 1px solid var(--line-dark); padding-block: 34px 22px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 36px; flex-wrap: wrap; }
.footer__phrase { flex: 1 1 320px; font-size: .86rem; color: var(--on-dark-soft); text-align: center; }
.footer__sign { font-size: 2.6rem; transform: rotate(-5deg); padding: 0 6px 6px; }
.footer__legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .76rem; color: #8B91A0; }
.socials--footer a { width: 38px; height: 38px; }

@media (max-width: 760px) {
	.footer__inner { flex-direction: column; text-align: center; }
	.footer__phrase { flex-basis: auto; }
	.footer__legal { text-align: center; }
}

/* 14. Apparitions au scroll ----------------------------------------------- */
.js [data-reveal] {
	opacity: 0;
	transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms), filter 1.1s var(--ease-out) var(--d, 0ms), clip-path 2.2s var(--ease) var(--d, 0ms);
}
.js [data-reveal="up"] { transform: translateY(34px); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="scale"] { transform: scale(.9) translateY(20px); }
.js [data-reveal="blur"] { transform: translateY(16px); filter: blur(12px); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transition: transform 1.4s var(--ease) var(--d, 0ms); }
.js [data-reveal="write"] { opacity: 1; }
.js [data-reveal="write"] span { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s cubic-bezier(.5, .1, .3, 1) .3s; }

.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .about__sign[data-reveal].is-in { transform: rotate(-5deg); }
.js [data-reveal="write"].is-in span { clip-path: inset(0 -10% 0 0); }

/* 15. Mouvement réduit ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.grl *, .grl *::before, .grl *::after {
		animation: none !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
	.js .loader { display: none; }
	.js [data-reveal], .js [data-enter], .js .hero__title [data-enter] { opacity: 1; transform: none; filter: none; }
	.js [data-reveal="write"] span { clip-path: none; }
	.js .about__sign[data-reveal] { transform: rotate(-5deg); }
	.timeline::before, .skill__bar, .js [data-reveal="line"] { transform: none; }
	.hero__dots, .hero__beam { display: none; }
	.gold-text { background-size: 100% 100%; }
	.project__more { grid-template-rows: 1fr !important; opacity: 1 !important; }
}

@media print {
	.loader, .cursor, .progress, .nav__burger { display: none !important; }
	.js [data-reveal], .js [data-enter] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* 16. Sites web réalisés -------------------------------------------------- */
.sites__title {
	margin-top: clamp(44px, 6vw, 72px);
	font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2;
	display: flex; align-items: center; gap: 18px;
}
.sites__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(226, 169, 59, .6), transparent); }

.sites {
	margin-top: 26px;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
	perspective: 1400px;
}
.sites > li { display: grid; }

.site {
	--rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; min-height: 190px;
	padding: 22px 20px 20px;
	border: 1px solid var(--line-dark); border-radius: var(--r-md);
	background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.site::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(260px circle at var(--mx) var(--my), rgba(226, 169, 59, .2), transparent 65%);
	opacity: 0; transition: opacity .4s;
}
.site:hover, .site:focus-visible { border-color: var(--accent); box-shadow: 0 26px 50px -30px rgba(226, 169, 59, .6); transition-duration: .15s, .4s, .5s; }
.site:hover::before, .site:focus-visible::before { opacity: 1; }

.site__mark {
	position: absolute; right: 10px; top: -14px; z-index: -1;
	font-size: 6.5rem; font-weight: 800; line-height: 1; text-transform: uppercase;
	color: transparent; -webkit-text-stroke: 1px rgba(226, 169, 59, .32);
	transition: transform .7s var(--ease-out), -webkit-text-stroke-color .4s;
}
.site:hover .site__mark { transform: translate(-6px, 6px) scale(1.06); -webkit-text-stroke-color: rgba(226, 169, 59, .7); }

.site__name { font-size: 1.05rem; font-weight: 700; line-height: 1.25; color: var(--on-dark); max-width: 78%; overflow-wrap: anywhere; }
.site__text { margin-top: 8px; font-size: .85rem; line-height: 1.5; color: var(--on-dark-soft); }
.site__go {
	margin-top: auto; padding-top: 18px;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 600; color: var(--accent-light);
}
.site__go .icon { transition: transform .4s var(--ease); }
.site:hover .site__go .icon { transform: translateX(5px); }

@media (max-width: 1000px) { .sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sites { grid-template-columns: 1fr; } .site { min-height: 0; } }

/* 17. Intégration Elementor ------------------------------------------------ */
/* Chaque section est un bloc Elementor : son conteneur ne doit ajouter ni marge ni largeur limitée. */
.grl-page { overflow-x: clip; }
.grl .e-con:has(> .elementor-widget[class*="elementor-widget-grl-"]),
.grl .e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-grl-"]) {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	padding: 0; max-width: none; width: 100%;
}
.grl .e-con > .e-con-inner:has(> .elementor-widget[class*="elementor-widget-grl-"]) { max-width: none; padding: 0; gap: 0; }
.grl .elementor-widget[class*="elementor-widget-grl-"] { width: 100%; max-width: 100%; margin: 0; }

/* Les règles d'image d'Elementor ne doivent pas déformer les portraits. */
.grl .hero__nb img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; border-radius: 0; }
.grl .hero__portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; border-radius: 0; }
.grl .about__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Listes qui s'adaptent au nombre d'éléments saisis dans Elementor. */
@media (min-width: 901px) {
	.timeline { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); row-gap: 40px; }
}
@media (min-width: 1001px) {
	.skills__grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}

/* Dans l'éditeur Elementor : tout est visible tout de suite, sans loader ni curseur. */
.elementor-editor-active .loader,
.elementor-editor-active .cursor,
.elementor-editor-active .progress { display: none !important; }
.elementor-editor-active.grl [data-reveal],
.elementor-editor-active.grl [data-enter],
.elementor-editor-active.grl .hero__title [data-enter] { opacity: 1 !important; transform: none !important; filter: none !important; }
.elementor-editor-active.grl .about__sign[data-reveal] { transform: rotate(-5deg) !important; }
.elementor-editor-active.grl [data-reveal="write"] span { clip-path: none !important; }
.elementor-editor-active.grl .timeline::before,
.elementor-editor-active.grl .skill__bar { transform: none !important; }
.elementor-editor-active.grl .nav { transform: none !important; opacity: 1 !important; }
.elementor-editor-active.grl .project__more { grid-template-rows: 1fr !important; opacity: 1 !important; }
