/* AutomizePro — site provisório
   Preto e branco, fundo escuro igual à capa do LinkedIn (#14171a).
   Sem tipos de letra externos: usa os do sistema (nenhum pedido a terceiros). */

:root {
  --bg: #14171a;
  --bg-2: #1b1f23;
  --line: #2c3237;
  --text: #eef0f2;
  --muted: #a3a9af;
  --max: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cabeçalho */
.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Abertura, com o símbolo esbatido à direita (como na capa) */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6rem;
  width: 34rem;
  height: 34rem;
  transform: translateY(-50%);
  background: url("assets/simbolo-branco.png") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 0.4rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #fff;
}

/* Secções */
section.block {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.intro {
  margin: 0 0 2.5rem;
  max-width: 42rem;
  color: var(--muted);
}

/* Ciclo da automação */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--bg-2);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Quem somos */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.about p {
  margin: 0 0 1rem;
}

.about .muted {
  color: var(--muted);
}

/* Contacto */
.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}

.contacts div {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.contacts dt {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts dd {
  margin: 0;
  font-size: 1.05rem;
  word-break: break-word;
}

.contacts a {
  text-decoration: none;
}

.contacts a:hover,
.contacts a:focus-visible {
  text-decoration: underline;
}

/* Rodapé */
footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0 0 0.3rem;
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* Telemóvel e tablet */
@media (max-width: 52rem) {
  .steps,
  .contacts {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 36rem) {
  .nav a:not(.lang) {
    display: none;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero::after {
    top: auto;
    bottom: -7rem;
    right: -7rem;
    width: 20rem;
    height: 20rem;
    transform: none;
  }

  .steps,
  .contacts {
    grid-template-columns: 1fr;
  }

  section.block {
    padding: 3.5rem 0;
  }
}

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