/* Colmeia RPA landing page (bare domain). Same palette as the office. */

:root {
  --fundo: #0b1422;
  --fundo-2: #111d2f;
  --cartao: #142339;
  --borda: #213450;
  --texto: #e6e9ee;
  --texto-2: #a3aebd;
  --texto-3: #7a8799;
  --mel: #e5a82e;
  --mel-forte: #f2bb45;
  --azul: #3b82f6;
  --raio: 14px;
  --largura: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mel-forte);
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 5px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  max-width: 760px;
}

h3 {
  font-size: 19px;
}

.conteudo {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

.conteudo-estreito {
  max-width: 820px;
}

/* ---- buttons ---- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.botao:hover {
  transform: translateY(-1px);
}

.botao:focus-visible,
.luz button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mel-forte);
  outline-offset: 3px;
}

.botao-principal {
  background: var(--mel);
  color: #1a1206;
  box-shadow: 0 6px 24px rgba(229, 168, 46, 0.28);
}

.botao-principal:hover {
  background: var(--mel-forte);
}

/* the header's small yellow "Entrar" button */
.botao-topo {
  background: var(--mel);
  color: #1a1206;
  padding: 8px 18px;
  font-size: 15px;
}

.botao-topo:hover {
  background: var(--mel-forte);
}

/* ---- header ---- */

.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 20, 34, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(33, 52, 80, 0.7);
}

.topo-linha {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.marca img {
  width: 150px;
}

.menu {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.menu a {
  color: var(--texto-2);
  text-decoration: none;
  font-size: 15px;
}

.menu a:hover {
  color: var(--texto);
}

/* ---- hero ---- */

.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

/* honeycomb glow behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(229, 168, 46, 0.14), transparent 62%);
  pointer-events: none;
}

/* faint honeycomb behind the screenshot, fading out at the edges */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23e5a82e' stroke-opacity='0.13' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 80% 40%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 70% at 80% 40%, #000, transparent 70%);
  pointer-events: none;
}

/* a few loose hexagons */
.hex {
  position: absolute;
  aspect-ratio: 1 / 0.88;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  pointer-events: none;
}

.hex-contorno {
  left: 4%;
  top: 11%;
  width: 54px;
  clip-path: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 88'%3E%3Cpolygon points='25,2 75,2 98,44 75,86 25,86 2,44' fill='none' stroke='%23e5a82e' stroke-opacity='0.4' stroke-width='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hex-mel {
  left: 7%;
  top: 19.5%;
  width: 22px;
  background: rgba(229, 168, 46, 0.7);
}

.hex-suave {
  left: 45%;
  top: 80%;
  width: 40px;
  background: rgba(229, 168, 46, 0.15);
}

.hero-grade {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.sobretitulo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--mel-forte);
  font-family: "Jersey 10", system-ui, sans-serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--mel);
}

.lead {
  margin: 22px 0 32px;
  font-size: 19px;
  color: var(--texto-2);
  max-width: 560px;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.hero-tela {
  margin: 0;
}

.moldura {
  border-radius: var(--raio);
  overflow: hidden;
  border: 1px solid var(--borda);
  background: var(--fundo-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.02);
}

.moldura-barra {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--borda);
}

.moldura-barra i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

/* macOS window buttons: close, minimize, zoom */
.moldura-barra i:nth-child(2) {
  background: #febc2e;
}

.moldura-barra i:nth-child(3) {
  background: #28c840;
}

.moldura img {
  width: 100%;
}

.luz {
  display: inline-flex;
  margin-top: 14px;
  padding: 3px;
  border: 1px solid var(--borda);
  border-radius: 999px;
}

.luz button {
  border: 0;
  background: none;
  color: var(--texto-2);
  font: inherit;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.luz button[aria-pressed="true"] {
  background: var(--cartao);
  color: var(--texto);
}

.hero-tela figcaption {
  display: inline-block;
  margin-left: 12px;
  font-size: 14px;
  color: var(--texto-3);
}

/* the bee robot from the office, idle animation (frames 0 and 1) */
.robo-sprite {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url("/assets/robot.png") 0 0 / 224px 32px no-repeat;
  image-rendering: pixelated;
  animation: robo-idle 0.9s steps(1) infinite;
}

.robo-sprite-grande {
  width: 96px;
  height: 96px;
  background-size: 672px 96px;
  animation-name: robo-idle-grande;
}

@keyframes robo-idle {
  0% { background-position: 0 0; }
  50% { background-position: -32px 0; }
}

@keyframes robo-idle-grande {
  0% { background-position: 0 0; }
  50% { background-position: -96px 0; }
}

/* ---- problem band ---- */

.faixa {
  background: var(--fundo-2);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  padding: 64px 0;
}

.faixa-grade {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.faixa-titulo {
  font-size: clamp(24px, 2.6vw, 32px);
}

.dores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.dores li {
  padding-left: 22px;
  position: relative;
  color: var(--texto-2);
}

.dores li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #e74c3c;
}

.dores b {
  color: var(--texto);
}

/* ---- sections ---- */

.secao {
  padding: 96px 0;
}

.secao-escura {
  background: var(--fundo-2);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.secao h2 + * {
  margin-top: 44px;
}

/* ---- steps ---- */

.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.passos li {
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 26px;
}

.passos p {
  color: var(--texto-2);
  margin: 10px 0 0;
}

.passo-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  /* hexagon, like the hive */
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: var(--mel);
  color: #1a1206;
  font-family: "Jersey 10", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1;
}

/* ---- features ---- */

.destaque {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.destaque + .destaque {
  margin-top: 80px;
}

.destaque img {
  border-radius: var(--raio);
  border: 1px solid var(--borda);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.destaque-invertido img {
  order: 2;
}

.destaque p {
  color: var(--texto-2);
  margin: 14px 0 0;
}

.lista-check {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lista-check li {
  position: relative;
  padding-left: 28px;
}

.lista-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mel);
  font-weight: 700;
}

.painel-faixa {
  margin: 80px 0 0;
}

.painel-faixa img {
  border-radius: var(--raio);
  border: 1px solid var(--borda);
}

.painel-faixa figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--texto-3);
  text-align: center;
}

.cartoes {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cartoes li {
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 24px;
}

.cartoes p {
  margin: 8px 0 0;
  color: var(--texto-2);
  font-size: 15.5px;
}

.icone {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}

/* ---- audience ---- */

.publicos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.publicos > div {
  border-top: 3px solid var(--mel);
  padding-top: 18px;
}

.publicos p {
  color: var(--texto-2);
  margin: 8px 0 0;
}

/* ---- FAQ ---- */

details {
  border-bottom: 1px solid var(--borda);
}

details:first-of-type {
  border-top: 1px solid var(--borda);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-weight: 600;
  font-size: 18px;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--mel);
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: -6px 0 20px;
  color: var(--texto-2);
}

/* ---- final CTA ---- */

.chamada {
  padding: 96px 0;
}

.chamada-caixa {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chamada-caixa h2 {
  margin-top: 18px;
}

.chamada-caixa p {
  max-width: 560px;
  color: var(--texto-2);
  margin: 16px 0 30px;
}

/* ---- footer ---- */

.rodape {
  border-top: 1px solid var(--borda);
  padding: 28px 0;
  color: var(--texto-3);
  font-size: 14px;
}

.rodape-linha {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* a thin vertical line between the logo and the rights text */
.rodape-direitos {
  padding-left: 20px;
  border-left: 1px solid var(--borda);
  line-height: 24px;
}

.rodape-autor {
  margin-left: auto;
}

.rodape-autor a {
  color: var(--mel);
  font-weight: 700;
  text-decoration: none;
}

.rodape-autor a:hover {
  color: var(--mel-forte);
}

/* ---- legal pages (privacy policy, terms of use) ---- */

.documento {
  padding: 64px 0 88px;
}

.documento h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: -0.02em;
}

.documento .atualizado {
  color: var(--texto-3);
  margin: 12px 0 36px;
  font-size: 15px;
}

.documento h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.documento p,
.documento li {
  color: var(--texto-2);
  line-height: 1.7;
}

.documento ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

.documento li + li {
  margin-top: 6px;
}

.documento strong {
  color: var(--texto);
}

.documento a {
  color: var(--mel);
}

/* ---- responsive ---- */

@media (max-width: 980px) {
  /* no room for loose hexagons beside the stacked hero */
  .hex {
    display: none;
  }

  .hero-grade,
  .faixa-grade,
  .destaque {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .destaque-invertido img {
    order: 0;
  }

  .passos,
  .cartoes,
  .publicos {
    grid-template-columns: minmax(0, 1fr);
  }

  .cartoes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu {
    display: none;
  }

  .topo-linha .botao-topo {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .conteudo {
    padding: 0 16px;
  }

  .hero {
    padding: 44px 0 60px;
  }

  .lead {
    font-size: 17px;
  }

  .secao,
  .chamada {
    padding: 64px 0;
  }

  .cartoes {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-tela figcaption {
    display: block;
    margin: 10px 0 0;
  }

  .rodape-linha {
    flex-wrap: wrap;
  }

  /* the text wraps below the logo here, so the divider has nothing to split */
  .rodape-direitos {
    padding-left: 0;
    border-left: 0;
  }
}

/* Floating WhatsApp button, bottom right on every screen */
.whatsapp-flutuante {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}

.whatsapp-flutuante:hover {
  background: #1ebe5b;
  transform: scale(1.06);
}

.whatsapp-flutuante:focus-visible {
  outline: 2px solid var(--mel-forte);
  outline-offset: 3px;
}

/* the cookie notice spans the bottom on narrow screens: sit above it */
@media (max-width: 760px) {
  .whatsapp-flutuante {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  body:has(.aviso-cookies) .whatsapp-flutuante {
    bottom: var(--altura-aviso, 170px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .robo-sprite {
    animation: none;
  }

  .botao,
  .whatsapp-flutuante {
    transition: none;
  }
}
