:root {
    --navy: #0E2240;
    --navy-2: #1A2F4F;
    --navy-3: #2A4068;
    --mint: #2BC47A;
    --mint-2: #3CD68C;
    --mint-soft: #E8F8F0;
    --bg: #FAFBFC;
    --surface: #FFFFFF;
    --line: #E8ECF2;
    --line-2: #F1F4F8;
    --text: #0E2240;
    --muted: #5A6A82;
    --muted-2: #8896A8;
    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 22px;
    --shadow-s: 0 1px 2px rgba(14,34,64,.04), 0 2px 8px rgba(14,34,64,.04);
    --shadow-m: 0 8px 24px rgba(14,34,64,.08), 0 2px 6px rgba(14,34,64,.04);
    --shadow-l: 0 30px 60px -20px rgba(14,34,64,.18), 0 12px 30px -10px rgba(14,34,64,.10);
    --container: 1200px;
    --ease: cubic-bezier(.2,.7,.2,1);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: 0; background: none; }

  /* Visible focus ring for keyboard users (mouse clicks stay clean) */
  :focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

  /* Skip link — hidden until focused via keyboard */
  .skip-link {
    position: absolute; left: 12px; top: -120px; z-index: 200;
    padding: 12px 18px; border-radius: 10px;
    background: var(--navy); color: #fff; font-weight: 600; font-size: 14px;
    box-shadow: var(--shadow-m);
    transition: top .2s var(--ease);
  }
  .skip-link:focus { top: 12px; }

  .container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

  /* ---------- NAV ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250,251,252,.85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
  }
  .nav.scrolled { border-bottom-color: var(--line); }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { width: 36px; height: 36px; border-radius: 8px; }
  .brand-name { font-weight: 800; letter-spacing: -.01em; font-size: 18px; }
  .brand-name span { color: var(--muted); font-weight: 600; letter-spacing: .12em; font-size: 11px; margin-left: 6px; text-transform: uppercase; }
  .nav-links { display: flex; gap: 32px; }
  .nav-links a {
    font-size: 14px; color: var(--muted); font-weight: 500;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px;
    background: var(--navy); color: #fff; font-weight: 600; font-size: 14px;
    transition: transform .2s var(--ease), background .2s;
  }
  .nav-cta:hover { background: var(--navy-2); transform: translateY(-1px); }
  .nav-cta svg { width: 14px; height: 14px; }

  /* Mobile menu button */
  .menu-btn {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
  }
  .menu-btn svg { width: 18px; height: 18px; }
  .menu-btn .x { display: none; }
  .menu-btn.open .x { display: block; }
  .menu-btn.open .ham { display: none; }

  /* Mobile slide-down panel */
  .mobile-panel {
    display: none;
    position: fixed; left: 12px; right: 12px; top: 80px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 18px; box-shadow: var(--shadow-l);
    padding: 14px;
    z-index: 49;
    transform: translateY(-12px) scale(.98);
    opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .mobile-panel.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-panel a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px; font-weight: 600; color: var(--text);
  }
  .mobile-panel a:active { background: var(--bg); }
  .mobile-panel .sep { height: 1px; background: var(--line); margin: 6px 4px; }
  .mobile-panel .wa-cta {
    display: flex; align-items: center; gap: 10px;
    margin-top: 6px;
    background: var(--navy); color: #fff !important;
    justify-content: center;
  }
  .mobile-panel .wa-cta svg { width: 16px; height: 16px; }

  @media (max-width: 820px) {
    .nav-links { display: none; }
    .menu-btn { display: inline-flex; }
    .mobile-panel { display: block; }
    .nav-cta-desktop { display: none; }
  }

  /* ---------- HERO ---------- */
  .hero {
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(800px 400px at 90% -10%, rgba(60,214,140,.10), transparent 60%),
      radial-gradient(700px 500px at -10% 20%, rgba(14,34,64,.05), transparent 60%);
    pointer-events: none;
  }
  .hero-grid {
    position: relative;
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
    align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 8px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
    box-shadow: var(--shadow-s);
  }
  .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
  .hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 5.6vw, 64px);
    line-height: 1.05;
    letter-spacing: -.025em;
    font-weight: 800;
  }
  .hero h1 em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--mint);
    letter-spacing: -.01em;
  }
  .hero p.lede {
    font-size: 18px; color: var(--muted); max-width: 520px;
    margin: 0 0 32px;
  }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: 12px;
    font-weight: 600; font-size: 15px;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
  }
  .btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-m); }
  .btn-primary:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: var(--shadow-l); }
  .btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
  .btn-secondary:hover { transform: translateY(-2px); border-color: var(--navy); }
  .btn svg { width: 16px; height: 16px; }

  .hero-meta {
    display: flex; gap: 36px; margin-top: 56px;
    padding-top: 32px; border-top: 1px solid var(--line);
  }
  .hero-meta .num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
  .hero-meta .num em { color: var(--mint); font-style: normal; }
  .hero-meta .lbl { font-size: 13px; color: var(--muted); margin-top: 2px; }

  /* Hero visual: floating dashboard card */
  .hero-visual { position: relative; height: 540px; }
  .dash {
    position: absolute; inset: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-l);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    animation: floaty 8s ease-in-out infinite;
  }
  @keyframes floaty {
    0%, 100% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-10px); }
  }
  .dash-top {
    height: 44px; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 6px; padding: 0 16px;
    background: var(--line-2);
  }
  .dash-top .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .dash-top .url {
    flex: 1; height: 24px; margin-left: 14px;
    background: var(--surface); border-radius: 6px;
    display: flex; align-items: center; padding: 0 10px;
    font-size: 11px; color: var(--muted); font-weight: 500;
  }
  .dash-body {
    display: grid; grid-template-columns: 200px 1fr;
    height: calc(100% - 44px);
  }
  .dash-side {
    background: var(--bg); border-right: 1px solid var(--line);
    padding: 18px 14px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .dash-side .sb-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 8px;
    font-size: 13px; color: var(--muted); font-weight: 500;
  }
  .dash-side .sb-item.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
  .dash-side .sb-item .ic { width: 16px; height: 16px; border-radius: 4px; background: var(--line); flex-shrink: 0; }
  .dash-side .sb-item.active .ic { background: var(--mint); }
  .dash-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
  .dash-h {
    display: flex; justify-content: space-between; align-items: flex-start;
  }
  .dash-h .t1 { font-size: 16px; font-weight: 700; }
  .dash-h .t2 { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .kpi {
    border: 1px solid var(--line); border-radius: 10px; padding: 12px;
    background: var(--surface);
  }
  .kpi .l { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .kpi .v { font-size: 18px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
  .kpi .d { font-size: 10px; color: var(--mint); margin-top: 2px; font-weight: 600; }
  .chart {
    flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 14px;
    background: var(--surface);
    display: flex; flex-direction: column;
  }
  .chart-h { display:flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .chart-t { font-size: 12px; font-weight: 700; }
  .chart-leg { display: flex; gap: 10px; }
  .chart-leg span { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
  .chart-leg span::before { content:''; width: 8px; height: 8px; border-radius: 2px; background: var(--navy); }
  .chart-leg span:nth-child(2)::before { background: var(--mint); }
  .chart-svg { flex: 1; min-height: 0; }

  /* logos strip */
  .logos {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .logos-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
  .logos .label { font-size: 13px; color: var(--muted); font-weight: 600; flex-shrink: 0; }
  .logos-list { display: flex; gap: 36px; flex-wrap: wrap; opacity: .55; }
  .logo-ph { font-weight: 800; letter-spacing: -.02em; font-size: 16px; color: var(--muted); }

  /* ---------- SECTION COMMON ---------- */
  section { padding: 110px 0; position: relative; }
  .sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
  .sec-tag {
    display: inline-block; font-size: 12px; font-weight: 700;
    color: var(--mint); letter-spacing: .15em; text-transform: uppercase;
    margin-bottom: 14px;
  }
  .sec-title {
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.1; letter-spacing: -.022em; font-weight: 800;
    margin: 0 0 16px;
  }
  .sec-title em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--mint); }
  .sec-sub { font-size: 17px; color: var(--muted); margin: 0; }

  /* ---------- SERVICES ---------- */
  .services { background: var(--surface); }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l);
    overflow: hidden;
  }
  .svc {
    background: var(--surface);
    padding: 36px 30px;
    transition: background .3s;
    position: relative;
  }
  .svc:hover { background: var(--bg); }
  .svc:hover .svc-ic { background: var(--navy); color: var(--mint); }
  .svc-ic {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--mint-soft); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: background .3s, color .3s;
  }
  .svc-ic svg { width: 24px; height: 24px; }
  .svc h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
  .svc p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
  @media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

  /* ---------- ERP SECTION ---------- */
  .erp { background: var(--bg); }
  .erp-wrap {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
  }
  .erp-copy h2 {
    font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.022em;
    margin: 14px 0 20px; font-weight: 800;
  }
  .erp-copy h2 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--mint); }
  .erp-features { list-style: none; padding: 0; margin: 30px 0 36px; }
  .erp-features li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .erp-features li:last-child { border-bottom: 0; }
  .erp-features .ck {
    width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
    background: var(--mint-soft); color: var(--mint);
    display: grid; place-items: center; margin-top: 1px;
  }
  .erp-features .ck svg { width: 12px; height: 12px; }
  .erp-features strong { font-weight: 700; }
  .erp-features span { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }

  /* ERP mockup */
  .mockup {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-l); box-shadow: var(--shadow-l);
    overflow: hidden;
  }
  .mockup-top {
    background: var(--navy); color: #fff;
    padding: 14px 18px;
    display: flex; align-items: center; gap: 14px;
  }
  .mockup-top .lg { width: 26px; height: 26px; border-radius: 6px; background: var(--mint); display: grid; place-items: center; color: var(--navy); font-weight: 800; }
  .mockup-top .ttl { font-weight: 700; font-size: 14px; }
  .mockup-top .tabs { margin-left: auto; display: flex; gap: 20px; font-size: 12px; color: rgba(255,255,255,.6); }
  .mockup-top .tabs .on { color: var(--mint); }
  .mockup-content { padding: 22px; }
  .mockup-content h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
  .mockup-content .sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
  .mc-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
  .mc-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
  .mc-card .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
  .mc-card .big { font-size: 24px; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
  .mc-card .delta { font-size: 11px; color: var(--mint); font-weight: 700; margin-top: 4px; }
  .bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 12px; }
  .bars div { flex: 1; background: var(--mint); border-radius: 3px 3px 0 0; opacity: .85; transition: opacity .3s; }
  .mc-tabs { display: flex; gap: 4px; margin-top: 18px; padding: 4px; background: var(--bg); border-radius: 10px; }
  .mc-tabs button {
    flex: 1; padding: 8px 0; font-size: 12px; font-weight: 600;
    color: var(--muted); border-radius: 7px;
  }
  .mc-tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-s); }
  .mc-list { margin-top: 14px; }
  .mc-list .row {
    display: grid; grid-template-columns: 1fr auto auto; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
    font-size: 13px; align-items: center;
  }
  .mc-list .row:last-child { border-bottom: 0; }
  .mc-list .nm { font-weight: 600; }
  .mc-list .sk { font-size: 11px; color: var(--muted); font-weight: 500; }
  .mc-list .pr { font-weight: 700; }
  .mc-list .st {
    font-size: 10px; padding: 3px 8px; border-radius: 999px;
    background: var(--mint-soft); color: var(--mint); font-weight: 700;
  }
  .mc-list .st.low { background: #FFF4E5; color: #C77700; }
  @media (max-width: 900px) {
    .erp-wrap { grid-template-columns: 1fr; gap: 50px; }
  }

  /* ---------- FEATURES (full system) ---------- */
  .features { background: var(--surface); border-top: 1px solid var(--line); }
  .ft-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  }
  .ft-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-m); padding: 28px 24px;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
    display: flex; flex-direction: column;
  }
  .ft-card:hover {
    transform: translateY(-4px);
    border-color: var(--mint);
    box-shadow: var(--shadow-m);
  }
  .ft-card .ft-ic {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--mint-soft); color: var(--navy);
    display: grid; place-items: center;
    margin-bottom: 18px;
    transition: background .35s, color .35s;
  }
  .ft-card:hover .ft-ic { background: var(--navy); color: var(--mint); }
  .ft-card .ft-ic svg { width: 22px; height: 22px; }
  .ft-card h3 {
    font-size: 17px; font-weight: 700; letter-spacing: -.01em;
    margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  }
  .ft-card ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 9px;
  }
  .ft-card ul li {
    position: relative; padding-left: 18px;
    font-size: 13px; color: var(--muted); line-height: 1.5;
  }
  .ft-card ul li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--mint);
  }
  @media (max-width: 1100px) { .ft-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 820px) { .ft-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } }

  /* ---------- ABOUT / DIFFERENTIALS ---------- */
  .about { background: var(--surface); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start;
  }
  .about-copy h2 {
    font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.022em;
    margin: 14px 0 20px; font-weight: 800;
  }
  .about-copy h2 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--mint); }
  .about-copy p { font-size: 16px; color: var(--muted); }
  .diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .diff {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius-m); padding: 26px;
    transition: transform .3s var(--ease), border-color .3s;
  }
  .diff:hover { transform: translateY(-4px); border-color: var(--mint); }
  .diff .n {
    font-family: 'Instrument Serif', serif;
    font-size: 32px; color: var(--mint); font-style: italic; line-height: 1;
    margin-bottom: 14px;
  }
  .diff h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
  .diff p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ---------- CONTACT ---------- */
  .contact {
    background: linear-gradient(180deg, var(--bg), var(--surface));
    border-top: 1px solid var(--line);
  }
  .contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .contact-copy h2 {
    font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.022em;
    margin: 14px 0 16px; font-weight: 800;
  }
  .contact-copy h2 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--mint); }
  .contact-copy p { color: var(--muted); font-size: 16px; margin: 0 0 32px; }
  .contact-info { display: flex; flex-direction: column; gap: 16px; }
  .ci-row {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-m);
    transition: border-color .25s, transform .25s var(--ease);
  }
  .ci-row:hover { border-color: var(--mint); transform: translateX(4px); }
  .ci-ic {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--mint-soft); color: var(--navy);
    display: grid; place-items: center; flex-shrink: 0;
  }
  .ci-ic svg { width: 20px; height: 20px; }
  .ci-row .l { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
  .ci-row .v { font-weight: 700; font-size: 15px; margin-top: 2px; }

  .form {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-l); padding: 36px;
    box-shadow: var(--shadow-m);
  }
  .field { margin-bottom: 16px; }
  .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
  .field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: 10px; font-size: 14px; font-family: inherit;
    background: var(--surface); color: var(--text);
    transition: border-color .2s, box-shadow .2s;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft);
  }
  .field textarea { resize: vertical; min-height: 100px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form button[type="submit"] {
    width: 100%; padding: 14px;
    background: #25D366; color: #fff;
    border-radius: 10px; font-weight: 700; font-size: 15px;
    transition: background .2s, transform .2s var(--ease), box-shadow .2s;
    margin-top: 8px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 20px -6px rgba(37,211,102,.45);
  }
  .form button[type="submit"]:hover { background: #1FBA58; transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(37,211,102,.55); }
  .form button[type="submit"] svg { width: 18px; height: 18px; }
  .form button[type="submit"][disabled] { opacity: .6; cursor: wait; }
  .form-hint {
    margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center;
  }
  .form-success {
    background: var(--mint-soft); color: var(--mint);
    border-radius: 10px; padding: 14px; text-align: center;
    font-weight: 600; font-size: 14px; margin-top: 12px;
    display: none;
  }
  .form-success.show { display: block; animation: fadein .4s var(--ease); }
  @keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @media (max-width: 900px) {
    .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ---------- FOOTER ---------- */
  footer {
    background: var(--navy); color: #fff; padding: 60px 0 30px;
  }
  .ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .ft-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
  .ft-brand img { width: 36px; height: 36px; border-radius: 8px; }
  .ft-brand b { font-size: 16px; font-weight: 800; }
  .ft-about { color: rgba(255,255,255,.6); font-size: 14px; max-width: 280px; }
  .ft-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; color: var(--mint); font-weight: 700; }
  .ft-col a { display: block; color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 8px; transition: color .2s; }
  .ft-col a:hover { color: #fff; }
  .ft-bot {
    margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    font-size: 13px; color: rgba(255,255,255,.5);
  }
  @media (max-width: 800px) {
    .ft-top { grid-template-columns: 1fr 1fr; }
  }

  /* ---------- FLOATING WHATSAPP ---------- */
  .wa-fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 100;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 12px 28px rgba(37,211,102,.4);
    transition: transform .25s var(--ease), box-shadow .25s;
  }
  .wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37,211,102,.5); }
  .wa-fab svg { width: 28px; height: 28px; }
  .wa-fab::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid #25D366; opacity: .5;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(1.35); opacity: 0; }
  }

  /* ---------- REVEAL ANIMATIONS ---------- */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
  .reveal.d4 { transition-delay: .32s; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px) {
    .hero { padding: 50px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { height: 360px; }
    .hero-meta { flex-wrap: wrap; gap: 24px; }
    section { padding: 70px 0; }
  }
  @media (max-width: 640px) {
    .container { padding: 0 18px; }
    section { padding: 56px 0; }
    .hero { padding: 36px 0 60px; }
    .hero h1 { font-size: 32px; line-height: 1.1; margin: 16px 0 14px; }
    .hero p.lede { font-size: 16px; margin-bottom: 26px; }
    .hero-ctas .btn { padding: 12px 20px; font-size: 14px; flex: 1; justify-content: center; }
    .hero-meta { margin-top: 40px; padding-top: 24px; gap: 18px 28px; }
    .hero-meta .num { font-size: 22px; }
    .hero-meta .lbl { font-size: 12px; }

    .hero-visual { height: 280px; perspective: none; }
    .dash { transform: none; animation: none; }
    .dash-body { grid-template-columns: 1fr; }
    .dash-side { display: none; }
    .dash-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .kpi { padding: 10px 8px; }
    .kpi .v { font-size: 15px; }
    .kpi .l, .kpi .d { font-size: 9px; }
    .dash-h .t1 { font-size: 14px; }

    .logos { padding: 30px 0; }
    .logos-inner { justify-content: center; text-align: center; gap: 20px; }
    .logos-list { gap: 22px; justify-content: center; }
    .logo-ph { font-size: 14px; }

    .sec-head { margin-bottom: 40px; }
    .sec-title { font-size: 28px; }
    .sec-sub { font-size: 15px; }

    .services-grid { border-radius: 16px; }
    .svc { padding: 28px 22px; }

    .erp-wrap { gap: 36px; }
    .erp-copy h2 { font-size: 26px; }
    .erp-features li { padding: 12px 0; font-size: 14px; gap: 12px; }
    .erp-features strong { font-size: 14px; }
    .erp-features span { font-size: 12.5px; }

    /* ERP mockup */
    .mockup-top { padding: 12px 14px; gap: 10px; }
    .mockup-top .ttl { font-size: 13px; }
    .mockup-top .tabs { font-size: 11px; gap: 12px; }
    .mockup-content { padding: 18px; }
    .mc-row { grid-template-columns: 1fr; gap: 10px; }
    .mc-card .big { font-size: 22px; }
    .mc-tabs button { font-size: 11px; padding: 9px 0; }
    .mc-list .row { font-size: 12px; grid-template-columns: 1fr auto; gap: 8px; }
    .mc-list .row .st { grid-column: 2; }
    .mc-list .row .pr { grid-column: 1 / -1; text-align: right; font-size: 13px; }
    .mc-list .sk { font-size: 10px; }

    .ft-card { padding: 24px 22px; }
    .ft-card h3 { font-size: 16px; }

    .about-copy h2 { font-size: 26px; }
    .diff-grid { grid-template-columns: 1fr; gap: 14px; }
    .diff { padding: 22px; }
    .diff .n { font-size: 28px; margin-bottom: 10px; }

    .contact-copy h2 { font-size: 26px; }
    .contact-copy p { font-size: 15px; margin-bottom: 24px; }
    .form { padding: 24px; border-radius: 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .field input, .field select, .field textarea { padding: 14px; font-size: 16px; }
    .form button[type="submit"] { padding: 16px; font-size: 15px; }
    .ci-row { padding: 14px 16px; }
    .ci-row .v { font-size: 14px; }

    footer { padding: 44px 0 24px; }
    .ft-top { grid-template-columns: 1fr; gap: 28px; }
    .ft-about { max-width: none; }
    .ft-bot { font-size: 12px; margin-top: 32px; }

    .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .wa-fab svg { width: 26px; height: 26px; }
  }

  @media (max-width: 380px) {
    .hero h1 { font-size: 28px; }
    .brand-name { font-size: 16px; }
    .brand-name span { display: none; }
    .nav-inner { height: 64px; }
    .mobile-panel { top: 72px; }
  }

  /* ---------- REDUCED MOTION ---------- */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    /* Keep the dashboard's tilt + gentle float and the WhatsApp pulse —
       these are deliberate brand motion the owner wants always on. */
    .dash { animation: floaty 8s ease-in-out infinite !important; }
    .wa-fab::after { animation: pulse 2s infinite !important; }
  }

  /* ---------- COOKIE CONSENT (LGPD) ---------- */
  .cookie-banner {
    /* Barra de largura total na base; à direita reserva espaço p/ o botão do WhatsApp */
    position: fixed; left: 16px; right: 96px; bottom: 16px; z-index: 90;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 14px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-m); box-shadow: var(--shadow-l);
    padding: 16px 22px;
  }
  .cookie-banner[hidden] { display: none; }
  .cookie-text { max-width: 720px; margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
  /* Desktop: botões lado a lado e centralizados, "Aceitar" destacado */
  .cookie-actions { display: flex; gap: 10px; justify-content: center; align-items: center; }
  .cookie-btn {
    border-radius: 999px; font-weight: 600; text-align: center;
    transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
  }
  .cookie-btn.solid {
    padding: 13px 32px; font-size: 15px; font-weight: 700;
    background: var(--navy); color: #fff;
    box-shadow: var(--shadow-m);
  }
  .cookie-btn.solid:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-l); }
  .cookie-btn.ghost {
    padding: 11px 20px; font-size: 13.5px;
    background: var(--surface); color: var(--muted); border: 1px solid var(--line);
  }
  .cookie-btn.ghost:hover { border-color: var(--navy); color: var(--text); }
  @media (max-width: 640px) {
    /* Acima do botão flutuante do WhatsApp para não cobri-lo */
    .cookie-banner { left: 12px; right: 12px; bottom: 88px; flex-direction: column; align-items: stretch; }
    /* Mobile: "Aceitar" ocupa a largura toda; "Recusar" centralizado abaixo */
    .cookie-actions { flex-direction: column; }
    .cookie-btn.solid { width: 100%; padding: 16px 28px; font-size: 16px; }
    .cookie-btn.ghost { align-self: center; }
  }

  /* ---------- LEGAL / PROSE PAGE ---------- */
  .legal { max-width: 820px; padding-top: 56px; padding-bottom: 90px; }
  .legal h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.022em; font-weight: 800; margin: 0 0 8px; }
  .legal .updated { color: var(--muted-2); font-size: 14px; margin: 0 0 36px; }
  .legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 38px 0 12px; }
  .legal p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
  .legal ul { margin: 12px 0 14px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
  .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
  .legal strong { color: var(--text); font-weight: 700; }
  .legal a { color: var(--navy); font-weight: 600; text-decoration: underline; }
  .legal a:hover { color: var(--mint); }

  .ft-bot a { color: rgba(255,255,255,.7); text-decoration: underline; }
  .ft-bot a:hover { color: #fff; }
