/* ============================================================
   Gaultier Levent — thème sur mesure
   Tokens DA · base · en-tête · accueil · projets · fiche · formulaire · pied de page
   ============================================================ */

:root {
	--gl-yellow: #FFCE00;
	--gl-gold: #E9B200;
	--gl-ink: #121114;
	--gl-bg: #F5F3EE;
	--gl-night: #0E0B17;
	--gl-panel: #17132A;
	--gl-panel-2: #1E1830;
	--gl-border: #2E2842;
	--gl-muted: #B7B1C6;
	--gl-text-soft: #3E3C38;
	--gl-font-title: 'Outfit', system-ui, sans-serif;
	--gl-font-text: 'DM Sans', system-ui, sans-serif;
	--gl-ease: cubic-bezier(.2, .8, .2, 1);
	--gl-blur-max: .048em; /* flou de bord permanent, proportionnel à la taille du titre */
	--gl-pad: 64px;
	--gl-head-h: 168px;
	--gl-logo-h: 110px;
}

@media (max-width: 900px) {
	:root { --gl-blur-max: .055em; --gl-pad: 24px; --gl-head-h: 96px; --gl-logo-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gl-bg);
	color: var(--gl-ink);
	font-family: var(--gl-font-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--gl-font-title); margin: 0; }
button { font: inherit; }
.gl-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gl-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--gl-yellow); color: var(--gl-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.gl-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gl-yellow); outline-offset: 3px; }

.gl-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gl-pad); }
.gl-wrap--narrow { max-width: 860px; }
.gl-section { padding: 112px 0 120px; }
.gl-section--night { background: var(--gl-night); color: #fff; }
.gl-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gl-eyebrow { display: block; font-size: 14px; font-weight: 700; letter-spacing: .22em; margin-bottom: 12px; }
.gl-eyebrow--yellow { color: var(--gl-yellow); }
.gl-h1 { font-size: clamp(44px, 7vw, 96px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
.gl-h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.gl-h2--dark { font-size: clamp(32px, 3.6vw, 52px); }
.gl-lead { font-size: 20px; color: var(--gl-muted); max-width: 640px; }

/* ---------- Boutons / pastilles ---------- */
.gl-btn {
	display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
	border-radius: 16px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
	font-family: var(--gl-font-title); font-size: 17px; font-weight: 600; transition: transform .2s ease, background .2s ease;
}
.gl-btn:hover { transform: translateY(-2px); }
.gl-btn--yellow { background: var(--gl-yellow); color: var(--gl-ink); }
.gl-btn--dark { background: var(--gl-ink); color: #fff; }
.gl-btn--outline-dark { border-color: var(--gl-ink); color: var(--gl-ink); background: transparent; }
.gl-btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.gl-btn--submit { justify-content: center; height: 56px; background: var(--gl-ink); color: #fff; font-size: 18px; border: none; }
.gl-pill { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; font-family: var(--gl-font-title); font-size: 14px; font-weight: 600; text-decoration: none; }
.gl-pill--yellow { background: var(--gl-yellow); color: var(--gl-ink); }
.gl-pill--ghost { background: rgba(255,255,255,.14); color: #fff; }
.gl-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- En-tête / navigation ---------- */
.gl-header {
	position: fixed; z-index: 100; left: 0; right: 0; top: 0; height: var(--gl-head-h);
	padding: 0 var(--gl-pad); display: flex; align-items: center; justify-content: space-between; gap: 24px;
	color: #fff; border: 1px solid transparent; border-radius: 0;
	transition: all .45s var(--gl-ease);
}
.gl-brand { display: flex; align-items: center; text-decoration: none; color: #fff; font-family: var(--gl-font-title); font-weight: 800; font-size: 24px; }
.gl-logo-img { height: var(--gl-logo-h) !important; transition: height .45s var(--gl-ease); }
.gl-nav .gl-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; font-family: var(--gl-font-title); font-size: 17px; font-weight: 500; transition: gap .45s var(--gl-ease); }
.gl-nav a { color: #fff; text-decoration: none; }
.gl-nav a:hover { color: var(--gl-yellow); }
.gl-nav .gl-menu li:last-child a { display: flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 14px; background: var(--gl-yellow); color: var(--gl-ink); font-weight: 700; transition: height .45s var(--gl-ease); }
.gl-nav .gl-menu li:last-child a:hover { color: var(--gl-ink); filter: brightness(1.05); }

/* Pages sans hero : barre pleine, sombre, dès le départ */
.gl-no-hero .gl-header { background: var(--gl-night); --gl-head-h: 112px; --gl-logo-h: 64px; }
.gl-no-hero main { padding-top: 112px; }

/* Après ~80 px de défilement : pilule flottante en verre dépoli */
.gl-header.is-scrolled {
	--gl-head-h: 72px; --gl-logo-h: 40px;
	left: 40px; right: 40px; top: 16px; padding: 0 24px; border-radius: 20px;
	background: rgba(14, 11, 23, .72); border-color: rgba(255,255,255,.12);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.gl-header.is-scrolled .gl-menu { gap: 28px; font-size: 16px; }
.gl-header.is-scrolled .gl-menu li:last-child a { height: 42px; }

.gl-burger { display: none; width: 48px; height: 48px; border: none; border-radius: 14px; background: rgba(255,255,255,.12); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.gl-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.gl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gl-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gl-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.gl-header.is-scrolled { left: 12px; right: 12px; top: 10px; padding: 0 16px; }
	.gl-burger { display: flex; }
	.gl-nav { position: absolute; left: 0; right: 0; top: 100%; margin-top: 8px; padding: 20px; border-radius: 20px; background: rgba(14,11,23,.96); border: 1px solid var(--gl-border); display: none; }
	.gl-nav.is-open { display: block; }
	.gl-nav .gl-menu { flex-direction: column; align-items: stretch; gap: 6px; font-size: 20px; }
	.gl-nav .gl-menu li a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; }
	.gl-nav .gl-menu li:last-child a { justify-content: center; margin-top: 8px; }
	.gl-no-hero main { padding-top: 96px; }
	.gl-no-hero .gl-header { --gl-head-h: 96px; }
}

/* ---------- Hero ---------- */
.gl-hero { position: relative; min-height: 100svh; height: 880px; max-height: 1000px; overflow: hidden; background: var(--gl-night); color: #fff; display: flex; align-items: flex-end; }
.gl-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gl-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,11,23,.55) 0%, rgba(14,11,23,.1) 30%, rgba(14,11,23,.35) 60%, rgba(14,11,23,.92) 100%); }
/* Fond vidéo Vimeo (iframe injectée par main.js) : recadrée en « cover », apparaît en fondu quand elle est prête. */
.gl-hero__embed { position: absolute; inset: 0; overflow: hidden; container-type: size; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.gl-hero__embed.is-ready { opacity: 1; }
.gl-hero__embed iframe { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; }

/* Lecteur plein écran du showreel (avec le son) */
.gl-lightbox { border: 0; padding: 0; background: #000; width: min(1280px, 92vw); aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 20px; overflow: visible; color: #fff; }
.gl-lightbox::backdrop { background: rgba(14, 11, 23, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gl-lightbox__frame, .gl-lightbox__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 20px; display: block; }
.gl-lightbox__close { position: absolute; right: 0; top: -56px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(14,11,23,.6); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.gl-lightbox__close:hover { background: var(--gl-yellow); color: var(--gl-ink); border-color: var(--gl-yellow); }

.gl-hero__content { position: relative; z-index: 2; width: 100%; max-width: 2000px; margin: 0 auto; padding: 0 var(--gl-pad) 72px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.gl-hero__text { display: flex; flex-direction: column; gap: 28px; flex: 1 1 auto; min-width: 0; }
/* Voile sous le titre : assombrissement progressif + très léger flou, qui s'estompe vers le haut. */
.gl-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(14,11,23,0) 0%, rgba(14,11,23,.38) 55%, rgba(14,11,23,.62) 100%);
	-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
@media (max-width: 900px) { .gl-hero::after { height: 75%; } }
/* Effet « Ambilight » : flou qui s'intensifie vers les bords (bas + côtés), saturé et un peu éclairci
   pour que les couleurs de la vidéo semblent déborder en lumière diffuse. */
.gl-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none;
	-webkit-backdrop-filter: blur(26px) saturate(1.7) brightness(1.12); backdrop-filter: blur(26px) saturate(1.7) brightness(1.12);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 85%); mask-image: linear-gradient(180deg, transparent 0%, #000 85%); }
.gl-hero__shade::before, .gl-hero__shade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 16%; pointer-events: none;
	-webkit-backdrop-filter: blur(20px) saturate(1.6) brightness(1.1); backdrop-filter: blur(20px) saturate(1.6) brightness(1.1); }
.gl-hero__shade::before { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, transparent 100%); }
.gl-hero__shade::after { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 100%); mask-image: linear-gradient(270deg, #000 0%, transparent 100%); }
@media (max-width: 900px) { .gl-hero__shade::before, .gl-hero__shade::after { width: 22%; } }
/* Sélecteur renforcé : sinon la règle h1 du kit Elementor (40 px) l'emporte. « en mouvement. » mesure ≈ 6,56 em de large. */
body .gl-hero h1.gl-hero__title { font-size: clamp(56px, 10vw, 220px); line-height: .9; font-weight: 800; letter-spacing: -.04em; margin: 0; }
.gl-hero__roles { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0; font-family: var(--gl-font-title); font-size: clamp(18px, 1.55vw, 28px); font-weight: 500; color: #E6E2F0; }
.gl-hero__roles strong { color: #fff; }
.gl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gl-yellow); }
.gl-hero__play { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; font-family: var(--gl-font-title); font-weight: 600; flex-shrink: 0; }
.gl-play-btn { width: 132px; height: 132px; border-radius: 50%; background: var(--gl-yellow); color: var(--gl-ink); display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
	.gl-hero { height: auto; min-height: 100svh; }
	.gl-hero__content { flex-direction: column; align-items: flex-start; padding-bottom: 40px; }
	.gl-play-btn { width: 88px; height: 88px; }
	.gl-play-btn svg { width: 32px; height: 32px; }
	.gl-hero__roles { font-size: 16px; }
	body .gl-hero h1.gl-hero__title { font-size: min(12vw, 120px); }
}

/* Accroche : « en mouvement. » ↔ « in motion. », flou lettre par lettre + flou de bord permanent */
.gl-swap { display: inline-grid; color: var(--gl-yellow); white-space: nowrap; }
.gl-swap__fr, .gl-swap__en { grid-area: 1 / 1; }
.gl-ch-wrap { display: inline-block; white-space: pre; filter: blur(calc(var(--t, 0) * var(--gl-blur-max))); }
.gl-ch { display: inline-block; white-space: pre; will-change: filter, opacity; }
.gl-ch-out { animation: gl-out 10s cubic-bezier(.4,0,.2,1) infinite both; }
.gl-ch-in { opacity: 0; animation: gl-in 10s cubic-bezier(.4,0,.2,1) infinite both; }
@keyframes gl-out { 0%,50%{opacity:1;filter:blur(0)} 56%{opacity:.55;filter:blur(8.1px)} 62%,86%{opacity:0;filter:blur(18px)} 92%{opacity:.55;filter:blur(8.1px)} 98%,100%{opacity:1;filter:blur(0)} }
@keyframes gl-in { 0%,56%{opacity:0;filter:blur(18px)} 62%{opacity:.55;filter:blur(8.1px)} 68%,82%{opacity:1;filter:blur(0)} 88%{opacity:.55;filter:blur(8.1px)} 94%,100%{opacity:0;filter:blur(18px)} }

/* ---------- Animations génériques ---------- */
@keyframes gl-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes gl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gl-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,206,0,.55); } 50% { box-shadow: 0 0 0 22px rgba(255,206,0,0); } }
@keyframes gl-spin { to { transform: rotate(360deg); } }
@keyframes gl-spin-rev { to { transform: rotate(-360deg); } }
@keyframes gl-glow { 0%,100% { box-shadow: 0 0 14px rgba(255,206,0,.45); } 50% { box-shadow: 0 0 40px rgba(255,206,0,.95); } }
@keyframes gl-blink { 0%,100% { opacity: 1; } 50% { opacity: .15; } }
.gl-kenburns { animation: gl-zoom 14s ease-in-out infinite alternate; }
.gl-pulse { animation: gl-pulse 2.2s ease-out infinite; }
.gl-blink { animation: gl-blink 1.2s steps(2) infinite; }

/* ---------- Bandeau défilant ---------- */
.gl-marquee { height: 88px; overflow: hidden; background: var(--gl-yellow); display: flex; align-items: center; }
/* Deux groupes identiques côte à côte ; width:max-content + flex-shrink:0 empêchent le rétrécissement (étoiles écrasées, texte tronqué). */
.gl-marquee__track { display: flex; flex-wrap: nowrap; width: max-content; white-space: nowrap; animation: gl-marquee 84s linear infinite; font-family: var(--gl-font-title); font-size: 34px; font-weight: 800; letter-spacing: -.01em; color: var(--gl-ink); }
.gl-marquee__group { display: flex; flex: 0 0 auto; align-items: center; gap: 40px; padding-right: 40px; }
.gl-marquee__item { display: flex; flex: 0 0 auto; align-items: center; gap: 40px; }
.gl-marquee__item svg { flex: 0 0 auto; width: 26px; height: 26px; }
@media (max-width: 900px) { .gl-marquee { height: 64px; } .gl-marquee__track { font-size: 24px; animation-duration: 60s; } .gl-marquee__group { gap: 28px; padding-right: 28px; } .gl-marquee__item { gap: 28px; } .gl-marquee__item svg { width: 20px; height: 20px; } }

/* ---------- Projets : cartes ---------- */
.gl-featured { margin-bottom: 28px; }
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.gl-grid--page { margin-top: 48px; }
@media (max-width: 1000px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gl-grid { grid-template-columns: 1fr; } }

.gl-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: #fff; }
.gl-card__media {
	position: relative; display: flex; align-items: center; justify-content: center; height: 236px; border-radius: 22px; overflow: hidden;
	background-color: var(--gl-panel);
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 18px);
}
.gl-card__media img, .gl-card__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--gl-ease); }
.gl-card__loop { opacity: 0; transition: opacity .3s ease, transform .5s var(--gl-ease); }
.gl-card:hover .gl-card__media img, .gl-card:hover .gl-card__loop { transform: scale(1.06); }
.gl-card:hover .gl-card__loop { opacity: 1; }
.gl-card__play { position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--gl-ink); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.gl-card:hover .gl-card__play { transform: scale(1.12); }
.gl-card__tag { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--gl-ink); font-family: var(--gl-font-title); font-size: 13px; font-weight: 600; }
.gl-card__body { display: flex; flex-direction: column; gap: 4px; }
.gl-card__title { font-family: var(--gl-font-title); font-size: 22px; font-weight: 700; }
.gl-card__meta { font-size: 15px; color: var(--gl-muted); }
.gl-card--featured .gl-card__media { height: 580px; border-radius: 28px; }
.gl-card--featured .gl-card__body { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 3; }
.gl-card--featured { position: relative; }
.gl-card--featured::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; border-radius: 0 0 28px 28px; background: linear-gradient(0deg, rgba(14,11,23,.95), rgba(14,11,23,0)); pointer-events: none; z-index: 2; }
.gl-card--featured .gl-card__title { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.02em; }
.gl-card--featured .gl-card__meta { font-size: 17px; color: #C9C4D6; }
.gl-card__tags { position: absolute; z-index: 3; left: 40px; top: 36px; display: flex; gap: 8px; }
@media (max-width: 900px) { .gl-card--featured .gl-card__media { height: 360px; } .gl-card--featured .gl-card__body { left: 20px; right: 20px; bottom: 20px; } .gl-card__tags { left: 20px; top: 20px; } }
.gl-card.is-hidden { display: none; }

/* ---------- Page projets : filtres ---------- */
.gl-page-head { padding-top: 64px; }
.gl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.gl-filter { height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #5A5370; background: transparent; color: #fff; font-family: var(--gl-font-title); font-weight: 600; font-size: 16px; cursor: pointer; }
.gl-filter.is-active { background: var(--gl-yellow); border-color: var(--gl-yellow); color: var(--gl-ink); }
.gl-want { margin-top: 96px; padding: 56px; border-radius: 32px; background: var(--gl-yellow); color: var(--gl-ink); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gl-want h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.gl-want p { margin: 8px 0 0; font-size: 18px; }
.gl-want .gl-btn { background: var(--gl-ink); color: #fff; }

/* ---------- À propos ---------- */
.gl-about { padding: 120px 0; }
.gl-about__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.gl-about__visual { position: relative; height: 360px; border-radius: 32px; display: flex; align-items: center; justify-content: center; background-color: var(--gl-bg); background-image: repeating-conic-gradient(#E9E6DD 0 25%, #F5F3EE 0 50%); background-size: 90px 90px; }
.gl-about__disc { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--gl-yellow); transform: translate(16px, 12px); }
.gl-about__portrait { position: relative; width: 300px; height: 300px; border-radius: 50%; object-fit: cover; border: 5px solid var(--gl-ink); }
.gl-about__text { display: flex; flex-direction: column; gap: 22px; }
.gl-about__text p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--gl-text-soft); }
@media (max-width: 900px) { .gl-about { padding: 72px 0; } .gl-about__grid { grid-template-columns: 1fr; gap: 40px; } .gl-about__visual { height: 300px; } }

/* ---------- Gros bouton → arbre de compétences ---------- */
.gl-cta-section { padding: 64px 0; }
.gl-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 0 0 0 72px; min-height: 572px;
	border-radius: 40px; overflow: hidden; text-decoration: none; color: #fff; background-color: var(--gl-night);
	background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.gl-cta:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(14,11,23,.35), 0 0 0 3px var(--gl-yellow); }
.gl-cta__text { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.gl-cta__text p { margin: 0; font-size: 19px; line-height: 1.55; color: #C9C4D6; }
.gl-cta__title { font-size: clamp(40px, 4.8vw, 68px); line-height: .98; font-weight: 800; letter-spacing: -.03em; }
.gl-cta__title span { color: var(--gl-yellow); }
.gl-chips { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--gl-font-title); font-size: 15px; font-weight: 600; }
.gl-chips span { padding: 7px 14px; border-radius: 999px; background: #241E3A; }
.gl-cta__go { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.gl-cta__btn { height: 64px; padding: 0 30px; border-radius: 18px; background: var(--gl-yellow); color: var(--gl-ink); display: flex; align-items: center; gap: 12px; font-family: var(--gl-font-title); font-size: 20px; font-weight: 800; transition: transform .2s ease; }
.gl-cta:hover .gl-cta__btn { transform: scale(1.05); }
.gl-cta .gl-blink { font-family: var(--gl-font-title); font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--gl-yellow); }

.gl-orbits { position: relative; width: 520px; height: 520px; flex-shrink: 0; margin-right: 24px; }
.gl-orbits__glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,206,0,.18) 0%, rgba(255,206,0,0) 60%); }
.gl-orbit { position: absolute; border-radius: 50%; left: 50%; top: 50%; }
.gl-orbit--a { width: 240px; height: 240px; margin: -120px 0 0 -120px; border: 3px solid rgba(255,206,0,.55); box-shadow: 0 0 18px rgba(255,206,0,.25); animation: gl-spin 22s linear infinite; }
.gl-orbit--b { width: 400px; height: 400px; margin: -200px 0 0 -200px; border: 2px dashed rgba(255,255,255,.18); animation: gl-spin-rev 40s linear infinite; }
/* Au survol, l'accélération des orbites est gérée en JS (assets/js/main.js) pour être progressive, sans redémarrer l'animation. */
.gl-sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r, 0)) rotate(calc(var(--a) * -1)); }
.gl-orbit--a { --r: 120px; }
.gl-orbit--b { --r: 200px; }
/* le satellite est placé sur l'orbite (angle + rayon) ; le span tourne à l'envers pour garder l'icône à l'endroit */
.gl-sat > span { position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--gl-font-title); font-weight: 800; font-size: 17px; animation: gl-spin-rev 22s linear infinite; }
.gl-orbit--b .gl-sat > span { width: 48px; height: 48px; margin: -24px 0 0 -24px; font-size: 15px; animation: gl-spin 40s linear infinite; }
.gl-sat--yellow > span { background: var(--gl-yellow); color: var(--gl-ink); }
.gl-sat--dark > span { border: 3px solid var(--gl-yellow); background: var(--gl-panel-2); color: var(--gl-yellow); }
.gl-sat--locked > span { border: 2px dashed #5A5370; background: #15121F; color: #7A7390; }
.gl-orbits__avatar { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gl-yellow); animation: gl-glow 2.4s ease-in-out infinite; }
.gl-orbits__level { position: absolute; left: 50%; top: calc(50% + 52px); width: 88px; margin-left: -44px; padding: 4px 0; border-radius: 8px; background: var(--gl-yellow); color: var(--gl-ink); text-align: center; font-family: var(--gl-font-title); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
@media (max-width: 1100px) { .gl-cta { flex-direction: column; align-items: flex-start; padding: 40px 28px 0; } .gl-orbits { align-self: center; transform: scale(.72); margin: -70px 0 -70px; } }

/* ---------- Contact ---------- */
.gl-contact { padding: 100px 0; }
.gl-contact__box { padding: 64px; border-radius: 36px; background: var(--gl-yellow); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.gl-contact__info { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.gl-contact__title { font-size: clamp(40px, 5vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.03em; margin: 20px 0; }
.gl-contact__info p { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.55; }
.gl-contact__links { display: flex; flex-direction: column; gap: 14px; }
.gl-contact__mail { display: flex; align-items: center; gap: 12px; font-family: var(--gl-font-title); font-size: 20px; font-weight: 600; text-decoration: none; color: var(--gl-ink); }
.gl-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.gl-socials a { display: flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--gl-ink); color: #fff; text-decoration: none; font-size: 16px; }
@media (max-width: 900px) { .gl-contact { padding: 56px 0; } .gl-contact__box { grid-template-columns: 1fr; padding: 28px; gap: 36px; border-radius: 28px; } }

.gl-form { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 28px; background: #fff; }
.gl-form label, .gl-form legend { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.gl-form legend { padding: 0; margin-bottom: 8px; display: block; }
.gl-form fieldset { margin: 0; padding: 0; border: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gl-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .gl-form { padding: 22px; } .gl-form__row { grid-template-columns: 1fr; } }
.gl-form input[type=text], .gl-form input[type=email], .gl-form textarea { height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #D6D2C8; background: #FAF9F6; font: 400 16px var(--gl-font-text); color: var(--gl-ink); width: 100%; }
.gl-form textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.gl-form__trap { position: absolute; left: -9999px; }
.gl-chip { flex-direction: row !important; position: relative; }
.gl-chip input { position: absolute; opacity: 0; inset: 0; }
.gl-chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #D6D2C8; font-family: var(--gl-font-title); font-size: 15px; font-weight: 600; cursor: pointer; }
.gl-chip input:checked + span { background: var(--gl-ink); border-color: var(--gl-ink); color: #fff; }
.gl-chip input:focus-visible + span { outline: 3px solid var(--gl-yellow); outline-offset: 2px; }
.gl-form__notice { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.gl-form__notice--ok { background: #E7F6E4; color: #1E5B16; }
.gl-form__notice--err { background: #FDE8E6; color: #8A2018; }

/* ---------- Fiche projet ---------- */
.gl-project__head { padding-bottom: 72px; }
.gl-project__cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 40px; }
.gl-project__video { border-radius: 28px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.gl-project__video iframe, .gl-project__video video, .gl-project__video img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gl-project__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; }
.gl-project__sheet dl { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 24px; background: #fff; }
.gl-project__sheet dt { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #6B6760; margin-bottom: 4px; }
.gl-project__sheet dd { margin: 0; font-family: var(--gl-font-title); font-size: 18px; font-weight: 600; }
.gl-skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-project__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 80px; }
@media (max-width: 900px) { .gl-project__grid { grid-template-columns: 1fr; gap: 32px; } }

.gl-prose { font-size: 18px; line-height: 1.7; color: var(--gl-text-soft); }
.gl-prose--light { color: #D8D5CE; margin-top: 32px; }
.gl-prose h2, .gl-prose h3 { margin: 1.6em 0 .5em; color: var(--gl-ink); }
.gl-prose--light h2, .gl-prose--light h3 { color: #fff; }
.gl-prose img { border-radius: 18px; height: auto; }
.gl-prose a { text-decoration-color: var(--gl-yellow); text-underline-offset: 3px; }
/* Colonnes alignées en haut : aucune marge haute sur le 1er élément de chaque colonne. */
.gl-project__content > * { margin-top: 0; }
.gl-project__content p, .gl-project__content ul, .gl-project__content ol { margin: 0 0 1.1em; }
.gl-project__content h2, .gl-project__content h3 { margin: 0 0 .5em; break-after: avoid; }
.gl-project__content > * + h2, .gl-project__content > * + h3 { margin-top: 1.4em; }
@media (min-width: 901px) { .gl-project__content > h2:first-child, .gl-project__content > h3:first-child { column-span: none; } .gl-project__content { columns: 2; column-gap: 48px; } .gl-project__content > * { break-inside: avoid-column; } .gl-project__content figure, .gl-project__content .wp-block-image { column-span: all; } }

.gl-pagination { margin-top: 48px; }
.gl-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.gl-pagination a, .gl-pagination span { padding: 10px 16px; border-radius: 12px; border: 1.5px solid #5A5370; text-decoration: none; color: #fff; }
.gl-pagination .current { background: var(--gl-yellow); color: var(--gl-ink); border-color: var(--gl-yellow); }

/* ---------- Pied de page ---------- */
.gl-footer { padding: 56px var(--gl-pad); background: var(--gl-ink); color: #D8D5CE; display: flex; flex-direction: column; gap: 32px; }
.gl-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gl-footer-menu, .gl-footer .gl-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; font-family: var(--gl-font-title); font-size: 16px; font-weight: 500; }
.gl-footer a { color: #fff; text-decoration: none; }
.gl-footer .gl-menu li:last-child a, .gl-footer-menu li:last-child a { color: var(--gl-yellow); }
.gl-footer__rule { width: 100%; height: 1px; border: 0; background: #2E2C30; margin: 0; }
.gl-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.gl-footer__legal { display: flex; gap: 20px; }
.gl-footer__legal a { color: #D8D5CE; text-decoration: underline; }

/* ---------- Réduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.gl-kenburns, .gl-pulse, .gl-blink, .gl-marquee__track,
	.gl-orbit, .gl-sat > span, .gl-orbits__avatar, .gl-ch-out, .gl-ch-in { animation: none !important; }
	.gl-swap__en { visibility: hidden; }
	.gl-hero__embed { display: none; }
	.gl-ch-in { opacity: 0; }
	.gl-header, .gl-logo-img, .gl-nav .gl-menu, .gl-card__media img, .gl-card__loop, .gl-btn, .gl-cta, .gl-cta__btn, .gl-card__play { transition: none !important; }
}

/* Animations Lottie des anciens projets (ex. Animation Web) : grille sur toute la largeur au-dessus du texte */
.gl-lottie { column-span: all; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 0 0 40px; }
