/* ============================================================
   OpusCode — institutional site
   Palette derived from brand SVGs:
   blue 700 #2C46B8 · blue 600 #3654D6 · blue 300 #7FA6F2
   blue 200 #9CC0FF · ink #171B2C · dark bg #0E1220 · light #F7F8FA
   ============================================================ */

:root {
  --blue-700: #2C46B8;
  --blue-600: #3654D6;
  --blue-300: #7FA6F2;
  --blue-200: #9CC0FF;
  --ink: #171B2C;
  --ink-soft: #454B63;
  --ink-mute: #6B7186;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-dark: #0E1220;
  --bg-dark-2: #161C31;
  --line: #E4E7EE;
  --line-dark: #26304E;
  --radius: 10px;
  --font-head: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow-soft: 0 1px 2px rgba(23, 27, 44, 0.05), 0 8px 24px rgba(23, 27, 44, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { color: var(--ink-soft); }

a { color: var(--blue-600); text-decoration: none; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--blue-200); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--blue-200); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }
.btn-block { width: 100%; text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(23, 27, 44, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-name em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-300), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-name-light { color: #F5F7FC; }

.main-nav {
  display: flex;
  gap: 1.8rem;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--blue-600); }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
}

/* dark animated banner */
.hero-dark {
  position: relative;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 6 50 28 28 50 6 28Z' fill='none' stroke='%239CC0FF' stroke-opacity='0.05' stroke-width='1.2'/%3E%3C/svg%3E"),
    var(--bg-dark);
}
.hero-dark .container { position: relative; z-index: 2; }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob-a {
  top: -220px; left: -140px;
  background: radial-gradient(circle at 40% 40%, rgba(54, 84, 214, 0.55), transparent 65%);
  animation: blob-drift-a 22s ease-in-out infinite alternate;
}
.blob-b {
  bottom: -260px; right: -120px;
  background: radial-gradient(circle at 60% 50%, rgba(127, 166, 242, 0.4), transparent 65%);
  animation: blob-drift-b 27s ease-in-out infinite alternate;
}
.blob-c {
  top: 10%; right: 28%;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 50% 50%, rgba(44, 70, 184, 0.45), transparent 65%);
  animation: blob-drift-c 19s ease-in-out infinite alternate;
}
@keyframes blob-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(90px, 60px) scale(1.15); }
}
@keyframes blob-drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-80px, -50px) scale(0.95); }
}
@keyframes blob-drift-c {
  from { transform: translate(0, 0); }
  to   { transform: translate(-60px, 70px); }
}

/* floating brand diamonds */
.fd {
  position: absolute;
  will-change: transform;
  animation: fd-float 16s ease-in-out infinite alternate;
}
.fd-1 { width: 120px; top: 12%; right: 6%;  opacity: 0.28; animation-duration: 18s; }
.fd-2 { width: 34px;  top: 24%; left: 44%;  opacity: 0.5;  animation-duration: 13s; animation-delay: -4s; }
.fd-3 { width: 200px; bottom: -60px; left: -50px; opacity: 0.16; animation-duration: 24s; animation-delay: -9s; }
.fd-4 { width: 20px;  top: 62%; right: 34%; opacity: 0.6;  animation-duration: 11s; animation-delay: -2s; }
.fd-5 { width: 68px;  top: 68%; left: 12%;  opacity: 0.22; animation-duration: 20s; animation-delay: -12s; }
@keyframes fd-float {
  from { transform: translateY(-14px) rotate(-4deg); }
  to   { transform: translateY(16px) rotate(5deg); }
}

/* dark-scope typography & controls */
.hero-dark h1 { color: #F5F7FC; }
.hero-dark .eyebrow { color: var(--blue-200); }
.hero-dark .lead { color: #AAB4D4; }
.hero-dark .btn-ghost {
  border-color: rgba(245, 247, 252, 0.28);
  color: #F5F7FC;
}
.hero-dark .btn-ghost:hover { border-color: var(--blue-200); color: var(--blue-200); }
.hero-dark .hero-proof { border-top-color: var(--line-dark); }
.hero-dark .hero-proof strong { color: #F5F7FC; }
.hero-dark .hero-proof span { color: #7C86A8; }
.hero-dark .panel-window {
  border-color: var(--line-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* entrance animation */
.hero-copy > * {
  animation: rise-in 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero-panel { animation: rise-in 0.8s 0.25s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-grid > *, .ia-grid > *, .about-grid > * { min-width: 0; }
.hero-copy .lead {
  font-size: 1.13rem;
  margin: 1.3rem 0 2rem;
  max-width: 34rem;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-proof {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-proof li { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-proof strong {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
}
.hero-proof span {
  font-size: 0.84rem;
  color: var(--ink-mute);
  max-width: 11rem;
}

/* hero panel (fake log window + metric card) */
.hero-panel { position: relative; }
.panel-window {
  background: var(--bg-dark);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 18, 32, 0.35);
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line-dark);
}
.panel-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2A3352;
}
.panel-title {
  margin-left: 0.6rem;
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 0.72rem;
  color: #5F6B93;
}
.panel-body {
  padding: 1.1rem 1.2rem 1.3rem;
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.85;
  color: #C9D3EE;
  overflow-x: auto;
}
.c-dim { color: #5F6B93; }
.c-ok { color: #5BD6A0; }
.c-warn { color: #F2C462; }

.panel-card {
  position: absolute;
  right: -14px;
  bottom: -30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  max-width: 300px;
}
.panel-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.panel-card-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
}
.panel-card-old { color: var(--ink-mute); text-decoration: line-through; text-decoration-thickness: 2px; }
.panel-card-row svg { color: var(--blue-600); }
.panel-card-new { color: var(--blue-600); }
.panel-card-note {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin-top: 0.35rem;
}

/* ---------- strip ---------- */
.strip {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  padding: 1.6rem 0;
}
.strip p {
  font-size: 1.05rem;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.strip strong { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.8rem;
}
.section-sub { margin-top: 0.9rem; font-size: 1.02rem; }
.section-head-center { margin-inline: auto; text-align: center; max-width: 46rem; }

/* ---------- service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.card-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(156, 192, 255, 0.25), rgba(54, 84, 214, 0.12));
  color: var(--blue-700);
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.45rem; }
.card p { font-size: 0.92rem; }

/* ---------- IA section ---------- */
.section-dark {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 6 50 28 28 50 6 28Z' fill='none' stroke='%239CC0FF' stroke-opacity='0.05' stroke-width='1.2'/%3E%3C/svg%3E"),
    radial-gradient(900px 420px at 12% 0%, rgba(54, 84, 214, 0.25), transparent 55%),
    var(--bg-dark);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #F5F7FC; }
.section-dark p { color: #AAB4D4; }

.ia-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.ia-copy > p { margin-bottom: 1.4rem; }

.check-list {
  list-style: none;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  color: #C9D3EE;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239CC0FF" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>')
    center / 11px no-repeat,
    rgba(156, 192, 255, 0.14);
}

.ia-cases { display: grid; gap: 1rem; }
.ia-case {
  background: var(--bg-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.ia-case-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-300);
}
.ia-case h4 { font-size: 1.02rem; margin: 0.4rem 0 0.4rem; }
.ia-case p { font-size: 0.9rem; }
.ia-case-metric {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #5BD6A0;
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  border-top: 3px solid var(--blue-600);
  background: var(--bg-alt);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--blue-600);
  letter-spacing: 0.08em;
}
.step h3 { margin: 0.5rem 0 0.5rem; }
.step p { font-size: 0.9rem; }

/* ---------- sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.sector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.sector:hover { border-color: var(--blue-300); box-shadow: var(--shadow-soft); }
.sector-visual {
  height: 92px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  border-bottom: 1px solid var(--line);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 5 39 22 22 39 5 22Z' fill='none' stroke='%233654D6' stroke-opacity='0.10' stroke-width='1.2'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(156, 192, 255, 0.30), rgba(54, 84, 214, 0.10));
}
.sector-visual svg { width: 34px; height: 34px; }
.sector-body { padding: 1.15rem 1.4rem 1.35rem; }
.sector h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.sector p { font-size: 0.9rem; }

/* ---------- quote ---------- */
.quote-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.quote {
  max-width: 46rem;
  margin-inline: auto;
  border-left: 4px solid var(--blue-600);
  padding-left: 1.8rem;
}
.quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}
.quote figcaption {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.quote figcaption strong { font-family: var(--font-head); font-size: 0.95rem; }
.quote figcaption span { font-size: 0.85rem; color: var(--ink-mute); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-grid h2 { margin-bottom: 1.1rem; }
.about-grid > div > p { margin-bottom: 1rem; }

.values {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
.values li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  background: var(--bg-alt);
}
.values h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.values p { font-size: 0.9rem; }

/* ---------- mockup cluster (sobre) ---------- */
.mockup-cluster {
  position: relative;
  margin-top: 2.2rem;
  padding-bottom: 2.4rem;
  padding-right: 3.5rem;
}
.mock-browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.mock-bar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #D5DAE6;
}
.mock-url {
  margin-left: 0.6rem;
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 0.7rem;
  color: var(--ink-mute);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}
.mock-body { padding: 1rem 1.1rem 1.1rem; }
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.mock-kpi {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.mock-kpi span { font-size: 0.68rem; color: var(--ink-mute); }
.mock-kpi strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.mock-chart { width: 100%; height: 90px; display: block; }

.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 0.9rem 0.9rem;
  box-shadow: 0 16px 40px rgba(23, 27, 44, 0.14);
}
.mock-phone-notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 54px; height: 5px;
  border-radius: 999px;
  background: #E2E6F0;
}
.mock-phone ul { list-style: none; display: grid; gap: 0.45rem; }
.mock-phone li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
}
.mock-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-status.ok { background: #34B37E; }
.mock-status.warn { background: #E8A93C; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 6 50 28 28 50 6 28Z' fill='none' stroke='%239CC0FF' stroke-opacity='0.08' stroke-width='1.2'/%3E%3C/svg%3E"),
    radial-gradient(700px 300px at 80% 120%, rgba(54, 84, 214, 0.45), transparent 60%),
    var(--bg-dark);
  padding: clamp(2.5rem, 5vw, 3.8rem) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #F5F7FC; margin-bottom: 0.4rem; }
.cta-band p { color: #AAB4D4; }

/* ---------- contact ---------- */
.section-contact {
  background:
    radial-gradient(800px 400px at 90% 110%, rgba(156, 192, 255, 0.16), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-single { max-width: 46rem; }
.contact-single h2 { margin-bottom: 1rem; }
.contact-channels {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.contact-channel:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.contact-channel svg {
  width: 22px; height: 22px;
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-channel > span { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-channel strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
}
.contact-channel small { font-size: 0.78rem; color: var(--ink-mute); }
.contact-channel-main {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.contact-channel-main svg { color: #fff; }
.contact-channel-main small { color: rgba(255, 255, 255, 0.75); }
a.contact-channel-main:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: 0 10px 28px rgba(44, 70, 184, 0.35);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-dark);
  padding: 2.6rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: #AAB4D4;
}
.footer-nav a:hover { color: #F5F7FC; }
.footer-legal { font-size: 0.78rem; color: #5F6B93; }

/* ---------- training landing page ---------- */
.badge-free {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue-200);
  border: 1px solid rgba(156, 192, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
}
.badge-free::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5BD6A0;
}

.cta-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
  max-width: 30rem;
}
.hero-dark .cta-note { color: #7C86A8; }

.steps-3 { grid-template-columns: repeat(3, 1fr); }

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.method-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}
.method-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--blue-300);
}
.method-card svg {
  width: 24px; height: 24px;
  color: var(--blue-200);
  margin: 0.7rem 0 0.55rem;
}
.method-card h4 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.method-card p { font-size: 0.84rem; }
.method-cta { margin-top: 2.4rem; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.value-prop {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.value-prop h2 { margin-bottom: 0.6rem; }
.value-prop .value-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-600);
  margin-bottom: 1.2rem;
}
.value-badges {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.value-badges li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.value-badges svg { width: 16px; height: 16px; color: #34B37E; }

.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 1.05rem 1.3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-600);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.93rem;
}

@media (max-width: 980px) {
  .method-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .method-grid, .audience-grid { grid-template-columns: 1fr; }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .fd, .hero-copy > *, .hero-panel { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; }
  .panel-card { position: static; margin-top: 1rem; max-width: none; }
  .cards-grid, .sectors { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ia-grid, .about-grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(23, 27, 44, 0.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 0.95rem 1.5rem;
    border-top: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .cards-grid, .sectors, .steps { grid-template-columns: 1fr; }
  .hero-proof { gap: 1.4rem; }
  .mockup-cluster { padding-right: 0; padding-bottom: 0; }
  .mock-phone { display: none; }
}

@media (max-width: 460px) {
  .header-inner { gap: 0.7rem; }
  .brand-name { font-size: 1.12rem; }
  .btn-sm { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
}
