:root {
  --background: 217 33% 8%;
  --foreground: 210 20% 98%;
  --card: 217 30% 11%;
  --card-soft: 217 28% 14%;
  --muted: 217 20% 16%;
  --muted-foreground: 215 12% 65%;
  --primary: 207 61% 40%; /* bleu du logo #286EA6 */
  --primary-foreground: 217 33% 8%;
  --accent: 207 61% 40%; /* bleu du logo #286EA6 */
  --border: 217 22% 20%;
  --whatsapp: #00ec7e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  letter-spacing: -0.018em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 12%, hsl(var(--primary) / 0.13), transparent 28rem),
    radial-gradient(circle at 78% 18%, hsl(var(--accent) / 0.12), transparent 26rem),
    linear-gradient(180deg, hsl(var(--background)), #101824 54%, hsl(var(--background)));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid hsl(var(--border) / 0.75);
  background: hsl(var(--background) / 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand::before {
  content: "";
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: url("concept-art-logo.png") center / 165% auto no-repeat;
  box-shadow: 0 8px 22px rgba(37, 111, 170, .25);
}

.brand span {
  color: hsl(var(--primary));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: hsl(var(--muted-foreground));
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: hsl(var(--primary));
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 22px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 12px 24px hsl(var(--primary) / 0.16);
}

.btn-primary:hover {
  background: hsl(var(--accent));
  box-shadow: 0 18px 34px hsl(var(--primary) / 0.24);
}

.btn-outline {
  border-color: hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.08);
}

.hero,
.page-hero {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 72px;
  text-align: center;
}

.hero-cinematic {
  width: min(1440px, calc(100% - 24px));
  min-height: calc(100vh - 92px);
  margin-top: 12px;
  padding: clamp(100px, 15vh, 170px) clamp(24px, 7vw, 100px) 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid hsl(var(--primary) / .28);
  border-radius: 28px;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.hero-cinematic::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -3;
  background: url("concept-art-hero-cinematic.png") center / cover no-repeat;
  animation: cinematic-camera 16s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 36%, hsl(var(--primary) / .2), transparent 28%),
    linear-gradient(90deg, rgba(3,8,16,.92) 0%, rgba(3,8,16,.78) 46%, rgba(3,8,16,.18) 76%, rgba(3,8,16,.4) 100%);
  animation: cinematic-light 7s ease-in-out infinite alternate;
}

.hero-cinematic .marquee { display: none; }
.hero-cinematic h1 { margin: 0 0 26px; max-width: 820px; text-align: left; text-wrap: balance; }
.hero-cinematic h1 > span { display: block; }
.hero-cinematic .lead { margin: 0 0 34px; max-width: 690px; text-align: left; color: rgba(255,255,255,.76); }
.hero-cinematic .actions, .hero-cinematic .trust-row { justify-content: flex-start; }
.hero-cinematic .trust-row { margin-top: 52px; }

.about-showreel {
  position: relative;
  width: min(1080px, 100%);
  margin: 58px auto 0;
  overflow: hidden;
  border: 1px solid hsl(var(--primary) / .3);
  border-radius: 22px;
  background: #050a10;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.about-showreel-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 12px;
  animation: about-reel 30s linear infinite;
}

.about-showreel:hover .about-showreel-track { animation-play-state: paused; }

.about-showreel figure {
  position: relative;
  width: clamp(220px, 27vw, 340px);
  height: 205px;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, transparent 45%, rgba(234, 227, 227, 0.88)), var(--reel-image) center / cover no-repeat;
  transition: transform .45s ease, filter .45s ease;
}

.about-showreel figure:hover { transform: scale(.975); filter: saturate(1.18); }
.about-showreel figcaption { position: absolute; left: 18px; bottom: 15px; color: #fff; font-size: .78rem; font-weight: 700; }

.contact-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 430px;
  margin-top: 22px;
  padding: 90px 32px;
  display: grid;
  place-content: center;
  overflow: hidden;
  border: 1px solid hsl(var(--primary) / .36);
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 28%, hsl(var(--primary) / .3), transparent 30%),
    radial-gradient(circle at 86% 76%, hsl(var(--primary) / .2), transparent 28%),
    linear-gradient(135deg, #07101b, #0a1726 55%, #08101a);
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
  isolation: isolate;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -1;
  background: repeating-linear-gradient(115deg, transparent 0 70px, hsl(var(--primary) / .08) 72px 73px);
  animation: contact-lines 18s linear infinite;
}

.contact-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 8%;
  top: 12%;
  z-index: -1;
  border: 1px solid hsl(var(--primary) / .28);
  border-radius: 44% 56% 58% 42%;
  animation: contact-orbit 9s ease-in-out infinite alternate;
}

.contact-hero h1 { margin-bottom: 20px; }
.contact-hero .lead { margin-bottom: 0; }

@keyframes contact-lines { to { transform: translate3d(120px, 80px, 0); } }
@keyframes contact-orbit { to { transform: translate(-70px, 80px) rotate(55deg) scale(1.16); } }

@keyframes about-reel {
  to { transform: translateX(calc(-50% - 6px)); }
}

@keyframes cinematic-camera {
  0% { transform: scale(1.03) translate3d(-1%, 0, 0); }
  100% { transform: scale(1.1) translate3d(2%, -1.5%, 0); }
}

@keyframes cinematic-light {
  from { opacity: .86; filter: saturate(.9); }
  to { opacity: 1; filter: saturate(1.18); }
}

.marquee {
  position: absolute;
  left: 50%;
  top: 16px;
  z-index: -1;
  display: flex;
  width: 180vw;
  transform: translateX(-50%);
  overflow: hidden;
  color: hsl(var(--foreground));
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.98;
  pointer-events: none;
}

.marquee-track {
  display: inline-flex;
  gap: 48px;
  min-width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span:nth-child(even) {
  color: hsl(var(--primary));
}

.eyebrow {
  margin: 0 0 16px;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin: 0 auto 24px;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-weight: 800;
  line-height: 0.98;
}

h1 .accent,
h2 .accent {
  color: hsl(var(--primary));
}

.lead {
  max-width: 760px;
  margin: 0 auto 34px;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin-top: 62px;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-row i {
  color: hsl(var(--primary));
  font-style: normal;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section.alt {
  background: hsl(var(--card) / 0.3);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  min-height: 100%;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card) / 0.82);
  padding: 26px;
  box-shadow: 0 18px 42px rgba(9, 12, 17, 0.2);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), border-color 0.25s ease, background 0.25s ease, box-shadow .45s ease;
}

.card:hover {
  transform: translateY(-9px) scale(1.012);
  border-color: hsl(var(--primary) / 0.58);
  background: hsl(var(--card-soft) / 0.95);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), hsl(var(--primary) / .13), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.card { position: relative; }
.card:hover::after { opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(42px) scale(.985);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
}

.portfolio-card h3, .portfolio-card .tag { position: relative; z-index: 1; }

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.card p,
.card li {
  color: hsl(var(--muted-foreground));
  line-height: 1.68;
}

.service-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-list li {
  padding-left: 18px;
  border-left: 2px solid hsl(var(--primary));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.pill {
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  padding: 10px 22px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.pill:hover,
.pill.active {
  border-color: transparent;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 22px hsl(var(--primary) / 0.18);
}

.portfolio-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(135deg, hsl(var(--primary) / 0.2), transparent 52%),
    hsl(var(--card));
}

.portfolio-card.has-image { padding: 0; isolation: isolate; }
.portfolio-card.has-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  padding: 12px;
  background: #080d12;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.portfolio-card.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 10, 15, .96) 100%);
}
.portfolio-card.has-image:hover img { transform: scale(1.045); filter: saturate(1.08); }
.portfolio-card-content { position: relative; z-index: 2; padding: 24px; }
.portfolio-card-content h3 { margin: 12px 0 0; }
.portfolio-card-link { position: absolute; inset: 0; z-index: 3; }

.web-showcase {
  min-height: 420px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, hsl(var(--card-soft)), hsl(var(--background)));
}
.browser-mockup {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: #f5f7fb;
  color: #111827;
  transform: perspective(900px) rotateX(2deg);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.web-showcase:hover .browser-mockup { transform: perspective(900px) rotateX(0) translateY(-4px); }
.browser-bar { height: 28px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d1d5db; }
.browser-body { padding: 18px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; font-size: 7px; font-weight: 700; }
.mock-logo { color: hsl(var(--primary)); font-size: 11px; }
.mock-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; align-items: center; min-height: 150px; }
.mock-copy h4 { margin: 0 0 8px; font-size: 20px; line-height: 1.05; }
.mock-copy p { margin: 0 0 12px; color: #64748b; font-size: 7px; line-height: 1.5; }
.mock-button { display: inline-block; border-radius: 999px; padding: 6px 10px; background: hsl(var(--primary)); color: #fff; font-size: 6px; font-weight: 700; }
.mock-visual { position: relative; height: 115px; border-radius: 18px 18px 36px 18px; background: linear-gradient(135deg, hsl(var(--primary)), #8dc9f2); animation: mock-float 3.4s ease-in-out infinite; }
.mock-visual::before, .mock-visual::after { content: ""; position: absolute; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(15,23,42,.16); }
.mock-visual::before { width: 48px; height: 66px; left: 14px; top: 22px; }
.mock-visual::after { width: 58px; height: 40px; right: 12px; top: 38px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mock-stats span { height: 42px; border-radius: 9px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.shop .mock-visual { background: linear-gradient(135deg, #ff805d, #ffcf70); border-radius: 50% 50% 18px 50%; }
.dashboard .browser-body { display: grid; grid-template-columns: 45px 1fr; gap: 10px; }
.mock-sidebar { border-radius: 9px; background: #111827; min-height: 235px; }
.mock-chart { height: 92px; border-radius: 10px; background: linear-gradient(180deg, hsl(var(--primary) / .28), transparent), repeating-linear-gradient(90deg, #fff 0 22px, #eef2f7 23px); position: relative; overflow: hidden; }
.mock-chart::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 18px; height: 3px; background: hsl(var(--primary)); transform: skewY(-12deg); animation: chart-pulse 2.4s ease-in-out infinite; }
.web-showcase-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.web-showcase-meta h3 { margin: 0; font-size: 1rem; }
@keyframes mock-float { 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes chart-pulse { 50% { transform: skewY(10deg) scaleX(.92); } }

.tag {
  align-self: flex-start;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  padding: 7px 13px;
  font-size: 0.78rem;
  font-weight: 800;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  color: hsl(var(--primary) / 0.24);
  font-size: 3rem;
  font-weight: 800;
  position: absolute;
  right: 22px;
  top: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 12px 14px;
  font: inherit;
}

.form-status { min-height: 24px; margin: 0; color: #ff9b9b; font-size: .9rem; }
.form-status.success { color: #79e6b0; }
.btn:disabled { opacity: .62; cursor: wait; transform: none; }

.admin-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 76px 0; }
.admin-login { width: min(520px, 100%); margin: 0 auto; }
.admin-login h1, .admin-heading h1 { margin-bottom: 16px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.admin-table th, .admin-table td { padding: 15px; border-bottom: 1px solid hsl(var(--border)); text-align: left; vertical-align: top; }
.admin-table th { color: hsl(var(--primary)); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.admin-table td { color: hsl(var(--muted-foreground)); font-size: .88rem; line-height: 1.55; }
.admin-table td strong, .admin-table a { color: hsl(var(--foreground)); }

.form textarea {
  min-height: 138px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

/* Animation de champs inspirée du champ de recherche SourceForge */
.form .form-floating {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  transition: transform .25s ease, filter .25s ease;
}

.form .form-floating::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)), #fff, hsl(var(--primary)), transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}

.form .form-floating::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px;
  border-radius: 15px;
  background: radial-gradient(circle at var(--field-x, 50%) 50%, hsl(var(--primary) / .24), transparent 58%);
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}

.form .form-floating:focus-within {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 22px hsl(var(--primary) / .12));
}

.form .form-floating:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.form .form-floating:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.form .form-control,
.form .form-select {
  caret-color: hsl(var(--primary));
  transition: border-color .25s ease, box-shadow .5s ease, background-color .35s ease, color .25s ease;
}

.form .form-control:focus,
.form .form-select:focus {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--background) / .96);
  box-shadow: 0 0 0 4px hsl(var(--primary) / .14), 0 10px 28px hsl(var(--primary) / .12);
}

.form .form-floating > label {
  transition: color .25s ease, letter-spacing .25s ease, opacity .25s ease, transform .25s ease;
}

.form .form-floating:focus-within > label {
  color: hsl(var(--primary));
  letter-spacing: .02em;
  opacity: 1;
}

.form .form-floating.is-typing .form-control {
  animation: field-type-pulse .32s ease-out;
}

.table .form-select {
  transition: border-color .25s ease, box-shadow .5s ease, transform .25s ease;
}

.table .form-select:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / .14);
  transform: translateY(-1px);
}

@keyframes field-type-pulse {
  0% { box-shadow: 0 0 0 4px hsl(var(--primary) / .14), 0 10px 28px hsl(var(--primary) / .12); }
  55% { box-shadow: 0 0 0 6px hsl(var(--primary) / .2), 0 14px 34px hsl(var(--primary) / .17); }
  100% { box-shadow: 0 0 0 4px hsl(var(--primary) / .14), 0 10px 28px hsl(var(--primary) / .12); }
}

@media (prefers-reduced-motion: reduce) {
  .form .form-floating,
  .form .form-floating::before,
  .form .form-floating::after,
  .form .form-control,
  .form .form-select,
  .form .form-floating > label,
  .table .form-select {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.floating-whatsapp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 18px 30px rgba(9, 12, 17, 0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: pop-in 0.5s ease both;
  font-size: 0;
}

.floating-whatsapp::before {
  content: "";
  width: 30px;
  height: 30px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16.04 3A12.9 12.9 0 0 0 5.1 22.75L3 29l6.47-2.04A12.96 12.96 0 1 0 16.04 3Zm0 2.18a10.77 10.77 0 1 1-5.48 20.04l-.38-.23-3.83 1.21 1.25-3.7-.25-.39A10.72 10.72 0 0 1 16.04 5.18Zm-5.45 4.75c-.25 0-.65.1-.99.47-.34.37-1.3 1.27-1.3 3.1s1.33 3.6 1.52 3.85c.18.25 2.62 4 6.35 5.61.89.38 1.58.61 2.12.78.89.28 1.7.24 2.34.15.71-.11 2.2-.9 2.51-1.77.31-.87.31-1.61.22-1.77-.09-.16-.34-.25-.71-.44-.37-.18-2.2-1.08-2.54-1.21-.34-.12-.59-.18-.84.19-.25.37-.96 1.21-1.18 1.46-.22.25-.43.28-.8.09-.37-.18-1.56-.57-2.97-1.83-1.1-.98-1.84-2.19-2.06-2.56-.22-.37-.02-.57.16-.75.17-.16.37-.43.56-.65.18-.22.25-.37.37-.62.12-.25.06-.47-.03-.65-.09-.19-.84-2.02-1.15-2.76-.3-.73-.61-.63-.84-.64h-.72Z'/%3E%3C/svg%3E");
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 22px 44px rgba(9, 12, 17, 0.58);
}

.site-footer {
  border-top: 1px solid hsl(var(--border));
  padding: 34px 0;
  color: hsl(var(--muted-foreground));
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-up 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .nav .btn {
    width: 100%;
  }

  .hero,
  .page-hero {
    padding-top: 88px;
  }

  .grid.two,
  .grid.three,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-links {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .btn {
    width: 100%;
  }

  .marquee {
    top: 26px;
    font-size: 3.5rem;
  }

  .portfolio-card { min-height: 560px; }

  .hero-cinematic {
    width: calc(100% - 16px);
    min-height: auto;
    padding: 92px 22px 54px;
    border-radius: 22px;
  }
  .hero-cinematic::before { background-position: 62% center; }
  .hero-cinematic h1 { font-size: clamp(2.4rem, 12vw, 3.35rem); }
  .hero-cinematic .trust-row { gap: 16px; margin-top: 38px; }
}

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