:root {
  --ink: #062056;
  --ink-2: #0b1f4d;
  --blue: #0b5fff;
  --blue-d: #0536b3;
  --orange: #ff8a00;
  --amber: #ffb347;
  --paper: #f3efe6;
  --white: #fff;
  --muted: #5b6b86;
  --line: #d7deea;
  --card: #fff;
  --shadow: 0 18px 50px rgba(6, 32, 86, 0.12);
  --wa: #1fbe57;
  --max: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: Syne, "DM Sans", sans-serif; letter-spacing: -0.04em; line-height: 1.08; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
}
.lede { font-size: 18px; color: var(--muted); max-width: 58ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s transform, 0.18s background, 0.18s box-shadow;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(11, 95, 255, 0.28); }
.btn-primary:hover { background: var(--blue-d); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(255, 138, 0, 0.28); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 32, 86, 0.08);
  box-shadow: inset 0 3px 0 var(--orange);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a:not(.btn) { font-weight: 700; font-size: 14px; color: var(--ink-2); opacity: 0.78; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a.is-on { opacity: 1; color: var(--blue); }
.nav-cta { margin-left: 8px; min-height: 42px; padding: 0 18px; }
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* Hero / carousel */
.hero {
  position: relative;
  background: #04153c;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,138,0,0.22), transparent 62%);
  pointer-events: none;
}
.carousel { position: relative; }
.slides { position: relative; }
.slide {
  display: none;
  padding: 72px 0 88px;
}
.slide.is-on { display: block; animation: rise 0.55s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.slide h1 { font-size: clamp(40px, 5.6vw, 68px); max-width: 14ch; }
.slide .lede { color: rgba(255,255,255,0.74); font-size: 19px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.slide-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,138,0,0.16);
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.car-nav { display: none; }
.car-dots { position: absolute; z-index: 2; }
.car-dots {
  left: 0; right: 0; bottom: 32px;
  display: flex; justify-content: center; gap: 8px;
}
.car-dots button {
  width: 34px; height: 4px; border: 0; border-radius: 99px;
  background: rgba(255,255,255,0.28); cursor: pointer; padding: 0;
}
.car-dots button.is-on { background: var(--orange); }

.panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 16px; margin-bottom: 12px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
.row b { color: #fff; }
.row span { color: rgba(255,255,255,0.62); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill { padding: 6px 10px; border-radius: 999px; background: rgba(11,95,255,0.22); font-size: 12px; font-weight: 700; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kanban article { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 10px; font-size: 12px; }
.kanban strong { display: block; margin-bottom: 6px; }

/* Sections */
.sec { padding: 88px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); max-width: 16ch; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 0;
  position: relative;
  z-index: 3;
}
.stat {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.stat b { display: block; font-family: Syne, sans-serif; font-size: 36px; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 14px; }

.mod-grid, .feat-grid, .split { display: grid; gap: 16px; }
.mod-grid { grid-template-columns: repeat(3, 1fr); }
.mod-grid.portais-grid { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  min-height: 100%;
}
.card h3 { font-size: 22px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { margin: 12px 0 0; padding: 0 0 0 18px; color: var(--ink-2); }
.ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eaf1ff; color: var(--blue); margin-bottom: 14px;
  font-weight: 800;
}

.band { color: #fff; }
.band-ink { background: #04153c; }
.band-blue { background: linear-gradient(135deg, #062056, #0b5fff 70%, #ff8a00); }
.band-night { background: #0a1633; }
.split { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.split h2 { font-size: clamp(30px, 4vw, 50px); }
.band .lede { color: rgba(255,255,255,0.78); }
.checklist { list-style: none; padding: 0; margin: 18px 0 28px; }
.checklist li { padding: 8px 0 8px 28px; position: relative; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.feat-grid { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 8px 4px 0; }
.feat h3 { font-size: 18px; }

.cta {
  background: #fff;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta h2 { font-size: 36px; max-width: 14ch; }

/* Inner pages */
.page-hero {
  background: #04153c;
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); max-width: 16ch; }
.page-hero .lede { color: rgba(255,255,255,0.72); }
.crumbs { font-size: 13px; opacity: 0.7; margin-bottom: 16px; }
.crumbs a:hover { color: var(--amber); }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
.form {
  display: grid; gap: 12px;
}
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.aside { background: #04153c; color: #fff; border-radius: 22px; padding: 28px; }
.aside a { color: var(--amber); font-weight: 700; }

/* Footer */
.site-footer {
  background: #03102c;
  color: rgba(255,255,255,0.78);
  padding: 48px 0 24px;
  margin-top: 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.ott-mark { display: inline-block; background: transparent; padding: 4px 0; }
.ott-mark img { height: 56px; width: auto; }
.legal {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 18px; font-size: 13px; color: rgba(255,255,255,0.5);
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}
.wa-float svg { width: 34px; height: 34px; display: block; }

@media (max-width: 1240px) {
  .nav, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  .nav-cta { display: flex; }
  .slide-grid, .split, .mod-grid, .mod-grid.portais-grid, .feat-grid, .stats, .foot-grid, .contact-grid, .kanban {
    grid-template-columns: 1fr;
  }
  .stats { margin-top: 24px; }
  .cta, .sec-head { flex-direction: column; align-items: start; }
  .car-nav { display: none; }
  .slide { padding: 40px 0 96px; }
  .nav a { padding: 10px 0; border-bottom: 1px solid #eef1f6; }
  .nav-cta { margin-top: 8px; }
  .wa-float { right: 14px; bottom: 14px; width: 58px; height: 58px; }
  .wa-float svg { width: 30px; height: 30px; }
}