@font-face {
  font-family: "Cinzel";
  src: url("../fonts/Cinzel-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/Cinzel-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --bg: #08070c;
  --bg-soft: #100d17;
  --panel: rgba(24, 18, 34, 0.88);
  --panel-solid: #171120;
  --panel-light: #21182e;
  --line: rgba(209, 173, 92, 0.2);
  --line-strong: rgba(209, 173, 92, 0.48);
  --gold: #d1ad5c;
  --gold-light: #f0d58c;
  --purple: #9c66e7;
  --purple-deep: #51298b;
  --text: #f6f1fb;
  --muted: #b9aec5;
  --muted-2: #8f829d;
  --success: #72d6a2;
  --danger: #f09090;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 5%, rgba(104, 45, 166, 0.17), transparent 31rem),
    radial-gradient(circle at 90% 35%, rgba(209, 173, 92, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.tech-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
  pointer-events: none;
}

body > main,
.site-footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--purple);
  color: white;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: white;
  color: #111;
  transform: translateY(-160%);
}

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

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

.announcement-bar {
  position: relative;
  z-index: 110;
  overflow: hidden;
  border-bottom: 1px solid rgba(209, 173, 92, 0.24);
  background:
    linear-gradient(90deg, rgba(81, 41, 139, 0.18), transparent 28%, rgba(209, 173, 92, 0.08) 72%, rgba(81, 41, 139, 0.16)),
    #09070e;
  box-shadow: inset 0 -1px rgba(156, 102, 231, 0.08);
  color: #d7cfe0;
}

.announcement-window {
  overflow: hidden;
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: announcement-scroll 34s linear infinite;
  backface-visibility: hidden;
  will-change: transform;
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

.announcement-set {
  display: flex;
  flex: none;
  min-height: 42px;
  align-items: center;
  gap: 32px;
  padding: 0 32px 0 0;
  white-space: nowrap;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  font-size: calc(0.74rem + 2px);
  line-height: 1.35;
}

.announcement-item strong {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: calc(0.68rem + 2px);
  letter-spacing: 0.1em;
  text-shadow: 0 0 12px rgba(156, 102, 231, 0.24);
  text-transform: uppercase;
}

.announcement-marker {
  margin-inline: 10px;
  color: var(--purple);
  text-shadow: 0 0 8px rgba(156, 102, 231, 0.5);
}

.announcement-separator {
  color: rgba(209, 173, 92, 0.5);
}

@keyframes announcement-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-16.6666667%, 0, 0);
  }
}

.realizations-showcase {
  position: relative;
  z-index: 2;
  height: 148px;
  overflow: hidden;
  border-bottom: 1px solid rgba(209, 173, 92, 0.2);
  background:
    linear-gradient(90deg, rgba(8, 7, 12, 0.96), rgba(20, 13, 29, 0.86), rgba(8, 7, 12, 0.96)),
    #08070c;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.showcase-viewport {
  height: 100%;
  overflow: hidden;
  padding-block: 18px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.showcase-viewport:focus-visible {
  outline-offset: -3px;
}

.realizations-showcase.is-dragging .showcase-viewport,
.realizations-showcase.is-dragging .showcase-open {
  cursor: grabbing;
}

.showcase-track {
  display: flex;
  width: max-content;
  backface-visibility: hidden;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.showcase-set {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
}

.showcase-card {
  position: relative;
  z-index: 1;
  flex: 0 0 180px;
  width: 180px;
  height: 112px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(209, 173, 92, 0.28);
  border-radius: 6px;
  background: #100d17;
  contain: layout style;
  transform-origin: center;
  transition:
    z-index 0s,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.showcase-card:hover {
  z-index: 20;
  border-color: rgba(240, 213, 140, 0.8);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.58),
    0 0 24px rgba(156, 102, 231, 0.18);
  transform: translateY(-2px) scale(1.24);
}

.showcase-open {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: transparent;
}

.showcase-open:focus-visible {
  outline-offset: -4px;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.showcase-card:hover img {
  filter: contrast(1.04) saturate(1.05);
  transform: scale(1.035);
}

.showcase-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 18px 9px 7px;
  background: linear-gradient(transparent, rgba(4, 3, 7, 0.92));
  color: #eee7f4;
  font-size: 0.62rem;
  line-height: 1.25;
  pointer-events: none;
}

.showcase-card figcaption strong {
  color: var(--gold-light);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.showcase-lightbox-open {
  overflow: hidden;
}

.showcase-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  overflow: auto;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  padding: 64px 28px 28px;
  background: rgba(4, 3, 7, 0.94);
  color: var(--text);
}

.showcase-lightbox:not([open]) {
  display: none;
}

.showcase-lightbox[open] {
  display: grid;
  place-items: center;
  animation: showcase-lightbox-in 220ms ease-out both;
}

.showcase-lightbox::backdrop {
  background: #040307;
}

.showcase-lightbox figure {
  display: grid;
  width: min(1120px, 100%);
  margin: 0;
  place-items: center;
  gap: 12px;
  touch-action: pan-y;
  user-select: none;
}

.showcase-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 128px);
  object-fit: contain;
  pointer-events: none;
  border: 1px solid rgba(240, 213, 140, 0.58);
  border-radius: 6px;
  background: #08070c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72), 0 0 30px rgba(81, 41, 139, 0.22);
}

.showcase-lightbox figcaption {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.showcase-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(240, 213, 140, 0.62);
  border-radius: 6px;
  background: #100d17;
  color: var(--gold-light);
  font-size: 1.55rem;
  line-height: 1;
}

.showcase-lightbox-close:hover {
  border-color: var(--gold-light);
  background: #21182e;
}

.showcase-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 64px;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(240, 213, 140, 0.62);
  border-radius: 6px;
  background: #100d17;
  color: var(--gold-light);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.showcase-lightbox-prev {
  left: 18px;
}

.showcase-lightbox-next {
  right: 18px;
}

.showcase-lightbox-nav:hover,
.showcase-lightbox-nav:focus-visible {
  border-color: var(--gold-light);
  background: #21182e;
  color: #fff;
}

@keyframes showcase-lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 880px;
}

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

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Cinzel", Georgia, serif;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6.3vw, 5.35rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.eyebrow,
.card-tag {
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 18px;
  color: var(--text);
  font-size: 0.91rem;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, #e3c471, #b78938);
  box-shadow: 0 12px 34px rgba(209, 173, 92, 0.16);
  color: #170f07;
}

.button-primary:hover {
  background: linear-gradient(135deg, #f1d991, #c69a45);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover {
  border-color: var(--purple);
  background: rgba(156, 102, 231, 0.1);
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #07060a;
  color: var(--muted);
  font-size: 0.76rem;
}

.utility-inner,
.utility-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.utility-inner {
  min-height: 34px;
}

.utility-links a:hover {
  color: var(--gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(209, 173, 92, 0.12);
  background: rgba(8, 7, 12, 0.97);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
}

.brand strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.03rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted-2);
  font-size: 0.67rem;
}

.desktop-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  border-radius: 8px;
  padding: 9px 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
}

.header-cta {
  min-height: 42px;
  padding: 8px 13px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 13px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 800;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: 100%;
  right: 20px;
  left: 20px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  padding: 14px;
  background: #100d17;
  box-shadow: var(--shadow);
}

.mobile-menu .button {
  margin-top: 8px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 130px) 0 82px;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 7, 12, 0.99) 7%, rgba(8, 7, 12, 0.82) 53%, rgba(8, 7, 12, 0.96)),
    url("../img/hero-tech.webp") center / cover;
  content: "";
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 130px;
  background: linear-gradient(transparent, var(--bg));
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 820px;
}

.hero-lead {
  max-width: 730px;
  margin-bottom: 30px;
  color: #d2c8dc;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.hero-points li::before {
  margin-right: 8px;
  color: var(--success);
  content: "✓";
}

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(19, 14, 27, 0.92);
  box-shadow: var(--shadow);
}

.hero-panel-photo {
  min-height: 150px;
  background:
    linear-gradient(0deg, var(--panel-solid), transparent 70%),
    url("../img/circuit.webp") center / cover;
}

.hero-panel-content {
  padding: 26px;
}

.hero-panel h2 {
  margin: 16px 0;
  font-family: inherit;
  font-size: 1.35rem;
}

.hero-panel ul {
  display: grid;
  gap: 7px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel a {
  color: var(--gold-light);
  font-weight: 800;
}

.status-dot {
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 750;
}

.status-dot::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  content: "";
}

.trust-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(16, 13, 23, 0.72);
}

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

.trust-grid div {
  display: grid;
  gap: 3px;
  min-height: 95px;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.055);
  padding: 16px 28px;
}

.trust-grid div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.055);
}

.trust-grid strong {
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.94rem;
}

.trust-grid span {
  color: var(--muted-2);
  font-size: 0.75rem;
}

.section {
  padding-block: clamp(76px, 9vw, 124px);
}

.section-muted {
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(26, 18, 37, 0.72), rgba(11, 9, 15, 0.45));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.info-card,
.price-card,
.process-card,
.contact-card,
.configurator,
.legal-card,
.case-study {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(31, 23, 43, 0.88), rgba(16, 13, 23, 0.92));
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.2);
}

.service-card {
  overflow: hidden;
}

.service-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel-light);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
  transition: transform 500ms ease, filter 500ms ease;
}

.service-card:hover .service-image img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.06);
}

.service-content {
  padding: 27px;
}

.service-content p:not(.card-tag) {
  min-height: 78px;
  color: var(--muted);
  font-size: 0.91rem;
}

.service-content a {
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card {
  padding: 28px;
}

.process-card > span {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
  opacity: 0.7;
}

.process-card p,
.info-card p,
.price-card p,
.legal-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media::before {
  position: absolute;
  inset: -12px 18px 18px -12px;
  z-index: -1;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  content: "";
}

.split-media img {
  width: 100%;
  min-height: 470px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 25px 0 30px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.cta-band {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-block: 30px 110px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(120deg, rgba(79, 38, 132, 0.6), rgba(20, 15, 28, 0.94) 65%),
    url("../img/circuit.webp") center / cover;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3.3vw, 2.65rem);
}

.cta-band > div > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: #d0c4d9;
}

.cta-band .button-row {
  flex: 0 0 auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  padding: clamp(75px, 10vw, 130px) 0 clamp(65px, 8vw, 100px);
  background:
    linear-gradient(90deg, rgba(8, 7, 12, 0.99), rgba(8, 7, 12, 0.78), rgba(8, 7, 12, 0.97)),
    url("../img/hero-tech.webp") center / cover;
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.45rem, 5.2vw, 4.75rem);
}

.page-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #d2c8dc;
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.page-hero .button-row {
  margin-top: 28px;
}

.cards-2,
.cards-3,
.cards-4 {
  display: grid;
  gap: 20px;
}

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

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

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

.info-card,
.contact-card,
.legal-card {
  padding: 28px;
}

.info-card .card-number {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.6rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.detail-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.detail-list strong {
  color: var(--text);
}

.note-box {
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  background: rgba(209, 173, 92, 0.08);
  color: #d8cfdf;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.price-card.featured {
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(74, 39, 115, 0.64), rgba(21, 15, 29, 0.95));
}

.price-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 99px;
  padding: 5px 9px;
  background: var(--gold);
  color: #160f08;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  margin: 16px 0 5px;
  color: var(--gold-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
}

.price small {
  color: var(--muted-2);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
}

.price-card .check-list {
  flex: 1;
  font-size: 0.9rem;
}

.price-card .button {
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(20, 15, 28, 0.78);
}

.service-table th,
.service-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.service-table th {
  color: var(--gold-light);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-table td {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

.configurator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
}

.form-panel,
.result-panel {
  padding: clamp(26px, 4vw, 42px);
}

.result-panel {
  border-left: 1px solid var(--line);
  background: rgba(9, 7, 13, 0.55);
}

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

.field,
.field-full {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label,
.field legend {
  color: #ded4e6;
  font-size: 0.8rem;
  font-weight: 750;
}

.field input,
.field select,
.field-full input,
.field-full select,
.field-full textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 12px 13px;
  background: rgba(5, 4, 8, 0.54);
  color: var(--text);
}

.field-full textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field-full input:focus,
.field-full select:focus,
.field-full textarea:focus {
  border-color: var(--purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(156, 102, 231, 0.13);
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.radio-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  color: var(--muted);
  cursor: pointer;
}

.radio-chip:has(input:checked) {
  border-color: var(--purple);
  background: rgba(156, 102, 231, 0.11);
  color: var(--text);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.form-actions .button {
  cursor: pointer;
}

.result-empty {
  display: grid;
  min-height: 330px;
  place-content: center;
  color: var(--muted-2);
  text-align: center;
}

.result-summary {
  display: grid;
  gap: 18px;
}

.result-summary dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
}

.result-summary dl div {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.result-summary dt {
  color: var(--muted-2);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.result-summary dd {
  margin: 3px 0 0;
  color: var(--text);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 16px;
}

.contact-card a {
  color: var(--gold-light);
  font-weight: 800;
}

.contact-card p + p {
  margin-top: 12px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.form-status {
  color: var(--success);
  font-size: 0.82rem;
}

.case-study {
  overflow: hidden;
}

.case-hero {
  aspect-ratio: 16 / 8.7;
}

.case-hero img,
.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-content {
  padding: clamp(26px, 4vw, 42px);
}

.case-content > p:not(.card-tag) {
  color: var(--muted);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.case-gallery img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #060509;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-block: 62px;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  color: var(--muted-2);
  font-size: 0.8rem;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-brand {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 290px;
  margin: 7px 0 0;
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #73697c;
  font-size: 0.72rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-grid .social-links {
  display: grid;
}

.social-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(209, 173, 92, 0.18);
  border-radius: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover {
  border-color: var(--line-strong);
  background: rgba(156, 102, 231, 0.09);
  transform: translateY(-1px);
}

.social-link img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.contact-social-section {
  border-block: 1px solid var(--line);
}

.contact-social-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.contact-social-inner h2 {
  margin: 0 0 8px;
}

.contact-social-inner p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.social-links-prominent {
  display: grid;
  grid-template-columns: repeat(3, minmax(142px, 1fr));
}

.social-links-prominent .social-link {
  min-height: 52px;
  justify-content: center;
  color: var(--text);
  font-weight: 750;
}

/* Byte reste un petit outil autonome : pas d'overlay lourd, pas d'effet de flou sur la page. */
.byte-assistant {
  position: fixed;
  right: 20px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 240;
  width: max-content;
  max-width: calc(100vw - 28px);
}

.byte-launcher {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  border: 1px solid rgba(240, 213, 140, 0.62);
  border-radius: 8px;
  padding: 2px 14px 2px 4px;
  background: #100d17;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.48), 0 0 18px rgba(81, 41, 139, 0.2);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, opacity 160ms ease;
}

.byte-launcher:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.byte-sprite {
  display: block;
  flex: 0 0 58px;
  width: 58px;
  height: 63px;
  background-image: url("../img/Byte/byte-idle.webp");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 348px 63px;
  image-rendering: auto;
  animation: byte-idle 1.45s steps(1, end) infinite;
  animation-play-state: paused;
}

.byte-assistant.is-open .byte-launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.byte-assistant.is-open .byte-dialog .byte-sprite {
  animation-play-state: running;
}

.byte-assistant.is-page-hidden .byte-sprite {
  animation-play-state: paused;
}

.byte-dialog {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(420px, calc(100vw - 28px));
  max-height: min(720px, calc(100dvh - 36px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(209, 173, 92, 0.5);
  border-radius: 8px;
  background: #100d17;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.68), 0 0 30px rgba(81, 41, 139, 0.22);
  animation: byte-dialog-in 220ms ease-out both;
}

.byte-dialog[hidden] {
  display: none;
}

.byte-dialog-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 6px 10px 6px 6px;
  background: #171120;
}

.byte-dialog-header .eyebrow {
  margin-bottom: 1px;
  font-size: 0.65rem;
}

.byte-dialog-header h2 {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.18rem;
}

.byte-close {
  display: grid;
  width: 34px;
  height: 34px;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
}

.byte-close:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.byte-progress {
  min-height: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  padding: 7px 16px;
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.byte-dialog-body {
  min-height: 260px;
  overflow-y: auto;
  padding: 18px 16px 14px;
  overscroll-behavior: contain;
}

.byte-intro,
.byte-help {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.byte-question-title {
  margin: 0 0 15px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.byte-choice-list,
.byte-question-form,
.byte-summary-actions,
.byte-shortcuts {
  display: grid;
  gap: 9px;
}

.byte-choice {
  width: 100%;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid rgba(209, 173, 92, 0.24);
  border-radius: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.byte-choice:hover,
.byte-choice.is-selected {
  border-color: var(--line-strong);
  background: rgba(156, 102, 231, 0.1);
  transform: translateX(2px);
}

.byte-question-form input,
.byte-question-form textarea {
  width: 100%;
  border: 1px solid rgba(209, 173, 92, 0.28);
  border-radius: 6px;
  padding: 11px 12px;
  background: #08070c;
  color: var(--text);
  resize: vertical;
}

.byte-question-form textarea {
  min-height: 112px;
}

.byte-back {
  margin-top: 14px;
  cursor: pointer;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.byte-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.byte-summary {
  max-height: 250px;
  overflow: auto;
  margin: 0 0 15px;
  border: 1px solid rgba(209, 173, 92, 0.2);
  border-radius: 6px;
  padding: 12px;
  background: #08070c;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.byte-summary-actions .button {
  width: 100%;
}

.byte-status {
  min-height: 34px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  padding: 8px 16px;
  color: var(--success);
  font-size: 0.72rem;
}

@keyframes byte-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes byte-idle {
  0%, 15% { background-position: 0 0; }
  16%, 31% { background-position: -58px 0; }
  32%, 47% { background-position: -116px 0; }
  48%, 63% { background-position: -174px 0; }
  64%, 79% { background-position: -232px 0; }
  80%, 95% { background-position: -290px 0; }
  96%, 100% { background-position: 0 0; }
}

.reveal {
  animation: reveal-in 700ms both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.65fr;
    gap: 35px;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 780px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .utility-inner > span,
  .brand small {
    display: none;
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-links {
    width: 100%;
    justify-content: space-between;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 47px;
    height: 47px;
  }

  .home-hero {
    padding-top: 65px;
  }

  .hero-grid,
  .section-heading,
  .split-feature,
  .configurator,
  .contact-layout,
  .contact-social-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 540px;
  }

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

  .trust-grid div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    padding: 14px 18px;
  }

  .section-heading {
    gap: 14px;
    align-items: start;
  }

  .service-grid,
  .cards-2,
  .cards-3,
  .cards-4,
  .price-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-content p:not(.card-tag) {
    min-height: 0;
  }

  .split-feature {
    gap: 48px;
  }

  .split-media img {
    min-height: 330px;
  }

  .cta-band {
    display: grid;
    margin-bottom: 75px;
  }

  .cta-band .button-row {
    width: 100%;
  }

  .result-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }
}

@media (max-width: 520px) {
  .showcase-lightbox {
    padding: 58px 12px 18px;
  }

  .showcase-lightbox img {
    max-height: calc(100dvh - 108px);
  }

  .showcase-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .showcase-lightbox-nav {
    width: 42px;
    height: 54px;
    font-size: 1.7rem;
  }

  .showcase-lightbox-prev {
    left: 8px;
  }

  .showcase-lightbox-next {
    right: 8px;
  }

  .byte-assistant {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 20px);
  }

  .byte-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .byte-launcher {
    max-width: calc(100vw - 20px);
    padding-right: 11px;
    font-size: 0.76rem;
  }

  .byte-dialog-body {
    min-height: 0;
  }

  .social-links-prominent {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .realizations-showcase {
    height: 130px;
  }

  .showcase-viewport {
    padding-block: 17px;
  }

  .showcase-card {
    flex-basis: 154px;
    width: 154px;
    height: 96px;
  }

  .showcase-card:hover {
    transform: translateY(-1px) scale(1.16);
  }

  .announcement-track {
    animation-duration: 40s;
  }

  .announcement-set {
    min-height: 40px;
    gap: 24px;
    padding-right: 24px;
  }

  .announcement-item {
    font-size: calc(0.68rem + 2px);
  }

  .tech-background {
    opacity: 0.58;
  }

  h1 {
    font-size: 2.45rem;
  }

  .brand strong {
    font-size: 0.91rem;
  }

  .utility-links {
    gap: 12px;
    font-size: 0.67rem;
  }

  .button-row,
  .button-row .button,
  .cta-band .button-row .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .trust-grid,
  .form-grid,
  .radio-grid,
  .result-summary dl,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    min-height: 75px;
  }

  .field-full {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
    padding-block: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-lightbox {
    animation: none;
  }

  .byte-sprite {
    background-position: 0 0;
    animation: none;
  }

  .showcase-viewport {
    overflow-x: auto;
  }

  .showcase-track {
    transform: none;
    will-change: auto;
  }

  .showcase-set + .showcase-set {
    display: none;
  }

  .announcement-track {
    width: 100%;
    animation: none;
    transform: none;
  }

  .announcement-set {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 18px;
    padding: 8px 18px;
    white-space: normal;
  }

  .announcement-set + .announcement-set,
  .announcement-separator {
    display: none;
  }

  .announcement-item {
    justify-content: center;
    white-space: normal;
  }

  .tech-background {
    opacity: 0.46;
  }

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

@media (forced-colors: active) {
  .tech-background {
    display: none;
  }
}


/* Ajustements de la version HTML statique. */
.menu-toggle {
  display: none;
  margin-left: auto;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 13px;
  background: transparent;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 800;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 20px;
  left: 20px;
  display: none;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  padding: 14px;
  background: #100d17;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav .button {
  margin-top: 8px;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transform-origin: center top;
  filter: blur(8px);
  transition:
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 820ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js-ready .reveal.on {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }
}
