:root {
  --bg: #e9f4ff;          /* azul bebé muito claro */
  --bg-alt: #f5f9ff;      /* quase branco azulado */
  --white: #ffffff;
  --primary: #69a8ff;     /* azul bebé principal */
  --primary-strong: #3f7fe5;
  --primary-soft: rgba(105, 168, 255, 0.15);
  --text-main: #1c2a3a;
  --text-muted: #6b7a8f;
  --border-soft: rgba(120, 160, 220, 0.3);
  --shadow-soft: 0 18px 40px rgba(13, 71, 161, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Reset básico */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f3f7ff 0, var(--bg) 38%, #dbeeff 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout base */

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

/* Topbar / navegação */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8), transparent);
  border-bottom: 1px solid rgba(180, 200, 230, 0.5);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* logotipo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 40%;
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(64, 123, 255, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  font-size: 1rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Navegação */

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

.nav a {
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Botão menu mobile */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-text strong {
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

/* Botões */

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(64, 123, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(64, 123, 255, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--border-soft);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--white);
}

/* Tags */

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.hero-tags span {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid rgba(105, 168, 255, 0.3);
  color: #355075;
}

/* Card do hero */

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(195, 215, 245, 0.8);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.stat {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid rgba(200, 215, 245, 0.8);
}

.stat-number {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Secções genéricas */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(233, 244, 255, 0.7));
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Grid */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

/* Cards / elementos reutilizáveis */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 14px 30px rgba(171, 190, 230, 0.35);
  border: 1px solid var(--border-soft);
}

.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.icon-list {
  list-style: none;
  margin-top: 0.8rem;
}

.icon-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.icon-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.55rem;
  color: var(--primary-strong);
  transform: translateY(0.35rem);
}

/* Cards de serviços */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.service-card ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-main);
}

.service-card ul li::before {
  content: "▸ ";
  color: var(--primary-strong);
}

/* Metodologia / steps */

.steps {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(155, 185, 230, 0.9);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px rgba(64, 123, 255, 0.4);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Equipa */

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

.team-card .role {
  font-size: 0.8rem;
  color: var(--primary-strong);
  margin-bottom: 0.4rem;
}

.team-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Contactos */

.contact-form label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.7rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(185, 205, 235, 0.9);
  font: inherit;
  outline: none;
  background: #f5f8ff;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-strong);
  box-shadow: 0 0 0 1px rgba(105, 168, 255, 0.4);
  background: #ffffff;
}

.muted {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.small {
  margin-top: 0.4rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(190, 210, 235, 0.8);
  background: rgba(244, 249, 255, 0.95);
  padding: 1rem 0;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-note {
  opacity: 0.9;
}

/* Responsivo */

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

  .hero-card {
    order: -1;
  }

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

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

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

@media (max-width: 720px) {
  .topbar-inner {
    padding: 0.7rem 0;
  }

  .nav {
    position: absolute;
    inset: 60px 1.5rem auto 1.5rem;
    flex-direction: column;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 35px rgba(71, 118, 190, 0.28);
    border: 1px solid var(--border-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .hero {
    padding-top: 3.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
