/* ============ Variáveis / paleta (baseada no logo) ============ */
:root {
  --blue: #2555ea;
  --blue-dark: #163ec2;
  --blue-light: #eaf0ff;
  --ink: #10162b;
  --gray: #5b6478;
  --gray-light: #eef1f7;
  --bg: #ffffff;
  --bg-soft: #f7f9fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 22, 43, 0.08);
  --max-width: 1160px;

  /* Cores de destaque — usadas com moderação para dar vida a ícones e detalhes */
  --teal: #0eb8a8;
  --teal-light: #e3faf6;
  --purple: #7c5cff;
  --purple-light: #f1edff;
  --amber: #f5a623;
  --amber-light: #fff3e0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

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

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 12px;
}

p { margin: 0 0 16px; color: var(--gray); }

a { color: var(--blue); text-decoration: none; }

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ============ Botões ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  background-size: 160% 160%;
  background-position: 0% 50%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-position 0.4s ease;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 85, 234, 0.3);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  background: transparent;
  border-color: var(--gray-light);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ============ Navegação ============ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-light);
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-light);
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--gray);
}
.lang-toggle span[data-lang-option] { padding: 2px 4px; border-radius: 6px; }
.lang-toggle span.active { color: var(--blue); background: #fff; }
.lang-sep { opacity: 0.5; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background: linear-gradient(180deg, var(--blue-light) 0%, #fff 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 300px;
  height: 300px;
  top: -60px;
  right: 8%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  animation: blobFloat 16s ease-in-out infinite;
}
.hero::after {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: 4%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  animation: blobFloat 20s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  color: var(--ink);
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ============ Hero stats ============ */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue) 0%, var(--purple) 50%, var(--teal) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  max-width: 180px;
}

/* ============ Sobre ============ */
.about { padding: 90px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.about-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 260px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-image:hover img { transform: scale(1.06); }
.about-diff {
  background: var(--bg-soft);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-diff:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about-diff h3 { font-size: 1.05rem; margin-bottom: 16px; }

/* ============ Porquê Investir ============ */
.invest {
  padding: 90px 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.invest h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 680px;
}
.invest-desc { max-width: 620px; font-size: 1rem; }

/* Blobs de fundo animados — dão profundidade e cor sem distrair do conteúdo */
.invest-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.invest-blob-1 {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  animation: blobFloat 14s ease-in-out infinite;
}
.invest-blob-2 {
  width: 280px;
  height: 280px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  animation: blobFloat 18s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}
.invest .container { position: relative; z-index: 1; }

/* Caixa de destaque com estatística */
.invest-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: 32px;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.22);
}
.invest-highlight-stat {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  animation: statPulse 3s ease-in-out infinite;
}
@keyframes statPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.invest-highlight-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  max-width: 560px;
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.invest-point {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.invest-point:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.invest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}
.invest-point:hover .invest-icon { transform: rotate(-8deg) scale(1.08); }
.invest-c1 .invest-icon { background: var(--blue-light); color: var(--blue); }
.invest-c2 .invest-icon { background: var(--teal-light); color: var(--teal); }
.invest-c3 .invest-icon { background: var(--purple-light); color: var(--purple); }
.invest-c4 .invest-icon { background: var(--amber-light); color: var(--amber); }
.invest-num {
  display: block;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.invest-point h4 { font-size: 0.98rem; margin-bottom: 6px; }
.invest-point p { font-size: 0.88rem; margin-bottom: 0; }

/* ============ Serviços ============ */
.services { padding: 90px 0; }
.services h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 640px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.cards-9 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); }
/* Cores dos ícones alternam para dar mais vida à grelha de serviços */
.cards-9 .card:nth-child(4n+2) .card-icon { background: var(--teal-light); color: var(--teal); }
.cards-9 .card:nth-child(4n+3) .card-icon { background: var(--purple-light); color: var(--purple); }
.cards-9 .card:nth-child(4n+4) .card-icon { background: var(--amber-light); color: var(--amber); }
.card h3 { font-size: 1.05rem; }
.card p { font-size: 0.92rem; margin-bottom: 12px; }
.card-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.card-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}
.card-target {
  font-size: 0.8rem;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 0;
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
}

/* ============ Processo (secção própria) ============ */
.process-section { padding: 90px 0; background: var(--bg-soft); }
.process-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 640px;
}
.process-7 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* ============ Diferenciais ============ */
.diff-section { padding: 90px 0; }
.diff-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 640px;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.diff-card {
  background: var(--bg-soft);
  border: 1px solid var(--gray-light);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.diff-card h4 { font-size: 0.98rem; margin-bottom: 6px; color: var(--ink); }
.diff-card p { font-size: 0.88rem; margin-bottom: 0; }
.diff-grid .diff-card:nth-child(3n+2) { border-top-color: var(--teal); }
.diff-grid .diff-card:nth-child(3n+3) { border-top-color: var(--purple); }
.diff-grid .diff-card:nth-child(3n+1):nth-child(n+7) { border-top-color: var(--amber); }

/* ============ Portfólio ============ */
.portfolio { padding: 90px 0; background: var(--bg-soft); }
.portfolio h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 640px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.portfolio-card {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.portfolio-mock {
  height: 160px;
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), var(--gray-light));
}
.portfolio-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-mock img { transform: scale(1.08); }
.portfolio-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 8px;
}
.portfolio-card h3 { font-size: 1.05rem; }
.portfolio-card p { font-size: 0.9rem; }
.portfolio-tech {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 6px;
}
.portfolio-results {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0;
}

/* ============ Depoimentos ============ */
.testimonials { padding: 90px 0; }
.testimonials h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  max-width: 640px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 26px;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card p {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card footer strong { font-size: 0.9rem; }
.testimonial-card footer span { font-size: 0.82rem; color: var(--gray); }

/* ============ FAQ ============ */
.faq { padding: 90px 0; background: var(--bg-soft); }
.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.faq-heading h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

/* ============ Chamada Final ============ */
.finalcta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}
.finalcta-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.finalcta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}
.finalcta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}
.finalcta .btn-primary {
  background: #fff;
  color: var(--blue-dark);
}
.finalcta .btn-primary:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ============ Porquê Nós (legado, mantido por compatibilidade) ============ */
.why { padding: 90px 0; background: var(--bg-soft); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.why-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}
.why-desc { font-size: 1rem; }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.process-step {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
}
.process-num {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  min-width: 34px;
}
.process-step h4 { margin: 0 0 4px; font-size: 1rem; }
.process-step p { margin: 0; font-size: 0.9rem; }

/* ============ Contacto ============ */
.contact { padding: 90px 0 110px; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}
.contact-title, .contact h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.contact-desc { font-size: 1rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}
.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  font-weight: 700;
}
.contact-detail a { font-size: 1.05rem; font-weight: 600; }

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input,
.field textarea {
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 20px;
}
.form-status.success { color: #1a8a4a; }
.form-status.error { color: #d1372f; }

/* ============ Rodapé ============ */
.footer {
  border-top: 1px solid var(--gray-light);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-full { padding: 70px 0 0; background: var(--ink); }
.footer-full .brand-name { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col .footer-subtitle { margin-top: 18px; }
.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a,
.footer-col ul span,
.footer-col > a,
.footer-col > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.footer-col ul a:hover { color: #fff; }
.footer-col > a { display: inline-block; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ Animação simples ao aparecer no ecrã ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito staggered: cada cartão de uma grelha aparece um pouco depois do anterior */
.cards .reveal:nth-child(1), .invest-grid .reveal:nth-child(1), .diff-grid .reveal:nth-child(1), .portfolio-grid .reveal:nth-child(1), .testimonial-grid .reveal:nth-child(1), .process-7 .reveal:nth-child(1) { transition-delay: 0s; }
.cards .reveal:nth-child(2), .invest-grid .reveal:nth-child(2), .diff-grid .reveal:nth-child(2), .portfolio-grid .reveal:nth-child(2), .testimonial-grid .reveal:nth-child(2), .process-7 .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .invest-grid .reveal:nth-child(3), .diff-grid .reveal:nth-child(3), .portfolio-grid .reveal:nth-child(3), .testimonial-grid .reveal:nth-child(3), .process-7 .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4), .invest-grid .reveal:nth-child(4), .diff-grid .reveal:nth-child(4), .process-7 .reveal:nth-child(4) { transition-delay: 0.24s; }
.cards .reveal:nth-child(5), .invest-grid .reveal:nth-child(5), .diff-grid .reveal:nth-child(5), .process-7 .reveal:nth-child(5) { transition-delay: 0.32s; }
.cards .reveal:nth-child(6), .invest-grid .reveal:nth-child(6), .diff-grid .reveal:nth-child(6), .process-7 .reveal:nth-child(6) { transition-delay: 0.4s; }
.cards .reveal:nth-child(7), .invest-grid .reveal:nth-child(7), .process-7 .reveal:nth-child(7) { transition-delay: 0.48s; }
.cards .reveal:nth-child(8), .invest-grid .reveal:nth-child(8) { transition-delay: 0.56s; }
.cards .reveal:nth-child(9) { transition-delay: 0.64s; }

/* ============ Responsivo ============ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-9 { grid-template-columns: repeat(2, 1fr); }
  .why-inner, .contact-inner, .about-inner, .faq-inner { grid-template-columns: 1fr; }
  .about-image { min-height: 220px; }
  .invest-grid { grid-template-columns: repeat(2, 1fr); }
  .process-7 { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-light);
    gap: 16px;
  }
  .nav-actions .btn-small { display: none; }
  .cards, .cards-9 { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .services, .why, .contact, .about, .invest, .process-section, .diff-section, .portfolio, .testimonials, .faq, .finalcta {
    padding: 60px 0;
  }
  .hero-stats { gap: 24px; }
  .invest-grid, .diff-grid { grid-template-columns: 1fr; }
  .invest-highlight { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .footer-bottom { flex-direction: column; }
}
