:root {
  --bg: #f3efe8;
  --bg-soft: #efe7db;
  --panel: #f9f5ef;
  --card: #fffaf3;
  --primary: #1b2a35;
  --primary-dark: #101a23;
  --secondary: #d7b98b;
  --secondary-soft: #f1dfc4;
  --accent: #7a968f;
  --accent-strong: #253b3c;
  --text: #121820;
  --muted: #5c6770;
  --white: #ffffff;
  --line: rgba(18, 24, 32, 0.1);
  --shadow: 0 28px 60px rgba(18, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(215, 185, 139, 0.18), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(122, 150, 143, 0.12), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

.page-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 12% 25%, rgba(215, 185, 139, 0.12), transparent 18%),
    radial-gradient(circle at 82% 14%, rgba(122, 150, 143, 0.1), transparent 20%);
  pointer-events: none;
  z-index: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

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

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

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

h1,
h2,
h3,
.brand,
.footer-brand__title,
.hero-copy h1,
.section-heading h2,
.about-content h2,
.contact-copy h2,
.cta-box h2,
.service-hero h1,
.service-intro h2 {
  font-family: "Manrope", "Inter", sans-serif;
}

.headline-mark {
  color: var(--secondary);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-style: italic;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(16, 26, 35, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(12, 18, 25, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: clamp(180px, 22vw, 250px);
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.brand-text {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  white-space: nowrap;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  padding: 0.35rem 0;
}

.services-group {
  position: relative;
}

.services-toggle {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  cursor: pointer;
  padding: 0.35rem 0;
}

.services-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: rgba(12, 19, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  z-index: 70;
}

.services-menu a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
}

.services-menu a:hover,
.services-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
}

.services-group.is-open .services-menu {
  display: grid;
  gap: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--secondary), rgba(255,255,255,0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.23s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #f3d7a5 100%);
  color: #171b22;
  box-shadow: 0 18px 30px rgba(215, 185, 139, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 36px rgba(215, 185, 139, 0.34);
}

.btn-compact {
  padding: 0.8rem 1.1rem;
  font-size: 0.78rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.full-width {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d151c 0%, #101d28 42%, #152a36 100%);
  color: var(--white);
  padding: 90px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12% -6% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(215, 185, 139, 0.22), transparent 58%);
  border-radius: 50%;
  filter: blur(6px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(16, 29, 40, 0), rgba(16, 29, 40, 0.36));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(215, 185, 139, 0.18);
  border: 1px solid rgba(248, 231, 198, 0.22);
  color: #f9e7c4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.accent {
  background: rgba(27, 42, 53, 0.08);
  border: 1px solid rgba(27, 42, 53, 0.25);
  color: var(--primary);
}

.hero .eyebrow.accent,
.service-hero .eyebrow.accent,
.cta-box .eyebrow.accent {
  background: rgba(122, 150, 143, 0.18);
  border-color: rgba(210, 228, 223, 0.25);
  color: #e8f3f0;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: #f5f4f1;
  max-width: 620px;
  animation: fadeInUp 0.9s ease both;
}

.hero-copy p {
  margin: 0;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  animation: fadeInUp 1.1s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  animation: fadeInUp 1.3s ease both;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  animation: fadeInUp 1.5s ease both;
}

.trust-list li::before {
  content: "✓";
  color: var(--secondary);
  margin-right: 8px;
}

.hero-panel {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.robot-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15, 24, 31, 0.7) 0%, rgba(15, 24, 31, 0.4) 100%);
  box-shadow: 0 38px 80px rgba(2, 8, 12, 0.32);
  border: 1px solid rgba(255,255,255,0.08);
}

.robot-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(9, 14, 18, 0.3), rgba(9, 14, 18, 0.62));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  border-radius: 30px;
  display: block;
  filter: saturate(0.75) contrast(1.06) brightness(0.85);
}

.hero-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  animation: fadeInUp 1.1s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  animation: fadeInUp 1.3s ease both;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  animation: fadeInUp 1.5s ease both;
}

.trust-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
}

.hero-panel {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.robot-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(9, 19, 30, 0.28);
  box-shadow: 0 30px 80px rgba(9, 17, 27, 0.22);
}

.robot-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(11, 23, 36, 0.28), rgba(9, 17, 28, 0.68));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  border-radius: 32px;
  display: block;
}

.robot {
  position: relative;
  width: 300px;
  height: 410px;
  transform: translateY(12px);
  animation: robotFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 26px 34px rgba(11, 20, 30, 0.42));
}

.robot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 260px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(33, 33, 33, 0.18);
  filter: blur(12px);
}

.antenna {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 10px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5f7fb, #9ca8b3);
  transform: translateX(-50%);
}

.antenna::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #dce6ef 25%, #7d8795 70%, #1a1f26 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
}

.head {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 178px;
  height: 132px;
  border-radius: 32% 32% 36% 36% / 40% 40% 30% 30%;
  background: linear-gradient(145deg, #f5f5f5 0%, #dfe5eb 30%, #b3bbc5 100%);
  border: 4px solid rgba(58, 66, 76, 0.9);
  transform: translateX(-50%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.7), inset -14px -12px 24px rgba(59, 68, 79, 0.25), 0 24px 30px rgba(9, 17, 24, 0.14);
  animation: headTurn 5.5s ease-in-out infinite;
}

.head::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(123,134,147,0.12));
}

.head::after {
  content: "";
  position: absolute;
  inset: 18px 18px 18px 18px;
  border-radius: 38% 38% 50% 50%;
  border: 2px solid rgba(80, 90, 103, 0.35);
}

.eye {
  position: absolute;
  top: 52px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #fdfdfd 0%, #9da7b1 26%, #0c0d10 72%, #1a1d22 100%);
  box-shadow: inset -3px -3px 6px rgba(255,255,255,0.4), inset 4px 4px 8px rgba(0,0,0,0.45), 0 0 16px rgba(0,0,0,0.2);
  animation: blink 5.5s ease-in-out infinite;
}

.eye.left { left: 42px; }
.eye.right { right: 42px; }

.eye::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
}

.mouth {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(54,62,70,0.7));
  transform: translateX(-50%);
  border: 2px solid rgba(75,84,91,0.45);
}

.neck {
  position: absolute;
  left: 50%;
  top: 158px;
  width: 38px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, #edf2f7, #8c9aa7);
  transform: translateX(-50%);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
}

.torso {
  position: absolute;
  left: 50%;
  top: 184px;
  width: 220px;
  height: 172px;
  border-radius: 34px 34px 26px 26px;
  background: linear-gradient(145deg, #f4f6f8 0%, #d8dde5 32%, #a0acba 100%);
  border: 5px solid rgba(40, 48, 58, 0.9);
  transform: translateX(-50%);
  box-shadow: inset 0 0 22px rgba(255,255,255,0.24), inset -14px -12px 20px rgba(56,66,77,0.26), 0 18px 24px rgba(7, 16, 27, 0.18);
}

.torso::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122px;
  height: 110px;
  border-radius: 28px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.95), rgba(117, 124, 141, 0.78));
  border: 3px solid rgba(158, 175, 191, 0.72);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.2);
}

.torso::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #f5fbff 0%, #dfeaf2 18%, #768290 75%, #0c0e12 100%);
  box-shadow: 0 0 16px rgba(0,0,0,0.2);
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #dce7f2 20%, #8a9aab 60%, #171b21 100%);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(0,0,0,0.25);
}

.arm {
  position: absolute;
  top: 190px;
  width: 32px;
  height: 118px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ebf1f8, #a1acba);
  box-shadow: inset 0 0 12px rgba(255,255,255,0.18);
}

.arm-left {
  left: 28px;
  transform: rotate(26deg);
  animation: armLeft 6s ease-in-out infinite;
}

.arm-right {
  right: 28px;
  transform: rotate(-26deg);
  animation: armRight 6s ease-in-out infinite;
}

.arm-left::before,
.arm-right::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 62px;
  height: 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, #dfeaf7, #8797a9);
  transform: translateX(-50%);
}

.leg {
  position: absolute;
  top: 334px;
  width: 46px;
  height: 104px;
  border-radius: 18px;
  background: linear-gradient(180deg, #edf3f9, #8b9bab);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.14);
}

.leg-left { left: 92px; }
.leg-right { right: 92px; }

.robot-scene .robot {
  transform: translateY(10px) scale(1.02);
}

.leg::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 64px;
  height: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16,20,26,0.96), rgba(92,101,114,0.72));
  transform: translateX(-50%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 185, 139, 0.45), rgba(122, 150, 143, 0.08) 60%, transparent 100%);
  filter: blur(8px);
  animation: orbMove 9s ease-in-out infinite alternate;
}

.orb-one {
  width: 170px;
  height: 170px;
  left: 18%;
  top: 12%;
}

.orb-two {
  width: 220px;
  height: 220px;
  right: 10%;
  bottom: 10%;
  animation-delay: 1.5s;
}

.orb-three {
  width: 120px;
  height: 120px;
  left: 45%;
  bottom: 12%;
  animation-delay: 2.2s;
}

.panel-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(16, 35, 60, 0.75);
  box-shadow: 0 20px 50px rgba(7, 16, 27, 0.3);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 2;
}

.stats-card {
  top: 30px;
  right: 24px;
  width: 220px;
  padding: 1.2rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-card .label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-card strong {
  font-size: 2.5rem;
  line-height: 1;
}

.stats-card small {
  color: rgba(255, 255, 255, 0.7);
}

.feature-card {
  left: 0;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 340px);
  padding: 1rem 1.1rem;
}

.feature-card strong {
  display: block;
  margin-bottom: 4px;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.monitor-card {
  left: 82px;
  top: 120px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  width: 280px;
  height: 190px;
  padding: 1.2rem;
}

.bar {
  display: block;
  width: 26px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #7ee7d4, #1d9bf0);
}

.bar-one { height: 35%; }
.bar-two { height: 55%; }
.bar-three { height: 72%; }
.bar-four { height: 92%; }
.bar-five { height: 48%; }

.logos {
  background: #eef4fb;
  border-bottom: 1px solid var(--line);
}

.logos-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.services,
.about,
.process,
.contact {
  padding: 96px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.about-content h2,
.contact-copy h2,
.cta-box h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  color: #171d24;
}

.cta-box h2 {
  color: #f8f5ee;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(245,239,232,0.95) 100%);
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 22px;
  padding: 1.7rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(122, 150, 143, 0.22);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215, 185, 139, 0.17), rgba(122, 150, 143, 0.18));
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.service-card h3 a {
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary-dark);
  font-weight: 700;
}

.about {
  background: linear-gradient(180deg, #f3eee7 0%, #faf7f3 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  display: inline-block;
  margin-right: 10px;
  color: var(--accent-strong);
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(246,240,232,0.96) 100%);
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 20px;
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
}

.stat-box strong {
  display: block;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--primary-dark);
  white-space: nowrap;
  max-width: 100%;
}

.stat-box:nth-child(2) strong {
  animation: stat-24-pulse 3.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes stat-24-pulse {
  0%, 100% {
    transform: scale(0.98);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.06);
    filter: brightness(1.04);
  }
  70% {
    transform: scale(0.99);
    filter: brightness(1.02);
  }
}

.stat-box span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.55rem;
}

@media (max-width: 520px) {
  .stat-box {
    min-height: 150px;
    padding: 1rem 0.75rem;
  }

  .stat-box strong {
    font-size: clamp(1.15rem, 7vw, 2rem);
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(245,239,232,0.96) 100%);
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 20px;
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.06);
}

.step span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(215, 185, 139, 0.15);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.testimonials {
  padding: 96px 0 30px;
  background: linear-gradient(180deg, #f7f1ea 0%, #f9f5f0 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 22px;
  padding: 1.7rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: "“";
  position: absolute;
  right: 20px;
  top: 12px;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(122, 150, 143, 0.14);
}

.stars {
  color: #f7b500;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted);
}

.person {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}

.person strong {
  font-size: 1rem;
}

.person span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cta-band {
  padding: 0 0 96px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 2rem 2.2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #111b22 0%, #233740 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-copy {
  padding-right: 20px;
}

.contact-copy p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  color: var(--text);
  font-weight: 600;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 600;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  background: #f6f9fe;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: rgba(122, 150, 143, 0.45);
  box-shadow: 0 0 0 4px rgba(122, 150, 143, 0.12);
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

.form-success {
  min-height: 24px;
  margin: 10px 0 0;
  color: #087f5b;
  font-weight: 600;
  text-align: center;
}

.site-footer {
  background: linear-gradient(180deg, rgba(16, 26, 35, 0.98) 0%, rgba(15, 22, 29, 0.98) 100%);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 185, 139, 0.12);
  border: 1px solid rgba(215, 185, 139, 0.24);
  color: #f6d7a5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-brand__title {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #d7b98b 0%, #f3d7a5 100%);
  color: #171b22;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(215, 185, 139, 0.18);
}

.footer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(215, 185, 139, 0.22);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-group h3 {
  margin: 0 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.footer-links-group a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-group a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-meta a:hover {
  color: var(--white);
}

.siren {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

.service-header {
  background: rgba(16, 26, 35, 0.92);
}

.service-page {
  background: linear-gradient(180deg, #f7f0e4 0%, #f4efe8 100%);
}

.service-hero {
  background: radial-gradient(circle at top left, rgba(215, 185, 139, 0.18), transparent 17%),
    linear-gradient(135deg, #0d151c 0%, #101d28 35%, #1d2e39 100%);
  color: var(--white);
  padding: 90px 0 80px;
}

.service-hero-alt {
  background: radial-gradient(circle at top left, rgba(122, 150, 143, 0.18), transparent 18%),
    linear-gradient(135deg, #101820 0%, #172833 35%, #213640 100%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.service-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.service-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  max-width: 640px;
}

.service-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.service-panel {
  background: rgba(15, 35, 60, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.service-panel h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.service-list li::before {
  content: "✓";
  color: var(--secondary);
  flex-shrink: 0;
}

.service-list a,
.service-list a:visited {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}

.service-content {
  padding: 88px 0 0;
}

.service-intro {
  margin-bottom: 26px;
}

.service-intro h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.service-intro p {
  color: var(--muted);
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.service-feature {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215, 185, 139, 0.18), rgba(122, 150, 143, 0.2));
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-feature h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.service-feature p {
  margin: 0;
  color: var(--muted);
}

.service-steps {
  padding: 90px 0 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.step-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.step-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(215, 185, 139, 0.13);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.service-cta {
  padding-top: 90px;
  padding-bottom: 96px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(90deg, #d7b98b, #7a968f, #d7b98b);
  transform-origin: left center;
  transform: scaleX(0);
  box-shadow: 0 0 24px rgba(122, 150, 143, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 80px;
}

.siren {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  background: rgba(8, 20, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(2, 12, 24, 0.2);
  padding: 18px 20px;
  color: var(--white);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-weight: 700;
}

.cookie-banner__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
}

.cookie-actions,
.cookie-panel__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-panel {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-panel label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cookie-manage-link {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 140;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 20, 32, 0.8);
  color: #fff;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.legal-page {
  padding: 88px 0 40px;
}

.legal-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.8rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
}

.legal-section h1,
.legal-section h2 {
  margin-top: 0;
}

.legal-section ul {
  padding-left: 1.2rem;
}

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

[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }
[data-delay="7"] { transition-delay: 0.7s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes robotFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes armLeft {
  0%,
  100% {
    transform: rotate(18deg);
  }
  50% {
    transform: rotate(30deg);
  }
}

@keyframes armRight {
  0%,
  100% {
    transform: rotate(-18deg);
  }
  50% {
    transform: rotate(-30deg);
  }
}

@keyframes orbMove {
  0% {
    transform: scale(0.96) translateY(0px);
  }
  100% {
    transform: scale(1.08) translateY(-12px);
  }
}

@keyframes blink {
  0%, 43%, 45%, 47%, 100% {
    transform: scaleY(1);
    opacity: 1;
  }
  44% {
    transform: scaleY(0.15);
    opacity: 0.85;
  }
  46% {
    transform: scaleY(0.2);
    opacity: 0.8;
  }
}

@keyframes headTurn {
  0%, 100% {
    transform: translateX(-50%) rotate(0deg);
  }
  25% {
    transform: translateX(-50%) rotate(-5deg);
  }
  50% {
    transform: translateX(-50%) rotate(4deg);
  }
  75% {
    transform: translateX(-50%) rotate(-3deg);
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {
  .main-nav {
    gap: 10px;
    font-size: 0.72rem;
  }

  .nav {
    gap: 10px;
  }

  .brand-text {
    font-size: 0.78rem;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards-grid,
  .process-grid,
  .service-hero-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 380px;
  }

  .cards-grid,
  .process-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
    background: #0b1824;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    font-size: 1rem;
  }

  .main-nav > a {
    display: block;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
  }

  .main-nav > a:active,
  .main-nav > a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .services-group {
    width: 100%;
  }

  .services-toggle {
    width: 100%;
    text-align: left;
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
    font-weight: 700;
  }

  .services-menu {
    position: static;
    margin-top: 0.5rem;
    min-width: 0;
    width: 100%;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 0.5rem;
  }

  .services-menu a {
    display: block;
    min-width: 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.85rem 0.9rem;
    line-height: 1.2;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .services-menu a:last-child {
    margin-bottom: 0;
  }

  .menu-toggle {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    margin-right: 8px;
    padding: 15px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .nav .btn {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

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

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-grid,
  .process-grid,
  .field-row,
  .stats-panel,
  .logos-strip,
  .testimonial-grid,
  .service-grid,
  .steps-grid,
  .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 300px;
  }

  .hero-video {
    object-position: center 18%;
    transform: scale(1.08);
  }

  .monitor-card {
    left: 18px;
    right: 18px;
    top: 110px;
    width: auto;
  }

  .feature-card {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .service-hero {
    padding-top: 72px;
  }

  .service-panel {
    padding: 1.15rem;
  }

  .service-list {
    font-size: 0.9rem;
  }

  .service-hero h1,
  .service-intro h2,
  .section-heading h2,
  .about-content h2,
  .contact-copy h2,
  .cta-box h2 {
    letter-spacing: -0.04em;
  }

  .service-content,
  .service-steps,
  .service-cta {
    padding-top: 64px;
  }
}

/* Audit gratuit */
.audit-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.audit-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.audit-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent-strong);
  transition: width 0.3s ease;
}

.audit-step {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.audit-box h2 {
  margin: 0 0 24px;
}

.audit-choices {
  display: grid;
  gap: 12px;
}

.audit-choice {
  text-align: left;
  font: inherit;
  font-weight: 600;
  padding: 16px 20px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.audit-choice:hover,
.audit-choice.is-selected {
  border-color: var(--accent-strong);
  transform: translateY(-1px);
}

.audit-back {
  margin-top: 20px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.audit-score {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.audit-score__value {
  flex: none;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 0 8px;
  box-sizing: border-box;
  line-height: 130px;
  white-space: nowrap;
  font-size: 2.2rem;
  font-weight: 800;
}

.audit-score__value small {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-left: 2px;
}

.audit-score h2 {
  margin: 4px 0 0;
}

.audit-recos {
  padding-left: 20px;
  margin: 0 0 32px;
  display: grid;
  gap: 10px;
}

.audit-box .lead-form {
  margin-top: 8px;
  padding: 0;
  box-shadow: none;
  border: 0;
  background: none;
}

.lead-form .audit-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.lead-form .audit-check input {
  width: auto;
  margin-top: 4px;
  flex: none;
}

@media (max-width: 640px) {
  .audit-box {
    padding: 24px 20px;
  }

  .audit-score {
    flex-direction: column;
    text-align: center;
  }
}

.audit-box {
  margin-bottom: 72px;
}

@media (max-width: 640px) {
  .audit-box {
    margin-bottom: 48px;
  }
}

.testimonials--compact {
  padding: 64px 0 0;
}

.testimonial-grid--single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.testimonial-more {
  text-align: center;
  margin: 28px 0 0;
}

.audit-proof {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.audit-proof strong {
  color: var(--secondary);
}

.audit-box .eyebrow.accent {
  background: rgba(27, 42, 53, 0.08);
  border-color: rgba(27, 42, 53, 0.25);
  color: var(--primary);
}

/* Chiffres clés */
.keyfigures {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.keyfigures-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.keyfigure strong {
  display: block;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: var(--accent-strong);
}

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

/* Simulateur */
.downtime {
  padding: 96px 0 0;
}

.downtime-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.downtime-form {
  display: grid;
  gap: 14px;
}

.downtime-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.downtime-form input {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.downtime-result {
  margin: 4px 0 0;
  font-size: 1.1rem;
}

.downtime-result strong {
  font-size: 1.8rem;
  color: #b42318;
}

/* FAQ */
.faq {
  padding: 96px 0 30px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .keyfigures-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .downtime-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .downtime {
    padding-top: 64px;
  }
}

.audit-hours {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--accent-strong);
  background: var(--panel);
  border-radius: 8px;
}

.audit-hours strong {
  color: var(--accent-strong);
}

.audit-hours small {
  color: var(--muted);
}

.audit-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.audit-hub__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.audit-hub__card h2,
.audit-hub__card p {
  margin: 0;
}

.audit-hub__card .service-list {
  color: var(--text);
  font-weight: 600;
}

.audit-hub__card .service-list li::before {
  color: var(--accent-strong);
}

.audit-hub__card .eyebrow.accent {
  background: rgba(27, 42, 53, 0.08);
  border-color: rgba(27, 42, 53, 0.25);
  color: var(--primary);
}

@media (max-width: 760px) {
  .audit-hub {
    grid-template-columns: 1fr;
  }
}

/* Illustrations animées des pages services */
.service-illus {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 1.2rem;
  overflow: visible;
}

.service-illus .si-float {
  animation: si-float 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.service-illus .si-pulse {
  animation: si-pulse 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.service-illus .si-scan {
  animation: si-scan 4s ease-in-out infinite;
}

.service-illus .si-orbit {
  animation: si-orbit 14s linear infinite;
  transform-origin: 100px 100px;
}

.service-illus .si-dash {
  stroke-dasharray: 6 8;
  animation: si-dash 1.6s linear infinite;
}

@keyframes si-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes si-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes si-scan {
  0%, 100% { transform: translateY(-34px); opacity: 0; }
  15%, 85% { opacity: 0.9; }
  50% { transform: translateY(34px); opacity: 0.9; }
}

@keyframes si-orbit {
  to { transform: rotate(360deg); }
}

@keyframes si-dash {
  to { stroke-dashoffset: -28; }
}

/* Mobile : le header ne doit pas déborder (logo + texte + bouton menu) */
@media (max-width: 760px) {
  .brand {
    flex-shrink: 1;
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    max-width: 120px;
  }

  .brand-logo {
    max-width: 90px;
    height: 40px;
  }

  .brand-text {
    font-size: 0.6rem;
    line-height: 1.2;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .nav {
    gap: 8px;
  }

  .menu-toggle {
    margin-right: 0;
    width: 40px;
    height: 40px;
    padding: 11px 9px;
    border-radius: 11px;
  }
}

.service-illus--hero {
  max-width: 240px;
  margin: 0 auto;
}

.service-illus .si-gauge {
  stroke-dasharray: 100;
  animation: si-gauge 6s ease-in-out infinite;
}

@keyframes si-gauge {
  0% { stroke-dashoffset: 100; }
  55%, 90% { stroke-dashoffset: 24; }
  100% { stroke-dashoffset: 100; }
}

@media (max-width: 760px) {
  .service-illus--hero {
    max-width: 150px;
    margin-top: 8px;
  }
}
