/* ===== Teknodev — feuille de style ===== */
:root {
  --navy-900: #0E1747;
  --navy-800: #16246B;
  --navy: #1E3290;
  --blue: #3751C2;
  --blue-300: #8EA0F0;
  --gray: #6E6E6E;
  --ink: #12141C;
  --ink-2: #4A4F5E;
  --line: #E3E5EE;
  --bg: #FFFFFF;
  --tint: #F4F6FC;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 23, 71, .06), 0 10px 30px -12px rgba(14, 23, 71, .18);
  --shadow-lg: 0 30px 60px -20px rgba(14, 23, 71, .45);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; border-radius: 999px; padding: 12px 22px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(55, 81, 194, .7); }
.btn--primary:hover { background: #2E46B3; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn--small { padding: 9px 18px; font-size: 15px; }
.btn--lg { padding: 15px 28px; font-size: 17px; }
.btn--block { width: 100%; }

/* ===== Navigation ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; letter-spacing: -.01em; }
.brand__name span { color: var(--blue-300); font-weight: 700; }
.nav.is-scrolled .brand__name { color: var(--ink); }
.nav.is-scrolled .brand__name span { color: var(--blue); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: rgba(255, 255, 255, .82); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav.is-scrolled .nav__links a { color: var(--ink-2); }
.nav.is-scrolled .nav__links a:hover { color: var(--blue); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-scrolled .nav__burger span, .nav.menu-open .nav__burger span { background: var(--ink); }
.nav.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav.menu-open { background: #fff; }
.nav.menu-open .brand__name { color: var(--ink); }
.nav.menu-open .brand__name span { color: var(--blue); }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

/* ===== Motif triangles (issu du logo) ===== */
.hero__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86' height='100' viewBox='0 0 86 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07'%3E%3Cpath d='M0 0 86 50 0 100M86 0 0 50 86 100M0 0v100M86 0v100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 86px 100px;
  mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%);
}
.hero__pattern--soft { mask-image: radial-gradient(ellipse 60% 70% at 10% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 10% 20%, #000 10%, transparent 70%); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(55, 81, 194, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(55, 81, 194, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%);
  padding: 150px 0 110px;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.eyebrow--light { color: var(--blue-300); }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #A9B6FF, #6F86F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 24px; font-size: 19px; color: rgba(255, 255, 255, .78); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.hero__facts span { font-size: 14px; color: rgba(255, 255, 255, .6); }

.hero__visual { position: relative; height: 560px; }
.phone {
  border-radius: 34px; padding: 9px; background: #0B0F24;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
  overflow: hidden;
}
/* L'image garde ses proportions d'origine : rien n'est rogné, le cadre s'adapte à la capture */
.phone img { border-radius: 24px; width: 100%; height: auto; }
.hero__visual .phone { position: absolute; width: 250px; padding: 10px; border-radius: 34px; }
.hero__visual .phone--front { width: 285px; }
/* Écrans d'accueil des apps (logo seul) */
.splash {
  aspect-ratio: 9 / 19; border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: #fff; position: relative;
}
.splash img { width: 42%; height: auto; border-radius: 22%; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
.splash strong { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.splash::after { content: ""; position: absolute; bottom: 10px; left: 50%; width: 34%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .55); transform: translateX(-50%); }
.splash--myevet { background: linear-gradient(150deg, #E6057A, #F5363F 55%, #FF6A13); }
.splash--myevet img { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 14px 30px -10px rgba(0, 0, 0, .45); }
.splash--pointeuse { background: linear-gradient(160deg, #F07A2B, #A8330B); }
.splash--fd { background: linear-gradient(160deg, #3C63D5, #2B3189); }
.hero__visual .phone--front .splash strong { font-size: 26px; }
.phone--front { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; animation: float 7s ease-in-out infinite; }
.phone--back-left { left: 2%; top: 80px; transform: rotate(-8deg) scale(.86); z-index: 2; opacity: .92; }
.phone--back-right { right: 2%; top: 80px; transform: rotate(8deg) scale(.86); z-index: 2; opacity: .92; }
.float-card {
  position: absolute; z-index: 4; left: 4%; bottom: 18px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out -3s infinite;
}
.float-card div { display: flex; flex-direction: column; line-height: 1.25; }
.float-card strong { font-family: var(--font-display); }
.float-card span { font-size: 13px; color: var(--ink-2); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ===== Sections ===== */
.section { position: relative; padding: 110px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; overflow: hidden; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
.section__lead { margin-top: 18px; font-size: 18px; color: var(--ink-2); }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.service__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.service p { color: var(--ink-2); font-size: 16px; }

/* ===== Études de cas ===== */
.group-title { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.group-title--spaced { margin-top: 72px; }
.group-title__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); }
.group-title__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.group-title h3 { font-size: 26px; font-weight: 700; }
.group-title p { color: var(--ink-2); font-size: 16px; }
.case__link { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--accent); text-decoration: none; }
.case__link:hover { text-decoration: underline; }
.browser__shot { display: block; width: 100%; height: auto; }
.case {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center;
  background: #fff; border-radius: 28px; padding: 56px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.case + .case { margin-top: 32px; }
.case::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.case--reverse .case__copy { order: 2; }
.case__id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.case__icon { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .3); }
.case__icon--svg { background: var(--accent-soft); padding: 8px; box-shadow: none; }
.case h3 { font-size: 32px; font-weight: 700; }
.case__type { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 2px; }
.case__pitch { font-size: 18px; color: var(--ink); margin-bottom: 22px; }
.case__features { display: grid; gap: 10px; margin-bottom: 26px; }
.case__features li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.case__features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9.2 10 5' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }
.case .chips li { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 80%, #000); border-color: transparent; }
.chips--lg li { font-size: 15px; padding: 9px 16px; background: #fff; }

.case__visual { position: relative; }
.case__phones {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: center;
  padding: 28px 20px; border-radius: 22px; background: var(--accent-soft);
}
.case__phones .phone { border-radius: 20px; padding: 6px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); background: #111; }
.case__phones .phone img { border-radius: 14px; }
.case__phones .phone--raised { transform: translateY(-18px) scale(1.06); z-index: 1; }
.case__note { position: absolute; right: 14px; bottom: -26px; font-size: 12px; color: var(--ink-2); opacity: .7; }

/* Maquette navigateur Sevenel */
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -25px rgba(7, 103, 155, .45), 0 0 0 1px var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F3F7; border-bottom: 1px solid var(--line); }
.browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #D7DAE2; }
.browser__url { margin-left: 14px; flex: 1; max-width: 260px; font-size: 12px; color: var(--ink-2); background: #fff; border-radius: 6px; padding: 3px 10px; }
.erp { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; font-size: 12.5px; }
.erp__side { background: #F6FAFB; border-right: 1px solid #E5EEF1; padding: 14px 10px; }
.erp__logo { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #07679B; margin: 0 6px 14px; }
.erp__side li { padding: 6px 8px; border-radius: 7px; color: #50606A; }
.erp__side li.is-active { background: #07679B; color: #fff; font-weight: 600; }
.erp__main { padding: 18px; display: grid; gap: 12px; align-content: start; background: #fff; }
.erp__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.erp__title span { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); font-family: var(--font-body); }
.erp__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.erp__kpis div { border: 1px solid #E5EEF1; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.erp__kpis small { color: var(--ink-2); font-size: 11px; }
.erp__kpis b { font-family: var(--font-display); font-size: 22px; color: #07679B; }
.erp__kpis i { font-style: normal; font-size: 11px; color: #6A7A84; }
.erp__kpis i.up { color: #B4541A; }
.erp__panel, .erp__week { border: 1px solid #E5EEF1; border-radius: 10px; padding: 10px 12px; }
.erp__panel-title { font-weight: 600; font-size: 12px; margin-bottom: 6px; }
.erp__row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid #F0F4F6; color: #3B4850; }
.erp__row em { margin-left: auto; font-style: normal; color: #6A7A84; font-size: 11.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #0A82AD; }
.dot--warn { background: #E39A2D; }
.dot--ok { background: #2DB39B; }
.erp__bars { display: flex; align-items: flex-end; gap: 10px; height: 54px; }
.erp__bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(#2DB39B, #1196A3); }

/* ===== Méthode ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--tint); }
.step__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--navy);
}
.step:nth-child(even) .step__num { background: var(--blue); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ===== Pourquoi ===== */
.why { position: relative; }
.why .section__head h2 { color: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.why__item h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.why__item p { font-size: 15.5px; color: rgba(255, 255, 255, .72); }

/* ===== Stack ===== */
.stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stack__group { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.stack__group h3 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); margin-bottom: 16px; }
.stack__group .chips li { background: var(--tint); }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
.contact__list { margin-top: 32px; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact__list span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.contact__list a { color: var(--blue); text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.form { background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--ink-2); }
.form input:not([type="radio"]), .form select, .form textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #FBFBFE;
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(55, 81, 194, .14); }
.form [aria-invalid="true"] { border-color: #C62828 !important; }
.form__budget { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__budget legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.form__budget label { display: inline-flex; align-items: center; font-weight: 500; position: relative; }
.form__budget input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__budget label { padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; }
.form__budget label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.form__budget label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__status { font-size: 15px; min-height: 1.4em; text-align: center; }
.form__status.is-ok { color: #1A7340; }
.form__status.is-error { color: #C62828; }

/* ===== Pied de page ===== */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 44px 0; font-size: 15px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer nav { display: flex; gap: 22px; margin-left: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer__copy { width: 100%; font-size: 13px; color: rgba(255, 255, 255, .45); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; margin-top: 6px; }

/* ===== Apparition au défilement ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 520px; max-width: 620px; width: 100%; margin-inline: auto; }
  .case { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .case--reverse .case__copy { order: 0; }
  .case__visual { width: 100%; max-width: 620px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .services { grid-template-columns: 1fr 1fr; }
  .stack { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 76px 0; }
  .hero { padding: 120px 0 70px; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__visual { height: 420px; }
  .hero__visual .phone { width: 190px; }
  .hero__visual .phone--front { width: 215px; }
  .phone--back-left { left: -4%; }
  .phone--back-right { right: -4%; }
  .float-card { left: 0; bottom: 0; }
  .services, .steps, .why__grid { grid-template-columns: 1fr; }
  .case { padding: 28px 20px; border-radius: 22px; }
  .case h3 { font-size: 26px; }
  .case__phones { gap: 8px; padding: 22px 10px; }
  .case__phones .phone { border-radius: 12px; padding: 3px; }
  .case__phones .phone img { border-radius: 9px; }
  .hero__visual .phone { padding: 7px; border-radius: 26px; }
  .hero__visual .phone img { border-radius: 19px; }
  .splash { border-radius: 19px; gap: 12px; }
  .hero__visual .splash img { border-radius: 22%; }
  .splash strong { font-size: 17px; }
  .hero__visual .phone--front .splash strong { font-size: 20px; }
  .erp { grid-template-columns: 1fr; }
  .erp__side { display: none; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
