/* ============================================
   DES RESSOURCES EN SOI — Design System
   Awwwards-level polish v2
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Main palette */
  --violet: #7030A0;
  --violet-dark: #5A2080;
  --magenta: #AF0080;
  --lavande: #E8DEFF;
  --creme: #FBF8FF;
  --dark: #1A0E2E;
  --liberlo: #7c56e3;
  --liberlo-hover: #947fe9;
  --white: #ffffff;
  --text: #2D1B4E;
  --text-light: #6B5B8A;

  /* Supervision palette */
  --sup-rose: #f6e2de;
  --sup-violet: #9b4589;
  --sup-magenta: #c53374;
  --sup-turquoise: #48b2b9;

  /* Gradients */
  --grad-violet: linear-gradient(135deg, #7030A0 0%, #AF0080 100%);
  --grad-violet-dark: linear-gradient(to right, #A04080 0%, #C04090 25%, #9040A0 75%, #7040B0 100%);
  --grad-magenta: linear-gradient(135deg, #AF0080 0%, #7c56e3 100%);
  --grad-mesh: radial-gradient(at 20% 20%, rgba(112,48,160,0.3) 0%, transparent 50%),
               radial-gradient(at 80% 30%, rgba(175,0,128,0.2) 0%, transparent 50%),
               radial-gradient(at 50% 80%, rgba(124,86,227,0.2) 0%, transparent 50%);
  --grad-mesh-warm: radial-gradient(at 30% 20%, rgba(175,0,128,0.25) 0%, transparent 50%),
                    radial-gradient(at 70% 60%, rgba(124,86,227,0.2) 0%, transparent 50%),
                    radial-gradient(at 50% 90%, rgba(72,178,185,0.15) 0%, transparent 50%);

  /* Typography */
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --section-pad: clamp(50px, 6vw, 80px);
  --container-width: 1200px;
  --container-narrow: 900px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: auto !important;
  overflow-y: auto !important;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--creme);
  line-height: 1.7;
  overflow-x: clip;
  position: relative;
  height: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Force mobile scroll */
@media (max-width: 900px), (pointer: coarse) {
  html, body {
    overflow-y: auto !important;
    height: auto !important;
    position: static !important;
    overscroll-behavior: auto;
    touch-action: pan-y;
  }
  .hero {
    overflow: visible;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  margin-bottom: 1em;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-violet);
  z-index: 10001;
  transition: none;
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

/* --- Custom Cursor (desktop) --- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--magenta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--violet);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}

.cursor-dot.hover {
  width: 14px;
  height: 14px;
  background: var(--liberlo);
}

.cursor-follower.hover {
  width: 50px;
  height: 50px;
  border-color: var(--liberlo);
  background: rgba(124, 86, 227, 0.08);
}

@media (max-width: 900px) {
  .cursor-dot, .cursor-follower { display: none !important; }
}

@media (hover: none) {
  .cursor-dot, .cursor-follower { display: none !important; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, padding 0.3s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(112, 48, 160, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.nav__logo img {
  height: 48px;
  width: auto;
  transition: height 0.3s;
}

.nav.scrolled .nav__logo img {
  height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav.scrolled .nav__link {
  color: var(--dark);
}

.nav.scrolled .nav__link:hover {
  color: var(--violet);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-violet);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover {
  color: #fff;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--liberlo);
  padding: 10px 20px;
  border-radius: 50px;
  transition: background 0.3s, transform 0.3s var(--ease-out-back), box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__cta:hover {
  background: var(--liberlo-hover);
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(124, 86, 227, 0.4);
}

.nav__cta::after {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  display: block;
}

.nav.scrolled .nav__hamburger span {
  background: var(--dark);
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav__mobile-menu.open {
  display: flex;
  opacity: 1;
}

.nav__mobile-menu .nav__link {
  font-size: 1.3rem;
  color: var(--dark);
}

.nav__mobile-menu .nav__link:hover,
.nav__mobile-menu .nav__link.active {
  color: var(--violet);
}

.nav__mobile-menu .nav__link::after {
  background: var(--grad-violet);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav {
    background: rgba(26, 14, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
  }
  .nav.scrolled .nav__hamburger span {
    background: var(--dark);
  }
}

/* --- Hero Sections --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero--gradient {
  background: var(--grad-violet-dark);
  color: var(--white);
}

.hero--gradient h1,
.hero--gradient h2,
.hero--gradient p {
  color: var(--white);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 14, 46, 0.85) 0%, rgba(112, 48, 160, 0.7) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__subtitle::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--lavande);
  opacity: 0.7;
}

.hero__title {
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero__title .char {
  display: inline-block;
}

.hero__text {
  max-width: 650px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
  opacity: 0.9;
}

/* Floating orbs in hero */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
  opacity: 0.4;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(175, 0, 128, 0.3);
  top: 10%;
  right: -5%;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(124, 86, 227, 0.3);
  bottom: 15%;
  left: -3%;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(72, 178, 185, 0.2);
  top: 50%;
  left: 40%;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-back), background 0.3s, box-shadow 0.3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: scale(1.05);
}

.btn--liberlo {
  background: var(--liberlo);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124, 86, 227, 0.35);
}

.btn--liberlo:hover {
  background: var(--liberlo-hover);
  box-shadow: 0 8px 35px rgba(124, 86, 227, 0.5);
}

.btn--magenta {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(175, 0, 128, 0.3);
}

.btn--magenta:hover {
  background: #c4009a;
  box-shadow: 0 8px 35px rgba(175, 0, 128, 0.45);
}

.btn--violet {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(112, 48, 160, 0.3);
}

.btn--violet:hover {
  background: var(--violet-dark);
  box-shadow: 0 8px 35px rgba(112, 48, 160, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet);
}

.btn--outline:hover {
  background: var(--violet);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--violet);
}

.btn--white:hover {
  background: var(--lavande);
  box-shadow: 0 8px 30px rgba(112, 48, 160, 0.2);
}

.btn--sup-turquoise {
  background: var(--sup-turquoise);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(72, 178, 185, 0.3);
}

.btn--sup-turquoise:hover {
  background: #3aa0a6;
  box-shadow: 0 8px 35px rgba(72, 178, 185, 0.45);
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(2px);
}

/* Magnetic button wrapper */
.magnetic-wrap {
  display: inline-block;
}

/* --- Section Styles --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: var(--white);
}

.section--violet {
  background: var(--violet);
  color: var(--white);
}

.section--violet h2,
.section--violet h3,
.section--violet p {
  color: var(--white);
}

.section--lavande {
  background: var(--lavande);
  padding: clamp(40px, 5vw, 70px) 0;
}

.section--creme {
  background: var(--creme);
}

/* Intro section (after hero): reduce excessive padding */
.section--creme.section--animated-mesh#decouvrir {
  padding: clamp(30px, 4vw, 50px) 0;
}

.section--gradient-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

.section--gradient-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 14, 46, 0.6);
}

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

.section--gradient-bg h2,
.section--gradient-bg h3,
.section--gradient-bg p {
  color: var(--white);
}

/* Wave section divider — organic SVG shape */
.section--wave-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
  z-index: 2;
}

.section--wave-top-in::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* Clip-path curves */
.section--curve-top {
  clip-path: ellipse(120% 100% at 50% 100%);
  padding-top: calc(var(--section-pad) + 40px);
}

.section--wave-top::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: ellipse(55% 70% at 50% 100%);
}

/* Organic blob section divider */
.section__blob-top {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 3;
  overflow: hidden;
}

.section__blob-top svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Supervision page palette override */
.page-supervision .section--sup-rose {
  background: var(--sup-rose);
}

.page-supervision .section--sup-violet {
  background: var(--sup-violet);
  color: var(--white);
}

.page-supervision .section--sup-violet h2,
.page-supervision .section--sup-violet h3,
.page-supervision .section--sup-violet p {
  color: var(--white);
}

/* --- Section Headers --- */
.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.section--dark .section__header p,
.section--violet .section__header p {
  color: rgba(255,255,255,0.8);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}

.section__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.5s var(--ease-out);
}

.section__label:hover::before {
  width: 40px;
}

.section--dark .section__label,
.section--violet .section__label {
  color: var(--lavande);
}

/* Animated underline for headings */
.section__header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--grad-violet);
  margin: 16px auto 0;
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
}

.section__header:hover h2::after {
  width: 100px;
}

.section--dark .section__header h2::after,
.section--violet .section__header h2::after {
  background: var(--grad-magenta);
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: 30px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grid--2-1 {
  grid-template-columns: 2fr 1fr;
}

.grid--1-2 {
  grid-template-columns: 1fr 2fr;
}

.grid--60-40 {
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
}

.grid--40-60 {
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
}

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4,
  .grid--2-1, .grid--1-2,
  .grid--60-40, .grid--40-60 {
    grid-template-columns: 1fr;
  }
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.card {
  transform: none;
  box-shadow:
    0 12px 40px rgba(112, 48, 160, 0.12),
    0 0 0 1px rgba(112, 48, 160, 0.04);
}

.card::before {
  transform: scaleX(1);
}

.card:hover {
  transform: none;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--lavande);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-out-back), background 0.3s;
}

.card:hover .card__icon {
  transform: none;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--violet);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Glass card */
.card--glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s, background 0.4s;
}

.card--glass::before {
  background: var(--grad-magenta);
}

.card--glass h3,
.card--glass p {
  color: var(--white);
}

.card--glass p {
  opacity: 0.85;
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15), inset 0 0 30px rgba(255,255,255,0.05);
  transform: translateY(-10px);
}

.card--glass .card__icon {
  background: rgba(255, 255, 255, 0.15);
}

.card--glass .card__icon svg {
  color: var(--white);
}

.card--glass:hover .card__icon {
  background: rgba(255, 255, 255, 0.22);
}

/* Service card (clickable) */
.card--service {
  text-align: center;
  padding: 48px 32px;
  cursor: pointer;
}

.card--service .card__icon {
  margin: 0 auto 20px;
  width: 72px;
  height: 72px;
}

.card--service .card__icon svg {
  width: 36px;
  height: 36px;
}

.card--service .card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--violet);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 16px;
  transition: gap 0.4s var(--ease-out), color 0.3s;
}

.card--service:hover .card__arrow {
  gap: 14px;
  color: var(--magenta);
}

.card--service .card__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-out);
}

.card--service:hover .card__arrow svg {
  transform: translateX(4px);
}

/* --- Pricing Card --- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

/* Animated gradient border on hover */
.pricing-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-violet);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.pricing-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.pricing-card:hover::after {
  opacity: 0;
}

.pricing-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--magenta);
  margin-bottom: 12px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 2.8rem;
  color: var(--violet);
  margin: 16px 0 8px;
  transition: transform 0.3s var(--ease-out);
}

.pricing-card:hover .pricing-card__price {
  transform: none;
}

.pricing-card__duration {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--text);
}

.pricing-card__features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--violet);
  margin-top: 2px;
}

/* --- Image Styles --- */
.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease-out);
}

.img-rounded:hover img {
  transform: scale(1.04);
}

/* Subtle gradient overlay on hover */
.img-rounded::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(112, 48, 160, 0.1) 0%, rgba(175, 0, 128, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.img-rounded:hover::after {
  opacity: 1;
}

/* Image clip-path reveal animation */
.img-reveal {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease-out);
}

.img-reveal:hover img {
  transform: scale(1.04);
}

.img-parallax {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.img-parallax img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: relative;
  top: -10%;
}

/* Photo grid */
.photo-mosaic {
  display: grid;
  gap: 16px;
}

.photo-mosaic--3 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
}

.photo-mosaic--3 .photo-mosaic__item:first-child {
  grid-row: 1 / 3;
}

.photo-mosaic__item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.photo-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--ease-out);
}

.photo-mosaic__item:hover img {
  transform: scale(1.05);
}

/* --- Checklist Items --- */
.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out);
}

.check-list li:hover {
  transform: translateX(4px);
}

.check-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--violet);
  margin-top: 2px;
  transition: transform 0.3s var(--ease-out-back);
}

.check-list li:hover svg {
  transform: scale(1.15);
}

.section--dark .check-list li svg,
.section--violet .check-list li svg {
  color: var(--lavande);
}

/* --- Blockquote / Citation --- */
.citation {
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.citation__icon {
  width: 48px;
  height: 48px;
  color: var(--magenta);
  margin: 0 auto 20px;
  opacity: 0.5;
}

.citation__text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.section--dark .citation__text,
.section--violet .citation__text {
  color: var(--white);
}

.section--dark .citation__icon,
.section--violet .citation__icon {
  color: var(--lavande);
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 20px;
  background: var(--grad-violet);
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.5;
  animation: mesh-drift 12s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.1) translate(10px, -10px); }
  66% { transform: scale(0.95) translate(-10px, 10px); }
  100% { transform: scale(1.05) translate(5px, -5px); }
}

/* Animated border glow */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(175,0,128,0.4), rgba(124,86,227,0.4), rgba(72,178,185,0.3));
  z-index: -1;
  animation: border-glow 4s ease-in-out infinite alternate;
}

@keyframes border-glow {
  0% { opacity: 0.4; filter: blur(8px); }
  100% { opacity: 0.8; filter: blur(16px); }
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner h2::after {
  display: none;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.cta-banner .btn--white {
  font-size: 1rem;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(40px);
}

.js-loaded .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.js-loaded .reveal-left {
  opacity: 0;
  transform: translateX(-50px);
}

.js-loaded .reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.js-loaded .reveal-right {
  opacity: 0;
  transform: translateX(50px);
}

.js-loaded .reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.js-loaded .reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.js-loaded .reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Clip-path reveal for images */
.js-loaded .reveal-clip {
  clip-path: inset(0 100% 0 0);
}

.js-loaded .reveal-clip.revealed {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 1s var(--ease-out-expo);
}

/* --- Recognition Items --- */
.recognition-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.recognition-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.recognition-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(175, 0, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-back);
}

.recognition-item:hover .recognition-item__icon {
  transform: scale(1.1) rotate(-5deg);
}

.recognition-item__icon svg {
  width: 22px;
  height: 22px;
  color: var(--lavande);
}

.recognition-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.19rem;
}

/* --- Photo Gallery Row --- */
.gallery-row {
  display: flex;
  gap: 0;
  overflow: hidden;
}

.gallery-row__item {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

.gallery-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease-out);
}

.gallery-row__item:hover img {
  transform: scale(1.06);
}

/* Gallery overlay on hover */
.gallery-row__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(112, 48, 160, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.gallery-row__item:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .gallery-row {
    flex-wrap: wrap;
  }
  .gallery-row__item {
    flex: 1 1 45%;
  }
}

/* --- Tool / Feature List --- */
.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 4px solid var(--violet);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-left-color 0.3s;
  position: relative;
  overflow: hidden;
}

.tool-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(112, 48, 160, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
  opacity: 0;
}

.tool-card:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(112, 48, 160, 0.1);
  border-left-color: var(--magenta);
}

.tool-card:hover::after {
  opacity: 1;
  transform: translate(20%, -20%);
}

.tool-card h4 {
  color: var(--violet);
  margin-bottom: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.3rem;
}

.tool-card p, .tool-card li {
  font-size: 1.05rem;
  color: var(--text);
}

.tool-card ul {
  margin-top: 12px;
}

.tool-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.tool-card ul li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--magenta);
  margin-top: 3px;
}

/* --- Gradient Text --- */
.text-gradient {
  background: var(--grad-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated gradient text */
.text-gradient-animated {
  background: linear-gradient(135deg, #7030A0, #AF0080, #7c56e3, #48b2b9, #7030A0);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text-flow 6s ease infinite;
}

@keyframes gradient-text-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Decorative Floating Elements --- */
.deco-circle {
  position: absolute !important;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco-circle--violet {
  background: radial-gradient(circle, rgba(112,48,160,0.08) 0%, transparent 70%);
}

.deco-circle--magenta {
  background: radial-gradient(circle, rgba(175,0,128,0.06) 0%, transparent 70%);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-violet);
}

/* Decorative mesh in footer */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(112,48,160,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 50px;
  margin-bottom: 16px;
  filter: none;
}

.footer__brand p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, transform 0.3s var(--ease-out), padding-left 0.3s;
  position: relative;
}

.footer__links a:hover {
  color: var(--lavande);
  transform: translateX(4px);
  padding-left: 4px;
}

.footer__links a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--magenta);
  transition: width 0.3s var(--ease-out);
  transform: translateY(-50%);
}

.footer__links a:hover::before {
  width: 6px;
}

.footer__contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  color: var(--lavande);
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__contact p {
    word-break: break-all;
  }
}

/* --- Misc --- */
.text-center { text-align: center; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.pt-0 { padding-top: 0; }

.gap-lg { gap: 40px; }
.gap-xl { gap: 60px; }

/* --- Mentions Légales --- */
.legal-content h2 {
  color: var(--violet);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--lavande);
}

.legal-content h2::after {
  display: none;
}

.legal-content h3 {
  color: var(--dark);
  margin: 28px 0 12px;
}

.legal-content p {
  color: var(--text);
}

.legal-content ul {
  margin: 12px 0;
}

.legal-content ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--text);
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

/* --- Programme highlight check-list color fix --- */
.programme-highlight .check-list li svg {
  color: var(--white);
}

.programme-highlight .check-list li span {
  color: var(--white);
}

/* --- Pricing cards: equal height in grid --- */
.grid--2 > .pricing-card,
.grid--3 > .pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card__features {
  flex: 1;
}

/* --- Reduced Motion --- */
@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;
  }
  .js-loaded .reveal,
  .js-loaded .reveal-left,
  .js-loaded .reveal-right,
  .js-loaded .reveal-scale,
  .js-loaded .reveal-clip {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .cursor-dot, .cursor-follower {
    display: none !important;
  }
  .scroll-progress {
    display: none !important;
  }
  .hero__orb {
    display: none !important;
  }
}

/* --- Floating orbs for all pages --- */
.section__float-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.25;
}

.section__float-orb--violet {
  background: rgba(112, 48, 160, 0.35);
}

.section__float-orb--magenta {
  background: rgba(175, 0, 128, 0.3);
}

.section__float-orb--turquoise {
  background: rgba(72, 178, 185, 0.25);
}

/* --- Enhanced section dividers --- */
.section--diagonal-top {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: calc(var(--section-pad) + 40px);
}

.section--diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding-bottom: calc(var(--section-pad) + 40px);
}

.section--curve-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5%;
  right: -5%;
  height: 70px;
  background: inherit;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* --- Card hover disabled --- */

/* --- Glass card enhanced shimmer --- */
.card--glass::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  transform: rotate(45deg) translateY(100%);
  transition: transform 0.8s var(--ease-out-expo);
  pointer-events: none;
}

.card--glass:hover::after {
  transform: rotate(45deg) translateY(-30%);
}

/* --- Pricing card recommended highlight --- */
.pricing-card--highlight {
  border: 2px solid var(--violet);
  position: relative;
}

.pricing-card--highlight::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: var(--grad-violet);
  z-index: -1;
  opacity: 0.15;
}

/* --- Enhanced gallery overlay with text --- */
.gallery-row__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 14, 46, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.gallery-row__item:hover::before {
  opacity: 1;
}

/* --- Tool card enhanced left border animation --- */
.tool-card {
  border-left: 4px solid var(--violet);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-left-color 0.3s, border-left-width 0.3s;
}

.tool-card:hover {
  border-left-width: 6px;
}

/* --- Better recognition item hover glow --- */
.recognition-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12), 0 0 20px rgba(112, 48, 160, 0.08);
}

/* --- CTA banner enhanced with animated gradient --- */
.cta-banner {
  background: linear-gradient(-45deg, #7030A0, #AF0080, #7c56e3, #48b2b9);
  background-size: 300% 300%;
  animation: cta-gradient-shift 10s ease infinite;
}

@keyframes cta-gradient-shift {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* --- Animated underline on hover for nav links --- */
.nav__link::after {
  transition: width 0.4s var(--ease-out-expo);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* --- Better button ripple effect --- */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
}

/* --- Citation mark enhanced --- */
.citation__icon {
  transition: transform 0.6s var(--ease-out-back);
}

.citation:hover .citation__icon {
  transform: scale(1.1) rotate(-5deg);
}

/* --- Check-list items enhanced hover --- */
.check-list li {
  transition: transform 0.3s var(--ease-out), background 0.3s;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.check-list li:hover {
  transform: translateX(6px);
  background: rgba(112, 48, 160, 0.04);
}

.section--dark .check-list li:hover,
.section--violet .check-list li:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* --- Scroll progress glow --- */
.scroll-progress {
  box-shadow: 0 0 10px rgba(112, 48, 160, 0.4);
}

/* --- Nav mobile menu enhanced slide --- */
.nav__mobile-menu {
  transform: translateY(-20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.nav__mobile-menu.open {
  transform: translateY(0);
}

/* --- Footer link underline animation --- */
.footer__links a {
  position: relative;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lavande);
  transition: width 0.3s var(--ease-out);
}

.footer__links a:hover::after {
  width: 100%;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--creme); }
::-webkit-scrollbar-thumb {
  background: var(--lavande);
  border-radius: 4px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* --- Responsive Fine-tuning --- */
@media (max-width: 600px) {
  .hero {
    min-height: 90vh;
    padding-top: 80px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }

  .section {
    padding: clamp(40px, 6vw, 80px) 0;
  }

  .card {
    padding: 28px 24px;
  }

  .cta-banner {
    padding: 50px 20px;
    border-radius: var(--radius-lg);
  }

  .gallery-row__item {
    aspect-ratio: 1/1;
  }

  .tool-card {
    padding: 28px 24px;
  }

  .recognition-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  
  .section__header h2::after {
    margin: 12px auto 0;
  }

  /* Better mobile typography */
  h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .hero__text {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  }

  /* Mobile CTA buttons full width */
  .hero .magnetic-wrap {
    width: 100%;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
  }

  /* Pricing cards mobile spacing */
  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card__price {
    font-size: 2.2rem;
  }

  /* Footer mobile polish */
  .footer {
    padding: 40px 0 20px;
  }

  .footer__brand p {
    max-width: 100%;
  }

  /* Better mobile card spacing */
  .grid {
    gap: 20px;
  }

  /* Pricing 3-col to 1-col on small mobile */
  .grid--3 > .pricing-card {
    grid-column: auto !important;
  }

  /* Section dividers smaller on mobile */
  .section--diagonal-top {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    margin-top: -20px;
    padding-top: calc(var(--section-pad) + 20px);
  }
}

/* Tablet breakpoint refinements */
@media (min-width: 601px) and (max-width: 900px) {
  .hero__title {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 > :last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .gallery-row__item {
    aspect-ratio: 4/5;
  }

  .section {
    padding: clamp(50px, 7vw, 100px) 0;
  }

  .card--service {
    padding: 36px 24px;
  }

  .pricing-card {
    padding: 36px 28px;
  }

  .footer__inner {
    gap: 30px;
  }

  .cta-banner {
    padding: 60px 30px;
  }
}

/* ============================================
   DESIGN SPRINT v3 — Awwwards Enhancement Layer
   ============================================ */

/* --- Hero mesh overlay enhancement (richer depth) --- */
.hero__overlay {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(175, 0, 128, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 86, 227, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(72, 178, 185, 0.15) 0%, transparent 45%),
    linear-gradient(135deg, rgba(26, 14, 46, 0.82) 0%, rgba(112, 48, 160, 0.62) 100%);
}

/* --- Hero floating particles --- */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(232, 222, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.hero__particle--lg {
  width: 5px;
  height: 5px;
  background: rgba(175, 0, 128, 0.2);
}

/* --- Bigger hero title impact --- */
.hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
}

@media (max-width: 600px) {
  .hero__title {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
}

/* --- Check-list alternating icon colors for visual rhythm --- */
.check-list li:nth-child(even) svg {
  color: var(--magenta);
}

.section--dark .check-list li:nth-child(even) svg,
.section--violet .check-list li:nth-child(even) svg {
  color: rgba(232, 222, 255, 0.7);
}

/* --- Nav CTA glow on hover --- */
.nav__cta {
  position: relative;
}

.nav__cta::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  background: var(--liberlo);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.nav__cta:hover::before {
  opacity: 0.35;
}

/* --- Tool-card background slide on hover --- */
.tool-card {
  position: relative;
  z-index: 1;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, rgba(112, 48, 160, 0.035), rgba(175, 0, 128, 0.02));
  transition: width 0.6s var(--ease-out);
  z-index: -1;
  border-radius: var(--radius-lg);
}

.tool-card:hover::before {
  width: 100%;
}

/* --- Pricing hover disabled --- */

/* --- Button press feedback --- */
.btn:active {
  transform: scale(0.96) !important;
  transition-duration: 0.1s !important;
}

/* --- Footer gradient line animated --- */
.footer::before {
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--liberlo), var(--sup-turquoise), var(--violet));
  background-size: 200% 100%;
  animation: footer-line-flow 6s linear infinite;
}

@keyframes footer-line-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* --- Recognition item gradient icon bg --- */
.recognition-item__icon {
  background: linear-gradient(135deg, rgba(175, 0, 128, 0.25), rgba(124, 86, 227, 0.2));
}

/* --- Section animated mesh bg --- */
.section--animated-mesh {
  position: relative;
  overflow: hidden;
}

.section--animated-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 25% 30%, rgba(112,48,160,0.07) 0%, transparent 50%),
    radial-gradient(at 75% 65%, rgba(175,0,128,0.05) 0%, transparent 50%),
    radial-gradient(at 50% 90%, rgba(72,178,185,0.04) 0%, transparent 40%);
  animation: section-mesh-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes section-mesh-drift {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.06) translate(12px, -12px); }
  100% { transform: scale(0.97) translate(-8px, 8px); }
}

.section--animated-mesh > *:not(.deco-circle):not(.section__float-orb) {
  position: relative;
  z-index: 1;
}

/* --- Inline SVG wave divider --- */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 4;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.wave-divider--top { top: -1px; }
.wave-divider--bottom { bottom: -1px; transform: rotate(180deg); }

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Animated gradient text stronger pulse --- */
.text-gradient-animated {
  background: linear-gradient(135deg, #7030A0, #AF0080, #7c56e3, #48b2b9, #7030A0);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text-flow 5s ease infinite;
}

/* --- Section dot separator --- */
.section-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

.section-dots__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavande);
  opacity: 0.45;
}

.section-dots__dot--active {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: var(--grad-violet);
  opacity: 1;
}

/* --- Enhanced glass card shimmer line --- */
.card--glass {
  overflow: hidden;
}

.card--glass .shimmer-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.8s var(--ease-out-expo);
  pointer-events: none;
}

.card--glass:hover .shimmer-line {
  left: 150%;
}

/* --- Better gallery item overlay with gradient line at bottom --- */
.gallery-row__item::after {
  background: linear-gradient(to top,
    rgba(112, 48, 160, 0.3) 0%,
    rgba(175, 0, 128, 0.1) 30%,
    transparent 60%
  );
}

/* --- Pricing card animated gradient border --- */
.pricing-card {
  position: relative;
  z-index: 1;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--violet), var(--magenta), var(--liberlo), var(--sup-turquoise));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
  animation: card-border-flow 5s ease infinite;
}

.pricing-card:hover::before {
  opacity: 0;
}

@keyframes card-border-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Enhanced hero subtitle with animated line --- */
.hero__subtitle::before {
  transition: width 0.8s var(--ease-out);
  width: 40px;
}

.hero:hover .hero__subtitle::before {
  width: 60px;
}

/* --- Better img-rounded shadow on hover --- */
.img-rounded:hover {
  box-shadow: 0 20px 60px rgba(112, 48, 160, 0.15);
}

/* --- CTA banner glass particles --- */
.cta-banner .cta-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* --- Supervision page: better programme highlight --- */
.programme-highlight {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.programme-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(112, 48, 160, 0.25);
}

/* --- Enhanced hero background parallax zoom --- */
.hero__bg-image img {
  transform: scale(1.08);
  transition: transform 0.3s;
  object-position: center 30%;
}

/* --- Better section--lavande subtle mesh --- */
.section--lavande {
  position: relative;
  overflow: hidden;
}

/* --- Better letter-spacing on section labels --- */
.section__label {
  letter-spacing: 3px;
}

/* --- Citation enhanced with larger quote marks --- */
.citation__icon {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

.section--dark .citation__icon,
.section--violet .citation__icon {
  opacity: 0.5;
}

/* --- Better card__icon transition --- */
.card__icon {
  transition: transform 0.5s var(--ease-out-back), background 0.4s, box-shadow 0.4s;
}

.card:hover .card__icon {
  box-shadow: none;
}

/* --- Enhanced mobile touch feedback --- */
@media (hover: none) {
  .card:active {
    transform: scale(0.98);
    transition-duration: 0.15s;
  }

  .pricing-card:active {
    transform: none;
  }

  .recognition-item:active {
    transform: scale(0.98);
    transition-duration: 0.15s;
  }
}

/* --- Improved section gap rhythm --- */
.section + .section--creme,
.section--creme + .section {
  position: relative;
}

/* ============================================
   DESIGN SPRINT v4 — Awwwards Polish Layer
   Focus: contrast, spacing, transitions, mobile
   ============================================ */

/* --- Hero readability: stronger text shadow for contrast --- */
.hero__title {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero__text {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

/* --- Hero overlay: better contrast with multi-layer --- */
.hero__overlay {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(175, 0, 128, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 86, 227, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(72, 178, 185, 0.18) 0%, transparent 45%),
    linear-gradient(160deg, rgba(26, 14, 46, 0.88) 0%, rgba(90, 32, 128, 0.72) 60%, rgba(112, 48, 160, 0.6) 100%);
}

/* --- Better gallery gap & rounded corners --- */
.gallery-row {
  gap: 4px;
  border-radius: 0;
}

.gallery-row__item {
  transition: flex 0.6s var(--ease-out);
}

@media (min-width: 901px) {
  .gallery-row__item:hover {
    flex: 1.3;
  }
}

/* --- Better hero CTA layout on mobile --- */
@media (max-width: 600px) {
  .hero__content .magnetic-wrap + .magnetic-wrap {
    margin-top: 4px;
  }
}

/* --- Section label: animated dot before text --- */
.section__label {
  position: relative;
}

.section__label::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  margin-left: 4px;
  animation: label-dot-pulse 2s ease-in-out infinite;
}

@keyframes label-dot-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

/* --- Stronger section headers --- */
.section__header h2 {
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__header p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.8;
}

/* --- Better recognition items spacing --- */
.recognition-item {
  padding: 22px 24px;
}

.recognition-item p {
  font-size: 1.19rem;
  line-height: 1.6;
}

/* --- Card service: better hover with gradient bg --- */
.card--service {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, background 0.5s;
}

.card--service:hover {
  background: linear-gradient(180deg, var(--white) 60%, rgba(232, 222, 255, 0.4) 100%);
}

/* --- Better CTA banner spacing --- */
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.cta-banner p {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

/* --- Citation section better vertical rhythm --- */
.citation {
  padding: 80px 20px;
}

.citation__text {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.citation__text em {
  display: block;
  margin-top: 16px;
  font-size: 0.65em;
  opacity: 0.75;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

/* --- Better tool-card readability --- */
.tool-card h4 {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
}

.tool-card p {
  line-height: 1.7;
}

/* --- Enhanced pricing card feature list --- */
.pricing-card__features li {
  transition: transform 0.3s var(--ease-out);
}

.pricing-card:hover .pricing-card__features li {
  transform: none;
}

/* --- Better glass card readability --- */
.card--glass p {
  opacity: 0.9;
  line-height: 1.7;
}

.card--glass h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

/* --- Better footer contact hover --- */
.footer__contact p {
  transition: color 0.3s, transform 0.3s var(--ease-out);
  border-radius: 6px;
  padding: 4px 8px;
  margin-left: -8px;
}

.footer__contact p:hover {
  color: var(--lavande);
  transform: translateX(3px);
}

.footer__contact p:hover svg {
  color: var(--magenta);
}

/* --- Better mobile nav menu --- */
.nav__mobile-menu {
  gap: 20px;
  padding: 24px;
  background: rgba(251, 248, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav__mobile-menu .nav__link {
  font-size: 1.4rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav__mobile-menu .btn {
  margin-top: 12px;
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Smoother scroll progress --- */
.scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--liberlo));
  box-shadow: 0 0 12px rgba(175, 0, 128, 0.5), 0 0 4px rgba(112, 48, 160, 0.3);
}

/* --- Better section padding rhythm --- */
.section--creme + .section--creme {
  padding-top: calc(var(--section-pad) * 0.6);
}

/* --- Gallery parallax on mobile: simpler --- */
@media (max-width: 900px) {
  .img-parallax img {
    height: 100%;
    top: 0;
  }
  
  .gallery-row {
    gap: 3px;
  }
  
  .gallery-row__item {
    aspect-ratio: 4/3;
  }
}

/* --- Better intro section text --- */
.section--creme .container--narrow p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.9;
  color: var(--text);
}

/* --- Enhanced check-list visual hierarchy --- */
.check-list li span {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Better img-rounded aspect ratio control --- */
.img-rounded[style*="aspect-ratio"] img {
  height: 100%;
}

/* --- Nav scrolled: subtle violet tint --- */
.nav.scrolled {
  background: rgba(251, 248, 255, 0.94);
}

/* --- Better dark section text contrast --- */
.section--dark p,
.section--gradient-bg p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
}

/* --- Focus states for accessibility --- */
.btn:focus-visible {
  outline: 3px solid var(--liberlo);
  outline-offset: 3px;
}

.nav__link:focus-visible {
  outline: 2px solid var(--lavande);
  outline-offset: 4px;
  border-radius: 4px;
}

.card:focus-visible,
.pricing-card:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}

/* --- Better card content spacing --- */
.card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.card p {
  line-height: 1.7;
}

/* --- Smoother page feel: section content animation stagger --- */
.section__header .section__label,
.section__header h2,
.section__header p {
  transition-delay: 0s;
}

/* --- Footer bottom: better separator --- */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  margin-top: 8px;
}

/* --- Pricing card label: pill style --- */
.pricing-card__label {
  background: rgba(175, 0, 128, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
}

/* --- Better hero button gap on wrap --- */
@media (max-width: 420px) {
  .hero__content [style*="flex-wrap"] {
    gap: 12px !important;
  }
}

/* --- Smooth text selection color --- */
::selection {
  background: rgba(112, 48, 160, 0.2);
  color: var(--dark);
}

.section--dark ::selection,
.hero--gradient ::selection {
  background: rgba(232, 222, 255, 0.3);
  color: var(--white);
}

/* ============================================
   DESIGN SPRINT v5 — Awwwards Premium Layer
   Focus: immersive transitions, richer depth,
   premium micro-interactions, mobile excellence
   ============================================ */

/* --- Hero: animated gradient overlay for more visual depth --- */
.hero__overlay {
  background:
    radial-gradient(ellipse at 15% 45%, rgba(175, 0, 128, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(124, 86, 227, 0.38) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 85%, rgba(72, 178, 185, 0.22) 0%, transparent 40%),
    radial-gradient(ellipse at 40% 30%, rgba(26, 14, 46, 0.15) 0%, transparent 60%),
    linear-gradient(160deg, rgba(26, 14, 46, 0.9) 0%, rgba(90, 32, 128, 0.7) 55%, rgba(112, 48, 160, 0.55) 100%);
}

/* --- Hero: shimmer light sweep across title --- */
.hero__title {
  position: relative;
}

.hero__title::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: hero-title-shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-title-shimmer {
  0% { left: -100%; }
  40% { left: 150%; }
  100% { left: 150%; }
}

/* --- Richer hero orbs with color-shift animation --- */
.hero__orb--1 {
  animation: orb-color-1 12s ease-in-out infinite alternate;
}

.hero__orb--2 {
  animation: orb-color-2 15s ease-in-out infinite alternate;
}

.hero__orb--3 {
  animation: orb-color-3 10s ease-in-out infinite alternate;
}

@keyframes orb-color-1 {
  0% { background: rgba(175, 0, 128, 0.35); filter: blur(60px); }
  50% { background: rgba(124, 86, 227, 0.3); filter: blur(70px); }
  100% { background: rgba(175, 0, 128, 0.4); filter: blur(55px); }
}

@keyframes orb-color-2 {
  0% { background: rgba(124, 86, 227, 0.35); filter: blur(60px); }
  50% { background: rgba(72, 178, 185, 0.25); filter: blur(80px); }
  100% { background: rgba(124, 86, 227, 0.3); filter: blur(65px); }
}

@keyframes orb-color-3 {
  0% { background: rgba(72, 178, 185, 0.25); filter: blur(60px); }
  50% { background: rgba(175, 0, 128, 0.2); filter: blur(70px); }
  100% { background: rgba(72, 178, 185, 0.22); filter: blur(60px); }
}

/* --- Section: organic SVG wave dividers between sections --- */
.section--wave-organic-top {
  position: relative;
  margin-top: -2px;
}

.section--wave-organic-top::before {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 50px;
  background: inherit;
  clip-path: path('M0,50 C200,0 400,40 600,20 C800,0 1000,35 1200,15 C1400,45 1600,5 1920,30 L1920,50 Z');
  z-index: 3;
}

/* --- Cards: premium glow ring on hover --- */
.card {
  will-change: transform, box-shadow;
}

.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, transparent, rgba(112,48,160,0.15), rgba(175,0,128,0.1), transparent, rgba(124,86,227,0.12), transparent);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  z-index: -1;
}

.card:hover::after {
  opacity: 0;
}

/* --- Glass cards: animated inner glow + better depth --- */
.card--glass {
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(255,255,255,0.05);
}

.card--glass:hover {
  box-shadow:
    0 20px 60px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(255,255,255,0.08),
    0 0 60px rgba(112,48,160,0.08);
}

/* --- Pricing cards: floating shadow layers --- */
.pricing-card {
  box-shadow:
    0 2px 4px rgba(112,48,160,0.04),
    0 8px 24px rgba(112,48,160,0.06);
  will-change: transform, box-shadow;
}

.pricing-card:hover {
  box-shadow: none;
}

/* --- Recognition items: stagger gradient accent --- */
.recognition-item:nth-child(odd) .recognition-item__icon {
  background: linear-gradient(135deg, rgba(175,0,128,0.25), rgba(124,86,227,0.2));
}

.recognition-item:nth-child(even) .recognition-item__icon {
  background: linear-gradient(135deg, rgba(72,178,185,0.25), rgba(112,48,160,0.2));
}

/* --- Gallery: premium hover overlay with gradient blend --- */
.gallery-row__item {
  will-change: flex;
}

.gallery-row__item::after {
  background: linear-gradient(
    to top,
    rgba(112,48,160,0.35) 0%,
    rgba(175,0,128,0.12) 25%,
    transparent 55%
  );
}

/* --- CTA Banner: animated mesh particles background --- */
.cta-banner {
  position: relative;
  isolation: isolate;
}

.cta-banner .cta-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.cta-banner .cta-orb--1 {
  width: 200px;
  height: 200px;
  top: -40px;
  right: -30px;
  animation: cta-orb-float 8s ease-in-out infinite alternate;
}

.cta-banner .cta-orb--2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  left: -20px;
  animation: cta-orb-float 10s ease-in-out infinite alternate-reverse;
}

@keyframes cta-orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -10px) scale(1.1); }
  100% { transform: translate(-10px, 15px) scale(0.95); }
}

/* --- Section headers: gradient underline animation --- */
.section__header h2::after {
  background: linear-gradient(90deg, var(--violet), var(--magenta), var(--liberlo));
  background-size: 200% 100%;
  animation: underline-flow 4s ease infinite;
}

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

/* --- Tool cards: enhanced left border with gradient --- */
.tool-card {
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--violet), var(--magenta)) 1;
}

.tool-card:hover {
  border-image: linear-gradient(180deg, var(--magenta), var(--liberlo)) 1;
}

/* --- Better img-rounded: subtle inner shadow for depth --- */
.img-rounded::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.08);
  z-index: 1;
  pointer-events: none;
}

/* --- Hero particles: glow effect --- */
.hero__particle {
  box-shadow: 0 0 10px rgba(232,222,255,0.25);
}

.hero__particle--lg {
  box-shadow: 0 0 16px rgba(175,0,128,0.2);
}

/* --- Better check-list: animated checkmark --- */
.check-list li svg {
  transition: transform 0.4s var(--ease-out-back), color 0.3s;
}

.check-list li:hover svg {
  transform: scale(1.2) rotate(5deg);
}

/* --- Better footer: animated gradient top border --- */
.footer::before {
  height: 4px;
  background: linear-gradient(90deg, 
    var(--violet), 
    var(--magenta), 
    var(--liberlo), 
    var(--sup-turquoise),
    var(--magenta),
    var(--violet)
  );
  background-size: 300% 100%;
  animation: footer-line-flow 8s linear infinite;
}

/* --- Citation section: animated quote mark glow --- */
.citation__icon {
  filter: drop-shadow(0 0 12px rgba(175,0,128,0.15));
  animation: quote-glow 4s ease-in-out infinite alternate;
}

@keyframes quote-glow {
  0% { filter: drop-shadow(0 0 8px rgba(175,0,128,0.1)); }
  100% { filter: drop-shadow(0 0 20px rgba(175,0,128,0.25)); }
}

/* --- Nav CTA: pulsing ring on idle --- */
.nav__cta {
  animation: cta-pulse 3s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,86,227,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(124,86,227,0); }
}

.nav__cta:hover {
  animation: none;
}

/* --- Section float orbs: richer colors and bigger --- */
.section__float-orb {
  filter: blur(80px);
  opacity: 0.3;
}

/* --- Better diagonal section joins --- */
.section--diagonal-top {
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
  margin-top: -50px;
  padding-top: calc(var(--section-pad) + 50px);
}

@media (max-width: 600px) {
  .section--diagonal-top {
    clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
    margin-top: -25px;
    padding-top: calc(var(--section-pad) + 25px);
  }
}

/* --- Enhanced mobile hero: better vertical rhythm --- */
@media (max-width: 600px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 50px;
  }
  
  .hero__subtitle {
    font-size: 0.72rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }
  
  .hero__text {
    font-size: 1.05rem;
    line-height: 1.75;
  }
  
  /* Better mobile cards gap and touch targets */
  .card--service {
    padding: 32px 20px;
    min-height: 180px;
  }
  
  .card--service .card__icon {
    width: 60px;
    height: 60px;
  }
  
  /* Better mobile recognition items */
  .recognition-item {
    padding: 18px 16px;
    gap: 14px;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  
  .recognition-item p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  
  /* Mobile gallery: full-width clean stack */
  .gallery-row {
    flex-direction: column;
    gap: 3px;
  }
  
  .gallery-row__item {
    flex: none;
    aspect-ratio: 16/9;
  }
  
  /* Better mobile pricing spacing */
  .pricing-card {
    padding: 28px 20px;
  }
  
  .pricing-card__price {
    font-size: 2rem;
  }
  
  /* Mobile citation */
  .citation {
    padding: 50px 16px;
  }
  
  .citation__text {
    font-size: 1.3rem;
    line-height: 1.5;
  }
  
  /* Better mobile CTA banner */
  .cta-banner {
    padding: 44px 20px;
    border-radius: 20px;
  }
  
  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

/* --- Tablet gallery: 2 columns --- */
@media (min-width: 601px) and (max-width: 900px) {
  .gallery-row {
    flex-wrap: nowrap;
  }
  
  .gallery-row__item {
    aspect-ratio: 3/4;
  }
}

/* --- Better img-parallax sizing control --- */
.img-parallax {
  will-change: transform;
}

.img-parallax img {
  height: 130%;
  top: -15%;
}

@media (max-width: 900px) {
  .img-parallax img {
    height: 110%;
    top: -5%;
  }
}

/* --- Section transition: subtle fade connector --- */
.section + .section {
  position: relative;
}

/* --- Card service: icon bg gradient on hover --- */
.card--service:hover .card__icon {
  background: linear-gradient(135deg, rgba(112,48,160,0.15), rgba(175,0,128,0.1));
}

/* --- Link hover: subtle underline grow from center --- */
.footer__links a {
  position: relative;
  overflow: hidden;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--lavande);
  transition: width 0.4s var(--ease-out), left 0.4s var(--ease-out);
}

.footer__links a:hover::after {
  width: 100%;
  left: 0;
}

/* --- Better disabled animation states --- */
@media (prefers-reduced-motion: reduce) {
  .hero__title::after,
  .hero__orb,
  .nav__cta,
  .cta-banner .cta-orb,
  .citation__icon,
  .section__header h2::after,
  .footer::before {
    animation: none !important;
  }
}

/* --- Loading state: prevent FOUC with reveal --- */
.js-loaded .hero__content > * {
  will-change: opacity, transform;
}

/* --- Fallback: if GSAP never fires (e.g. script error), reveal after 4s --- */
@keyframes fallback-reveal {
  to { opacity: 1; transform: none; }
}

.js-loaded .reveal,
.js-loaded .reveal-left,
.js-loaded .reveal-right,
.js-loaded .reveal-scale {
  animation: fallback-reveal 0s 3s forwards;
}

/* Fallback for stagger children + specific components (desktop + mobile) */
.js-loaded .stagger-children > *,
.js-loaded .card--service,
.js-loaded .recognition-item,
.js-loaded .check-list li,
.js-loaded .cta-banner,
.js-loaded .gallery-row__item,
.js-loaded .pricing-card,
.js-loaded .tool-card {
  animation: fallback-reveal 0s 3s forwards;
}

/* ============================================
   MOBILE FIX — Force all elements visible
   GSAP animations are a BONUS, not a requirement
   ============================================ */
@media (max-width: 900px), (pointer: coarse) {
  /* Force ALL reveal elements visible on mobile */
  .js-loaded .reveal,
  .js-loaded .reveal-left,
  .js-loaded .reveal-right,
  .js-loaded .reveal-scale,
  .js-loaded .reveal-clip {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-clip {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  /* Force service cards visible */
  .card--service,
  .card,
  .card--glass,
  .recognition-item,
  .cta-banner,
  .citation,
  .tool-card,
  .pricing-card,
  .check-list li,
  .gallery-row__item,
  .img-rounded,
  .img-reveal,
  .section__label,
  .section__header,
  .footer__inner > *,
  .footer__links a,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* Hero: reduce white space, better vertical rhythm */
  .hero {
    min-height: auto !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
  }

  .hero__bg-image img {
    transform: none !important;
  }

  /* Hero title: no shimmer animation on mobile */
  .hero__title::after {
    display: none !important;
  }

  /* Diagonal sections: reduce clipping on mobile for no white gaps */
  .section--diagonal-top {
    clip-path: none !important;
    margin-top: 0 !important;
    padding-top: var(--section-pad) !important;
  }

  /* Gallery images: proper sizing */
  .img-parallax img {
    height: 100% !important;
    top: 0 !important;
    transform: none !important;
  }

  /* CTA banner: no scale animation residue */
  .cta-banner {
    transform: none !important;
  }

  /* Disable will-change on mobile for perf */
  .card, .pricing-card, .gallery-row__item, .img-parallax {
    will-change: auto !important;
  }

  /* Service cards grid: single column, visible */
  .grid--3 {
    grid-template-columns: 1fr !important;
  }

  .grid--3 > :last-child {
    grid-column: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* Recognition grid: single column */
  .grid--2 {
    grid-template-columns: 1fr !important;
  }

  .recognition-item[style*="grid-column"] {
    grid-column: auto !important;
    max-width: none !important;
  }
}
