/* --------------------------------------------------------------------------
   KzCloud — page de pré-lancement
   Palette et espacements principaux modifiables depuis les variables ci-dessous.
   -------------------------------------------------------------------------- */

:root {
  --bg: #f7f6f1;
  --bg-soft: #eef4f4;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(31, 58, 78, 0.12);
  --line-bright: rgba(18, 169, 199, 0.32);
  --text: #102033;
  --text-soft: #5f6f7f;
  --cyan: #12a9c7;
  --cyan-strong: #078ba9;
  --violet: #7358e8;
  --green: #16996d;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow: 0 32px 80px rgba(42, 61, 76, 0.12);
  --shell: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% -15%, rgba(82, 215, 234, 0.18), transparent 38%),
    radial-gradient(circle at 8% 48%, rgba(115, 88, 232, 0.06), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 72%, rgba(224, 235, 235, 0.5));
  pointer-events: none;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

/* Arrière-plan décoratif */
.ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(115px);
  opacity: 0.13;
  will-change: transform;
}

.ambient__orb--cyan {
  top: -240px;
  right: -170px;
  background: #53d8e9;
  animation: orb-drift 17s ease-in-out infinite alternate;
}

.ambient__orb--violet {
  bottom: 5%;
  left: -300px;
  background: #927cf4;
  animation: orb-drift 21s ease-in-out -7s infinite alternate-reverse;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(42, 75, 96, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 75, 96, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* En-tête */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, rgba(18, 169, 199, 0.12), rgba(115, 88, 232, 0.06));
  border: 1px solid rgba(18, 169, 199, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75), 0 8px 20px rgba(43, 88, 104, 0.07);
}

.brand__mark svg {
  width: 34px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__mark .brand__spark {
  stroke: var(--violet);
  stroke-width: 1.5;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #526575;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.availability__dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(22, 153, 109, 0.42);
}

.availability__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(22, 153, 109, 0.34);
  border-radius: inherit;
  animation: pulse 2.4s ease-out infinite;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(460px, 0.8fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
  min-height: 700px;
  padding-block: 92px 110px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #637586;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.eyebrow span::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: rgba(18, 169, 199, 0.4);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.55rem, 6.4vw, 6.15rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  width: fit-content;
  color: transparent;
  background: linear-gradient(100deg, var(--cyan-strong) 10%, #20b9ce 48%, var(--violet) 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__intro {
  max-width: 640px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
}

.hero__intro strong {
  color: #263b4e;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    color 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms var(--ease);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 250ms var(--ease);
}

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

.button:hover svg {
  transform: translateX(4px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(120deg, #12314a, #102033);
  box-shadow: 0 14px 35px rgba(22, 45, 64, 0.18);
}

.button--primary:hover {
  box-shadow: 0 18px 44px rgba(22, 45, 64, 0.25);
}

.button--ghost {
  color: #273d50;
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(18, 169, 199, 0.3);
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 32px 0 0;
  color: #6a7b89;
  font-size: 0.76rem;
  list-style: none;
}

.hero__signals li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__signals span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: var(--cyan);
  background: rgba(18, 169, 199, 0.1);
  border-radius: 50%;
  font-size: 0.62rem;
}

/* Carte de lancement */
.launch-card {
  position: relative;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), transparent 42%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  isolation: isolate;
  transition: transform 180ms ease-out;
}

.launch-card::before,
.launch-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(45, 94, 116, 0.1);
  border-radius: inherit;
}

.launch-card::before {
  inset: 13px -13px -13px 13px;
}

.launch-card::after {
  inset: 27px -27px -27px 27px;
  opacity: 0.5;
}

.launch-card__glow {
  position: absolute;
  z-index: -2;
  top: 18%;
  left: 20%;
  width: 70%;
  height: 55%;
  background: rgba(67, 199, 220, 0.14);
  filter: blur(70px);
}

.launch-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #187754;
  background: rgba(22, 153, 109, 0.08);
  border: 1px solid rgba(22, 153, 109, 0.16);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.status-pill i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(22, 153, 109, 0.5);
}

.launch-card h2 {
  margin: 17px 0 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.04em;
}

.launch-card__index {
  color: #82909b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.web-build {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
  height: 244px;
  margin: 25px 0 20px;
  padding: 10px;
  overflow: hidden;
  background: rgba(238, 245, 246, 0.78);
  border: 1px solid rgba(42, 78, 96, 0.1);
  border-radius: 17px;
}

.code-editor,
.site-preview {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(38, 73, 92, 0.11);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(46, 69, 82, 0.08);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 31px;
  padding: 0 10px;
  color: #7b8a95;
  background: rgba(244, 247, 247, 0.9);
  border-bottom: 1px solid rgba(38, 73, 92, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.5rem;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  background: #d8dfe1;
  border-radius: 50%;
}

.window-dots i:first-child { background: #ff9c8f; }
.window-dots i:nth-child(2) { background: #f2cb70; }
.window-dots i:last-child { background: #72d5ae; }

.window-action {
  color: #a5b0b8;
  font-size: 0.55rem;
}

.code-editor__body {
  padding: 14px 10px 10px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.54rem;
  line-height: 1.95;
}

.code-line {
  display: flex;
  min-width: 0;
  white-space: nowrap;
}

.code-line b {
  flex: 0 0 23px;
  color: #b3bdc4;
  font-weight: 400;
  user-select: none;
}

.code-line > span {
  display: block;
  max-width: calc(100% - 23px);
  overflow: hidden;
  color: #405668;
  animation: code-write 7s var(--ease) infinite both;
}

.code-line em {
  color: var(--violet);
  font-style: normal;
}

.code-line i {
  color: var(--cyan-strong);
  font-style: normal;
}

.code-line q {
  color: #bd6f38;
  quotes: none;
}

.code-line--2 > span { animation-delay: 0.16s; }
.code-line--3 > span { animation-delay: 0.32s; }
.code-line--4 > span { animation-delay: 0.48s; }
.code-line--5 > span { animation-delay: 0.64s; }
.code-line--6 > span { animation-delay: 0.8s; }
.code-line--7 > span { animation-delay: 0.96s; }

.typing-caret {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--cyan-strong);
  animation: caret-blink 850ms step-end infinite;
}

.preview-address,
.preview-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preview-address i {
  width: 5px;
  height: 5px;
  border: 1px solid #94a4ad;
  border-radius: 50%;
}

.preview-live {
  color: #16845e;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-live i {
  width: 5px;
  height: 5px;
  background: #25b781;
  border-radius: 50%;
  box-shadow: 0 0 7px rgba(37, 183, 129, 0.48);
}

.site-preview__body {
  position: relative;
  height: calc(100% - 31px);
  padding: 13px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(18, 169, 199, 0.16), transparent 32%),
    linear-gradient(145deg, #fff, #f6f8fa);
}

.mini-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 12px;
}

.mini-nav span:not(.mini-logo) {
  width: 17px;
  height: 2px;
  background: #c9d3d8;
  border-radius: 3px;
}

.mini-nav .mini-logo {
  width: 12px;
  height: 12px;
  margin-right: auto;
  background: linear-gradient(145deg, var(--cyan), var(--violet));
  border-radius: 4px;
}

.mini-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 25px;
}

.mini-copy > * {
  transform-origin: left;
  animation: preview-build 7s var(--ease) infinite both;
}

.mini-copy .mini-kicker {
  width: 29px;
  height: 3px;
  margin-bottom: 8px;
  background: var(--cyan);
  border-radius: 2px;
}

.mini-copy strong {
  width: 84%;
  height: 7px;
  background: #1a3043;
  border-radius: 3px;
}

.mini-copy strong:nth-child(3) {
  width: 61%;
  margin-top: 4px;
  animation-delay: 0.17s;
}

.mini-copy p {
  width: 88%;
  height: 3px;
  margin: 13px 0 0;
  background: #bac7ce;
  border-radius: 3px;
  animation-delay: 0.34s;
}

.mini-copy p:nth-child(5) {
  width: 68%;
  margin-top: 4px;
  animation-delay: 0.45s;
}

.mini-copy i {
  width: 46px;
  height: 16px;
  margin-top: 15px;
  background: #132f46;
  border-radius: 5px;
  animation-delay: 0.56s;
}

.mini-cards {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mini-cards span {
  height: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dbe3e6;
  border-radius: 5px;
  transform-origin: bottom;
  animation: preview-build 7s 0.7s var(--ease) infinite both;
}

.mini-cards span:nth-child(2) { animation-delay: 0.82s; }
.mini-cards span:nth-child(3) { animation-delay: 0.94s; }

.build-scan {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 -25%;
  width: 22%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(18, 169, 199, 0.16), transparent);
  transform: skewX(-10deg);
  animation: build-scan 7s 1.2s ease-in-out infinite;
}

.progress-block {
  padding: 19px;
  background: rgba(242, 247, 247, 0.85);
  border: 1px solid rgba(42, 78, 96, 0.1);
  border-radius: var(--radius-sm);
}

.progress-block__label,
.progress-block__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-block__label {
  margin-bottom: 13px;
  font-size: 0.7rem;
}

.progress-block__label span {
  color: #42596a;
  font-weight: 650;
}

.progress-block__label strong {
  color: var(--cyan);
  font-size: 0.64rem;
  font-weight: 600;
}

.progress {
  height: 6px;
  overflow: hidden;
  background: rgba(32, 66, 83, 0.09);
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-strong), var(--cyan) 55%, var(--violet));
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(18, 169, 199, 0.28);
  transition: width 1.8s 500ms var(--ease);
}

.progress.is-active span {
  width: 72%;
}

.progress-block__meta {
  margin-top: 10px;
  color: #87939c;
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Services */
.services {
  padding-block: 115px 130px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

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

.service-card {
  position: relative;
  min-height: 345px;
  padding: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    background 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  background: var(--cyan-strong);
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card:hover {
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line-bright);
  box-shadow: 0 24px 55px rgba(39, 65, 80, 0.12);
  transform: translateY(-7px);
}

.service-card:hover::after {
  opacity: 0.1;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  color: var(--cyan);
  background: rgba(18, 169, 199, 0.08);
  border: 1px solid rgba(18, 169, 199, 0.14);
  border-radius: 13px;
}

.service-card__icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__number {
  color: #8b98a1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.service-card h3 {
  margin: 70px 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.75;
}

.service-card__tag {
  position: absolute;
  bottom: 24px;
  left: 26px;
  color: #718391;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Contact */
.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 70px;
  padding: clamp(42px, 6vw, 74px);
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(18, 169, 199, 0.12), transparent 38%),
    linear-gradient(115deg, #edf9f8, #f4f4fb 60%, #eeeafa);
  border: 1px solid rgba(72, 111, 130, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(37, 82, 101, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 82, 101, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 20%, black);
}

.contact .eyebrow {
  margin-bottom: 18px;
}

.contact__copy > p:last-child {
  margin: 20px 0 0;
  color: #617484;
  font-size: 0.95rem;
}

.contact__visual {
  position: absolute;
  z-index: -1;
  top: -175px;
  right: 10%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(18, 169, 199, 0.14);
  border-radius: 50%;
}

.contact__visual::before,
.contact__visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(18, 169, 199, 0.12);
  border-radius: 50%;
}

.contact__visual::before { inset: 58px; }
.contact__visual::after { inset: 125px; }

.contact__visual span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(18, 169, 199, 0.55);
}

.contact__visual span:nth-child(1) { top: 49%; left: -3px; }
.contact__visual span:nth-child(2) { right: 27px; bottom: 25%; }
.contact__visual span:nth-child(3) { top: 29%; left: 80px; }

.button--light {
  position: relative;
  z-index: 1;
  color: #fff;
  background: #102033;
}

.button--light:hover {
  background: #18344c;
  box-shadow: 0 18px 40px rgba(24, 50, 69, 0.2);
}

/* Pied de page */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 100px;
  color: #778791;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #4e6473;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer a:hover {
  color: var(--cyan);
}

.site-footer span {
  text-align: right;
}

/* Apparitions progressives, activées uniquement quand JavaScript est disponible */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 750ms var(--ease),
    transform 750ms var(--ease);
}

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

.hero .reveal:nth-child(2) { transition-delay: 80ms; }
.hero .reveal:nth-child(3) { transition-delay: 150ms; }
.hero .reveal:nth-child(4) { transition-delay: 220ms; }
.hero .reveal:nth-child(5) { transition-delay: 290ms; }
.hero .launch-card { transition-delay: 180ms; }
.service-card:nth-child(2) { transition-delay: 90ms; }
.service-card:nth-child(3) { transition-delay: 180ms; }

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.55); }
  75%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes orb-drift {
  to { transform: translate3d(70px, 50px, 0) scale(1.08); }
}

@keyframes code-write {
  0%, 5% { opacity: 0; clip-path: inset(0 100% 0 0); }
  13%, 76% { opacity: 1; clip-path: inset(0 0 0 0); }
  92%, 100% { opacity: 0.45; clip-path: inset(0 0 0 0); }
}

@keyframes caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes preview-build {
  0%, 8% { opacity: 0.3; transform: scaleX(0.18); }
  18%, 78% { opacity: 1; transform: scaleX(1); }
  94%, 100% { opacity: 0.78; transform: scaleX(1); }
}

@keyframes build-scan {
  0%, 17% { left: -25%; opacity: 0; }
  27% { opacity: 1; }
  58% { left: 112%; opacity: 0.35; }
  59%, 100% { left: 112%; opacity: 0; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 70px;
    padding-block: 90px 120px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .launch-card {
    width: min(660px, 100%);
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .service-card:last-child p {
    max-width: 520px;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 28px, 1180px);
    --radius-lg: 24px;
  }

  .site-header {
    min-height: 88px;
  }

  .brand small {
    display: none;
  }

  .availability {
    font-size: 0;
  }

  .availability__dot {
    width: 9px;
    height: 9px;
  }

  .hero {
    min-height: auto;
    gap: 62px;
    padding-block: 75px 95px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero__intro {
    margin-top: 26px;
    line-height: 1.7;
  }

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

  .button {
    width: 100%;
  }

  .hero__signals {
    gap: 12px 18px;
  }

  .launch-card {
    padding: 20px;
  }

  .launch-card::before {
    inset: 9px -7px -9px 7px;
  }

  .launch-card::after {
    display: none;
  }

  .launch-card__index {
    display: none;
  }

  .web-build {
    grid-template-columns: 1.08fr 0.92fr;
    height: 230px;
    margin-inline: 0;
    padding: 7px;
  }

  .code-editor__body {
    padding-inline: 7px;
    font-size: 0.47rem;
  }

  .code-line b {
    flex-basis: 18px;
  }

  .window-title,
  .window-action,
  .preview-address {
    font-size: 0;
  }

  .preview-address i {
    width: 6px;
    height: 6px;
  }

  .services {
    padding-block: 90px 100px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 315px;
  }

  .service-card h3 {
    margin-top: 52px;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
    padding: 38px 25px 28px;
  }

  .contact .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 30px;
    text-align: center;
  }

  .site-footer span {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero__signals {
    align-items: flex-start;
    flex-direction: column;
  }

  .progress-block__meta span:nth-child(2) {
    display: none;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .code-line > span,
  .mini-copy > *,
  .mini-cards span {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none !important;
  }

  .typing-caret,
  .build-scan {
    display: none;
  }
}
