:root {
  /* Cores do logo: ciano #00AEEF e azul petróleo #136A85 */
  --navy-900: #05202e;
  --navy-800: #0a2d40;
  --navy-700: #136a85;
  --blue-500: #0a7cad;
  --blue-600: #086792;
  --cyan-400: #00aeef;
  --ink: #0f1a2e;
  --muted: #5a6880;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 27, 58, .08);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: .8em;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: .9em 1.5em;
  border-radius: 999px;
  background: var(--blue-500);
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--blue-600); box-shadow: 0 8px 20px rgba(10, 124, 173, .3); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: #eef3ff; }

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 19, 48, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6em; color: #fff; font-size: 1.1rem; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand strong { color: var(--cyan-400); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 1.8em; }
.nav a:not(.btn) { color: rgba(255,255,255,.8); font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: #fff; text-decoration: none; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #0e5a7a 0%, transparent 60%), var(--navy-900);
  color: #fff;
  padding: 110px 0 90px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; max-width: var(--container); }
.hero h1 { max-width: 22ch; }
.hero .eyebrow { color: var(--cyan-400); }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 58ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 1.6em; }
.hero__founder {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 3em;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85); font-size: .92rem;
}
.hero__founder:hover { text-decoration: none; background: rgba(255,255,255,.1); }
.hero__founder img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cyan-400); }
.hero__founder strong { color: #fff; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 48px; }
.hero__stats li { display: flex; flex-direction: column; max-width: 190px; }
.hero__stats strong { font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero__stats span { color: rgba(255,255,255,.6); font-size: .9rem; }

/* Seções */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }

.section--dark { background: var(--navy-900); color: #fff; }
.section--dark .eyebrow { color: var(--cyan-400); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.split > div > p { color: #33415a; }
.highlight { border-left: 3px solid var(--cyan-400); padding-left: 14px; font-weight: 600; }

/* Missão, visão, valores */
.mvv { display: grid; gap: 14px; }
.mvv article { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 24px; }
.mvv h3 { color: var(--blue-500); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.mvv p { margin: 0; color: #33415a; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3em .85em; font-size: .88rem; font-weight: 600; color: #2a3750; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s, border-color .2s;
}
.service:hover, .service[open] { box-shadow: var(--shadow); border-color: #bfd9e6; }
.service summary {
  list-style: none; cursor: pointer; padding: 24px 56px 24px 24px; position: relative;
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::after {
  content: "+"; position: absolute; right: 22px; top: 22px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--blue-500); font-weight: 700; transition: transform .2s;
}
.service[open] summary::after { transform: rotate(45deg); }
.service__n { grid-row: span 2; font-weight: 800; color: var(--cyan-400); font-size: 1.05rem; line-height: 1.5; }
.service h3 { margin-bottom: .35em; font-size: 1.05rem; }
.service summary p { margin: 0; color: var(--muted); font-size: .95rem; }
.service > p { margin: 0; padding: 0 24px 24px 64px; color: #33415a; font-size: .95rem; }

.tech { margin-top: 48px; text-align: center; }
.tech > p { font-weight: 700; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.tags--tech { justify-content: center; }

/* Produtos próprios */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product {
  background: linear-gradient(160deg, rgba(0,174,239,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 36px;
  display: flex; flex-direction: column;
}
.product__tag { display: inline-block; align-self: flex-start; background: var(--cyan-400); color: var(--navy-900); font-weight: 800; padding: .25em .8em; border-radius: 999px; font-size: .9rem; }
.product h3 { font-size: 1.45rem; margin: .6em 0 .7em; }
.product p { color: rgba(255,255,255,.75); }
.product .btn { margin-top: auto; align-self: flex-start; }

/* Clientes */
.logos { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logos li {
  width: calc((100% - 5 * 12px) / 6);
  height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: grid; place-items: center; padding: 12px; overflow: hidden;
}
.logos img { max-height: 70px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logos .logos__dark, .logos--dark li { background: var(--navy-800); border-color: var(--navy-800); }
.logos--dark img { width: 100%; height: 64px; max-height: none; object-fit: contain; border-radius: 6px; }
.logos__more { color: var(--muted); text-align: center; font-size: .95rem; }

/* Diferenciais */
.diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diffs article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--cyan-400); }
.diffs h3 { font-size: 1.02rem; }
.diffs p { margin: 0; color: var(--muted); font-size: .95rem; }
.diffs article:last-child { grid-column: 1 / -1; }

.certs {
  margin-top: 32px; background: var(--navy-900); color: #fff; border-radius: 18px; padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: start;
}
.certs .eyebrow { color: var(--cyan-400); margin-bottom: .3em; }
.certs p { color: rgba(255,255,255,.75); }
.certs p:last-child { margin: 0; }
.founder { display: flex; align-items: center; gap: 22px; }
.founder h3 { font-size: 1.6rem; margin: 0; }
.founder .founder__role { margin: .2em 0 0; color: rgba(255,255,255,.7); }
.founder__photo {
  width: 165px; height: 220px; flex: none; border-radius: 16px; object-fit: cover;
  border: 3px solid var(--cyan-400);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.certs__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; grid-column: 1 / -1; }
.certs__list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.certs__list strong { color: var(--cyan-400); font-size: 1.1rem; }
.certs__list span { font-size: .85rem; color: rgba(255,255,255,.7); }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; color: #2a3750; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption span { color: var(--muted); font-size: .9rem; }

/* Ferramentas */
.hero--sm { padding: 90px 0 70px; }
.nav a[aria-current="page"] { color: var(--cyan-400); }
.tools { display: grid; gap: 24px; }
.tool {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 36px; box-shadow: var(--shadow);
}
.tool__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.tool__head h2 { margin: 0; font-size: 1.9rem; }
.tool__icon { width: 56px; height: 56px; border-radius: 14px; }
.tool__tagline { margin: 0; color: var(--muted); font-weight: 600; }
.tool > p { color: #33415a; max-width: 75ch; font-size: 1.05rem; }
.badge { margin-left: auto; padding: .35em .9em; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.badge--beta { background: #fff4e0; color: #9a5b00; border: 1px solid #f3d39a; }
.badge--live { background: #e3f7ec; color: #13834a; border: 1px solid #a9e2c2; }
.tool__features { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool__features li { background: var(--bg-alt); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.tool__features strong { color: var(--ink); }
.tool__features span { color: var(--muted); font-size: .93rem; }
.tool__specs { margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.tool__specs dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.tool__specs dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.tool__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tool__note { color: var(--muted); font-size: .92rem; }
.tool__help { margin-top: 24px; background: var(--bg-alt); border-radius: 12px; padding: 18px 22px; font-size: .93rem; color: #33415a; }
.tool__help p { margin: 0 0 .6em; }
.tool__help p:last-child { margin: 0; }
.tool__hash code { font-size: .78rem; word-break: break-all; color: var(--muted); }
.tool__versions { margin-top: 18px; font-size: .93rem; }
.tool__versions summary { cursor: pointer; font-weight: 700; color: var(--blue-500); }
.tool__versions ul { margin: 10px 0 0; padding-left: 18px; color: #33415a; }
.tool__versions li { margin-bottom: 6px; }
.tool__feedback { margin: 18px 0 0; font-size: .93rem; color: var(--muted); }
.tools__more { margin-top: 40px; text-align: center; border: 1px dashed #c8d6e2; border-radius: 18px; padding: 40px 24px; }
.tools__more p { color: var(--muted); max-width: 60ch; margin: 0 auto 20px; }
.btn--ghost-dark { background: transparent; color: var(--blue-500); border-color: var(--blue-500); }
.btn--ghost-dark:hover { background: var(--blue-500); color: #fff; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--blue-500), var(--navy-700) 60%, var(--navy-800)); color: #fff; padding: 64px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }

/* Contato */
.contact-list { list-style: none; padding: 0; margin: 2em 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; word-break: break-word; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.social { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em .45em .8em;
  color: var(--ink); font-weight: 600; font-size: .9rem;
}
.social a:hover { text-decoration: none; border-color: var(--blue-500); color: var(--blue-500); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea {
  font: inherit; font-weight: 400;
  padding: .75em .9em; border: 1px solid #cfd8e6; border-radius: 10px;
  background: #fbfcfe; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(30,107,255,.15); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 600; }
.form__status.ok { color: #13834a; }
.form__status.err { color: #c62828; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rodapé */
.footer { background: var(--navy-900); color: rgba(255,255,255,.6); padding: 28px 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: rgba(255,255,255,.75); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsivo */
@media (max-width: 960px) {
  .split, .certs, .products, .services { grid-template-columns: 1fr; gap: 40px; }
  .services { gap: 14px; }
  .diffs { grid-template-columns: 1fr 1fr; }
  .logos li { width: calc((100% - 3 * 12px) / 4); }
  .certs { gap: 24px; }
  .tool__features { grid-template-columns: 1fr 1fr; }
  .certs__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 8px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-top: 14px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .hero { padding: 72px 0 64px; }
  .hero__stats { gap: 28px; }
  .section { padding: 72px 0; }
  .quotes, .form__row, .diffs, .certs__list { grid-template-columns: 1fr; }
  .logos li { width: calc((100% - 12px) / 2); }
  .product, .certs { padding: 26px; }
  .founder__photo { width: 120px; height: 160px; }
  .service > p { padding-left: 24px; }
  .tool { padding: 24px; }
  .tool__features, .tool__specs { grid-template-columns: 1fr; }
  .badge { margin-left: 0; }
  .container { padding: 0 16px; }
}
