:root {
  --bg: #000;
  --card-bg-start: #0b0b0b;
  --card-bg-end: #040404;
  --card-background: linear-gradient(145deg, var(--card-bg-start), var(--card-bg-end));
  --surface: rgba(17, 22, 34, .78);
  --surface-solid: #111622;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f7fb;
  --muted: #a2adbf;
  --accent-rgb: 240, 187, 120;
  --accent: rgb(var(--accent-rgb));
  --accent-light: #ffe6c4;
  --slate-rgb: 112, 139, 181;
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main { position: relative; z-index: 1; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}
h1 { margin-bottom: 28px; font-size: clamp(2.8rem, 6vw, 5.8rem); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-tint { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018), transparent); }
.section-intro { max-width: 580px; font-size: 1.08rem; }
.gradient-text {
  color: var(--accent);
  background: linear-gradient(100deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.lead { max-width: 650px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: #080b12;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 20px 0;
  transition: .25s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: var(--card-background);
}
.header-inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); max-width: 1230px; }
.site-header .brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.3vw, 1.52rem);
  white-space: nowrap;
}
.header-cta { flex-shrink: 0; white-space: nowrap; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 12px;
  background: rgba(var(--accent-rgb), .08);
  color: var(--accent);
  font-size: .8rem;
}
.site-nav { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 20px); }
.site-nav a:not(.menu-cta) {
  padding: 9px 11px;
  border-radius: 10px;
  color: #ece7df;
  font-size: .88rem;
  white-space: nowrap;
  transition: .2s ease;
}
.site-nav a:not(.menu-cta):hover { color: var(--accent); }
.site-nav a.active {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .4em;
}
.site-nav .menu-cta { display: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-solid);
  color: white;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: .2s; }

/* Boutons */
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 12px 35px rgba(var(--accent-rgb), .12); }
.btn-primary:hover { box-shadow: 0 16px 45px rgba(var(--accent-rgb), .22); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.025); }
.btn-ghost:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.btn-small { min-height: 42px; padding: 10px 16px; font-size: .87rem; }
.text-link { display: inline-flex; gap: 12px; color: var(--accent); font-weight: 600; }
.text-link:hover span { transform: translate(3px,-3px); }
.text-link span { transition: transform .2s; }

/* Accueil */
.hero {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(76px, 11dvh, 116px) 0 0;
  overflow: clip;
  background: #000;
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero h1 {
  margin: 0 0 14px;
  color: #f5eee4;
  font: 700 clamp(2.3rem, min(5.25vw, 9dvh), 5.6rem)/1.01 "Playfair Display", Georgia, serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 span { color: var(--accent); }
.hero .lead {
  max-width: 760px;
  margin: 0 auto;
  color: #c7c2bd;
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.hero .hero-actions { justify-content: center; margin: 24px 0 0; }
.hero .btn { border-radius: 11px; }
.hero .btn-ghost { border-color: rgba(255,255,255,.19); }
.hero-showcase {
  display: grid;
  grid-template-rows: minmax(clamp(126px, 35vw, 190px), 1fr);
  width: min(100%, 2000px);
  margin-inline: auto;
}
.hero-stage-viewport {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: end center;
  container-type: size;
}
.hero-stage {
  position: relative;
  width: min(100%, calc(100cqh * 2000 / 528));
  isolation: isolate;
  aspect-ratio: 2000 / 528;
}
.hero-frame,
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frame {
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.hero-slide {
  visibility: hidden;
  transform: translateX(100%);
  background: #111417;
}
.hero-slide.is-active,
.hero-slide.is-leaving {
  visibility: visible;
  transition: transform .6s cubic-bezier(.45, 0, .25, 1);
}
.hero-slide.is-active { transform: translateX(0); }
.hero-slide.is-leaving { transform: translateX(-100%); }
/* Les fenêtres débordent légèrement sous le cadre détouré. */
.hero-screen {
  position: absolute;
  overflow: hidden;
  container-type: inline-size;
  background: #000;
}
.hero-screen-desktop { top: 14.7%; left: 30.3%; width: 35.6%; height: 69.5%; }
.hero-screen-phone {
  top: 25.2%;
  left: 63.5%;
  width: 8.4%;
  height: 68.5%;
  border-top-left-radius: 20% 9.4%;
}
.hero-screen img { width: 100%; height: 100%; object-fit: cover; }
.hero-screen-phone img { object-position: 30% center; }
.mapper-screen img { object-fit: contain; object-position: center; }
.ruby-screen img { object-position: 74% 54%; }
.ruby-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,9,7,.91), rgba(13,9,7,.62) 36%, transparent 75%);
}
.ruby-screen span {
  position: absolute;
  z-index: 1;
  top: 44%;
  left: 7%;
  color: #fff4e0;
  line-height: 1.1;
}
.ruby-screen strong {
  display: block;
  font: 600 10cqw/1 "Playfair Display", Georgia, serif;
  letter-spacing: .08em;
}
.ruby-screen small { font-size: 2.7cqw; }
.hero-screen-phone .ruby-screen::after {
  background: linear-gradient(180deg, rgba(13,9,7,.9), transparent 70%);
}
.hero-screen-phone .ruby-screen span { top: 13%; left: 0; width: 100%; text-align: center; }
.hero-screen-phone .ruby-screen strong { font-size: 24cqw; }
.hero-screen-phone .ruby-screen small { font-size: 8.5cqw; }

.marquee { overflow: hidden; padding: 20px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.marquee-group span { color: #cbd3df; font-family: "Space Grotesk", sans-serif; white-space: nowrap; }
.marquee-group i { color: var(--accent); font-style: normal; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin-bottom: 5px; }
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 18px;
}
.service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 20px;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-background);
  transition: border-color .25s, background .25s;
}
.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(var(--accent-rgb), .4);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), .055), rgba(255,255,255,.015));
}
.service-symbol {
  width: clamp(48px, 5vw, 64px);
  color: var(--accent);
}
.service-symbol svg { display: block; width: 100%; }
.service-card h3 { margin-bottom: 8px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.service-card p { margin-bottom: 14px; }
.card-link { display: inline-flex; gap: 10px; color: var(--text); font-size: .9rem; font-weight: 600; }
.card-link b { color: var(--accent); }
.service-card-featured {
  grid-column: 2;
  grid-row: 1 / span 3;
  grid-template-rows: auto 1fr;
}
.service-card-featured h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.service-preview {
  grid-column: 1 / -1;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: var(--accent);
}
.service-preview svg { display: block; width: 100%; height: auto; }

@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card-featured { grid-column: auto; grid-row: auto; }
}

.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.method-timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  inset-inline: 4px 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), .25));
}
.method-timeline li {
  position: relative;
  padding-top: 24px;
}
.method-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.method-timeline svg {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  color: var(--accent);
}
.method-timeline h3 { margin-bottom: 8px; }
.method-timeline p { margin: 0; }

@media (max-width: 800px) {
  .method-timeline {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .method-timeline::before { display: none; }
  .method-timeline li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 0 24px;
  }
  .method-timeline li::before { top: 8px; }
  .method-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    bottom: -32px;
    left: 4px;
    width: 1px;
    background: rgba(var(--accent-rgb), .45);
  }
  .method-timeline svg { margin-bottom: 0; }
}


.big-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 60px;
  padding: clamp(30px,6vw,70px);
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), .2);
  border-radius: 30px;
  background: var(--card-background);
}
.big-cta h2 { margin-bottom: 0; }
.big-cta p { margin-bottom: 25px; }

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.service-cta-copy .eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.service-cta-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 28px;
}
.service-cta-window {
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: var(--card-background);
  box-shadow: 12px -10px 60px rgba(var(--accent-rgb), .09);
}
.service-cta-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.service-cta-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #df766c;
}
.service-cta-window-bar span:nth-child(2) { background: var(--accent); }
.service-cta-window-bar span:nth-child(3) { background: #88bd95; }
.service-cta-window-bar::after {
  content: "";
  flex: 1;
  height: 12px;
  margin-left: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,.10);
}
.service-cta-checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: clamp(12px, 2vw, 24px);
  list-style: none;
}
.service-cta-checks li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px clamp(12px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  font-weight: 600;
}
.service-cta-checks svg {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-cta-checks li span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.project-cta {
  display: block;
  isolation: isolate;
  border-color: var(--line);
  border-radius: 18px;
}
.project-cta-copy { position: relative; max-width: 680px; }
.project-cta .eyebrow {
  display: block;
  margin-bottom: 24px;
}
.project-cta .eyebrow::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin-top: 13px;
  background: var(--accent);
}
.project-cta h2 {
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}
.project-cta-copy > p:not(.eyebrow) { max-width: 510px; }
.project-cta-grid {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 86%;
  height: 100%;
  fill: none;
  pointer-events: none;
  mask-image: linear-gradient(100deg, transparent 8%, #000 64%);
}
.project-cta-grid-lines { stroke: rgba(162, 173, 191, .22); stroke-width: .65; }
.project-cta-grid-accent { stroke: var(--accent); stroke-width: 1; opacity: .72; }

/* Pages services */
.page-hero { position: relative; overflow: hidden; padding: 165px 0 90px; }
.page-hero::after {
  content: "";
  position: absolute;
  top: -250px;
  right: -150px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(var(--slate-rgb), .15);
  filter: blur(130px);
  pointer-events: none;
}
.breadcrumb { display: flex; gap: 10px; margin-bottom: 45px; color: var(--muted); font-size: .82rem; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 75px; }
.page-hero h1 { font-size: clamp(2.7rem,5vw,4.8rem); }
.page-hero .lead { max-width: 650px; }
.android-hero::after { content: none; }
.android-hero-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 48px);
}
.android-hero-grid .hero-actions { margin-bottom: 0; }
.android-hero-visual {
  width: min(100%, 720px);
  height: auto;
  justify-self: center;
}
.vitrine-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 64px);
}
.vitrine-hero-grid .gradient-text { white-space: nowrap; }
.vitrine-duo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 690px;
  padding: 0 10% 7% 0;
  margin-inline: auto;
  isolation: isolate;
}
.vitrine-duo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -9% -10% 18%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), .18), transparent 70%);
}
.vitrine-browser, .vitrine-phone {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  background: var(--card-background);
  box-shadow: 0 18px 38px rgba(0,0,0,.55);
}
.vitrine-browser { border-radius: 13px; }
.vitrine-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
}
.vitrine-browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #db786e; }
.vitrine-browser-bar i:nth-child(2) { background: var(--accent); }
.vitrine-browser-bar i:nth-child(3) { background: #88bd95; }
.vitrine-browser-bar span {
  flex: 1;
  margin-inline-start: 7px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  color: var(--muted);
  font-size: .65rem;
}
.vitrine-ruby-screen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 1.62;
  background: #17110f;
}
.vitrine-ruby-screen img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.vitrine-ruby-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5%;
  padding: 8%;
  color: #f7e3cf;
  text-align: center;
}
.vitrine-ruby-copy strong { font: 600 clamp(1.55rem, 4vw, 4rem)/1 "Playfair Display", serif; }
.vitrine-ruby-copy span { font-size: clamp(.57rem, 1vw, .85rem); line-height: 1.25; }
.vitrine-ruby-copy small {
  border: 1px solid rgba(247,227,207,.5);
  padding: .3em .7em;
  border-radius: 3px;
  font-size: clamp(.48rem, .8vw, .72rem);
}
.vitrine-phone {
  position: absolute;
  inset: auto 0 0 auto;
  width: 28%;
  padding: 4px;
  border-radius: clamp(12px, 2vw, 24px);
}
.vitrine-phone .vitrine-ruby-screen {
  overflow: hidden;
  border-radius: inherit;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
  aspect-ratio: 1 / 1.9;
}
.vitrine-phone .vitrine-ruby-copy strong { font-size: clamp(.9rem, 2.2vw, 2rem); }
.vitrine-phone .vitrine-ruby-copy span,
.vitrine-phone .vitrine-ruby-copy small { font-size: clamp(.46rem, .8vw, .68rem); }
.maintenance-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 75px);
}
.maintenance-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.maintenance-bento-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-background);
}
.maintenance-bento-card svg {
  width: clamp(38px, 4vw, 58px);
  height: auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.maintenance-bento-card strong {
  font: 700 clamp(1rem, 1.7vw, 1.5rem) "Space Grotesk", sans-serif;
}
.maintenance-bento-card p { margin: 4px 0 0; }
.maintenance-bento-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}
.maintenance-bento-card-inset { margin-inline-start: 22%; }
.mini-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-background);
  box-shadow: 0 35px 90px rgba(0,0,0,.3);
  transition: transform .15s ease-out;
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font: .8rem "Space Grotesk", sans-serif; }
.panel-top span:last-child { color: var(--accent); }
.panel-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px; margin-top: 8px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); }
.panel-row span { color: var(--muted); font-size: .85rem; }
.panel-row strong { font-size: .85rem; font-weight: 500; text-align: right; }
.panel-note { margin: 20px 0 0; font: .73rem monospace; color: var(--accent); }
.service-features {
  --service-feature-divider: rgba(var(--accent-rgb), .38);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 30px clamp(20px, 3.5vw, 52px);
}
.service-feature:nth-child(even) { border-inline-start: 1px solid var(--service-feature-divider); }
.service-feature:nth-child(n + 3) { border-block-start: 1px solid var(--service-feature-divider); }
.service-feature svg {
  width: clamp(64px, 8vw, 108px);
  height: auto;
  color: var(--accent);
}
.service-feature h3 { margin-bottom: 6px; }
.service-feature p { margin: 0; }

@media (max-width: 720px) {
  .service-features { grid-template-columns: minmax(0, 1fr); }
  .service-feature { padding: 22px 0; }
  .service-feature:nth-child(even) { border-inline-start: 0; }
  .service-feature + .service-feature { border-block-start: 1px solid var(--service-feature-divider); }
}

.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card-background); }
.offer.featured { border-color: rgba(var(--accent-rgb), .35); }
.offer > span { color: var(--accent); font: .72rem monospace; text-transform: uppercase; }
.offer h3 { margin: 20px 0 12px; }
.offer p { flex: 1; }
.check-list { margin: 20px 0 28px; padding: 0; list-style: none; color: var(--muted); }
.check-list li { margin: 10px 0; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--accent); }
.content-panel { padding: clamp(28px,5vw,55px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-background); }
.content-panel h2 { font-size: clamp(1.8rem,3vw,2.7rem); }
.content-panel ul { columns: 2; }
.faq { max-width: 850px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 40px 24px 0; cursor: pointer; font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 5px; color: var(--accent); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq-answer { overflow: hidden; }
.faq-answer > p { padding: 0 35px 24px 0; }

@supports selector(details::details-content) and (transition-behavior: allow-discrete) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details::details-content {
      --faq-duration: 160ms;
      display: grid;
      grid-template-rows: minmax(0, 0fr);
      opacity: 0;
      overflow: hidden;
      transition:
        grid-template-rows var(--faq-duration) ease,
        opacity var(--faq-duration) ease,
        content-visibility var(--faq-duration) allow-discrete;
    }
    .faq details[open]::details-content {
      grid-template-rows: minmax(0, 1fr);
      opacity: 1;
    }
  }
}

/* Contact */
.contact-section::after { content: none; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(26px, 3.5vw, 48px);
}
.contact-section h1 { margin-bottom: 24px; font-size: clamp(2.45rem, 4.1vw, 3.6rem); }
.contact-section h1 .gradient-text { display: block; }
.contact-section h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 24px;
  background: var(--accent);
}
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.contact-email { color: var(--accent); font-weight: 600; }
.contact-email:hover { text-decoration: underline; }
.contact-email + .text-link { padding-left: 16px; border-left: 1px solid var(--line); }
.contact-tips { margin-top: 38px; }
.contact-tips h2 { margin-bottom: 14px; font-size: 1.35rem; }
.contact-tips .check-list { margin: 0; }
.contact-tips li { display: flex; align-items: baseline; }
.contact-tips strong { color: var(--text); }
.contact-form { padding: clamp(20px, 2.8vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-background); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.field { min-width: 0; margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: #dce3ed; font-size: .86rem; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #0a0e16;
  color: var(--text);
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .07); }
.field textarea { display: block; min-height: 120px; resize: vertical; }
.form-note { margin: 12px 0 0; font-size: .86rem; }
.form-status { margin: 0; color: var(--accent); }
.form-status:not(:empty) { margin-top: 14px; }

/* Footer */
.site-footer { position: relative; z-index: 1; padding: clamp(40px, 5.5vw, 72px) 0 32px; background: var(--card-background); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(24px, 5vw, 64px); }
.footer-identity .brand { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.footer-identity .brand-mark { border-color: var(--accent); background: transparent; }
.footer-identity p { max-width: 415px; margin: 16px 0 0; }
.footer-identity::after { content: ""; display: block; width: 80px; height: 2px; margin-top: 24px; background: var(--accent); }
.footer-title { margin: 5px 0 14px; color: var(--text); font: 700 .95rem "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-top-link:hover { color: var(--accent); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: clamp(32px, 4vw, 54px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom > :last-child { justify-self: end; text-align: right; }
.footer-top-link { display: inline-flex; align-items: center; justify-self: start; gap: 9px; color: var(--text); }
.footer-top-link > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); font-size: 1rem; }

/* Animations */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.page-transition { position: fixed; inset: 0; z-index: 999; pointer-events: none; background: #0c111b; transform: translateY(101%); transition: transform .28s ease-in; }
.page-transition::after { content: "{ }"; position: absolute; top: 50%; left: 50%; color: var(--accent); font: 2rem monospace; transform: translate(-50%,-50%); }
body.is-leaving .page-transition { transform: translateY(0); }

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

/* Responsive */
@media (max-width: 1050px) {
  .site-nav a:not(.menu-cta) { padding-inline: 8px; font-size: .82rem; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: grid;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(13,17,27,.97);
    box-shadow: 0 25px 70px rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.menu-cta) { padding: 13px; font-size: .95rem; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .android-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split-layout, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .offers-grid { grid-template-columns: repeat(2,1fr); }
  .big-cta { grid-template-columns: 1fr; gap: 25px; }
  .service-cta { grid-template-columns: minmax(0, 1fr); }
  .page-hero .mini-panel { max-width: 550px; }
}

@media (max-width: 650px) {
  .vitrine-hero-grid { gap: 18px; }
  .maintenance-hero-grid { gap: 20px; }
  .maintenance-bento-card-inset { margin-inline-start: 0; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 65px 0; }
  .hero h1 { font-size: clamp(2.15rem, 8.25vw, 3.5rem); }
  .hero h1 br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero .hero-actions { align-items: center; }
  .hero .hero-actions .btn { width: min(100%, 280px); }
  .hero-stage-viewport { place-items: center; }
  .hero-stage { width: min(175%, calc(100cqh * 2000 / 528)); }
  .offers-grid, .form-row { grid-template-columns: 1fr; }
  .content-panel ul { columns: 1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; }
  .footer-bottom > :last-child { justify-self: start; text-align: left; }
  .big-cta { padding: 30px 24px; }
  .project-cta h2 br { display: none; }
  .project-cta-grid { width: 100%; opacity: .32; }
  .page-hero { padding-top: 135px; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .site-nav .menu-cta { display: inline-flex; }
}

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


/* Réalisations */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

.project-card,
.project-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-background);
}

.project-card:focus-within,
.project-card:hover {
  border-color: var(--accent);
}

.project-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
}

.project-card > a:focus-visible {
  outline-offset: -4px;
}

.project-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--bg);
}

.project-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.project-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 4vw, 36px);
}

.project-copy h3,
.project-copy p,
.project-cover,
.project-document {
  margin: 0;
}

.project-featured {
  grid-column: 1 / -1;
}

.project-featured > a {
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto;
  align-items: center;
}

.project-story {
  display: grid;
  gap: 36px;
  max-width: 760px;
}

.project-story h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.project-document img {
  width: min(100%, 400px);
  border-radius: 12px;
}

.project-document figcaption {
  margin-top: 12px;
  color: var(--muted);
}

@media (max-width: 650px) {
  .project-grid,
  .project-featured > a {
    grid-template-columns: 1fr;
  }
}

/* Galerie de réalisations */
.project-gallery .section-heading {
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.project-gallery .section-heading h2 { max-width: 20ch; }
.project-gallery .section-heading .btn {
  flex: none;
  border-color: var(--accent);
  border-radius: 999px;
  background: transparent;
}

.project-gallery .section-heading .btn:hover {
  background: rgba(var(--accent-rgb), .1);
}

.project-gallery .project-media { overflow: hidden; }
.project-gallery .project-media img { object-fit: cover; }
.project-gallery .project-copy {
  position: relative;
  gap: 8px;
  padding: 24px clamp(20px, 3vw, 36px);
}

.project-gallery .project-copy p:not(.eyebrow) { color: #cbd3df; }
.project-gallery .project-copy .text-link { margin-top: 4px; }

.project-gallery .project-card:not(.project-featured) .project-copy::before {
  position: absolute;
  inset: auto 0 100%;
  height: 68px;
  background: linear-gradient(0deg, var(--card-bg-start), transparent);
  pointer-events: none;
  content: "";
}

.project-gallery .project-featured > a {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(300px, 34vw, 365px);
  isolation: isolate;
}

.project-gallery .project-featured .project-media {
  position: absolute;
  inset: 0 0 0 24%;
  z-index: -1;
  aspect-ratio: auto;
}

.project-gallery .project-featured .project-media img {
  object-position: center 55%;
}

.project-gallery .project-featured .project-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--card-bg-end), rgba(4, 4, 4, .82) 24%, transparent 70%);
  content: "";
}

.project-gallery .project-featured .project-copy {
  width: min(48%, 470px);
  padding: clamp(24px, 4vw, 48px);
}

.project-gallery .project-featured h3 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }

@media (max-width: 900px) {
  .project-gallery .section-heading .btn { margin-top: 16px; }
}

@media (max-width: 650px) {
  .project-gallery .project-featured > a { min-height: 0; }
  .project-gallery .project-featured .project-media {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
  }
  .project-gallery .project-featured .project-media::after {
    background: linear-gradient(0deg, var(--card-bg-start), transparent 38%);
  }
  .project-gallery .project-featured .project-copy {
    width: auto;
    padding: 12px 20px 24px;
  }
}

/* Page Réalisations */
[data-page="realisations"] .page-hero {
  padding-block: clamp(108px, 11vw, 145px) 24px;
}

[data-page="realisations"] .page-hero::after { content: none; }
[data-page="realisations"] .breadcrumb { margin-bottom: 22px; }
[data-page="realisations"] .page-hero h1 { margin-bottom: 14px; }
[data-page="realisations"] .page-hero .lead { margin-bottom: 0; }

.realisations-list { padding-bottom: clamp(48px, 8vw, 100px); }
.realisations-list .project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
}

.project-filters:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}

.project-filters button {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 6px 14px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.project-filters button:hover { border-color: var(--accent); }
.project-filters button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
}

.realisations-list .project-featured {
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding-bottom: 24px;
}

.realisations-list .project-featured > a {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
}

.realisations-list .project-featured-reversed .project-media {
  grid-column: 2;
  grid-row: 1;
}

.realisations-list .project-featured-reversed .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.realisations-list .project-featured .project-media {
  overflow: hidden;
  border-radius: 14px;
}

.realisations-list .project-copy h2 {
  margin: 0;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.realisations-list .project-featured .project-copy { padding: 0; }
.realisations-list .project-featured .project-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.realisations-list .project-card:not(.project-featured) {
  border-radius: 14px;
}

.realisations-list .project-card:not(.project-featured) .project-copy {
  align-content: stretch;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 16px;
  font-size: .9rem;
}

.realisations-list .project-media img[src$="/ruby.webp"] { object-fit: cover; }

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

@media (max-width: 650px) {
  .realisations-list .project-grid,
  .realisations-list .project-featured > a {
    grid-template-columns: minmax(0, 1fr);
  }

  .realisations-list .project-featured-reversed .project-media,
  .realisations-list .project-featured-reversed .project-copy {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Page Tarifs */
.pricing-hero { padding-block: clamp(108px, 11vw, 145px) 40px; }
.pricing-hero::after { content: none; }
.pricing-hero .breadcrumb { margin-bottom: 22px; }
.pricing-hero .lead { margin-bottom: 0; }
.pricing-section { padding-block: clamp(26px, 4vw, 46px); }
.pricing-section + .pricing-section { border-top: 1px solid rgba(255, 255, 255, .22); }
.pricing-section[id], .pricing-row[id] { scroll-margin-top: 90px; }
.pricing-section h2 {
  margin-bottom: 16px;
  padding-inline-start: 16px;
  border-inline-start: 4px solid var(--accent);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
}
.pricing-heading > p {
  max-width: 72ch;
  margin: 0 0 4px;
  padding-inline-start: 20px;
}
.pricing-list { margin-inline-start: 20px; }
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: clamp(24px, 5vw, 72px);
  row-gap: 6px;
  padding-block: 20px;
}
.pricing-row + .pricing-row { border-top: 1px solid rgba(255, 255, 255, .16); }
.pricing-row h3 { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.75rem); }
.pricing-amount { margin: 0; text-align: right; }
.pricing-amount strong {
  color: var(--accent);
  font: 700 clamp(1.45rem, 3.3vw, 2.45rem)/1.15 "Space Grotesk", sans-serif;
}
.pricing-details { grid-column: 1; max-width: 65ch; }
.pricing-details p { margin-bottom: 0; }
.pricing-details .check-list { margin: 12px 0; }
.pricing-details .check-list li { margin: 4px 0; }
.pricing-service-link { margin-inline-start: 20px; }
.pricing-contact { padding-top: clamp(24px, 5vw, 60px); }
.pricing-contact .big-cta {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 60px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.pricing-contact .big-cta > div:last-child {
  padding-inline-start: clamp(24px, 5vw, 60px);
  border-inline-start: 1px solid var(--accent);
}

@media (max-width: 760px) {
  .pricing-row, .pricing-contact .big-cta { grid-template-columns: minmax(0, 1fr); }
  .pricing-amount { text-align: left; }
  .pricing-list, .pricing-service-link { margin-inline-start: 0; }
  .pricing-heading > p { padding-inline-start: 0; }
}

/* Aperçu du logiciel métier */
.webapp-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
}

.webapp-preview {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  container-type: inline-size;
}

.webapp-preview-scene {
  position: relative;
  min-height: 360px;
  padding: 6% 3% 5%;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: end;
  gap: 2%;
  isolation: isolate;
  font-size: clamp(.65rem, 2.3cqi, .94rem);
  line-height: 1.35;
}

.webapp-preview-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -4% -2%;
  background: radial-gradient(ellipse at 65% 70%, rgba(var(--accent-rgb), .21), transparent 69%);
  pointer-events: none;
}

.webapp-preview-panel {
  min-width: 0;
  border: 1px solid rgba(var(--accent-rgb), .45);
  border-radius: clamp(10px, 3cqi, 20px);
  background: linear-gradient(155deg, #171513, #0a0a0a 70%);
  box-shadow: 0 14px 32px #000a, inset 0 1px 0 #ffffff16;
}

.webapp-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  grid-column: 1 / -1;
  margin-inline: 6% 1%;
  transform: perspective(950px) rotateY(-11deg) rotateX(5deg) skewY(-4deg);
  overflow: hidden;
}

.webapp-sidebar {
  display: grid;
  align-content: start;
  gap: .4em;
  padding: 1em .55em;
  border-right: 1px solid var(--line);
  background: #111;
}

.webapp-sidebar strong { padding: .2em .35em .65em; }
.webapp-sidebar span { padding: .4em; color: var(--muted); }
.webapp-sidebar .webapp-active { border-radius: .45em; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.webapp-dashboard-content { padding: 1.25em; }
.webapp-dashboard-content > strong { font-size: 1.45em; }

.webapp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5em;
  margin-block: .85em;
}

.webapp-metrics div {
  padding: .55em;
  border: 1px solid var(--line);
  border-radius: .6em;
  color: var(--muted);
}

.webapp-metrics b { display: block; color: var(--accent); font-size: 1.4em; }

.webapp-chart {
  height: 6.6em;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0 24%, #ffffff0e 24% 25%);
  color: var(--accent);
}

.webapp-chart svg { display: block; width: 100%; height: 100%; }

.webapp-requests, .webapp-planning {
  position: relative;
  margin-top: -3em;
  padding: .9em;
  transform: perspective(800px) rotateY(-9deg) skewY(-4deg);
}

.webapp-planning { transform: perspective(800px) rotateY(-9deg) skewY(-4deg) translateY(1.25em); }

.webapp-panel-title {
  display: flex;
  align-items: center;
  gap: .55em;
  margin-bottom: .7em;
  font-size: 1.08em;
}

.webapp-panel-title svg { flex: 0 0 1.4em; width: 1.4em; color: var(--accent); }

.webapp-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35em;
  padding-block: .58em;
  border-top: 1px solid var(--line);
  font-size: .86em;
}

.webapp-request small, .webapp-event {
  padding: .25em .4em;
  border-radius: .35em;
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent);
  font-size: .85em;
}

.webapp-request small { white-space: nowrap; }
.webapp-request:last-child small { background: #203023; color: #ade0b8; }

.webapp-calendar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: auto repeat(3, 1.8em);
  gap: 1px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(to right, transparent 0 calc(20% - 1px), #ffffff10 calc(20% - 1px) 20%);
  text-align: center;
}

.webapp-calendar > span { padding-block: .4em; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8em; }
.webapp-event { align-self: center; margin-inline: .15em; font-style: normal; white-space: nowrap; }
.webapp-event-review { grid-area: 2 / 1 / 3 / 3; }
.webapp-event-resources { grid-area: 3 / 2 / 4 / 4; }
.webapp-event-followup { grid-area: 4 / 4 / 5 / 6; }

@media (max-width: 900px) {
  .webapp-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 650px) {
  .webapp-hero-grid { gap: 18px; }
  .webapp-preview-scene { min-height: 0; padding-bottom: 8%; }
  .webapp-requests, .webapp-planning { margin-top: -1.4em; }
}
