/* ================= ProPage — styles ================= */
:root {
  --ink: #0e1220;
  --ink-soft: #454c63;
  --ink-mute: #6b7288;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e6e9f2;
  --accent: #2b4bf2;
  --accent-dark: #1e37c8;
  --accent-soft: #eaeeff;
  --dark: #0c1024;
  --dark-2: #131940;
  --light-on-dark: #aab3d6;
  --gold: #f6b73c;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 40px rgba(14, 18, 32, 0.08);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(820px, calc(100% - 48px)); }
.center { text-align: center; margin-top: 48px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h2 em, h1 em { font-style: normal; color: var(--accent); }
.dark h2 em { color: #8ea2ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-lg, .btn-block { white-space: normal; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 75, 242, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 32px rgba(43, 75, 242, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--accent-soft); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(14,18,32,.05); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 3px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav a:not(.btn):hover { color: var(--accent); }
.nav-cta { margin-left: 6px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -300px; right: -200px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(43,75,242,.14) 0%, rgba(43,75,242,0) 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43,75,242,.4); }
  50% { box-shadow: 0 0 0 6px rgba(43,75,242,0); }
}
.hero-sub {
  font-size: 1.13rem;
  color: var(--ink-soft);
  margin: 22px 0 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-mute);
}

/* Hero mockup */
.hero-visual { position: relative; }
.mock-browser {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: visible;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i:nth-child(1) { background: #ff6159; }
.mock-bar i:nth-child(2) { background: #ffbd2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--ink-mute);
  background: var(--bg-alt);
  padding: 4px 14px;
  border-radius: 999px;
}
.mock-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.mock-body { padding: 30px 28px 34px; }
.mock-line { height: 16px; border-radius: 6px; background: var(--ink); opacity: .88; margin-bottom: 12px; }
.mock-line.thin { height: 9px; background: var(--line); opacity: 1; }
.w60 { width: 60%; } .w80 { width: 80%; } .w40 { width: 40%; }
.mock-btn {
  display: inline-block;
  margin: 14px 0 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards div { height: 58px; background: var(--bg-alt); border-radius: 10px; }
.mock-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14,18,32,.10);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: -18px; right: -14px; }
.chip-2 { bottom: 68px; left: -34px; animation-delay: 1.4s; }
.chip-3 { bottom: -18px; right: 30px; animation-delay: 2.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Proof bar ---------- */
.proofbar { border-block: 1px solid var(--line); background: var(--bg-alt); }
.proofbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.proof strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.proof span { font-size: 0.88rem; color: var(--ink-mute); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-rich {
  background:
    radial-gradient(640px 420px at 12% 0%, rgba(43, 75, 242, 0.10), transparent 62%),
    radial-gradient(720px 520px at 95% 100%, rgba(123, 43, 242, 0.09), transparent 62%),
    radial-gradient(rgba(14, 18, 32, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #f3f5fc 0%, #eef0fa 100%);
  background-size: auto, auto, 24px 24px, auto;
  border-block: 1px solid var(--line);
}
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow.light { color: #8ea2ff; }
.section-sub { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Grilles ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Leviers (dans la section services) ---------- */
.levers { gap: 20px; margin-bottom: 40px; }
.lever {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 24px;
}
.lever-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  border-radius: 14px;
  color: #fff;
}
.li-1 { background: linear-gradient(135deg, #2b4bf2, #6c8bff); }
.li-2 { background: linear-gradient(135deg, #7b2bf2, #b06cff); }
.li-3 { background: linear-gradient(135deg, #f2762b, #ffb36c); }
.lever h3 { font-size: 1.08rem; margin-bottom: 6px; }
.lever p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }
.services-lead {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* ---------- Services ---------- */
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  opacity: .35;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.service h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service > p { color: var(--ink-soft); margin-bottom: 18px; font-size: 0.98rem; }
.service ul { list-style: none; }
.service li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.service li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Dark sections ---------- */
.dark { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; }
.dark p { color: var(--light-on-dark); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { margin-bottom: 16px; font-size: 1.03rem; }
.duo { display: grid; gap: 16px; margin: 26px 0 32px; }
.duo-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.duo-item h4 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.duo-item p { font-size: 0.93rem; margin: 0; }

/* Chat mockup */
.chat-mock {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  backdrop-filter: blur(6px);
}
.chat-q {
  background: rgba(255,255,255,.09);
  border-radius: 16px 16px 4px 16px;
  padding: 16px 20px;
  font-size: 0.96rem;
  color: #e6eaff;
  margin-bottom: 20px;
  margin-left: 40px;
}
.chat-a {
  display: flex;
  gap: 14px;
  background: rgba(43,75,242,.16);
  border: 1px solid rgba(43,75,242,.35);
  border-radius: 16px 16px 16px 4px;
  padding: 18px 20px;
  margin-right: 40px;
}
.chat-ia {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 10px;
}
.chat-a p { font-size: 0.96rem; color: #dfe5ff; margin: 0; }
.chat-cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: #8ea2ff;
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.chat-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8ea2ff;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 14px;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Galerie réalisations (book) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.work {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-frame {
  position: relative;
  display: block;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.work-frame .mock-bar { padding: 11px 14px; }
.work-shot {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-alt);
}
.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  /* Au survol : la page défile à l'intérieur du cadre */
  transition: object-position 5s cubic-bezier(.3, 0, .4, 1);
}
.work:hover .work-shot img { object-position: bottom; }
.work-visit {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(14, 18, 32, .82);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(4px);
}
.work:hover .work-visit,
.work-frame:focus-visible .work-visit { opacity: 1; transform: none; }
.work figcaption { padding: 20px 24px 24px; }
.work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.work h3 { font-size: 1.15rem; }
.work-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-ecom { background: var(--accent-soft); color: var(--accent); }
.tag-saas { background: #f3eaff; color: #7b2bf2; }
.tag-vitrine { background: #fff3e0; color: #d97706; }
.work figcaption p { font-size: 0.92rem; color: var(--ink-mute); }
@media (prefers-reduced-motion: reduce) {
  .work-shot img { transition: none; }
  .work:hover .work-shot img { object-position: top; }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar-photo {
  width: 92px; height: 92px;
  margin: 0 auto 16px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 8px 20px rgba(14,18,32,.12);
}
.member h3 { font-size: 1.1rem; }
.member-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 4px 0 10px;
}
.member-bio { font-size: 0.86rem; color: var(--ink-mute); }

/* ---------- Quotes ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.quote blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.q-avatar {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.qa-1 { background: #2b4bf2; } .qa-2 { background: #0ca678; }
.qa-3 { background: #e0359b; } .qa-4 { background: #f2762b; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Devis ---------- */
.cta-final { padding: 110px 0; }
.devis-split { align-items: start; }
.devis-points { list-style: none; margin: 24px 0 28px; }
.devis-points li { margin-bottom: 10px; font-weight: 500; color: #dfe5ff; }
.devis-alt { font-size: 0.95rem; }
.devis-alt a { color: #8ea2ff; font-weight: 600; }

.devis-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.devis-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.opt { font-weight: 400; color: var(--ink-mute); }
.devis-form input,
.devis-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .15s ease, background .15s ease;
}
.devis-form input:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.devis-form input.invalid,
.devis-form textarea.invalid { border-color: #e03535; }
.devis-form textarea { resize: vertical; }
.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.83rem;
  color: var(--ink-mute) !important;
}
.form-note.success { color: #0ca678 !important; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--light-on-dark); padding: 70px 0 0; }
.footer .logo { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { margin: 18px 0; font-size: 0.94rem; max-width: 380px; }
.footer-brand > a:not(.logo) { color: #8ea2ff; font-weight: 600; text-decoration: none; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav h4 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.footer-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--light-on-dark);
  transition: color .15s ease;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ---------- Pages légales ---------- */
.legal-main { padding: 140px 0 90px; }
.legal-main h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.legal-date { color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 40px; }
.legal-main h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-main h2:first-of-type { border-top: none; padding-top: 0; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 12px; }
.legal-main ul { padding-left: 22px; margin-bottom: 16px; }
.legal-main a { color: var(--accent); font-weight: 500; }
.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--accent) !important;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .mock-chip, .pulse-dot, .chat-cursor { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .proofbar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(14,18,32,.1);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--bg-alt); }
  .nav-cta { margin: 16px 0 0; }
  .burger { display: flex; }
}
@media (max-width: 720px) {
  .hero { padding: 130px 0 70px; }
  .section { padding: 70px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .mock-chip { font-size: 0.74rem; padding: 8px 12px; }
  .chip-2 { left: -8px; }
  .chat-q { margin-left: 12px; }
  .chat-a { margin-right: 12px; }
  .devis-form { padding: 28px 22px; }
}
@media (max-width: 440px) {
  .team-grid { grid-template-columns: 1fr; }
  .proofbar-inner { grid-template-columns: 1fr; gap: 18px; }
  .header-inner > .btn-sm { padding: 8px 14px; font-size: 0.8rem; }
  .header-inner .logo { font-size: 1.25rem; }
}
