/* ===== Variables ===== */
:root {
  --lime: #10B981;
  --lime-dim: #059669;
  --lime-text: #10B981;
  --lime-glow: rgba(16, 185, 129, 0.15);
  --on-lime: #ffffff;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --grid-size: 50px 50px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --section-gap: clamp(6rem, 14vh, 10rem);
}

/* Thème sombre (défaut) */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --black: #0a0a0a;
  --dark: #111111;
  --gray: #1a1a1a;
  --gray-mid: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #aaa;
  --hero-bg: #121212;
  --hero-text: #f5f5f5;
  --hero-muted: #9a9a9a;
  --hero-line: rgba(255, 255, 255, 0.12);
  --header-hero-scrolled: rgba(18, 18, 18, 0.92);
  --header-main-scrolled: rgba(10, 10, 10, 0.92);
  --nav-menu-bg: rgba(26, 26, 26, 0.88);
  --nav-menu-hover: #2a2a2a;
  --hero-card-bg: rgba(20, 20, 20, 0.72);
  --fragment-bg: rgba(26, 26, 26, 0.94);
  --fragment-border: rgba(255, 255, 255, 0.1);
  --photo-shadow: rgba(0, 0, 0, 0.45);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: rgba(0, 0, 0, 0.55);
  --card-bg: rgba(17, 17, 17, 0.9);
  --intro-meta-bg: rgba(10, 10, 10, 0.75);
  --topo-opacity: 0.35;
  --grid-line: rgba(255, 255, 255, 0.04);
  --grid-pattern:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
}

/* Thème clair */
[data-theme="light"] {
  color-scheme: light;
  --lime-text: #059669;
  --lime-glow: rgba(5, 150, 105, 0.08);
  --black: #f5f7fb;
  --dark: #eaeff5;
  --gray: #ffffff;
  --gray-mid: #d4dbe6;
  --text: #0f172a;
  --text-muted: #556680;
  --hero-bg: #f5f7fb;
  --hero-text: #0f172a;
  --hero-muted: #556680;
  --hero-line: rgba(15, 23, 42, 0.1);
  --header-hero-scrolled: rgba(245, 247, 251, 0.95);
  --header-main-scrolled: rgba(255, 255, 255, 0.95);
  --nav-menu-bg: rgba(255, 255, 255, 0.85);
  --nav-menu-hover: #ffffff;
  --hero-card-bg: rgba(255, 255, 255, 0.6);
  --fragment-bg: rgba(255, 255, 255, 0.95);
  --fragment-border: rgba(15, 23, 42, 0.1);
  --photo-shadow: rgba(15, 23, 42, 0.15);
  --card-border: rgba(15, 23, 42, 0.1);
  --card-shadow: rgba(15, 23, 42, 0.06);
  --card-bg: rgba(255, 255, 255, 0.95);
  --intro-meta-bg: rgba(255, 255, 255, 0.85);
  --topo-opacity: 0.45;

  --grid-line: rgba(15, 23, 42, 0.05);
  --grid-pattern:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
}

html.theme-ready body,
html.theme-ready .header,
html.theme-ready .hero,
html.theme-ready .hero-visual,
html.theme-ready .loader,
html.theme-ready .nav-mobile,
html.theme-ready .project-fan-card,
html.theme-ready .hof-card,
html.theme-ready .split-card {
  transition:
    background-color 0.45s var(--ease-out),
    color 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

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

html {
  font-size: 16px;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  background-image: var(--grid-pattern);
  background-size: var(--grid-size);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Split line / word masks for GSAP */
.split-line {
  display: block;
}

.word-wrap {
  display: inline-block;
  vertical-align: top;
  margin-right: 0.2em;
}

.word {
  display: inline-block;
}

/* Texte toujours lisible si l'animation n'a pas encore joué */
body.loaded .split-line,
body.loaded .word,
body.loaded .split-word,
body.loaded .hero-title-line,
body.loaded .hero-sub,
body.loaded .hero-actions a,
body.loaded .hero-eyebrow,
body.loaded .hero-stack {
  visibility: visible;
}

.split-line--lime {
  color: var(--lime-text);
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s var(--ease-out),
    visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.loader-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--lime);
  letter-spacing: 0.05em;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition:
    background 0.45s,
    backdrop-filter 0.45s,
    border-color 0.45s;
}

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

.header--hero.scrolled {
  background: var(--header-hero-scrolled);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hero-line);
}

.header:not(.header--hero).scrolled,
.hero.is-past .header.header--hero {
  background: var(--header-main-scrolled);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-mid);
  color: var(--text);
}

.header.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  border-color: transparent !important;
  color: var(--text) !important;
}

[data-theme="dark"] .header.menu-open {
  color: #fff !important;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 1001;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  justify-self: start;
  transition:
    opacity 0.25s,
    transform 0.25s;
}

.nav-brand:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}

.nav-brand-line {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-monogram {
  justify-self: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-monogram:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Liens nav desktop */
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 1.75rem);
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-text);
  white-space: nowrap;
  transition: color 0.25s;
}

.header:not(.header--hero) .nav-links a,
.hero.is-past .header .nav-links a {
  color: var(--text);
}

.nav-links a:hover {
  color: var(--lime);
}

/* Grand écran : liens visibles | petit écran : burger */
@media (min-width: 992px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .nav-brand {
    flex-shrink: 0;
    justify-self: auto;
  }

  .nav-monogram {
    display: none;
  }

  .nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    justify-self: auto;
    min-width: 0;
  }

  .nav-actions {
    flex-shrink: 0;
    justify-self: auto;
  }

  .nav-menu {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links {
    display: none !important;
  }
  .nav-monogram {
    display: none !important;
  }
  .nav-pill {
    display: none !important;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: end;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hero-line);
  border-radius: 10px;
  background: var(--nav-menu-bg);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease-out),
    border-color 0.25s,
    background 0.25s;
}

.theme-toggle:hover {
  transform: scale(1.04);
  background: var(--nav-menu-hover);
}

.theme-toggle-track {
  display: none;
}

.theme-toggle-icon {
  position: absolute;
  font-size: 1.05rem;
  line-height: 1;
  transition:
    opacity 0.3s,
    transform 0.35s var(--ease-out);
}

.theme-toggle-icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle-icon--moon {
  opacity: 0;
  transform: scale(0.6) rotate(-30deg);
}

.theme-toggle.is-light .theme-toggle-icon--sun {
  opacity: 0;
  transform: scale(0.6) rotate(30deg);
}

.theme-toggle.is-light .theme-toggle-icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.header:not(.header--hero) .theme-toggle,
.hero.is-past .header .theme-toggle {
  border-color: var(--gray-mid);
  background: var(--gray);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s;
}

.nav-pill:hover {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 245, 66, 0.45);
}

.nav-pill:active {
  transform: scale(0.98);
}

.nav-pill-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hero-line);
  border-radius: 10px;
  background: var(--nav-menu-bg);
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.header:not(.header--hero) .nav-menu,
.hero.is-past .header .nav-menu {
  background: var(--gray);
  border-color: var(--gray-mid);
}

.nav-menu:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: scale(1.08);
}

.nav-menu:hover span {
  background: var(--on-lime) !important;
}

.nav-menu.open {
  background: var(--gray);
  border-color: var(--gray-mid);
}

.nav-menu.open span {
  background: var(--text) !important;
}

.nav-menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hero-text);
  border-radius: 2px;
  transition:
    transform 0.4s var(--ease-out),
    background 0.3s,
    width 0.3s;
}

.header:not(.header--hero) .nav-menu span,
.hero.is-past .header .nav-menu span {
  background: var(--text);
}

.nav-menu:hover span:first-child {
  width: 14px;
}
.nav-menu:hover span:last-child {
  width: 26px;
}

.nav-menu.open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
  width: 20px;
}

.nav-menu.open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
  width: 20px;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--black);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.6s var(--ease-out),
    opacity 0.6s;
  pointer-events: none;
  overflow: hidden;
}

[data-theme="dark"] .nav-mobile {
  background: rgba(10, 10, 10, 0.95);
}

[data-theme="light"] .nav-mobile {
  background: rgba(238, 243, 250, 0.95);
}

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

.nav-mobile-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1rem) clamp(1rem, 5vw, 2rem) 1.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.nav-mobile-links a {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 8vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s var(--ease-out);
}

.nav-mobile-links a::before {
  content: attr(data-num);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--lime-text);
  opacity: 0.6;
  margin-bottom: 0.1rem;
}

.nav-mobile-links a span {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.6s var(--ease-out),
    opacity 0.6s;
}

.nav-mobile.open .nav-mobile-links a span {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger indices pour le CSS pur (fallback GSAP) */
.nav-mobile.open .nav-mobile-links a:nth-child(1) span {
  transition-delay: 0.1s;
}
.nav-mobile.open .nav-mobile-links a:nth-child(2) span {
  transition-delay: 0.15s;
}
.nav-mobile.open .nav-mobile-links a:nth-child(3) span {
  transition-delay: 0.2s;
}
.nav-mobile.open .nav-mobile-links a:nth-child(4) span {
  transition-delay: 0.25s;
}
.nav-mobile.open .nav-mobile-links a:nth-child(5) span {
  transition-delay: 0.3s;
}
.nav-mobile.open .nav-mobile-links a:nth-child(6) span {
  transition-delay: 0.35s;
}

.nav-mobile-links a:hover {
  color: var(--lime-text);
  transform: scale(1.1);
}

.nav-mobile-footer {
  border-top: 1px solid var(--gray-mid);
  padding-top: 1.25rem;
  width: 100%;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s var(--ease-out) 0.4s;
}

.nav-mobile.open .nav-mobile-footer {
  transform: translateY(0);
  opacity: 1;
}

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

.nav-mobile-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.nav-mobile-socials a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition:
    color 0.3s,
    transform 0.3s;
}

.nav-mobile-socials a:hover {
  color: var(--lime);
  transform: translateY(-3px);
}

.nav-mobile[hidden] {
  display: flex;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: var(--header-h);
  color: var(--hero-text);
  background-color: var(--hero-bg);
  background-image: var(--grid-pattern);
  background-size: var(--grid-size);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100dvh - var(--header-h));
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-muted);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.85;
  margin-bottom: 1.25rem;
}

.hero-title-line {
  display: block;
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title-line--accent {
  color: var(--lime-text);
  margin-left: clamp(0.35rem, 3vw, 1.75rem);
}

.hero-sub {
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  line-height: 1.65;
  color: var(--hero-muted);
  max-width: 26rem;
  margin-bottom: 1.75rem;
}

.hero-sub strong {
  color: var(--hero-text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-btn {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

.hero-btn--lime {
  background: var(--lime);
  color: var(--on-lime);
}

.hero-btn--lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 245, 66, 0.35);
}

.hero-btn--ghost {
  border: 1px solid var(--hero-line);
  color: var(--hero-text);
}

.hero-btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero-stack {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hero-line);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
  line-height: 1.8;
  max-width: 26rem;
}

.hero-dot {
  color: var(--lime-text);
  margin: 0 0.35em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem clamp(1rem, 3vw, 2rem) 0;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(90%, 380px);
  height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center bottom,
    rgba(200, 245, 66, 0.2) 0%,
    rgba(200, 245, 66, 0.04) 45%,
    transparent 72%
  );
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(100%, 480px);
  max-height: min(75vh, 640px);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 40px var(--photo-shadow));
}

.hero-arrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hero-muted);
  transition: color 0.25s, transform 0.25s;
}

.hero-arrow-label {
  display: block;
}

.hero-arrow i {
  font-size: 0.8rem;
  animation: heroArrowBounce 2.2s ease-in-out infinite;
}

@keyframes heroArrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.hero-arrow:hover {
  color: var(--lime-text);
}

.hero-arrow:hover i {
  animation-play-state: paused;
}

@media (min-width: 900px) {
  .hero-arrow {
    position: absolute;
    bottom: 2rem;
    left: 25%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .hero-arrow:hover {
    transform: translateX(-50%) translateY(3px);
  }

  .hero-visual {
    padding-bottom: 2rem;
    border-left: 1px solid var(--hero-line);
  }

  .hero-photo {
    max-height: calc(100dvh - var(--header-h) - 2rem);
  }
}

@media (max-width: 899px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-copy {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .hero-title-line {
    font-size: clamp(2.85rem, 13vw, 4.25rem);
  }

  .hero-title-line--accent {
    margin-left: 0.35rem;
  }

  .hero-sub {
    max-width: none;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .hero-stack {
    max-width: none;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .hero-visual {
    padding: 0.5rem 1rem 0;
    min-height: 34vh;
  }

  .hero-visual::before {
    width: 100%;
    height: 70%;
  }

  .hero-photo {
    max-width: min(78vw, 320px);
    max-height: min(50vh, 400px);
    margin: 0 auto;
  }

  .hero-arrow {
    align-self: center;
    padding: 1.25rem 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-arrow i {
    animation: none;
  }
}
/* ===== À Propos (About) ===== */
.about-section {
  padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .about-visual {
    margin: 0;
  }
}

.about-photo-wrap {
  position: relative;
  z-index: 2;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  background: var(--gray);
  box-shadow: 0 20px 40px var(--photo-shadow);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-visual:hover .about-photo {
  transform: scale(1.05);
}

.about-deco-box {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--lime);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out);
}

.about-visual:hover .about-deco-box {
  transform: translate(-10px, 10px);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-eyebrow {
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.about-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

[data-theme="dark"] .about-desc {
  color: #c8d2df;
}

.about-desc strong {
  color: var(--text);
  font-weight: 600;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  flex: 1 1 120px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 10px 20px var(--card-shadow);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--lime-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===== Mon Process (Methodology) ===== */
.process-section {
  padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.process-header {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.process-eyebrow {
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
}

.process-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  transition: all 0.45s var(--ease-out);
  overflow: hidden;
}

.process-num {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 5.5rem);
  color: rgba(200, 245, 66, 0.04);
  position: absolute;
  top: 0.75rem;
  right: 1.5rem;
  line-height: 1;
  pointer-events: none;
  transition: all 0.4s var(--ease-out);
}

[data-theme="light"] .process-num {
  color: rgba(61, 122, 10, 0.04);
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--lime);
  box-shadow: 
    0 20px 40px var(--card-shadow),
    0 0 20px var(--lime-glow);
}

.process-card:hover .process-num {
  color: rgba(200, 245, 66, 0.15);
  transform: translateY(-5px) scale(1.05);
}

[data-theme="light"] .process-card:hover .process-num {
  color: rgba(61, 122, 10, 0.1);
}

.process-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.process-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .process-card-desc {
  color: #ccd5e0;
}

/* ===== Services ===== */
.services {
  padding: clamp(3rem, 10vh, 8rem) 0;
}

.services .container-xxl {
  max-width: 1560px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.services-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.services-eyebrow {
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 600px) {
  .services-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.service-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: clamp(16px, 3vw, 24px);
  backdrop-filter: blur(16px);
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
}


.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover {
  border-color: var(--lime);
  box-shadow: 0 20px 40px var(--card-shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: clamp(48px, 12vw, 60px);
  height: clamp(48px, 12vw, 60px);
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: clamp(12px, 2vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--lime-text);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  transition: all 0.5s var(--ease-out);
  box-shadow: 0 8px 16px var(--card-shadow);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background: var(--lime);
  color: var(--on-lime);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(200, 245, 66, 0.4);
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.05;
  word-wrap: break-word;
}

.service-desc {
  font-size: clamp(0.88rem, 2.2vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
}

[data-theme="dark"] .service-desc {
  color: #d1d1d1;
}

.service-desc strong {
  color: var(--text);
}

.service-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--gray-mid);
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0;
}

.service-list li {
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.65rem;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: 99px;
  color: var(--text-muted);
  transition: all 0.3s;
  white-space: nowrap;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 599px) {
  .services-title {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .service-card {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    margin-bottom: 0.85rem;
    border-radius: 10px;
  }

  .service-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .service-desc {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-list {
    gap: 0.35rem;
    padding-top: 0.75rem;
  }

  .service-list li {
    font-size: 0.58rem;
    padding: 0.28rem 0.45rem;
    white-space: normal;
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
  }
}

.service-card:hover .service-list li {
  border-color: rgba(200, 245, 66, 0.3);
  color: var(--text);
}

/* ===== Stack Section (Derrière mon Code) ===== */
.stack-section {
  padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.stack-header {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.stack-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  flex: 0 1 115px;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.stack-icon-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
  position: relative;
}

.stack-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.stack-item:hover {
  transform: translateY(-8px);
}

.stack-item:hover .stack-name {
  color: var(--text);
}

/* HTML5 */
.stack-item.html5 .stack-icon-circle {
  background: rgba(227, 79, 38, 0.06);
  color: #e34f26;
  border-color: rgba(227, 79, 38, 0.12);
}
.stack-item.html5:hover .stack-icon-circle {
  background: rgba(227, 79, 38, 0.12);
  border-color: #e34f26;
  box-shadow: 
    0 12px 24px rgba(227, 79, 38, 0.15),
    0 0 15px rgba(227, 79, 38, 0.2);
}

/* CSS3 */
.stack-item.css3 .stack-icon-circle {
  background: rgba(21, 114, 182, 0.06);
  color: #1572b6;
  border-color: rgba(21, 114, 182, 0.12);
}
.stack-item.css3:hover .stack-icon-circle {
  background: rgba(21, 114, 182, 0.12);
  border-color: #1572b6;
  box-shadow: 
    0 12px 24px rgba(21, 114, 182, 0.15),
    0 0 15px rgba(21, 114, 182, 0.2);
}

/* JavaScript */
.stack-item.javascript .stack-icon-circle {
  background: rgba(247, 223, 30, 0.06);
  color: #e8c61c; /* Slightly darkened yellow for better visual contrast */
  border-color: rgba(247, 223, 30, 0.12);
}
.stack-item.javascript:hover .stack-icon-circle {
  background: rgba(247, 223, 30, 0.12);
  border-color: #e8c61c;
  box-shadow: 
    0 12px 24px rgba(247, 223, 30, 0.15),
    0 0 15px rgba(247, 223, 30, 0.2);
}

/* Vue.js */
.stack-item.vuejs .stack-icon-circle {
  background: rgba(79, 192, 141, 0.06);
  color: #42b983;
  border-color: rgba(79, 192, 141, 0.12);
}
.stack-item.vuejs:hover .stack-icon-circle {
  background: rgba(79, 192, 141, 0.12);
  border-color: #42b983;
  box-shadow: 
    0 12px 24px rgba(79, 192, 141, 0.15),
    0 0 15px rgba(79, 192, 141, 0.2);
}

/* PHP */
.stack-item.php .stack-icon-circle {
  background: rgba(119, 123, 180, 0.06);
  color: #777bb4;
  border-color: rgba(119, 123, 180, 0.12);
}
.stack-item.php:hover .stack-icon-circle {
  background: rgba(119, 123, 180, 0.12);
  border-color: #777bb4;
  box-shadow: 
    0 12px 24px rgba(119, 123, 180, 0.15),
    0 0 15px rgba(119, 123, 180, 0.2);
}

/* Laravel */
.stack-item.laravel .stack-icon-circle {
  background: rgba(255, 45, 32, 0.06);
  color: #ff2d20;
  border-color: rgba(255, 45, 32, 0.12);
}
.stack-item.laravel:hover .stack-icon-circle {
  background: rgba(255, 45, 32, 0.12);
  border-color: #ff2d20;
  box-shadow: 
    0 12px 24px rgba(255, 45, 32, 0.15),
    0 0 15px rgba(255, 45, 32, 0.2);
}

/* Bootstrap */
.stack-item.bootstrap .stack-icon-circle {
  background: rgba(121, 82, 179, 0.06);
  color: #7952b3;
  border-color: rgba(121, 82, 179, 0.12);
}
.stack-item.bootstrap:hover .stack-icon-circle {
  background: rgba(121, 82, 179, 0.12);
  border-color: #7952b3;
  box-shadow: 
    0 12px 24px rgba(121, 82, 179, 0.15),
    0 0 15px rgba(121, 82, 179, 0.2);
}

/* MySQL */
.stack-item.mysql .stack-icon-circle {
  background: rgba(68, 121, 161, 0.06);
  color: #00758f; /* Styled MySQL brand blue/teal color */
  border-color: rgba(68, 121, 161, 0.12);
}
.stack-item.mysql:hover .stack-icon-circle {
  background: rgba(68, 121, 161, 0.12);
  border-color: #00758f;
  box-shadow: 
    0 12px 24px rgba(68, 121, 161, 0.15),
    0 0 15px rgba(68, 121, 161, 0.2);
}

/* ===== Projects ===== */
.projects-section {
  padding: clamp(3rem, 10vh, 6rem) 1.5rem clamp(4rem, 12vh, 8rem);
  max-width: 1400px;
  margin: 0 auto;
}

.projects-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 0.5rem;
}

.projects-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* Filter Tabs (Bootstrap nav-pills customization) */
.projects-filter.nav-pills {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-start;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
  border-bottom: none;
}

@media (max-width: 768px) {
  .projects-filter.nav-pills {
    justify-content: center;
  }
}

.projects-filter.nav-pills .nav-item {
  margin: 0;
}

.projects-filter.nav-pills .nav-link {
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: 99px;
  padding: 0.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

.projects-filter.nav-pills .nav-link:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.projects-filter.nav-pills .nav-link.active,
.projects-filter.nav-pills .show > .nav-link {
  background: var(--lime);
  color: var(--on-lime);
  border-color: var(--lime);
  box-shadow: 0 8px 24px var(--lime-glow);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: clamp(16px, 2vw, 24px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--lime);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(200, 245, 66, 0.03);
}

.project-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray);
}

.project-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  background: rgba(10, 10, 10, 0.65);
  color: var(--lime-text);
  backdrop-filter: blur(8px);
  border: 1px solid var(--lime-glow);
  z-index: 2;
}

.project-info {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0 0 0.65rem;
  line-height: 1.1;
}

.project-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: auto;
}

.project-tech-tags span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.6rem;
  border-radius: 99px;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  color: var(--text-muted);
  transition: all 0.3s;
}

.project-card:hover .project-tech-tags span {
  border-color: var(--lime-glow);
  color: var(--text);
}

.project-actions {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  border-top: 1px solid var(--gray-mid);
  padding-top: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.3s;
  cursor: pointer;
}

.project-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: var(--text);
}

.project-link:hover i {
  transform: translateY(-2px);
}

.project-link.project-link--primary {
  color: var(--lime-text);
  margin-left: auto;
}

.project-link.project-link--primary i {
  transition: transform 0.3s var(--ease-out);
}

.project-link.project-link--primary:hover {
  color: var(--lime);
}

.project-link.project-link--primary:hover i {
  transform: translate(2px, -2px);
}

/* 2 Cards per row on mobile */
@media (max-width: 767px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  
  .project-card {
    border-radius: 12px;
  }
  
  .project-badge {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.5rem;
    padding: 0.18rem 0.45rem;
  }
  
  .project-info {
    padding: 0.75rem;
  }
  
  .project-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  
  .project-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }
  
  .project-tech-tags {
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }
  
  .project-tech-tags span {
    font-size: 0.52rem;
    padding: 0.15rem 0.4rem;
  }
  
  .project-actions {
    padding-top: 0.5rem;
    gap: 0.4rem;
  }
  
  .project-link {
    font-size: 0.58rem;
    gap: 0.2rem;
  }
  
  .project-link i {
    font-size: 0.65rem;
  }
}

/* ===== CTA Banner ===== */
.cta-banner {
  margin: 0 2rem clamp(3rem, 8vh, 6rem);
  border: 1px solid var(--gray-mid);
  background: var(--dark);
  overflow: hidden;
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cta-banner-inner {
    grid-template-columns: 1fr 1.2fr;
  }
}

.cta-photo-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  max-height: 400px;
}

@media (min-width: 768px) {
  .cta-photo-wrap {
    max-height: none;
    aspect-ratio: auto;
    min-height: 320px;
  }
}

.cta-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cta-text {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin: 0.5rem 0 1rem;
}

.cta-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.cta-btn {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: var(--lime);
  color: var(--on-lime);
  border: none;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(200, 245, 66, 0.35);
}

/* ===== Contact ===== */
.contact {
  padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 3vw, 2rem);
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.contact-header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-eyebrow {
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-title span {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0;
}

[data-theme="dark"] .contact-desc {
  color: #c8d2df;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--lime-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--lime);
  box-shadow: 
    0 12px 28px var(--card-shadow),
    0 0 20px var(--lime-glow);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--lime-text);
  transition: all 0.4s var(--ease-out);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.contact-card:hover .contact-card-icon {
  background: var(--lime);
  color: var(--on-lime);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 15px rgba(200, 245, 66, 0.4);
}

.contact-card > div {
  position: relative;
  z-index: 1;
}

.contact-card-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-card-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text);
  transition: color 0.3s;
}

.contact-card:hover .contact-card-value {
  color: var(--lime-text);
}

.contact-availability {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.15rem;
  border-radius: 99px;
  background: var(--lime-glow);
  border: 1px solid rgba(200, 245, 66, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--lime-text);
  box-shadow: 0 4px 12px rgba(200, 245, 66, 0.05);
}

[data-theme="light"] .contact-availability {
  background: rgba(61, 122, 10, 0.06);
  border-color: rgba(61, 122, 10, 0.18);
  color: #3d7a0a;
}

.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8f542;
  position: relative;
}

[data-theme="light"] .contact-dot {
  background: #3d7a0a;
}

.contact-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulseDot 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  opacity: 0.8;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out);
}

.contact-form-wrap:focus-within {
  border-color: rgba(200, 245, 66, 0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.95rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease-out);
  resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: var(--black);
  box-shadow: 0 0 0 4px var(--lime-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
  color: #99a;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--on-lime);
  border: none;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 245, 66, 0.4);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit i {
  font-size: 0.85rem;
  transition: transform 0.4s var(--ease-out);
}

.contact-submit:hover i {
  transform: translate(4px, -4px);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--black);
  border-top: 1px solid var(--gray-mid);
  padding: 5rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 245, 66, 0.2),
    transparent
  );
}

.footer-top {
  max-width: 1560px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 4rem;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.footer-logo span:last-child {
  color: var(--lime);
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease-out);
}

.footer-socials a:hover {
  background: var(--lime);
  color: var(--on-lime);
  border-color: var(--lime);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 20px rgba(200, 245, 66, 0.2);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-list a:hover {
  color: var(--lime);
}

.footer-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-made {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-made i {
  margin: 0 0.1rem;
}

.footer-made i.fa-heart {
  color: #ff4d4d;
}

.footer-made i.fa-laravel {
  color: #ff2d20;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-line {
    animation: none;
  }
  .loader-name {
    animation: none;
  }
  .hero-photo,
  .gallery-card-img,
  .project-card-img,
  .message-photo {
    transform: none !important;
  }
}

/* ===== FAQs ===== */
.faqs {
  padding: clamp(5rem, 15vh, 10rem) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Background glow for the whole section */
.faqs::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(200, 245, 66, 0.03) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.faqs-header {
  margin-bottom: clamp(4rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  z-index: 1;
}

.faqs-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--lime-text);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.faqs-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--text);
}

.accordion-flush {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.accordion-item {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-bottom: 1px solid var(--gray-mid) !important;
  margin-bottom: 0.5rem;
  border-radius: 12px !important;
  transition: all 0.4s var(--ease-out);
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  background: rgba(200, 245, 66, 0.03) !important;
  border-color: rgba(200, 245, 66, 0.1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.accordion-button {
  background: transparent !important;
  color: var(--text) !important;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  font-weight: 500;
  padding: 2rem 1.5rem;
  box-shadow: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s var(--ease-out);
}

.accordion-button::after {
  display: none; /* Remove default icon */
}

/* Custom Icon using Font Awesome (simulated via CSS or just keep it simple with a plus/minus) */
.accordion-button::before {
  content: "\f067"; /* FA Plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  color: var(--text-muted);
  order: 2;
  transition:
    transform 0.4s var(--ease-out),
    color 0.3s;
}

.accordion-button:not(.collapsed) {
  color: var(--lime) !important;
  padding-bottom: 1rem;
}

.accordion-button:not(.collapsed)::before {
  content: "\f068"; /* FA Minus */
  color: var(--lime);
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem 2.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 90%;
}

.accordion-body strong {
  color: var(--lime);
  font-weight: 600;
}

@media (max-width: 768px) {
  .accordion-button {
    padding: 1.5rem 1rem;
  }
  .accordion-body {
    padding: 0 1rem 2rem;
  }
}
