:root {
  --bg: #030513;
  --bg-soft: rgba(255, 255, 255, 0.02);
  --bg-card: rgba(10, 15, 35, 0.8);
  --text: #f6f0ff;
  --muted: rgba(246, 240, 255, 0.72);
  --accent: #8c7bff;
  --accent-strong: #5d8bff;
  --accent-alt: #ff66c4;
  --border: rgba(139, 132, 255, 0.18);
  --gradient: linear-gradient(135deg, #2848ff 0%, #a855f7 40%, #ff66c4 95%);
  --radius: 20px;
  font-size: clamp(15px, 1.5vw, 18px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 0%, rgba(64, 38, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255, 78, 182, 0.22), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(56, 186, 255, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-ready {
  opacity: 1;
  transform: none;
  filter: none;
}

body.page-leave {
  opacity: 0;
  transform: translateY(-18px);
  filter: blur(12px);
  pointer-events: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
  animation: aurora 26s ease-in-out infinite alternate;
}

body::before {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(140, 123, 255, 0.5), transparent 55%);
}

body::after {
  bottom: -25%;
  right: -5%;
  background: radial-gradient(circle, rgba(255, 102, 196, 0.45), transparent 60%);
  animation-duration: 32s;
}

img {
  max-width: 100%;
  display: block;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9990;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(9, 10, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(3, 4, 12, 0.45);
  transform: translateY(-140%);
  transition: transform 0.25s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

.text-fade {
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline;
}

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 5vw, 5rem) 4rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 139, 255, 0.28), transparent);
  filter: blur(20px);
  animation: floaty 22s ease-in-out infinite;
}

.hero::before {
  top: -200px;
  right: -200px;
}

.hero::after {
  bottom: -250px;
  left: -150px;
  background: radial-gradient(circle, rgba(255, 102, 196, 0.35), transparent);
  animation-duration: 26s;
}

.sell-page .hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.sell-page .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 320px;
}

.skin-card {
  width: min(320px, 90vw);
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 6, 24, 0.8);
  box-shadow:
    0 30px 70px rgba(5, 7, 32, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.skin-card::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(140, 123, 255, 0.4), transparent 65%);
  filter: blur(40px);
  opacity: 0.6;
}

.skin-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
  position: relative;
}

.skin-card__blade {
  margin: 2rem auto;
  width: 220px;
  height: 220px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skin-card__glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 65%);
  filter: blur(45px);
  opacity: 0.25;
  animation: bladePulse 7s ease-in-out infinite;
  z-index: -1;
}

.skin-card__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(5, 7, 30, 0.65));
}
}

.skin-card__meta {
  position: relative;
}

.skin-card__name {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
}

.skin-card__id {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav {
  position: sticky;
  top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: clamp(2rem, 6vw, 5rem);
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  z-index: 2;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-soft);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.home-page .hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(140, 123, 255, 0.08);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  display: inline-block;
}

.home-page .hero-content h1 {
  background-image: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 45%, var(--accent-alt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 15px 35px rgba(7, 5, 30, 0.65);
}

.home-page .hero-content .lead {
  color: rgba(247, 243, 255, 0.78);
  text-shadow: 0 12px 30px rgba(4, 6, 25, 0.7);
}

.home-page .hero-meta .meta-label {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .hero-meta .meta-value {
  color: #fdfbff;
  text-shadow: 0 10px 30px rgba(5, 6, 18, 0.8);
}

.home-page .section.work .section-header h2 {
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.01em;
}

.home-page .section.work .section-header p {
  color: rgba(247, 243, 255, 0.78);
  font-size: 1.05rem;
}

.home-page .section.work .section-header .eyebrow {
  color: var(--accent-strong);
  background: rgba(140, 123, 255, 0.1);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  display: inline-block;
}

.sites-page .hero .eyebrow {
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(93, 139, 255, 0.12);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  display: inline-block;
}

.sites-page .hero-content h1 {
  background-image: linear-gradient(120deg, var(--accent-strong) 0%, var(--accent-alt) 55%, #ffa3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 18px 40px rgba(7, 5, 28, 0.7);
}

.sites-page .hero-content .lead {
  color: rgba(245, 243, 255, 0.82);
}

.sites-page #liste-sites .section-header h2 {
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sites-page #liste-sites .section-header .eyebrow {
  color: var(--accent-strong);
}

.sites-page .section .eyebrow {
  letter-spacing: 0.22em;
}

.work-page .hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.01em;
}

.work-page .hero-content .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.work-page .hero .eyebrow {
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.65);
}

.eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  background-image: linear-gradient(120deg, var(--accent-strong), var(--accent-alt));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 18px 40px rgba(7, 5, 28, 0.55);
  animation: gradientShift 14s ease-in-out infinite alternate;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 1rem;
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 12px 28px rgba(5, 6, 22, 0.55);
  animation: gradientShift 16s ease-in-out infinite alternate;
}

h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
  color: var(--text);
  text-shadow: 0 8px 20px rgba(3, 4, 18, 0.6);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(10, 8, 20, 0.25);
  background-image: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.15), transparent 40%);
  background-size: 200% 200%;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(92, 123, 255, 0.4), transparent 60%);
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.35s ease, transform 0.5s ease;
  transform: scale(0.5);
  z-index: -1;
}

.btn.primary {
  background: var(--gradient);
  color: #01020b;
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(2, 6, 24, 0.7);
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 18px 35px rgba(10, 8, 20, 0.35),
    0 0 20px rgba(92, 123, 255, 0.3);
  background-position: 100% 100%;
}

.btn:hover::before {
  opacity: 0.7;
  transform: scale(1.4);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(6, 6, 31, 0.7);
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

main {
  padding: 0 clamp(1.5rem, 5vw, 5rem) 5rem;
}

.section {
  margin: clamp(3rem, 7vw, 6rem) auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: calc(var(--radius) + 5px);
  background: rgba(5, 6, 18, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px rgba(3, 4, 23, 0.6);
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-header h2 {
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 18s ease-in-out infinite alternate;
}

.work-page .section-header h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.work-page .section-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.section.role-section {
  background: #f5f6fb;
  border: 1px solid #e1e4f2;
  box-shadow: 0 24px 60px rgba(11, 14, 25, 0.12);
  color: #0b0e19;
}

.section.role-section p {
  color: #5f6475;
}

.section-cta {
  margin-top: 1.5rem;
}

.section-cta .btn {
  padding-inline: 1.4rem;
}

.boutique-card,
.conseils-card {
  padding: 2rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: rgba(8, 8, 28, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
}

.boutique-card ul,
.conseils-card ul {
  margin: 1.5rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.boutique-card li,
.conseils-card li {
  margin-bottom: 0.6rem;
}

.about-grid,
.feature-list,
.timeline-list,
.team-grid {
  display: grid;
  gap: 1.5rem;
}

.about-grid,
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-grid article,
.team-grid article,
.timeline-list article,
.feature-list article {
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: rgba(10, 12, 30, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.timeline-list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.equip-grid,
.guide-grid,
.mission-grid,
.testimonial-grid,
.cards-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.equip-grid article,
.guide-grid article,
.mission-grid article,
.testimonial-grid article,
.cards-grid article {
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: rgba(10, 12, 30, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.35s ease, background 0.35s ease;
}

.equip-grid article,
.guide-grid article,
.cards-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.equip-grid article p,
.guide-grid article p,
.cards-grid article p,
.conseils-card p,
.boutique-card p {
  color: var(--muted);
}

.text-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.page-ready .text-animate {
  animation: textIntro 0.85s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  animation-delay: var(--text-delay, 0ms);
}

.cards-grid article ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
}

.cards-grid article li strong {
  color: var(--text);
  margin-left: 0.35rem;
  font-weight: 600;
}

.cards-grid article,
.boutique-card,
.contact-card,
.testimonial-grid article {
  position: relative;
  overflow: hidden;
}

.cards-grid article::after,
.boutique-card::after,
.contact-card::after,
.testimonial-grid article::after {
  content: "";
  position: absolute;
  width: 60%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(140, 123, 255, 0.4), transparent 65%);
  filter: blur(30px);
  opacity: 0;
  transform: translate(-40%, -40%) scale(0.6);
  transition: opacity 0.35s ease, transform 0.6s ease;
  pointer-events: none;
}

.cards-grid article::after,
.testimonial-grid article::after {
  top: -20%;
  right: -25%;
}

.boutique-card::after,
.contact-card::after {
  bottom: -20%;
  left: -30%;
  background: radial-gradient(circle, rgba(255, 102, 196, 0.4), transparent 60%);
}

.cards-grid article:hover,
.boutique-card:hover,
.contact-card:hover,
.testimonial-grid article:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(140, 123, 255, 0.4);
  background: rgba(14, 16, 42, 0.85);
  box-shadow:
    0 15px 35px rgba(5, 10, 30, 0.45),
    0 0 25px rgba(140, 123, 255, 0.35),
    inset 0 0 25px rgba(92, 123, 255, 0.18);
}

.cards-grid article:hover::after,
.boutique-card:hover::after,
.contact-card:hover::after,
.testimonial-grid article:hover::after {
  opacity: 0.45;
  transform: translate(0, 0) scale(1);
}

.cards-grid article,
.boutique-card,
.contact-card,
.testimonial-grid article {
  background-image: radial-gradient(circle at 20% 20%, rgba(92, 123, 255, 0) 0%, rgba(92, 123, 255, 0) 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 102, 196, 0) 0%, rgba(255, 102, 196, 0) 30%);
  background-size: 200% 200%;
  transition: background-position 0.6s ease, box-shadow 0.4s ease;
}

.cards-grid article:hover,
.boutique-card:hover,
.contact-card:hover,
.testimonial-grid article:hover {
  background-image: radial-gradient(circle at 20% 20%, rgba(92, 123, 255, 0.2) 0%, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 102, 196, 0.25) 0%, transparent 50%);
  background-position: 100% 100%;
}

.sites-categories {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sites-categories article h3 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.sites-categories article ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sites-categories article li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(247, 243, 255, 0.8);
}

.sites-categories article li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 12px rgba(140, 123, 255, 0.6);
}

.sites-categories article a {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 123, 255, 0.2);
  padding-bottom: 0.05rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sites-categories article a:hover {
  color: var(--accent-alt);
  border-color: rgba(255, 102, 196, 0.5);
}

.card-link {
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.card-link::after {
  content: "↗";
  font-size: 0.9rem;
  opacity: 0.65;
}

.card-link:hover {
  color: var(--accent-alt);
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(5, 7, 25, 0.55);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sites-categories article.goat-card {
  border-color: rgba(140, 123, 255, 0.45);
  background: linear-gradient(135deg, rgba(57, 66, 145, 0.8), rgba(19, 22, 48, 0.9));
  box-shadow: 0 20px 45px rgba(7, 9, 30, 0.55);
}

.sites-categories article.warning-card {
  border-color: rgba(255, 102, 196, 0.55);
  background: linear-gradient(135deg, rgba(68, 8, 40, 0.9), rgba(20, 5, 25, 0.95));
  box-shadow: 0 20px 45px rgba(24, 5, 20, 0.6);
}

.sites-categories article.warning-card h3 {
  color: #ffbadc;
}

.sites-categories article.warning-card li::before {
  background: linear-gradient(135deg, var(--accent-alt), #ff9cc8);
  box-shadow: 0 0 12px rgba(255, 102, 196, 0.6);
}

[data-float] {
  translate: 0 0;
  animation: floatDrift var(--float-duration, 16s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.mission-grid article p {
  color: var(--muted);
}

.testimonial-grid article span {
  display: block;
  margin-top: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}

.rating {
  letter-spacing: 0.2em;
  color: var(--accent-alt);
  margin-bottom: 0.8rem;
}

.conseils-card .btn {
  margin-top: 1rem;
}

.role-section {
  position: relative;
  background: rgba(2, 3, 10, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(4, 5, 18, 0.6);
  color: var(--text);
  overflow: hidden;
}

.role-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(79, 147, 255, 0.2), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(255, 102, 196, 0.22), transparent 45%),
    linear-gradient(135deg, rgba(3, 4, 12, 0.95), rgba(3, 4, 10, 0.85));
  z-index: 0;
}

.role-section > * {
  position: relative;
  z-index: 1;
}

.role-section .section-header {
  color: var(--text);
}

.universe-core .core-pillars,
.universe-actions .action-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.universe-core .core-pillars article,
.universe-actions .action-grid article {
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: rgba(8, 10, 30, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.universe-actions .action-grid article .btn {
  margin-top: 1rem;
}

.universe-map .nucleus {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2.5rem;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 20% 20%, rgba(92, 123, 255, 0.25), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 102, 196, 0.2), transparent 50%),
    rgba(7, 8, 22, 0.92);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 60vw, 560px);
}

.universe-map .nucleus::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(140, 123, 255, 0.18), transparent 60%);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}

.nucleus-center,
.nucleus-ring {
  grid-area: 1 / 1;
}

.nucleus-center {
  width: clamp(160px, 18vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(92, 123, 255, 0.85), rgba(255, 102, 196, 0.85));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #050312;
  font-weight: 700;
  box-shadow: 0 25px 60px rgba(3, 5, 20, 0.7);
  animation: corePulse 8s ease-in-out infinite;
  z-index: 2;
}

.nucleus-center span {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nucleus-ring {
  --orbit: clamp(140px, 25vw, 240px);
  position: relative;
  width: clamp(320px, 55vw, 520px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  z-index: 1;
}

.nucleus-node {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 190px;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 122, 255, 0.55);
  background: linear-gradient(135deg, rgba(9, 11, 29, 0.95), rgba(32, 7, 34, 0.95));
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--orbit) * -1)) rotate(calc(var(--angle) * -1));
  transform-origin: center;
  animation: nodeFloat 6s ease-in-out infinite;
  box-shadow:
    0 10px 30px rgba(2, 3, 12, 0.8),
    0 0 15px rgba(92, 123, 255, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  backdrop-filter: blur(4px);
}

.nucleus-node::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(255, 102, 196, 0.25), transparent 65%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

.nucleus-node span,
.nucleus-node small {
  display: block;
}

.nucleus-node small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.nucleus-node:hover {
  border-color: rgba(255, 102, 196, 0.8);
  box-shadow:
    0 18px 35px rgba(6, 8, 24, 0.6),
    0 0 20px rgba(255, 102, 196, 0.45),
    0 0 35px rgba(92, 123, 255, 0.35);
}

.nucleus-node:nth-of-type(odd) {
  animation-delay: 1.5s;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes textIntro {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes corePulse {
  0% {
    box-shadow: 0 25px 60px rgba(3, 5, 20, 0.7), 0 0 0 0 rgba(255, 102, 196, 0.4);
  }
  60% {
    box-shadow: 0 25px 60px rgba(3, 5, 20, 0.7), 0 0 30px 20px rgba(255, 102, 196, 0);
  }
  100% {
    box-shadow: 0 25px 60px rgba(3, 5, 20, 0.7), 0 0 0 0 rgba(255, 102, 196, 0);
  }
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--orbit) * -1)) rotate(calc(var(--angle) * -1));
  }
  50% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--orbit) * -1.08)) rotate(calc(var(--angle) * -1));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body,
  body.page-ready,
  body.page-leave {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .text-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.nucleus-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.nucleus-grid article {
  padding: 1.4rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: rgba(8, 10, 28, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.structure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  grid-auto-rows: 1fr;
}

@media (max-width: 900px) {
  .structure-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.structure-card {
  background: linear-gradient(145deg, rgba(6, 8, 22, 0.98), rgba(3, 5, 17, 0.9));
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background-image: linear-gradient(120deg, rgba(94, 231, 223, 0.16), rgba(255, 102, 196, 0.12)),
    linear-gradient(145deg, rgba(6, 8, 22, 0.98), rgba(3, 5, 17, 0.9));
  background-size: 200% 200%;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: cardGlow 18s ease-in-out infinite;
}

.structure-card:hover {
  transform: translateY(-8px);
  border-color: rgba(94, 231, 223, 0.5);
  box-shadow:
    0 30px 80px rgba(3, 5, 16, 0.7),
    inset 0 0 0 1px rgba(94, 231, 223, 0.15);
  background-position: 100% 0;
  animation-play-state: paused;
  color: var(--text);
}

.structure-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.structure-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #05060a;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.structure-card__head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.structure-card__head p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
}

.structure-card__positions {
  border-top: none;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.structure-card__positions::before {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin-bottom: 1rem;
  display: block;
}

.position-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.7rem;
}

.position-title {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.position-row span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apply-pill {
  border: 1px solid rgba(94, 231, 223, 0.6);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: rgba(94, 231, 223, 0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-size: 0.82rem;
  white-space: nowrap;
  justify-self: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.apply-pill:hover {
  background: var(--accent);
  color: #05060a;
  border-color: var(--accent);
  color: #05060a;
}


.bubble-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.bubble-field span {
  position: absolute;
  bottom: -10vh;
  left: var(--x);
  width: var(--size);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 25px rgba(139, 132, 255, 0.15);
  animation: bubbleRise var(--duration, 20s) linear infinite;
  animation-delay: var(--delay, 0s);
  filter: blur(0.6px);
}

.reveal {
  will-change: opacity, transform;
}

body.motion .reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.motion .reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-day {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
}

.feature-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  min-height: 38px;
  border-radius: 999px;
  background: rgba(92, 123, 255, 0.18);
  border: 1px solid rgba(92, 123, 255, 0.6);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.team-grid article span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 20px 60px rgba(7, 9, 35, 0.65);
}

.contact-card .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.footer {
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(3, 4, 19, 0.9);
  position: relative;
  z-index: 1;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

[class*="floating"],
.skin-card.floating {
  animation: floatArtifact 18s ease-in-out infinite;
}

@keyframes aurora {
  0% {
    transform: translate3d(-5%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(5%, -5%, 0) scale(1.1);
  }
  100% {
    transform: translate3d(-3%, 5%, 0) scale(0.95);
  }
}

@keyframes floaty {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-25px) scale(1.05);
  }
  100% {
    transform: translateY(10px) scale(0.98);
  }
}

@keyframes floatDrift {
  0% {
    translate: 0 0;
  }
  30% {
    translate: calc(var(--float-distance, 10px) * -0.5)
      calc(var(--float-distance, 10px) * -1);
  }
  60% {
    translate: calc(var(--float-distance, 10px) * 0.9)
      calc(var(--float-distance, 10px) * -0.4);
  }
  100% {
    translate: 0 calc(var(--float-distance, 10px) * 0.6);
  }
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120vh) scale(1.1);
    opacity: 0;
  }
}

@keyframes heroAurora {
  0% {
    transform: translate3d(-5%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(5%, -5%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-3%, 4%, 0) scale(1);
  }
}

@keyframes cardGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bladePulse {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes floatArtifact {
  0% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(6px, -14px, 0) rotate(2deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
}

@media (max-width: 768px) {
  .nav {
    position: static;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.5rem;
    flex-direction: column;
    background: rgba(5, 6, 10, 0.95);
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .contact-card .btn {
    grid-column: span 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  body::after,
  .hero::before,
  .hero::after,
  .bubble-field span {
    animation: none !important;
  }

  body.motion .reveal,
  body.motion .reveal.visible {
    opacity: 1;
    transform: none;
  }

  [data-float] {
    translate: none;
  }
}
.work-page::before,
.work-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(94, 231, 223, 0.12), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
  animation: heroAurora 30s ease-in-out infinite alternate;
}

.work-page::after {
  background: radial-gradient(circle at 80% 10%, rgba(255, 102, 196, 0.12), transparent 60%);
  animation-duration: 36s;
}
.work-page .structure-card__positions::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin-bottom: 1rem;
}
.work-page .structure-card__positions {
  border-top: none;
}
.apply-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(94, 231, 223, 0.2), rgba(255, 102, 196, 0.2));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}
.apply-pill:hover::after {
  opacity: 1;
}
.structure-card__positions {
  border-top: none;
}
.apply-page {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.apply-wrapper {
  padding: clamp(2rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.apply-card {
  width: min(640px, 100%);
  background: rgba(5, 6, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.apply-card h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  background-image: linear-gradient(120deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apply-card .lead {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.apply-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.apply-form input,
.apply-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(2, 4, 12, 0.9);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-form input:focus,
.apply-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 231, 223, 0.2);
  outline: none;
}

.apply-form .btn {
  width: fit-content;
}

.apply-form .btn + .btn {
  margin-top: 0.8rem;
}
