/* ==========================================================================
   Golden Circle — Pourquoi · Comment · Quoi
   ========================================================================== */
.gc-chapter { position: relative; }

/* Fil conducteur (desktop) */
.gc-thread {
	position: fixed; right: clamp(14px, 2vw, 30px); top: 50%; z-index: 40;
	display: none; flex-direction: column; gap: 22px; padding: 18px 0;
	transform: translateY(-50%); opacity: 0; pointer-events: none;
	transition: opacity 0.6s var(--x-ease);
}
.gc-thread.is-on { opacity: 1; pointer-events: auto; }
.gc-thread::before, .gc-thread::after {
	content: ""; position: absolute; right: 5px; width: 1px; top: 0; bottom: 0;
	background: rgba(63, 184, 217, 0.28);
}
.gc-thread::after { background: var(--x-aqua); transform-origin: top; transform: scaleY(var(--tp, 0)); box-shadow: 0 0 10px rgba(63, 184, 217, 0.7); }
.gc-thread a {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
	color: rgba(215, 238, 251, 0.6); mix-blend-mode: normal;
	text-shadow: 0 0 8px rgba(2, 17, 32, 0.9);
	transition: color 0.4s;
}
.gc-thread a i { width: 11px; height: 11px; border-radius: 50%; background: #06223a; border: 1.5px solid rgba(63, 184, 217, 0.6); transition: all 0.5s var(--x-spring); }
.gc-thread a span { opacity: 0; transform: translateX(8px); transition: all 0.4s var(--x-ease); }
.gc-thread a:hover span, .gc-thread a.is-active span { opacity: 1; transform: none; }
.gc-thread a.is-active { color: #fff; }
.gc-thread a.is-active i { background: var(--x-aqua); border-color: #bff0ff; transform: scale(1.35); box-shadow: 0 0 0 5px rgba(63, 184, 217, 0.22); }
@media (min-width: 1100px) { .gc-thread { display: flex; } }

/* Actes */
.gc-act { position: relative; isolation: isolate; overflow: hidden; --gc-line: rgba(159, 220, 239, 0.28); --gc-text: #fff; --gc-soft: rgba(215, 238, 251, 0.8); color: var(--gc-text); }
.gc-act__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.gc-act--how .gc-act__grid { grid-template-columns: 0.95fr 1.05fr; }
.gc-act--how .gc-rings { order: -1; }
.gc-num { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-right: 10px; padding: 0 8px; border-radius: 999px; border: 1px solid currentColor; font-size: 12px; letter-spacing: 0.08em; }
.gc-act h2 { font-size: clamp(2.6rem, 5.8vw, 5.4rem); line-height: 0.98; letter-spacing: -0.028em; margin-bottom: 26px; color: var(--gc-text); }
.gc-act h2 em { background: linear-gradient(100deg, #7fd3ea, var(--x-aqua) 60%, #2f8fb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gc-act__lead { max-width: 540px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--gc-soft); }

/* 1. Pourquoi (océan) */
.gc-why {
	position: relative; isolation: isolate; overflow: hidden; margin-top: -3px;
	background: #021120;
}
.gc-why .x-bubbles { z-index: -1; }
.gc-act--why { padding: clamp(90px, 11vw, 160px) 0 clamp(70px, 8vw, 110px); }
.gc-act--why .x-eyebrow { color: var(--x-aqua-soft); }
.gc-why .x-brand { margin-bottom: clamp(10px, 1.6vw, 24px); }

/* 2. Comment (clair) */
.gc-act--how {
	--gc-line: rgba(11, 58, 91, 0.22); --gc-text: var(--x-deep); --gc-soft: #3d4f60;
	padding: clamp(90px, 11vw, 150px) 0 clamp(60px, 7vw, 100px);
	background: linear-gradient(180deg, var(--x-pearl), #eaf6fc);
}
.gc-act--how .x-eyebrow { color: var(--x-aqua); }
.gc-act--how h2 em { background: linear-gradient(100deg, #1a7fa3, var(--x-aqua)); -webkit-background-clip: text; background-clip: text; }
.gc-lenses { display: flex; margin: 30px 0 8px; }
.gc-lenses span {
	width: clamp(60px, 7vw, 84px); aspect-ratio: 1; margin-right: -16px; border-radius: 50%;
	background-size: cover; background-position: center;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7), 0 14px 26px -12px rgba(11, 58, 91, 0.6);
	transform: translateY(calc(var(--p, 0) * -14px)); transition: transform 0.2s linear;
}
.gc-lenses span:nth-child(2) { transform: translateY(calc(var(--p, 0) * 10px)); }
.gc-lenses span:nth-child(4) { transform: translateY(calc(var(--p, 0) * 10px)); }
.gc-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 28px; padding: 0; list-style: none; }
.gc-facts li { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--x-line); box-shadow: 0 20px 40px -34px rgba(11, 58, 91, 0.5); color: #3d4f60; font-size: 0.95rem; line-height: 1.35; }
.gc-facts strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; margin-bottom: 4px; color: var(--x-deep); }

/* 3. Quoi (blanc) */
.gc-act--what {
	--gc-line: rgba(11, 58, 91, 0.22); --gc-text: var(--x-deep); --gc-soft: #3d4f60;
	padding: clamp(80px, 10vw, 140px) 0 clamp(20px, 3vw, 40px);
	background: linear-gradient(180deg, #eaf6fc, #fff);
}
.gc-act--what .x-eyebrow { color: var(--x-aqua); }
.gc-act--what h2 em { background: linear-gradient(100deg, #1a7fa3, var(--x-aqua)); -webkit-background-clip: text; background-clip: text; }
.gc-prods { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.gc-prods a {
	display: flex; flex-direction: column; align-items: center; gap: 8px; width: clamp(96px, 11vw, 130px);
	font-size: 12px; font-weight: 600; color: var(--x-deep); text-align: center;
}
.gc-prods img { width: 100%; height: 74px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(11, 34, 54, 0.3)); transition: transform 0.6s var(--x-spring); }
.gc-prods a:hover img { transform: translateY(-6px) rotate(-4deg) scale(1.08); }

/* Cercles (Golden Circle) */
.gc-rings { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; margin: 0; }
.gc-ring {
	position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%;
	border: 1px solid var(--gc-line); transition: background 1s var(--x-ease), box-shadow 1s var(--x-ease), border-color 1s;
}
.gc-ring b { position: absolute; left: 50%; top: 6%; translate: -50% 0; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gc-soft); opacity: 0.55; transition: opacity 0.8s, color 0.8s; }
.gc-ring--what { width: 100%; height: 100%; }
.gc-ring--how { width: 68%; height: 68%; }
.gc-ring--how b { top: 7%; }
.gc-ring--why { width: 36%; height: 36%; display: grid; place-items: center; }
.gc-ring--why b { position: static; translate: none; }
.gc-rings[data-lit="1"] .gc-ring--why,
.gc-rings[data-lit="2"] .gc-ring--how,
.gc-rings[data-lit="3"] .gc-ring--what {
	border-color: var(--x-aqua);
	background: radial-gradient(circle, rgba(63, 184, 217, 0.16), rgba(63, 184, 217, 0.04) 70%);
	box-shadow: 0 0 60px -10px rgba(63, 184, 217, 0.55), inset 0 0 40px rgba(63, 184, 217, 0.14);
}
.gc-rings[data-lit="2"] .gc-ring--why, .gc-rings[data-lit="3"] .gc-ring--why,
.gc-rings[data-lit="3"] .gc-ring--how { border-color: rgba(63, 184, 217, 0.55); background: rgba(63, 184, 217, 0.07); }
.gc-rings[data-lit="1"] .gc-ring--why b,
.gc-rings[data-lit="2"] .gc-ring--how b,
.gc-rings[data-lit="3"] .gc-ring--what b { opacity: 1; color: var(--x-aqua); }
.gc-ring--why::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--x-aqua); animation: gc-ripple 3.2s ease-out infinite; }
.gc-drop {
	position: absolute; left: 50%; top: 0; width: 22px; height: 22px; margin-left: -11px; z-index: 2;
	border-radius: 50% 50% 50% 0; rotate: -45deg;
	background: linear-gradient(160deg, #bff0ff, var(--x-aqua));
	box-shadow: 0 0 18px rgba(63, 184, 217, 0.9);
	transform: translateY(calc(var(--p, 0) * 190px + 6px)); transition: transform 0.2s linear;
}
@keyframes gc-ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.2); opacity: 0; } }

/* ===== POURQUOI : scène immersive ===== */
.gc-why { background: radial-gradient(90% 70% at 15% 0%, rgba(11, 58, 91, 0.55), transparent 60%), #021120; }
.gc-why__fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.gc-why__aurora { position: absolute; width: 70vw; height: 70vw; right: -20vw; top: -18vw; border-radius: 50%; background: radial-gradient(circle, rgba(63, 184, 217, 0.34), rgba(63, 184, 217, 0.08) 45%, transparent 70%); filter: blur(30px); animation: gc-aurora 14s ease-in-out infinite alternate; }
.gc-why__aurora::after { content: ""; position: absolute; width: 50vw; height: 50vw; left: -70vw; top: 38vw; border-radius: 50%; background: radial-gradient(circle, rgba(14, 90, 133, 0.5), transparent 65%); }
.gc-why__rays { position: absolute; inset: -40%; background: conic-gradient(from 190deg at 72% 38%, transparent 0deg, rgba(159, 220, 239, 0.12) 12deg, transparent 26deg, rgba(63, 184, 217, 0.1) 44deg, transparent 60deg, rgba(159, 220, 239, 0.08) 82deg, transparent 100deg); -webkit-mask-image: radial-gradient(circle at 72% 38%, #000, transparent 62%); mask-image: radial-gradient(circle at 72% 38%, #000, transparent 62%); animation: gc-rays 40s linear infinite; }
.gc-why__ghost { position: absolute; left: 0; bottom: 4%; white-space: nowrap; font-family: var(--font-display); font-style: italic; font-size: clamp(7rem, 17vw, 16rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(159, 220, 239, 0.1); animation: gc-ghost 60s linear infinite; }
@keyframes gc-aurora { to { transform: translate(-6vw, 5vw) scale(1.12); } }
@keyframes gc-rays { to { transform: rotate(360deg); } }
@keyframes gc-ghost { from { transform: translateX(0); } to { transform: translateX(-35%); } }

.gc-act--why h2 { font-size: clamp(3rem, 6.4vw, 6rem); }
.gc-act--why h2 em { background: linear-gradient(100deg, #bff0ff 0%, var(--x-aqua) 45%, #7fd3ea 70%, #bff0ff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: gc-shimmer 7s ease-in-out infinite; }
@keyframes gc-shimmer { 50% { background-position: 100% 0; } }
.gc-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.gc-pills li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)); border: 1px solid rgba(159, 220, 239, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 0.4s var(--x-spring), border-color 0.3s; }
.gc-pills li:hover { transform: translateY(-4px); border-color: var(--x-aqua); }
.gc-pills svg { width: 20px; height: 20px; fill: none; stroke: #bff0ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.gc-scene { position: relative; width: min(100%, 540px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.gc-scene > * { position: absolute; }
.gc-scene__halo { inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(63, 184, 217, 0.4), rgba(63, 184, 217, 0.08) 55%, transparent 72%); filter: blur(14px); animation: gc-breathe 5s ease-in-out infinite; }
.gc-scene__ring { left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; }
.gc-scene__ring--1 { width: 92%; height: 92%; border: 1px dashed rgba(159, 220, 239, 0.32); animation: gc-spin 70s linear infinite; }
.gc-scene__ring--2 { width: 68%; height: 68%; border: 1px solid rgba(63, 184, 217, 0.28); box-shadow: inset 0 0 50px rgba(63, 184, 217, 0.14); animation: gc-spin 46s linear infinite reverse; }
.gc-scene__ripple { left: 50%; top: 50%; width: 22%; height: 22%; border-radius: 50%; translate: -50% -50%; border: 1.5px solid rgba(159, 220, 239, 0.7); animation: gc-rip 4.4s ease-out infinite; }
.gc-scene__ripple--b { animation-delay: -2.2s; }
.gc-scene__drop { left: 50%; top: 50%; width: 27%; aspect-ratio: 1; margin: -13.5% 0 0 -13.5%; border-radius: 50% 50% 50% 0; rotate: -45deg; background: radial-gradient(circle at 34% 30%, #fff 0, #bff0ff 18%, var(--x-aqua) 58%, #1a7fa3 100%); box-shadow: 0 0 80px rgba(63, 184, 217, 0.85), inset -14px -16px 30px rgba(8, 60, 100, 0.45), inset 10px 10px 24px rgba(255, 255, 255, 0.5); animation: gc-dropfloat 6s ease-in-out infinite; }
.gc-scene__drop::after { content: ""; position: absolute; left: 20%; top: 14%; width: 26%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, 0.75); filter: blur(3px); transform: rotate(18deg); }
.gc-scene__orbit { inset: 8%; margin: 0; padding: 0; list-style: none; animation: gc-spin 36s linear infinite; }
.gc-scene__orbit li { position: absolute; inset: 0; transform: rotate(var(--a)); }
.gc-scene__orbit li span { position: absolute; left: 50%; top: 0; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--x-deep); background: linear-gradient(160deg, #fff, #dff3fb); box-shadow: 0 14px 30px -12px rgba(0, 8, 20, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.6); transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); animation: gc-up 36s linear infinite; }
@keyframes gc-up { to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)); } }
@keyframes gc-spin { to { transform: rotate(360deg); } }
.gc-scene__ring { animation-name: gc-spin-c; }
.gc-scene__ring--1 { animation-name: gc-spin-c; } .gc-scene__ring--2 { animation-name: gc-spin-c; animation-direction: reverse; }
@keyframes gc-spin-c { to { rotate: 360deg; } }
@keyframes gc-rip { from { transform: scale(1); opacity: 0.8; } to { transform: scale(4.2); opacity: 0; } }
@keyframes gc-breathe { 50% { transform: scale(1.1); opacity: 0.8; } }
@keyframes gc-dropfloat { 50% { transform: translateY(-14px); } }
@media (max-width: 900px) {
	.gc-scene { width: min(100%, 380px); }
	.gc-scene__orbit li span { font-size: 11px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.gc-why__aurora, .gc-why__rays, .gc-why__ghost, .gc-act--why h2 em, .gc-scene__halo, .gc-scene__ring, .gc-scene__ripple, .gc-scene__drop, .gc-scene__orbit, .gc-scene__orbit li span { animation: none !important; }
}

/* Version simplifiée : une image claire par acte */
.gc-bigdrop { position: relative; width: min(100%, 320px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.gc-bigdrop i:first-child {
	width: 34%; aspect-ratio: 1; border-radius: 50% 50% 50% 0; rotate: -45deg;
	background: linear-gradient(160deg, #bff0ff, var(--x-aqua));
	box-shadow: 0 0 60px rgba(63, 184, 217, 0.7); animation: gc-float 5s ease-in-out infinite;
}
.gc-bigdrop i:nth-child(n+2) { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(63, 184, 217, 0.5); animation: gc-ripple 4s ease-out infinite; }
.gc-bigdrop i:nth-child(3) { animation-delay: -2s; }
@keyframes gc-float { 50% { transform: translateY(-12px); } }
.gc-lenses--big { margin: 0; justify-self: center; }
.gc-lenses--big span { width: clamp(90px, 11vw, 150px); margin-right: -26px; }
.gc-act--what .gc-act__grid { grid-template-columns: 1fr; }
.gc-act--what .gc-prods { gap: clamp(14px, 3vw, 40px); }
.gc-act--what .gc-prods a { width: clamp(110px, 15vw, 190px); font-size: 14px; }
.gc-act--what .gc-prods img { height: clamp(90px, 12vw, 140px); }

@media (max-width: 900px) {
	.gc-act__grid, .gc-act--how .gc-act__grid { grid-template-columns: 1fr; }
	.gc-act--how .gc-rings { order: 0; }
	.gc-rings { width: min(100%, 320px); }
	.gc-drop { transform: translateY(calc(var(--p, 0) * 130px + 6px)); }
	.gc-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.gc-drop, .gc-lenses span { transform: none !important; }
	.gc-ring--why::after { animation: none; }
}

/* ==========================================================================
   Bandeau citation (accueil) — entre « Pourquoi » et « Raypath dans le monde »
   ========================================================================== */
.gc-quote {
	position: relative; isolation: isolate; overflow: hidden;
	background: #021120; color: #fff; text-align: center;
	padding: clamp(70px, 9vw, 120px) 0;
}
.gc-quote__glow {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(46% 60% at 50% 50%, rgba(63, 184, 217, 0.15), transparent 72%);
}
.gc-quote__inner { max-width: 1000px; margin: 0 auto; padding-inline: 24px; }
.gc-quote__mark {
	display: block; height: 0.5em; margin-bottom: 8px;
	font-family: var(--font-display); font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: 0.8;
	color: var(--x-aqua); opacity: 0.75;
}
.gc-quote__text { margin: 0; }
.gc-quote__text p {
	margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500;
	font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 1.16; letter-spacing: -0.01em;
	color: #fff; text-wrap: balance;
}
.gc-quote__text em {
	font-style: italic;
	background: linear-gradient(100deg, #bff0ff 0%, var(--x-aqua) 55%, #7fd3ea 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.gc-quote__line {
	display: block; width: 64px; height: 2px; margin: clamp(26px, 3.4vw, 40px) auto 0;
	background: linear-gradient(90deg, transparent, var(--x-aqua), transparent);
	box-shadow: 0 0 14px rgba(63, 184, 217, 0.7);
}
/* apparition mot par mot (seulement si le JavaScript d'apparition est actif) */
.js-reveal .gc-quote__w {
	display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(6px);
	transition: opacity 0.8s ease, transform 0.9s var(--x-spring), filter 0.8s ease;
	transition-delay: calc(var(--i) * 75ms + 200ms);
}
.js-reveal .gc-quote__inner.is-visible .gc-quote__w { opacity: 1; transform: none; filter: none; }
.js-reveal .gc-quote__line { transform: scaleX(0); transition: transform 1.1s ease 1.5s; }
.js-reveal .gc-quote__inner.is-visible .gc-quote__line { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
	.js-reveal .gc-quote__w { opacity: 1; transform: none; filter: none; transition: none; }
	.js-reveal .gc-quote__line { transform: none; transition: none; }
}
