:root {
  --navy: #0b1f3b;
  --blue: #0d6efd;
  --green: #00c389;
  --soft-blue: #e9f4ff;
  --light-gray: #f5f7fa;
  --text: #1b2a41;
  --muted: #5b6b82;
  --border: #dfe6ef;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 59, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
}

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

.container {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.nav .btn {
  padding: 9px 18px;
  color: #fff;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 195, 137, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(13, 110, 253, 0.25), transparent 60%), var(--navy);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Telemóvel com conversa de exemplo */
.phone {
  width: min(340px, 100%);
  margin-inline: auto;
  background: #0f1720;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.phone-screen {
  background: #0b141a;
  border-radius: 26px;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #1f2c34;
  color: #e9edef;
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

.chat-header small {
  display: block;
  font-weight: 400;
  color: #8696a0;
  font-size: 0.75rem;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 20px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bubble {
  max-width: 82%;
  padding: 8px 11px;
  border-radius: 10px;
  color: #e9edef;
  white-space: pre-line;
}

.bubble.out {
  align-self: flex-end;
  background: #005c4b;
  border-top-right-radius: 3px;
}

.bubble.in {
  align-self: flex-start;
  background: #1f2c34;
  border-top-left-radius: 3px;
}

.bubble .voice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aebac1;
}

.bubble .wave {
  height: 14px;
  width: 110px;
  background: repeating-linear-gradient(90deg, #aebac1 0 2px, transparent 2px 5px);
  opacity: 0.7;
  border-radius: 2px;
}

/* Secções */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.bg-soft {
  background: var(--light-gray);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}

.step p,
.feature p {
  color: var(--muted);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature .icon svg {
  width: 24px;
  height: 24px;
}

.feature code {
  font-family: inherit;
  background: var(--soft-blue);
  color: var(--navy);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--navy);
}

.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checklist li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.security-card {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  background-image: radial-gradient(400px 200px at 100% 0%, rgba(0, 195, 137, 0.25), transparent 70%);
}

.security-card img {
  width: 120px;
  margin: 0 auto 20px;
}

.security-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact {
  text-align: center;
}

.contact .section-head {
  margin-inline: auto;
}

.contact-card {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding: 28px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card a {
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Rodapé */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 32px;
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer img {
  height: 64px;
  width: auto;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
}

/* Páginas legais */
.legal {
  padding: 64px 0 88px;
}

.legal .container {
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.legal .updated {
  color: var(--muted);
  margin-bottom: 2em;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal th {
  background: var(--light-gray);
  color: var(--navy);
}

.callout {
  background: var(--soft-blue);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 10px;
  margin: 1.5em 0;
}

@media (max-width: 900px) {
  .hero .container,
  .security {
    grid-template-columns: 1fr;
  }

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

  .nav a:not(.btn) {
    display: none;
  }
}

@media (max-width: 600px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

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

  .brand img {
    height: 34px;
  }
}
