﻿:root {
  --font-base: 'Space Grotesk', 'Segoe UI', sans-serif;
  --color-bg: #ffffff;
  --color-text: #2c3e50;
  --color-muted: rgba(44, 62, 80, 0.68);
  --color-accent: #e84b3c;
  --color-accent-soft: rgba(232, 75, 60, 0.12);
  --halo-color-red: rgba(232, 75, 60, 0.32);
  --halo-color-blue: rgba(32, 48, 66, 0.36);
  --color-border: rgba(44, 62, 80, 0.12);
  --color-surface: rgba(255, 255, 255, 0.7);
  --color-surface-strong: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 24px 68px -40px rgba(44, 62, 80, 0.45);
  --shadow-strong: 0 40px 120px -50px rgba(14, 21, 31, 0.55);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: linear-gradient(160deg, rgba(44, 62, 80, 0.05), rgba(232, 75, 60, 0.05));
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.is-loaded #page-loader {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

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

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

p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.section-lede {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section.has-orb {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.section.has-orb::before,
.section.has-orb::after {
  content: '';
  position: absolute;
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  z-index: -1;
}

.section.has-orb::before {
  top: -20%;
  left: -10%;
  background: rgba(232, 75, 60, 0.45);
  animation: orbFloat 16s ease-in-out infinite;
}

.section.has-orb::after {
  bottom: -25%;
  right: -12%;
  background: rgba(44, 62, 80, 0.4);
  animation: orbFloat 20s ease-in-out infinite reverse;
}

[data-halo] {
  position: relative;
  isolation: isolate;
  --halo-x: 50%;
  --halo-y: 50%;
  --halo-color: var(--halo-color-red);
}

[data-halo].is-hovered::before {
  opacity: 1;
}

.container {
  width: min(1160px, 100% - 3rem);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
  z-index: 1002;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 20px 40px -24px rgba(232, 75, 60, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px -24px rgba(232, 75, 60, 0.55);
}

.btn-tertiary {
  border-color: rgba(44, 62, 80, 0.2);
  background: rgba(44, 62, 80, 0.06);
  color: var(--color-text);
}

.btn-tertiary:hover {
  background: rgba(44, 62, 80, 0.12);
}

.btn-link {
  padding: 0.6rem 0;
  border-radius: 0;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
}

.btn-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0.3);
  transition: transform 0.2s ease;
}

.btn-link:hover::after {
  transform: scaleX(1);
}

body.nav-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  transition: none;
}

.brand:hover,
.brand:focus-visible {
  color: inherit;
  text-shadow: none;
  transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  position: relative;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0;
  color: var(--color-muted);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--color-text);
}

.site-nav__indicator {
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #ff7352 100%);
  transform: translateX(0);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1), width 0.32s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.24s ease;
  pointer-events: none;
}

.site-nav__indicator.is-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(44, 62, 80, 0.16);
  background: rgba(255, 255, 255, 0.86);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-line {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  display: block;
}

.nav-line + .nav-line {
  margin-top: 4px;
}

.hero {
  position: relative;
  padding: clamp(6rem, 12vw, 8rem) 0 clamp(5rem, 10vw, 7rem);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  transform: translate3d(0, 0, 0);
}

.hero__orb--one {
  background: radial-gradient(circle, rgba(232, 75, 60, 0.8), rgba(232, 75, 60, 0));
  top: -120px;
  left: -80px;
  animation: float 12s ease-in-out infinite;
}

.hero__orb--two {
  background: radial-gradient(circle, rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0));
  bottom: -160px;
  right: -60px;
  animation: float 14s ease-in-out infinite reverse;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 62, 80, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(44, 62, 80, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  animation: gridGlow 16s linear infinite;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 1.2rem;
}

.hero__title .hero__accent {
  color: var(--color-accent);
}

.glitch {
  position: relative;
}



.glitch-word {
  position: relative;
  display: inline-block;
}

.glitch-word .dud {
  color: var(--color-accent);
  opacity: 0.5;
}

.hero__lede {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero__actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__preview {
  position: relative;
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.hero__reel {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
  width:600px;
}

.hero__badge {
  display: inline-flex;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero__reel-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(44, 62, 80, 0.1);
  aspect-ratio: 16 / 9;
  background: rgba(44, 62, 80, 0.1);
}

.hero__reel-frame iframe,
.hero__reel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__reel-frame iframe {
  border: none;
}

.hero__metrics {
  display: flex;
  gap: 2.5rem;
}

.hero--compact {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.hero__inner--compact {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero__inner--compact .hero__copy {
  justify-self: center;
}

.filters--sticky {
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.projects--gallery {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.metric__value {
  font-size: 2rem;
  font-weight: 600;
  display: block;
}

.metric__label {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.clients {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.clients__heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.clients__marquee {
  position: relative;
  overflow: hidden;
  display: flex;
}

.clients__track {
  display: flex;
  flex-shrink: 0;
  gap: 7rem;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  animation: marquee 75s linear infinite;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 285px;
  min-height: 88px;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 62, 80, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px -24px rgba(44, 62, 80, 0.45);
}

.client-logo img {
  height: clamp(64px, 2.4vw, 32px);
  width: auto;
  max-width: 116px;
  object-fit: contain;
}

.timeline {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.timeline__progress {
  position: absolute;
  top: clamp(2rem, 6vw, 4rem);
  left: clamp(2rem, 6vw, 3rem);
  bottom: clamp(2rem, 6vw, 4rem);
  width: 3px;
  background: rgba(44, 62, 80, 0.1);
}

.timeline__progress span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--color-accent);
  border-radius: 999px;
  transition: height 0.6s ease;
}

.timeline__steps {
  display: grid;
  gap: 2.5rem;
  margin-left: clamp(4rem, 8vw, 5rem);
}

.timeline-step {
  position: relative;
  padding-left: 2.8rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -3.9rem;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(44, 62, 80, 0.16);
  background: #fff;
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.timeline-step.is-active::before {
  transform: scale(1.2);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(232, 75, 60, 0.18);
}

.timeline-step__index {
  display: inline-flex;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.filters__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.filters__intro {
  flex: 1 1 320px;
  min-width: min(260px, 100%);
  max-width: 420px;
}

.filters__controls {
  flex: 2 1 520px;
  min-width: min(320px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}

.filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex: 1 1 360px;
  min-width: min(320px, 100%);
}

.filters__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: flex-end;
  text-align: right;
}

.filters__count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
}

.filter-chip {
  border: 1px solid rgba(44, 62, 80, 0.18);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.filter-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(232, 75, 60, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.filter-chip.is-active {
  background: var(--color-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 36px -24px rgba(232, 75, 60, 0.6);
}

.filter-chip.is-active::before {
  opacity: 0.45;
}

.project-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  height: 100%;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: -32%;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--halo-x) var(--halo-y), var(--halo-color) 0%, transparent 62%),
    radial-gradient(circle at var(--halo-x) var(--halo-y), rgba(255, 255, 255, 0.22) 0%, transparent 68%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.project-card:hover {
  transform: translateY(-12px) rotate3d(1, 1, 0, 2deg);
  box-shadow: var(--shadow-strong);
}

.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card__media {
  position: relative;
  padding-top: 00%;
  background: linear-gradient(135deg, rgba(232, 75, 60, 0.12), rgba(44, 62, 80, 0.12));
  overflow: hidden;
}

.project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.project-card__content {
  padding: 1.8rem 1.9rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.project-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-self: flex-start;
}

.project-card__badge {
  align-self: flex-start;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card__title {
  font-size: 1.25rem;
  margin: 0;
}

.project-card__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.project-card__footer {
  margin-top: auto;
  font-weight: 600;
  color: var(--color-accent);
}

.project-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}


.project-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(44, 62, 80, 0.2);
}

.plan {
  background: rgba(44, 62, 80, 0.04);
}

.plan__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.plan__card {
  --parallax-x: 0;
  --parallax-y: 0;
  --parallax-r: 0;
  --balatro-primary: rgba(232, 75, 60, 0.42);
  --balatro-secondary: rgba(94, 123, 255, 0.32);
  --balatro-shine: rgba(255, 255, 255, 0.5);
  position: relative;
  background: #111b27;
  color: #f5f9ff;
  border-radius: var(--radius-xl);
  padding: clamp(2.6rem, 5vw, 3.4rem);
  box-shadow: 0 40px 80px -36px rgba(10, 10, 15, 0.65);
  display: grid;
  gap: 1.8rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(calc(var(--parallax-y) * 10deg)) rotateY(calc(var(--parallax-x) * -10deg));
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.plan__card::before,
.plan__card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plan__card::before {
  background:
    radial-gradient(circle at calc(50% + var(--parallax-x) * 40%) calc(35% + var(--parallax-y) * 35%), var(--balatro-primary) 0%, transparent 65%),
    radial-gradient(circle at calc(80% + var(--parallax-x) * 20%) calc(70% + var(--parallax-y) * 25%), var(--balatro-secondary) 0%, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.75;
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

.plan__card::after {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.2) 0 2px, transparent 3px),
    conic-gradient(from 20deg, rgba(255, 255, 255, 0.08), rgba(232, 75, 60, 0.26), rgba(32, 48, 66, 0.22), rgba(255, 255, 255, 0.08));
  background-size: 40px 40px, 120% 120%;
  background-position: 0 0, center;
  mix-blend-mode: screen;
  opacity: 0;
  filter: blur(0.4px);
  transform: scale(0.95) rotate(-1deg);
  animation: particleDrift 14s linear infinite;
  animation-play-state: paused;
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.plan__card:hover::before {
  opacity: 1;
  transform: scale(1.05);
}

.plan__card:hover::after {
  opacity: 0.42;
  transform: scale(1.08) rotate(1.5deg);
  filter: blur(0.6px);
  animation-play-state: running;
}

.plan__card:hover {
  box-shadow: 0 50px 120px -48px rgba(10, 10, 15, 0.7);
}

.plan__card.is-active {
  box-shadow: 0 60px 140px -52px rgba(10, 10, 15, 0.78);
}

.plan__card.is-active::before {
  filter: saturate(1.25);
  transform: scale(1.08);
}

.plan__card.is-active::after {
  opacity: 0.35;
  transform: scale(1.06) rotate(1.2deg);
  filter: blur(0.6px);
  animation-play-state: running;
}

.plan__card h2 {
  color: #f5f9ff;
}

.plan__card p {
  color: rgba(245, 249, 255, 0.78);
}

.plan__shine {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at calc(50% + var(--parallax-x) * 45%) calc(50% + var(--parallax-y) * 35%), var(--balatro-shine) 0%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.plan__card.is-active .plan__shine {
  opacity: 0.65;
}

.plan__tag {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
}

.plan__price {
  display: flex;
  flex-direction: column;
}

.plan__amount {
  font-size: 2.4rem;
  font-weight: 600;
}

.plan__caption {
  color: rgba(245, 249, 255, 0.72);
  font-size: 0.95rem;
}

.plan__features {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 3.2rem);
  border: 1px solid rgba(44, 62, 80, 0.08);
  display: grid;
  gap: 1.6rem;
}

.plan__features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.plan__features li::before {
  content: '•';
  color: var(--color-accent);
  margin-right: 0.6rem;
}

.plan__note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.expertises__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expertise-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
  
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: -32%;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--halo-x) var(--halo-y), var(--halo-color) 0%, transparent 65%),
    radial-gradient(circle at calc(var(--halo-x) - 10%) calc(var(--halo-y) + 5%), rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
}

.expertise-card__icon {
  width: 100%;
  height: 38%;
  margin-bottom: 1.2rem;
  margin-inline: auto; /* <--- centré */
  margin-left: 0px;
  filter: drop-shadow(0 18px 22px -18px rgba(44, 62, 80, 0.8));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.expertise-card__icon > * {
  width: 100%;
  height: 100%;
}

/*animation lottie*/
.expertise-card__icon svg {
  height:100%;
}


.gallery__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.testimonials {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}

.testimonials__carousel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.testimonials__carousel::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle, rgba(232, 75, 60, 0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
}

.carousel__control {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(44, 62, 80, 0.15);
  background: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px -20px rgba(44, 62, 80, 0.6);
  pointer-events: auto;
}

.carousel__control svg {
  width: 20px;                /* optionnel, mais propre */
  height: 20px;
}

.carousel__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: min(360px, 80vw);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(44, 62, 80, 0.08);
  box-shadow: 0 20px 48px -36px rgba(44, 62, 80, 0.4);
  display: grid;
  gap: 1rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: rgba(0,0,0,0.75);
  letter-spacing: -0.005em;
  quotes: "“" "”" "‘" "’";
}

.testimonial-card blockquote::before {
  content: open-quote;
  color: rgba(0,0,0,0.25);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: .1em;
}

.testimonial-card blockquote::after {
  content: close-quote;
  color: rgba(0,0,0,0.25);
}


.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #2c3e50, #1a2533);
}

.contact__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact__copy .section-lede {
  color: rgba(255, 255, 255, 0.8);
}

.contact__details {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.contact__details a {
  color: rgba(255, 255, 255, 0.92);
}

.contact__form {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact__form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-family: inherit;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
}

.about__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.about__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 62, 80, 0.12);
}

.site-footer {
  background: #0f1724;
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 2.4rem;
}

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

.footer-block h3 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-block a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-block p {
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom {
  margin-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.712);
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #0f1724;
  color: #fff;
  display: grid;
  place-content: center;
  gap: 1.2rem;
  z-index: 1500;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.loader {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.loader__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: bounce 0.8s ease-in-out infinite;
}

.loader__dot:nth-child(2) {
  animation-delay: 0.12s;
}

.loader__dot:nth-child(3) {
  animation-delay: 0.24s;
}

.loader__label {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 1200;
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin-left: -15px;
  margin-top: -15px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1080px) {
  .hero__inner,
  .plan__inner,
  .contact__inner,
  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__preview {
    order: -1;
  }

  .hero__actions,
  .hero__metrics {
    justify-content: center;
  }

  .timeline__progress {
    display: none;
  }

  .timeline-step {
    padding-left: 0;
  }

  .timeline-step::before {
    left: -2px;
  }

  .filters__inner {
    align-items: flex-start;
  }
}

@media (max-width: 920px) {
  .project-grid,
  .expertises__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(var(--header-height) - 0.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(44, 62, 80, 0.12);
    box-shadow: var(--shadow-soft);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .site-nav__indicator {
    display: none;
  }

  .site-nav[data-open="false"] {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 2rem, 640px);
  }

  .project-grid,
  .expertises__grid {
    grid-template-columns: 1fr;
  }

  .clients__track {
    gap: 8rem;
  }

  .filters__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .filters__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filters__actions {
    margin-left: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .gallery__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonials__carousel {
    padding: 1.8rem;
  }

  .carousel__controls {
    position: static;
    margin-top: 0.5rem;
    justify-content: center;
    gap: 1.25rem;
    pointer-events: auto;
  }

  .carousel__control {
    width: 48px;
    height: 48px;
  }

  .carousel__track {
    gap: 1rem;
  }
}

.project-card.is-hidden {
  display: none;
}

.project-detail__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.project-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-detail__back:hover {
  color: var(--color-accent);
}

.project-detail__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(232, 75, 60, 0.12);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.project-detail__title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.project-detail__client {
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.project-detail__overview {
  background: transparent;
}

.project-detail__layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 960px) {
  .project-detail__layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }
}

.project-detail__media-card {
  background: var(--color-surface-strong);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.project-detail__media-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  aspect-ratio: 16 / 9;
  background: rgba(44, 62, 80, 0.08);
}

.project-detail__media-frame iframe,
.project-detail__media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.project-detail__sidebar {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-sidebar__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-sidebar__section + .project-sidebar__section {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.project-sidebar__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.project-sidebar__logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(44, 62, 80, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.project-sidebar__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-sidebar__identity {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-sidebar__name {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.project-sidebar__domain {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.project-sidebar__description {
  margin: 0;
  color: var(--color-muted);
}

.project-sidebar__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-sidebar__tags li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.08);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
}

.project-sidebar__content :where(h2, h3) {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text);
}

.project-sidebar__content :where(p, ul, ol) {
  margin: 0;
  color: var(--color-muted);
}

.project-sidebar__content :where(ul, ol) {
  padding-left: 1.2rem;
}

.project-sidebar__content :where(li) {
  margin-bottom: 0.5rem;
}

.project-detail__cta {
  background: linear-gradient(135deg, rgba(232, 75, 60, 0.12), rgba(44, 62, 80, 0.12));
}

.project-detail__cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.project-detail__cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.project-detail__actions {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.legal {
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.legal a {
  color: var(--color-accent);
  font-weight: 600;
}

.legal__footer {
  margin-top: 2.5rem;
  font-style: italic;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .clients__track,
  .hero__grid {
    animation: none;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes float {
  50% {
    transform: translate3d(0, -30px, 0) scale(1.05);
  }
}

@keyframes gridGlow {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes orbFloat {
  50% {
    transform: translate3d(0, -20px, 0) scale(1.05);
    opacity: 0.22;
  }
}

@keyframes particleDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-40px, -20px, 0);
  }
}


/* === Nouveau layout pour page projet === */

/* === Nouveau layout pour page projet — version compacte === */

.project-detail__hero {
  padding-bottom: clamp(2rem, 4vw, 3rem); /* ↓ moins d’espace sous le résumé */
}

.project-detail__overview {
  padding-top: 0; /* pas d’espace supplémentaire avant la section principale */
}

.project-detail__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch; /* 🔥 aligne les deux blocs sur la même hauteur */
}

.project-detail__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* répartit le contenu uniformément */
  gap: 1rem;
  background: var(--color-surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.4rem;
}

.project-detail__client-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  background: rgba(44, 62, 80, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.project-detail__client-logo img {
  width: 75%;
  height: auto;
  object-fit: contain;
}

.project-detail__domain {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.project-detail__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-detail__tags li {
  background: rgba(44, 62, 80, 0.08);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.project-detail__media {
  background: var(--color-surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.project-detail__media iframe,
.project-detail__media img {
  width: 100%;
  height: 100%; /* 🔥 prend toute la hauteur de la colonne */
  object-fit: cover;
  border: none;
}

.project-detail__content {
  margin-top: 2.4rem; /* ↓ espacement réduit */
}

.project-detail__markdown {
  background: var(--color-surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-muted);
}

.project-detail__markdown :where(h2, h3) {
  color: var(--color-text);
  margin-top: 1.2rem;
}

@media (max-width: 920px) {
  .project-detail__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .project-detail__info {
    order: 2;
  }

  .project-detail__media {
    order: 1;
    aspect-ratio: 16 / 9;
  }
}

.contact__card {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 32px 80px rgba(10, 12, 25, 0.45);
  display: grid;
  gap: 1.6rem;
  color: #0c1626;
  overflow: hidden;
}

.contact__card > *:not(.contact__particles) {
  position: relative;
  z-index: 1;
}

.contact__particles {
  position: absolute;
  inset: -15% -30% -40%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact__card:hover .contact__particles,
.contact__card:focus-within .contact__particles {
  opacity: 1;
}

.contact__particles span {
  position: absolute;
  bottom: -20%;
  width: 0.4rem;
  height: 0.4rem;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.85) 0%, rgba(82, 160, 255, 0.4) 45%, transparent 75%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(82, 160, 255, 0.45);
  mix-blend-mode: screen;
  filter: blur(0.2px);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.6);
  animation: contact-particle-float var(--particle-duration, 4s) linear infinite;
  animation-play-state: paused;
}

.contact__card:hover .contact__particles span,
.contact__card:focus-within .contact__particles span {
  animation-play-state: running;
}

.contact__particles span:nth-child(1) {
  left: 12%;
  width: 0.35rem;
  height: 0.35rem;
  --particle-duration: 3.8s;
  --particle-drift: -16px;
  animation-delay: 0s;
}

.contact__particles span:nth-child(2) {
  left: 32%;
  width: 0.5rem;
  height: 0.5rem;
  --particle-duration: 4.4s;
  --particle-drift: 20px;
  animation-delay: 0.2s;
}

.contact__particles span:nth-child(3) {
  left: 52%;
  width: 0.42rem;
  height: 0.42rem;
  --particle-duration: 3.6s;
  --particle-drift: -8px;
  animation-delay: 0.35s;
}

.contact__particles span:nth-child(4) {
  left: 68%;
  width: 0.3rem;
  height: 0.3rem;
  --particle-duration: 4.2s;
  --particle-drift: 14px;
  animation-delay: 0.1s;
}

.contact__particles span:nth-child(5) {
  left: 82%;
  width: 0.38rem;
  height: 0.38rem;
  --particle-duration: 3.9s;
  --particle-drift: -12px;
  animation-delay: 0.25s;
}

.contact__particles span:nth-child(6) {
  left: 24%;
  width: 0.28rem;
  height: 0.28rem;
  --particle-duration: 3.4s;
  --particle-drift: 10px;
  animation-delay: 0.15s;
}

.contact__particles span:nth-child(7) {
  left: 74%;
  width: 0.46rem;
  height: 0.46rem;
  --particle-duration: 5s;
  --particle-drift: -18px;
  animation-delay: 0.4s;
}

.contact__particles span:nth-child(8) {
  left: 6%;
  width: 0.32rem;
  height: 0.32rem;
  --particle-duration: 3.2s;
  --particle-drift: 22px;
  animation-delay: 0.2s;
}

.contact__particles span:nth-child(9) {
  left: 44%;
  width: 0.54rem;
  height: 0.54rem;
  --particle-duration: 4.8s;
  --particle-drift: -20px;
  animation-delay: 0.45s;
}

.contact__particles span:nth-child(10) {
  left: 88%;
  width: 0.36rem;
  height: 0.36rem;
  --particle-duration: 3.5s;
  --particle-drift: 16px;
  animation-delay: 0.5s;
}

@keyframes contact-particle-float {
  0% {
    transform: translate3d(0, 30%, 0) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  60% {
    opacity: 0.3;
  }
  100% {
    transform: translate3d(var(--particle-drift, 0px), -180%, 0) scale(1);
    opacity: 0;
  }
}

.contact__card .section-title,
.contact__card .section-lede,
.contact__card a,
.contact__card span {
  color: #f1f1f1;
}

.contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(12, 22, 38, 0.12);
  color: #ffffff;
}

.contact__channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact__channels span:first-child {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact__channels a,
.contact__channels span:last-child {
  font-size: 1.1rem;
  color: #ffffff;
}

.contact__channels a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact__form {
  background: rgba(12, 22, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.contact__form fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.contact__form legend {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact__form .form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact__form input,
.contact__form textarea,
.contact__form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  appearance: none;
}

.contact__form select option {
  color: #0c1626;                 /* texte dans la liste déroulante */
  background: #fff;               /* fond des options */
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
}

.contact__form button {
  justify-self: flex-start;
}

@media (max-width: 62rem) {
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__form .form-row {
    grid-template-columns: 1fr;
  }

  .contact__form button {
    justify-self: stretch;
  }
}


/* ===========================
   POPUP COOKIE (BOTTOM LEFT)
   =========================== */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 320px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  display: none; /* affiché via JS */
  flex-direction: column;
  gap: 1rem;
  z-index: 99999;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  animation: cookiePopup 0.25s ease-out;
}

@keyframes cookiePopup {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-banner p {
  margin: 0;
  color: #2c3e50;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.cookie-actions button {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: var(--font-base);
}

/* Bouton Accepter — noir, premium */
#cookie-accept {
  background: #000;
  color: #fff;
}
#cookie-accept:hover {
  background: #111;
}

/* Bouton Refuser — gris clair */
#cookie-reject {
  background: #e9e9e9;
  color: #333;
}
#cookie-reject:hover {
  background: #dcdcdc;
}

