/* ═══════════════════════════════════════════════════════════
   INITIATEFLOW — style.css v1
   Inspired by Jonite · Suisse Intl / DM Sans · Conteneur 83%
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=Space+Grotesk:wght@300..700&display=swap');

:root {
  --accent: #1a1a1a;
  --accent-soft: rgba(26, 26, 26, .06);

  --black: #0c0c0c;
  --dark: #1a1a1a;
  --text-light: #e4e4e4;
  --muted: #737373;
  --line: #d8d6d2;
  --card-bg: #f0efeb;
  --bg: #e8e6e1;
  --bg-warm: #dfddd8;
  --white: #fff;

  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --v-space: 140px;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.77, 0, .175, 1);
  --speed: .4s;
  --speed-fast: .25s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--muted); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--speed-fast); }
ul { list-style: none; }

.wrap { width: 91.667%; max-width: 83.333%; margin: 0 auto; }
@media (max-width: 768px) { .wrap { max-width: 91.667%; } }


/* ═══════════ HEADER CTA ═══════════ */
.cta-wrap { display: inline-flex; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 0; border: 1px solid var(--dark);
  background: var(--dark); color: var(--white);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: all .3s ease;
  letter-spacing: .02em;
}
.cta-btn:hover { background: transparent; color: var(--dark); }
.cta-btn .arrow { display: inline-block; transition: transform var(--speed-fast); font-size: 13px; }
.cta-btn:hover .arrow { transform: translate(3px, -3px); }


/* ═══════════ HEADER ═══════════ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); z-index: 1000;
  background: rgba(232, 230, 225, .88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent; transition: border-color var(--speed);
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: .08em; }
.logo-icon { height: 28px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 16px; font-weight: 400; color: var(--muted); padding: 4px 0; transition: color var(--speed-fast); letter-spacing: .01em; }
.nav-link:hover { color: var(--black); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--black); transition: transform var(--speed), opacity var(--speed); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════ LANGUAGE SWITCHER ═══════════ */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); padding: 2px;
}
.lang-btn {
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 5px 10px; color: var(--muted);
  transition: all .2s ease; text-decoration: none;
}
.lang-btn:hover { color: var(--black); }
.lang-btn.active {
  background: var(--black); color: var(--white);
}

@media (max-width: 768px) {
  .lang-switch { margin: 8px 0; }
}


/* ═══════════ HERO ═══════════ */
.hero { padding-top: calc(var(--header-h) + 120px); padding-bottom: 0; }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding-bottom: var(--v-space);
}
.hero-content { max-width: 600px; }
.hero-tag { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 24px; font-weight: 500; }
.hero h1 {
  font-family: var(--display); font-size: clamp(52px, 7vw, 100px); font-weight: 700;
  line-height: 1.0; color: var(--black); letter-spacing: -.04em; margin-bottom: 32px;
}
.hero h1 .accent { color: var(--muted); }
.hero-desc { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }


/* ═══════════ HERO PHONE MOCKUP ═══════════ */
.hero-visual { display: flex; justify-content: center; align-items: flex-start; position: relative; }

.phone-mockup {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}

.phone-frame {
  width: 320px; height: 640px;
  background: #0c0c0c;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 50px 100px rgba(0,0,0,.18),
    0 12px 30px rgba(0,0,0,.10),
    inset 0 0 0 2px rgba(255,255,255,.04);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #0c0c0c;
  border-radius: 16px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 38px;
  overflow: hidden;
  display: flex; flex-direction: column;
}

/* Status bar (fixed, identical across screens) */
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 26px 8px;
  flex-shrink: 0;
  position: relative; z-index: 5;
}
.phone-status-time { font-size: 13px; font-weight: 600; color: var(--black); }
.phone-status-icons { display: inline-flex; align-items: center; gap: 5px; color: var(--black); }
.phone-status-icons .phone-bell { color: var(--muted); margin-right: 2px; }

/* Pages — absolute, slide animation */
.phone-page {
  position: absolute;
  top: 44px; left: 0; right: 0; bottom: 56px;
  padding: 14px 18px 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  overflow: hidden;
  pointer-events: none;
}
.phone-page.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.phone-page.prev   { opacity: 0; transform: translateX(-40px); }

/* SCREEN 1: Accueil */
.ph-title {
  text-align: center; font-size: 16px; font-weight: 600;
  color: var(--black); margin-bottom: 14px;
}
.ph-hero-card {
  position: relative;
  background: #0c0c0c; color: #fff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ph-hero-circle {
  position: absolute; right: -20px; top: -10px;
  width: 110px; height: 110px; border-radius: 50%;
  background: #2a1f3d;
  opacity: .9;
}
.ph-hero-circle-sm { width: 70px; height: 70px; right: -10px; top: -8px; }
.ph-hero-label {
  position: relative;
  font-size: 8px; font-weight: 600; letter-spacing: .14em;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  margin-bottom: 4px;
}
.ph-hero-h {
  position: relative;
  font-size: 19px; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 4px;
}
.ph-hero-sub {
  position: relative;
  font-size: 10px; line-height: 1.45; color: rgba(255,255,255,.6);
  margin-bottom: 14px; max-width: 200px;
}
.ph-hero-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0c0c0c;
  padding: 7px 7px 7px 14px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.ph-hero-btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #0c0c0c; color: #fff; font-size: 11px;
}

.ph-section-title {
  font-size: 15px; font-weight: 700; color: var(--black);
  margin-bottom: 10px; letter-spacing: -.01em;
}

.ph-row {
  background: #fff; border-radius: 12px;
  padding: 11px 13px; margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--line);
}
.ph-row-left { flex: 1; min-width: 0; }
.ph-pill {
  display: inline-block;
  font-size: 8px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  margin-bottom: 6px; letter-spacing: .02em;
}
.ph-pill-dark { background: #0c0c0c; color: #fff; }
.ph-row-title {
  font-size: 12px; font-weight: 700; color: var(--black);
  margin-bottom: 2px;
}
.ph-row-meta {
  font-size: 9px; color: var(--muted); margin-bottom: 6px;
}
.ph-tags-row { display: inline-flex; gap: 4px; }
.ph-tag {
  display: inline-block;
  font-size: 8px; font-weight: 600;
  padding: 3px 7px; border-radius: 100px;
  letter-spacing: .01em;
}
.ph-tag-violet { background: #ede4f7; color: #6b3aa8; }
.ph-tag-green  { background: #d4f4e2; color: #1e7d4f; }
.ph-row-cta {
  font-size: 11px; font-weight: 600; color: var(--black);
  padding-left: 8px;
  border-left: 1px solid var(--line);
  margin-left: 8px;
}

/* SCREEN 2: Création séance — form */
.ph-progress {
  height: 3px; width: 100%; background: var(--line);
  border-radius: 100px; margin-bottom: 26px; overflow: hidden;
}
.ph-progress-fill { height: 100%; background: var(--black); border-radius: 100px; }
.ph-progress-50  { width: 50%; }
.ph-progress-100 { width: 100%; }

.ph-h {
  font-size: 24px; font-weight: 700; color: var(--black);
  letter-spacing: -.025em; line-height: 1.05; margin-bottom: 8px;
}
.ph-h-sm { font-size: 18px; margin-bottom: 6px; }
.ph-sub {
  font-size: 11px; color: var(--muted); line-height: 1.5;
  margin-bottom: 20px;
}
.ph-sub-sm { font-size: 10px; margin-bottom: 12px; }

.ph-form {
  background: #fff; border-radius: 12px;
  border: 1px solid var(--line); margin-bottom: 18px;
}
.ph-field {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.ph-field-last { border-bottom: none; }
.ph-field-label { font-size: 12px; font-weight: 600; color: var(--black); }
.ph-field-value { font-size: 12px; color: var(--black); }
.ph-field-placeholder { color: var(--muted); font-weight: 400; }
.ph-unit { color: var(--muted); font-size: 10px; margin-left: 2px; }

.ph-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  background: var(--muted); color: #fff;
}
.ph-cta-disabled { background: var(--muted); opacity: .6; }
.ph-cta-dark { background: #0c0c0c; color: #fff; }

/* SCREEN 3: Projets abordés */
.ph-mini-hero {
  position: relative; overflow: hidden;
  background: #0c0c0c; color: #fff;
  border-radius: 14px; padding: 14px 14px 12px;
  margin-bottom: 16px;
}
.ph-mini-kicker {
  position: relative;
  font-size: 7px; font-weight: 600; letter-spacing: .14em;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  margin-bottom: 4px;
}
.ph-mini-h {
  position: relative;
  font-size: 18px; font-weight: 700; margin-bottom: 4px;
}
.ph-mini-meta {
  position: relative;
  font-size: 9px; color: rgba(255,255,255,.55);
}

.ph-list {
  background: #fff; border-radius: 12px;
  border: 1px solid var(--line); margin-bottom: 14px;
}
.ph-list-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.ph-list-row-last { border-bottom: none; }
.ph-list-title { font-size: 12px; font-weight: 600; color: var(--black); }
.ph-list-sub  { font-size: 10px; color: var(--muted); margin-top: 2px; }
.ph-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line); flex-shrink: 0;
  position: relative;
}
.ph-radio-checked { border-color: var(--black); }
.ph-radio-checked::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--black); border-radius: 50%;
}

/* Bottom tab bar */
.phone-tabbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 56px;
  display: flex; justify-content: space-around; align-items: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-bottom: 6px;
}
.phone-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 9px; font-weight: 500; color: var(--muted);
}
.phone-tab svg { stroke: var(--muted); }
.phone-tab-active { color: var(--black); font-weight: 600; }
.phone-tab-active svg { stroke: var(--black); }

/* Dots indicator */
.phone-dots {
  display: flex; gap: 6px; margin-top: 18px;
}
.phone-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line); transition: background .4s ease, width .4s ease;
}
.phone-dot-active { background: var(--black); width: 20px; border-radius: 100px; }


/* ═══════════ SHARED ═══════════ */
.rule { width: 100%; height: 1px; background: var(--line); }
.tag { font-size: 13px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.section-title { font-family: var(--display); font-size: clamp(32px, 4.5vw, 64px); font-weight: 700; color: var(--black); line-height: 1.05; letter-spacing: -.03em; }
.section-title .faded { color: var(--muted); }
.section-desc { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-head { margin-bottom: 56px; }
.section-head .section-title { margin-bottom: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 16px;
  font-weight: 400; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 16px 36px; transition: all var(--speed-fast);
}
.btn:hover { opacity: .8; }
.btn > * { position: relative; z-index: 1; }
.btn--dark { background: var(--black); color: var(--text-light); border-color: rgba(255,255,255,.15); }
.btn--dark:hover { background: #333; opacity: 1; }
.btn--outline { background: transparent; color: var(--dark); border-color: rgba(0,0,0,.2); }
.btn--outline:hover { border-color: var(--black); color: var(--black); opacity: 1; }
.btn--accent { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--accent:hover { background: var(--card-bg); border-color: var(--card-bg); opacity: 1; }
.arrow { display: inline-block; transition: transform var(--speed-fast); }
.btn:hover .arrow { transform: translate(3px, -3px); }


/* ═══════════ PROFESSIONS ═══════════ */
.professions { background: var(--white); padding: var(--v-space) 0; }

.professions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.profession-card {
  background: var(--white); padding: 44px 36px;
  transition: background var(--speed);
}
.profession-card:hover { background: var(--card-bg); }
.profession-icon { margin-bottom: 20px; color: var(--black); }
.profession-card h4 { font-size: 22px; font-weight: 600; color: var(--black); margin-bottom: 8px; }
.profession-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }


/* ═══════════ FEATURES ═══════════ */
.features { background: var(--bg); padding: var(--v-space) 0; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-card {
  background: var(--white); border: 1px solid var(--line); padding: 40px;
  transition: all .3s ease;
}
.feat-card:hover { border-color: rgba(0,0,0,.25); }
.feat-card h3 { font-size: clamp(24px, 2.5vw, 40px); font-weight: 700; color: var(--black); margin-bottom: 8px; letter-spacing: -.02em; }
.feat-subtitle { font-size: 18px; font-weight: 500; color: var(--black); margin-bottom: 8px; }
.feat-card p { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; max-width: 540px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-tag { border: 1px solid var(--line); padding: 4px 12px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }


/* ═══════════ DEPLOYMENT ═══════════ */
.deployment { background: var(--bg); padding: 0 0 var(--v-space); }

.deployment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deploy-card {
  padding: 48px 44px; border: 1px solid var(--line);
  transition: all .3s ease;
}
.deploy-card--cloud { background: var(--white); }

.deploy-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  border: 1px solid var(--line); padding: 4px 12px; margin-bottom: 24px;
}
.deploy-card h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; color: var(--black); margin-bottom: 16px; letter-spacing: -.02em; }
.deploy-desc { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 28px; }
.deploy-list { display: flex; flex-direction: column; gap: 12px; }
.deploy-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--muted);
}
.deploy-list svg { flex-shrink: 0; }

/* Local (dark) card — placed AFTER general rules for correct cascade */
.deploy-card.deploy-card--local { background: var(--black); border-color: var(--black); }
.deploy-card.deploy-card--local h3 { color: var(--white); }
.deploy-card.deploy-card--local .deploy-badge { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.2); }
.deploy-card.deploy-card--local .deploy-desc { color: rgba(255,255,255,.7); }
.deploy-card.deploy-card--local li { color: rgba(255,255,255,.85); }
.deploy-card.deploy-card--local .deploy-list svg { stroke: rgba(255,255,255,.7); }


/* ═══════════ APPROACH / TECHNOLOGIE ═══════════ */
.approach {
  background: var(--white); padding: var(--v-space) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.approach .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.approach-intro h2 { font-family: var(--display); font-size: clamp(28px, 3.5vw, 56px); font-weight: 700; color: var(--black); line-height: 1.1; margin-bottom: 20px; letter-spacing: -.03em; }
.approach-intro > p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.steps { display: flex; flex-direction: column; gap: 40px; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-n { font-size: 18px; color: var(--line); min-width: 36px; padding-top: 2px; font-weight: 600; }
.step h4 { font-size: 20px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.step p { font-size: 16px; color: var(--muted); line-height: 1.6; }


/* ═══════════ STATS ═══════════ */
.stats-section { background: var(--white); padding: var(--v-space) 0; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.stat { background: var(--white); padding: 48px 32px; text-align: center; transition: background var(--speed); }
.stat:hover { background: var(--card-bg); }
.stat .n { font-family: var(--display); font-size: clamp(36px, 4vw, 56px); font-weight: 700; color: var(--black); line-height: 1; margin-bottom: 12px; letter-spacing: -.02em; }
.stat p { font-size: 15px; color: var(--muted); line-height: 1.5; }


/* ═══════════ DÉMO CTA ═══════════ */
.demo { background: var(--black); padding: var(--v-space) 0; text-align: center; overflow: hidden; position: relative; }
.demo::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); }
.demo-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.demo-logo {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  margin: 0 auto 32px; display: flex; align-items: center; justify-content: center;
}
.demo .tag { color: rgba(255,255,255,.35); }
.demo .section-title { color: var(--white); margin-bottom: 24px; }
.demo .section-desc { color: rgba(255,255,255,.4); margin: 0 auto 48px; text-align: center; }


/* ═══════════ FAQ ═══════════ */
.faq { background: var(--bg); padding: var(--v-space) 0; }
.faq-grid { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; cursor: pointer; background: none; border: none;
  font-family: var(--sans); font-size: 20px; font-weight: 600;
  color: var(--black); text-align: left; width: 100%;
  transition: color var(--speed-fast);
}
.faq-q:hover { color: var(--muted); }
.faq-q .plus {
  font-size: 24px; font-weight: 300; color: var(--muted);
  transition: transform var(--speed); flex-shrink: 0; margin-left: 20px;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 28px; }
.faq-a p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 700px; }


/* ═══════════ CONTACT ═══════════ */
.contact { background: var(--bg); padding: var(--v-space) 0; }
.contact .wrap { max-width: 640px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white); border: 1px solid var(--line); padding: 14px 18px;
  color: var(--black); font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color var(--speed-fast), box-shadow var(--speed-fast);
}
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 44px; cursor: pointer;
}
.form-group select:invalid { color: #aaa; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-msg { padding: 16px 20px; font-size: 15px; margin-bottom: 20px; }
.form-msg--ok { background: rgba(0,0,0,.03); border: 1px solid rgba(0,0,0,.1); color: var(--dark); }
.form-msg--err { background: rgba(220,53,69,.05); border: 1px solid rgba(220,53,69,.18); color: #c0392b; }


/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--black); padding: 48px 0 0; color: rgba(255,255,255,.35); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; padding-bottom: 48px; }
.footer .logo { color: var(--white); }
.footer .logo-icon { color: var(--white); }
.footer-copy { font-size: 14px; color: rgba(255,255,255,.85); }
.footer-address { font-size: 14px; color: rgba(255,255,255,.85); letter-spacing: .02em; }
.footer-rule { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); }


/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp .8s var(--ease) both; }
.anim-d1 { animation-delay: .12s; }
.anim-d2 { animation-delay: .24s; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }


/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  :root { --v-space: 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { margin: 0 auto; max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .professions-grid { grid-template-columns: repeat(2, 1fr); }
  .deployment-grid { grid-template-columns: 1fr; }
  .approach .wrap { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --v-space: 72px; --header-h: 64px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; width: 100%;
    height: calc(100vh - var(--header-h)); background: rgba(232, 230, 225, .98);
    backdrop-filter: blur(20px); flex-direction: column; align-items: center;
    justify-content: center; gap: 24px; opacity: 0; pointer-events: none; transition: opacity var(--speed);
  }
  .nav.open { opacity: 1; pointer-events: all; }
  .nav-link { font-size: 22px; }
  .menu-toggle { display: flex; }
  .phone-frame { width: 280px; height: 560px; }
  .stats-row { grid-template-columns: 1fr; }
  .professions-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer .wrap { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 420px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; width: 100%; }
}
