/* =========================================================================
   GoToGreen · main.css
   Palette energies renouvelables : noir profond + cyan turquoise.
   ====================================================================== */

:root {
	--bg:        #07090c;
	--bg-2:      #0c1014;
	--bg-3:      #11171d;
	--surface:   #121922;
	--surface-2: #18222c;
	--line:      rgba(255,255,255,.09);
	--line-2:    rgba(255,255,255,.14);

	--accent:    #19e3d6;   /* cyan turquoise */
	--accent-2:  #0fb3a4;
	--accent-3:  #5bf2e6;
	--teal-deep: #0e5a54;
	--blue-deep: #0a2540;

	--text:      #f3f7f8;
	--muted:     #9fb0b8;
	--muted-2:   #6f828c;

	--radius:    16px;
	--radius-lg: 24px;
	--maxw:      1200px;
	--ease:      cubic-bezier(.22,.61,.36,1);

	--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-disp: 'Sora', var(--font-sans);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.gtg-noscroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-disp); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #04140f; }

.gtg-skip {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--accent); color: #04140f; padding: .7em 1.2em; border-radius: 0 0 10px 0;
}
.gtg-skip:focus { left: 0; }

.gtg-container { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }

/* =========================================================================
   HEADER
   ====================================================================== */
.gtg-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s;
	border-bottom: 1px solid transparent;
}
.gtg-header.is-scrolled {
	background: rgba(7,9,12,.72);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--line);
}
.gtg-header__inner {
	width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between;
	height: 72px;
}
.gtg-logo { display: inline-flex; align-items: center; gap: .55rem; }
.gtg-logo__mark { display: grid; place-items: center; }
.gtg-logo__text { font-family: var(--font-disp); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.gtg-logo__text strong { color: var(--accent); font-weight: 700; }
.custom-logo { max-height: 44px; width: auto; }

.gtg-nav__list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.gtg-nav__list a { font-size: .95rem; color: var(--muted); font-weight: 500; transition: color .2s; position: relative; }
.gtg-nav__list a:hover, .gtg-nav__list .current-menu-item > a { color: var(--text); }
.gtg-nav__list a::after {
	content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
	background: var(--accent); transition: width .25s var(--ease);
}
.gtg-nav__list a:hover::after { width: 100%; }
.gtg-nav__cta a, .menu-item.gtg-nav__cta a {
	color: #04140f !important; background: var(--accent); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.gtg-nav__cta a::after { display: none; }
.gtg-nav__cta a:hover { background: var(--accent-3); }

.gtg-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.gtg-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.is-open .gtg-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .gtg-burger span:nth-child(2) { opacity: 0; }
.is-open .gtg-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bouton Contact dans le header */
.gtg-nav { margin-left: auto; }
.gtg-header__cta { margin-left: 1.4rem; padding: .55rem 1.15rem; font-size: .92rem; white-space: nowrap; }

/* =========================================================================
   CINEMATIQUE
   ====================================================================== */
/* Voyage continu : canvas fixe (sticky) pilote par une piste de scroll */
.gtg-cine-wrap { position: relative; }
.gtg-cine-stage {
	position: sticky; top: 0; height: 100vh; height: 100svh;
	overflow: hidden; background: linear-gradient(#0b2447, #f6bd83);
}
.gtg-vlayer { position: absolute; inset: 0; opacity: 0; z-index: 0; }
.gtg-vlayer.is-on { opacity: 1; }
.gtg-vlayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gtg-cine-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, rgba(4,6,9,.42) 0%, rgba(4,6,9,.08) 28%, transparent 52%); }
.gtg-track { height: 640vh; }

/* =========================================================================
   SCENES ANIMEES (mode test, sans video) · pur CSS
   ====================================================================== */
.gtg-anim { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

/* 01 · Ciel / nuages */
.gtg-anim--sky { background: linear-gradient(180deg,#0a2a4d 0%,#2d6fb0 45%,#9ec9e8 74%,#f6c98a 100%); }
.gtg-sun { position: absolute; top: 16%; left: 50%; width: 260px; height: 260px; transform: translateX(-50%);
	background: radial-gradient(circle, rgba(255,242,205,.95), rgba(255,210,140,.25) 45%, transparent 70%); border-radius: 50%; }
.gtg-cloud { position: absolute; height: 60px; width: 240px;
	background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); border-radius: 50%;
	filter: blur(6px); opacity: .85; animation: gtgDrift linear infinite; will-change: transform; }
.gtg-cloud.c1 { top: 22%; width: 300px; animation-duration: 48s; }
.gtg-cloud.c2 { top: 38%; width: 200px; height: 50px; animation-duration: 64s; animation-delay: -10s; }
.gtg-cloud.c3 { top: 29%; width: 360px; height: 84px; animation-duration: 82s; animation-delay: -34s; opacity: .7; }
.gtg-cloud.c4 { top: 53%; width: 250px; animation-duration: 56s; animation-delay: -20s; }
.gtg-cloud.c5 { top: 46%; width: 170px; height: 42px; animation-duration: 72s; animation-delay: -48s; }
@keyframes gtgDrift { from { transform: translateX(-380px); } to { transform: translateX(112vw); } }

/* 02 · Foret */
.gtg-anim--forest { background: linear-gradient(180deg,#bfe0c2 0%,#5fa06a 34%,#26603a 68%,#143a24 100%); }
.gtg-rays { position: absolute; inset: -25% -25% auto; height: 130%;
	background: repeating-linear-gradient(115deg, rgba(255,250,220,.10) 0 16px, transparent 16px 78px);
	mix-blend-mode: screen; animation: gtgRay 8s ease-in-out infinite alternate; }
@keyframes gtgRay { from { opacity: .35; } to { opacity: .9; } }
.gtg-hill { position: absolute; left: 50%; width: 170%; height: 95%; transform: translateX(-50%); border-radius: 50% 50% 0 0; }
.gtg-anim--forest .h1 { background: #1d4a2e; bottom: -58%; opacity: .95; }
.gtg-anim--forest .h2 { background: #0f2e1c; width: 220%; bottom: -65%; }

/* 03 · Champ agricole */
.gtg-anim--field { background: linear-gradient(180deg,#a9c9e6 0%,#e8d9a0 44%,#d8b24a 70%,#a9842c 100%); }
.gtg-sun--low { top: 30%; }
.gtg-wheat { position: absolute; left: -2%; right: -2%; bottom: 0; height: 42%;
	background: linear-gradient(180deg, rgba(216,178,74,0), #c69a2e 40%, #8a6420);
	-webkit-mask: repeating-linear-gradient(90deg,#000 0 3px,transparent 3px 7px);
	mask: repeating-linear-gradient(90deg,#000 0 3px,transparent 3px 7px);
	transform-origin: bottom; animation: gtgSway 4s ease-in-out infinite alternate; }
@keyframes gtgSway { from { transform: skewX(-2.5deg); } to { transform: skewX(2.5deg); } }

/* 04 · Route / transport */
.gtg-anim--road { background: linear-gradient(180deg,#0a1622 0%,#16324a 40%,#2a4a63 58%,#0c1118 100%); }
.gtg-road { position: absolute; left: 50%; bottom: 0; width: 84%; height: 64%; transform: translateX(-50%);
	background: #14181c; clip-path: polygon(38% 0, 62% 0, 100% 100%, 0% 100%); }
.gtg-dashes { position: absolute; left: 50%; bottom: 0; width: 7%; height: 64%; transform: translateX(-50%);
	background: repeating-linear-gradient(180deg,#e9eff1 0 10%, transparent 10% 24%);
	clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); animation: gtgDash .55s linear infinite; }
@keyframes gtgDash { from { background-position-y: 0; } to { background-position-y: 70px; } }
.gtg-headlight { position: absolute; left: 50%; top: 33%; width: 130px; height: 130px; transform: translateX(-50%);
	background: radial-gradient(circle, rgba(190,255,250,.55), transparent 65%); border-radius: 50%; animation: gtgPulse 2.4s ease-in-out infinite; }
@keyframes gtgPulse { 0%,100% { opacity: .5; } 50% { opacity: .95; } }

/* 05 · Industrie */
.gtg-anim--industry { background: linear-gradient(180deg,#6b7a8c 0%,#a98a6a 55%,#5a4636 100%); }
.gtg-factory { position: absolute; left: 0; right: 0; bottom: 0; height: 44%; background: #2b3037;
	clip-path: polygon(0 100%,0 55%,12% 55%,12% 30%,20% 30%,20% 55%,34% 55%,34% 20%,42% 20%,42% 55%,60% 55%,60% 40%,72% 40%,72% 18%,78% 18%,78% 55%,100% 55%,100% 100%); }
.gtg-smoke { position: absolute; bottom: 44%; width: 48px; height: 48px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(220,220,220,.75), transparent); animation: gtgSmoke 6s linear infinite; will-change: transform, opacity; }
.gtg-smoke.s1 { left: 35%; }
.gtg-smoke.s2 { left: 39%; animation-delay: -2s; }
.gtg-smoke.s3 { left: 75%; animation-delay: -4s; }
@keyframes gtgSmoke { 0% { transform: translateY(0) scale(.5); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(-230px) scale(2.4); opacity: 0; } }

/* 06 · Banque / ville */
.gtg-anim--bank { background: linear-gradient(180deg,#0a1430 0%,#26345c 45%,#c98a5a 85%,#3a2a22 100%); }
.gtg-city { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; background: #0b1428;
	clip-path: polygon(0 100%,0 60%,8% 60%,8% 30%,15% 30%,15% 60%,22% 60%,22% 18%,30% 18%,30% 60%,40% 60%,40% 40%,48% 40%,48% 8%,56% 8%,56% 60%,66% 60%,66% 28%,74% 28%,74% 60%,84% 60%,84% 45%,92% 45%,92% 60%,100% 60%,100% 100%); }
.gtg-anim--bank::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 56%;
	background-image: radial-gradient(rgba(255,210,140,.9) 1px, transparent 1.6px); background-size: 14px 18px;
	-webkit-mask: linear-gradient(180deg,transparent 44%,#000 44%); mask: linear-gradient(180deg,transparent 44%,#000 44%);
	opacity: .5; animation: gtgTwinkle 3s steps(2) infinite; }
@keyframes gtgTwinkle { 0%,100% { opacity: .35; } 50% { opacity: .6; } }

@media (prefers-reduced-motion: reduce) {
	.gtg-cloud, .gtg-rays, .gtg-wheat, .gtg-dashes, .gtg-headlight, .gtg-smoke, .gtg-anim--bank::after { animation: none !important; }
}

/* Ecran de chargement des modeles 3D */
.gtg-cine-loading { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
	background: radial-gradient(120% 90% at 50% 30%, #0d2238, #050709 75%);
	transition: opacity .7s var(--ease), visibility .7s; }
.gtg-cine-loading.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.gtg-cine-loading__inner { text-align: center; width: min(80%, 320px); }
.gtg-cine-loading__inner .gtg-logo__text { font-size: 1.6rem; }
.gtg-cine-loading__bar { height: 3px; background: rgba(255,255,255,.14); border-radius: 99px; margin: 1.4rem 0 .8rem; overflow: hidden; }
.gtg-cine-loading__bar span { display: block; height: 100%; width: 0%; border-radius: 99px;
	background: linear-gradient(90deg, var(--accent-3), var(--accent)); transition: width .3s var(--ease); }
.gtg-cine-loading__txt { color: var(--muted); font-size: .85rem; letter-spacing: .04em; margin: 0; }

/* Fallback sans WebGL */
.gtg-cine-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
	background: radial-gradient(120% 90% at 50% 0%, #14304f, #07090c 70%); padding: 2rem; z-index: 3; }
.gtg-cine-fallback[hidden] { display: none !important; }   /* sinon display:grid ecrase l'attribut hidden */
.gtg-cine-fallback h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.gtg-cine-fallback p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

/* Overlays texte */
.gtg-cine-overlays { position: absolute; inset: 0; pointer-events: none; }
.gtg-scene {
	position: absolute; left: 0; right: 0; bottom: clamp(8vh, 16vh, 22vh);
	width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
	opacity: 0; will-change: opacity, transform;
	text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 4px 24px rgba(0,0,0,.9);
}
.gtg-scene[data-scene="hero"] { bottom: auto; top: 50%; transform: translateY(-50%); }
.gtg-cine-title { font-size: clamp(2.6rem, 7vw, 5.4rem); margin: .2em 0 .35em; color: #fff; }
.gtg-cine-title span { color: var(--accent); }
.gtg-scene[data-scene] .gtg-cine-title:not(:first-of-type) { color: #fff; }
.gtg-cine-sub { font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 52ch; color: #fff; }
.gtg-scene .gtg-eyebrow { background: rgba(7,9,12,.55); border-color: rgba(25,227,214,.6); }

.gtg-eyebrow {
	display: inline-block; font-family: var(--font-disp); font-size: .78rem; font-weight: 600;
	letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
	padding: .35em .9em; border: 1px solid rgba(25,227,214,.4); border-radius: 999px;
	background: rgba(25,227,214,.08); margin-bottom: .4rem;
}
.gtg-link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600;
	pointer-events: auto; }
.gtg-link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.gtg-link-arrow:hover::after { transform: translateX(5px); }

.gtg-scroll-hint { position: absolute; left: 0; bottom: -16vh; display: flex; align-items: center; gap: .6rem;
	color: rgba(255,255,255,.75); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.gtg-scroll-hint--hero { left: 50%; bottom: 2.2rem; transform: translateX(-50%); flex-direction: column; gap: .35rem; z-index: 2; }
.gtg-scroll-dot { animation: gtgDot 1.8s var(--ease) infinite; }
@keyframes gtgDot { 0%,100%{ transform: translateY(0); opacity:1 } 50%{ transform: translateY(10px); opacity:.3 } }

/* Index vertical numerote (style Mont-Fort) */
.gtg-cine-index { position: absolute; right: clamp(1rem, 3vw, 2.6rem); top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: .55rem; z-index: 4; }
.gtg-cine-index__item { display: flex; align-items: center; justify-content: flex-end; gap: .65rem;
	background: none; border: 0; padding: .15rem 0; color: #fff; opacity: .4; cursor: pointer;
	font-family: var(--font-disp); transition: opacity .3s var(--ease); }
.gtg-cine-index__item:hover { opacity: .85; }
.gtg-cine-index__item.is-active { opacity: 1; }
.gtg-cine-index__num { font-size: .82rem; font-weight: 600; letter-spacing: .08em; order: 2; position: relative; }
.gtg-cine-index__num::after { content: ''; position: absolute; right: -10px; top: 50%; width: 0; height: 1px; background: var(--accent); transition: width .35s var(--ease); }
.gtg-cine-index__item.is-active .gtg-cine-index__num { color: var(--accent); }
.gtg-cine-index__label { order: 1; font-size: .82rem; font-weight: 500; white-space: nowrap;
	max-width: 0; overflow: hidden; opacity: 0; transition: max-width .4s var(--ease), opacity .3s; }
.gtg-cine-index__item.is-active .gtg-cine-index__label { max-width: 150px; opacity: 1; }

/* Libelle bas + invitation */
.gtg-cine-foot { position: absolute; left: clamp(1rem, 3vw, 2.6rem); right: clamp(1rem, 3vw, 2.6rem);
	bottom: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; z-index: 4;
	color: rgba(255,255,255,.82); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.gtg-cine-foot__now { font-family: var(--font-disp); font-weight: 600; color: #fff; }

.gtg-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.gtg-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
	background: linear-gradient(90deg, var(--accent-3), var(--accent)); }

/* =========================================================================
   CONTENU
   ====================================================================== */
.gtg-content { position: relative; z-index: 2; background: var(--bg); }
.gtg-section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.gtg-section__head { max-width: 60ch; margin-bottom: 3rem; }
.gtg-section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.gtg-h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.gtg-lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Intro */
.gtg-intro { background: linear-gradient(180deg, #07090c, #0b1015); border-bottom: 1px solid var(--line); }
.gtg-positioning { margin-top: 2.5rem; display: grid; gap: 1rem; max-width: 70ch; }
.gtg-positioning p { margin: 0; padding-left: 1.4rem; border-left: 2px solid var(--accent); font-size: 1.15rem; }
.gtg-positioning strong { color: var(--accent-3); }

/* Grilles */
.gtg-grid { display: grid; gap: 1.4rem; }
.gtg-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.gtg-card {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
	transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.gtg-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
.gtg-card__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 13px;
	background: rgba(25,227,214,.1); color: var(--accent); border: 1px solid rgba(25,227,214,.25); margin-bottom: 1.1rem;
}
.gtg-card h3 { font-size: 1.2rem; }
.gtg-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.gtg-card__link { display: inline-block; margin-top: 1.1rem; color: var(--accent); font-weight: 600; font-size: .92rem; }

/* Secteurs : bord cyan a gauche */
.gtg-card--sector { position: relative; overflow: hidden; }
.gtg-card--sector::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
	background: linear-gradient(var(--accent-3), var(--accent-2)); opacity: .8; }
.gtg-card--sector:hover::before { width: 5px; }

/* Steps */
.gtg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; counter-reset: step; }
.gtg-step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
	background: var(--bg-2); border: 1px solid var(--line); }
.gtg-step__num { font-family: var(--font-disp); font-size: 2.4rem; font-weight: 800; color: transparent;
	-webkit-text-stroke: 1.5px var(--accent); display: block; margin-bottom: .6rem; }
.gtg-step h3 { font-size: 1.25rem; }
.gtg-step p { color: var(--muted); margin: 0; }

/* Packs */
.gtg-packs__grid { align-items: stretch; }
.gtg-pack {
	position: relative; display: flex; flex-direction: column;
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 2rem;
	transition: transform .4s var(--ease), border-color .4s;
}
.gtg-pack:hover { transform: translateY(-6px); }
.gtg-pack--featured { border-color: rgba(25,227,214,.5); background: linear-gradient(180deg, #0f2a2a, #0a1518);
	box-shadow: 0 30px 70px -30px rgba(25,227,214,.35); }
.gtg-pack__badge { position: absolute; top: -13px; left: 2rem; background: var(--accent); color: #04140f;
	font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; }
.gtg-pack__name { font-size: 1.7rem; margin-bottom: .1em; }
.gtg-pack__claim { color: var(--muted); min-height: 2.8em; }
.gtg-pack__price { font-family: var(--font-disp); font-size: 1.35rem; font-weight: 700; color: var(--accent-3); margin: .2em 0 0; }
.gtg-pack__dur { color: var(--muted-2); font-size: .9rem; margin-bottom: 1.2rem; }
.gtg-pack__list { list-style: none; margin: 0 0 1.8rem; padding: 1.3rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .7rem; flex: 1; }
.gtg-pack__list li { position: relative; padding-left: 1.7rem; color: var(--muted); font-size: .96rem; }
.gtg-pack__list li::before { content: ''; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
	border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Boutons */
.gtg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid transparent;
	transition: transform .2s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.gtg-btn:hover { transform: translateY(-2px); }
.gtg-btn--solid { background: var(--accent); color: #04140f; box-shadow: 0 12px 30px -12px rgba(25,227,214,.6); }
.gtg-btn--solid:hover { background: var(--accent-3); }
.gtg-btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.gtg-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.gtg-btn[disabled] { opacity: .6; pointer-events: none; }
.gtg-btn__spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.3); border-top-color: #04140f;
	border-radius: 50%; animation: gtgSpin .7s linear infinite; }
.is-loading .gtg-btn__spin { display: inline-block; }
@keyframes gtgSpin { to { transform: rotate(360deg); } }

/* Blog cards */
.gtg-card--post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gtg-card--post__media { position: relative; display: block; aspect-ratio: 16/10; background: var(--bg-3); overflow: hidden; }
.gtg-card--post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gtg-card--post:hover .gtg-card--post__media img { transform: scale(1.06); }
.gtg-card--post__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(25,227,214,.4);
	background: radial-gradient(120% 100% at 50% 0%, #11313b, #0a1216); }
.gtg-card--post__cat { position: absolute; left: 12px; top: 12px; background: rgba(7,9,12,.7); backdrop-filter: blur(6px);
	color: var(--accent-3); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: .3em .7em; border-radius: 999px; border: 1px solid rgba(25,227,214,.3); }
.gtg-card--post__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.gtg-card--post__date { color: var(--muted-2); font-size: .82rem; }
.gtg-card--post__title { font-size: 1.2rem; margin: .35rem 0 .5rem; }
.gtg-card--post__title a { transition: color .2s; }
.gtg-card--post__title a:hover { color: var(--accent); }
.gtg-card--post__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }

/* CTA + formulaire */
.gtg-cta { background: linear-gradient(180deg, #0a1015, #07090c); border-top: 1px solid var(--line); }
.gtg-cta__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.gtg-cta__text { position: sticky; top: 100px; }

.gtg-form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.gtg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.gtg-field { display: grid; gap: .4rem; }
.gtg-field > span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.gtg-field input, .gtg-field select, .gtg-field textarea {
	width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 11px;
	padding: .8rem .95rem; color: var(--text); font-family: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.gtg-field textarea { resize: vertical; min-height: 120px; }
.gtg-field input:focus, .gtg-field select:focus, .gtg-field textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,227,214,.18);
}
.gtg-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239fb0b8' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center; }
.gtg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gtg-form__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.gtg-form__note { color: var(--muted-2); font-size: .82rem; margin: 0; flex: 1; min-width: 200px; }
.gtg-form__status { margin: 0; font-size: .95rem; min-height: 1.2em; }
.gtg-form__status.is-ok { color: var(--accent-3); }
.gtg-form__status.is-err { color: #ff8b7d; }

/* =========================================================================
   PAGES INTERNES (blog, article, page)
   ====================================================================== */
.gtg-page-hero { padding: calc(72px + 4rem) 0 3rem; background: radial-gradient(120% 80% at 50% -10%, #102c3a, #07090c 65%);
	border-bottom: 1px solid var(--line); }
.gtg-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.gtg-page-hero p { color: var(--muted); max-width: 56ch; }
.gtg-breadcrumb { color: var(--muted-2); font-size: .85rem; margin-bottom: 1rem; }
.gtg-breadcrumb a:hover { color: var(--accent); }

.gtg-archive { padding: 3.5rem 0 6rem; }

.gtg-single { padding: calc(72px + 3rem) 0 5rem; }
.gtg-article { width: min(100% - 3rem, 760px); margin-inline: auto; }
.gtg-article__meta { color: var(--muted-2); font-size: .9rem; margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.gtg-article__cover { border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0; }
.gtg-article h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.gtg-prose { font-size: 1.12rem; line-height: 1.75; color: #dde6ea; }
.gtg-prose > * { margin-bottom: 1.3em; }
.gtg-prose h2 { font-size: 1.7rem; margin-top: 2em; }
.gtg-prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.gtg-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gtg-prose img { border-radius: var(--radius); }
.gtg-prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.4rem; color: var(--muted);
	font-style: italic; font-size: 1.2rem; }
.gtg-prose ul, .gtg-prose ol { padding-left: 1.4rem; }
.gtg-prose code { background: var(--bg-3); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.gtg-prose pre { background: var(--bg-3); padding: 1.2rem; border-radius: var(--radius); overflow-x: auto; }

.gtg-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.gtg-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem;
	border: 1px solid var(--line); border-radius: 11px; color: var(--muted); transition: all .2s; }
.gtg-pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.gtg-pagination .page-numbers.current { background: var(--accent); color: #04140f; border-color: var(--accent); }

/* =========================================================================
   FOOTER
   ====================================================================== */
.gtg-footer { background: #05070a; border-top: 1px solid var(--line); padding: 4rem 0 0; }
.gtg-footer__inner { width: min(100% - 3rem, var(--maxw)); margin-inline: auto;
	display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem; padding-bottom: 3rem; }
.gtg-footer__tag { color: var(--muted); max-width: 38ch; margin: 1rem 0; }
.gtg-footer__mail { color: var(--accent); font-weight: 600; }
.gtg-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.gtg-footer__col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.gtg-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.gtg-footer__col a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.gtg-footer__col a:hover { color: var(--accent); }
.gtg-footer__bar { border-top: 1px solid var(--line); padding: 1.5rem 0;
	display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	width: min(100% - 3rem, var(--maxw)); margin-inline: auto; color: var(--muted-2); font-size: .85rem; }
.gtg-footer__bar p { margin: 0; }
.gtg-footer__legal { display: flex; gap: 1.2rem; }
.gtg-footer__legal a:hover { color: var(--accent); }

/* =========================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 900px) {
	.gtg-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.gtg-steps { grid-template-columns: 1fr; }
	.gtg-cta__inner { grid-template-columns: 1fr; }
	.gtg-cta__text { position: static; }
	.gtg-footer__inner { grid-template-columns: 1fr; }
	.gtg-section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
	body { font-size: 16px; }
	.gtg-burger { display: flex; }
	.gtg-header__cta { margin-left: auto; margin-right: .6rem; padding: .45rem .9rem; font-size: .82rem; }
	.gtg-nav {
		position: fixed; inset: 72px 0 auto; background: rgba(7,9,12,.97); backdrop-filter: blur(14px);
		transform: translateY(-120%); transition: transform .4s var(--ease); border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 72px); overflow-y: auto;
	}
	.is-open .gtg-nav { transform: none; }
	.gtg-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 2rem; }
	.gtg-nav__list li { border-bottom: 1px solid var(--line); }
	.gtg-nav__list a { display: block; padding: 1rem 0; font-size: 1.1rem; }
	.gtg-nav__list a::after { display: none; }
	.gtg-nav__cta { margin-top: 1rem; border-bottom: 0 !important; }
	.gtg-nav__cta a { display: inline-block !important; text-align: center; }

	.gtg-grid--3 { grid-template-columns: 1fr; }
	.gtg-form__row { grid-template-columns: 1fr; }
	.gtg-footer__cols { grid-template-columns: 1fr 1fr; }
	.gtg-track { height: 440vh; }
	.gtg-scene[data-scene="hero"] { top: 42%; }
	.gtg-cine-index { display: none; }
	.gtg-cine-foot { font-size: .66rem; bottom: 1rem; }
}

/* Accessibilite : mouvement reduit */
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	[data-reveal] { transition-duration: .01ms; opacity: 1; transform: none; }
	.gtg-scroll-dot { animation: none; }
}

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