/* ============================================================
   SpartAds — styles.css
   CSS global extraído de index.astro (is:global)
   ============================================================ */

:root {
  --bg: #000610;
  --bg-2: #000d1e;
  --bg-3: #011228;
  --surface: #07152a;
  --surface-2: #0c1a32;
  --border: #1b2d45;
  --border-soft: #0f1e32;
  --text: #ffffff;
  --text-dim: #b7b9c2;
  --text-dimmer: #7a8293;
  --brand: #007aff;
  --brand-2: #007aff;
  --brand-3: #bdd6f1;
  --brand-hover: #0066d5;
  --cta: #dcea20;
  --cta-2: #c8d800;
  --cta-hover: #b8c800;
  --card-end: #0b1220;
}

/* ── Secções claras (algumas secções alternam para light, como no spartads-ai) ──
   Secção ocupa a largura toda (full-bleed), sem "cartão" — o branco é o
   próprio fundo da secção. As secções escuras adjacentes (hero, CTA final)
   é que ficam com border-radius só no lado que toca o branco, ver mais
   abaixo (#top e #contacto), para parecerem blocos escuros a flutuar
   sobre a página clara. */
.section-light {
  --surface: #f3f4f7;
  --surface-2: #eaebef;
  --border: #e1e3e8;
  --border-soft: #ececef;
  --text: #0a0a0a;
  --text-dim: #4a4d55;
  --text-dimmer: #8a8d95;
  --brand-3: #007aff;
  --card-end: #eef0f4;
  background: #fff;
  color: #0a0a0a;
}

.section-light h1,
.section-light h2,
.section-light h3 {
  color: #0a0a0a;
}

.section-light .text-white { color: #0a0a0a; }
.section-light .text-white\/90 { color: rgba(10, 10, 10, 0.88); }
.section-light .text-white\/70 { color: rgba(10, 10, 10, 0.68); }
.section-light .text-white\/60 { color: rgba(10, 10, 10, 0.58); }
.section-light .text-white\/50 { color: rgba(10, 10, 10, 0.48); }
.section-light .text-white\/40 { color: rgba(10, 10, 10, 0.38); }
.section-light .text-white\/30 { color: rgba(10, 10, 10, 0.28); }
.section-light .border-white\/5 { border-color: rgba(10, 10, 10, 0.08); }
.section-light .border-white\/10 { border-color: rgba(10, 10, 10, 0.12); }
.section-light .bg-white\/5 { background-color: rgba(10, 10, 10, 0.04); }

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip; /* clip não cria scroll container — não parte position:sticky */
}

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: clip; /* idem */
}

/* Fundo da página branco em todo o site — é o que aparece "por trás"
   dos cantos arredondados de .page-hero/#top/.page-cta-final/#contacto
   (ver acima), e é também o fundo das páginas legais (texto claro,
   ver .section-light aplicado ao <main> de cada uma). */
body {
  background: #fff;
}

/* selecção de texto com a cor principal da marca e texto branco */
::selection {
  background: var(--brand);
  color: #ffffff;
}

/* General Sans (títulos, como na LP C) */
.eyebrow {
  font-family: 'General Sans', sans-serif !important;
  font-style: normal;
}
.accent-boska {
  font-family: 'General Sans', sans-serif;
  font-style: normal;
}

.font-display {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.font-display-xl {
  font-family: 'General Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.font-head {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.font-mono-ish {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Headings: branco sólido (gradient com background-clip pintava
   branco por trás dos spans coloridos) */
h1,
h2,
h3 {
  color: #ffffff;
  padding-bottom: 0.12em;
}

/* ===== HERO ===== */
.hero-gradient {
  background:
    radial-gradient(ellipse 90% 110% at -5% 50%, #0047cc 0%, #001a8a 28%, #000d2a 55%, #000818 100%);
}

/* Vídeo de fundo do hero (gradiente acima fica como fallback) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg video,
.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-photo-x, 50%) var(--hero-photo-y, 50%);
  transform: scale(1.06);
  transition: object-position 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Hero (escuro) flutua sobre a zona clara (Resultados → Equipa) —
   arredondado só em baixo, com sombra a vender o efeito de bloco.
   z-index acima das secções claras vizinhas para a sombra (que se
   estende para fora da própria caixa) pintar por cima do branco, em
   vez de ficar escondida atrás da secção seguinte no fluxo normal. */
#top {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 0 0 46px 46px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.55);
}

/* CTA final (escuro) fecha a zona clara — arredondado só em cima. */
#contacto {
  position: relative;
  z-index: 1;
  border-radius: 46px 46px 0 0;
  box-shadow: 0 -50px 100px -40px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  #top {
    border-radius: 0 0 28px 28px;
  }
  #contacto {
    border-radius: 28px 28px 0 0;
  }
}

/* Logos de clientes — row/cartão claro dentro do container (a cor vem
   de .section-light, isto só dá o padding/radius de "cartão"). */
.logos-row-card {
  border-radius: 28px;
  padding: 3rem 1.75rem;
}

@media (min-width: 768px) {
  .logos-row-card {
    border-radius: 36px;
    padding: 4rem 3rem;
  }
}

/* Foto da Beatriz no CTA final — sem cortar largura/altura (mostra a
   imagem inteira), e em desktop a cabeça sai por cima da secção para
   dar dinamismo (#contacto não tem overflow:hidden, por isso deixa). */
.contacto-photo-wrap {
  display: flex;
  justify-content: center;
}

.contacto-photo {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .contacto-photo-wrap {
    justify-content: flex-start;
    margin-top: -150px;
  }
}

/* Vídeo de fundo no CTA final — invisível em cima, sólido a partir do meio */
.cta-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 55%, black 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 55%, black 100%);
}

.cta-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 3, 8, 0.5) 0%, rgba(0, 3, 8, 0.65) 100%);
}

.hero-bg {
  background:
    radial-gradient(1400px 900px at 12% 0%, rgba(0, 100, 255, 0.82), transparent 58%),
    radial-gradient(900px 600px at 88% 10%, rgba(0, 80, 240, 0.48), transparent 55%),
    radial-gradient(700px 500px at 50% 105%, rgba(0, 122, 255, 0.38), transparent 58%),
    radial-gradient(900px 520px at 92% 18%, rgba(22, 163, 74, 0.14), transparent 60%),
    linear-gradient(180deg, #000818 0%, #001530 100%);
}

.hero-bg-flipped {
  background:
    radial-gradient(1400px 900px at 12% 100%, rgba(0, 100, 255, 0.82), transparent 58%),
    radial-gradient(900px 600px at 88% 90%, rgba(0, 80, 240, 0.48), transparent 55%),
    radial-gradient(700px 500px at 50% -5%, rgba(0, 122, 255, 0.38), transparent 58%),
    radial-gradient(900px 520px at 92% 82%, rgba(22, 163, 74, 0.14), transparent 60%),
    linear-gradient(180deg, #001530 0%, #000818 100%);
}

.hero-bg-flip-h {
  background:
    radial-gradient(1400px 900px at 88% 0%, rgba(0, 100, 255, 0.82), transparent 58%),
    radial-gradient(900px 600px at 12% 10%, rgba(0, 80, 240, 0.48), transparent 55%),
    radial-gradient(700px 500px at 50% 105%, rgba(0, 122, 255, 0.38), transparent 58%),
    radial-gradient(900px 520px at 8% 18%, rgba(22, 163, 74, 0.14), transparent 60%),
    linear-gradient(180deg, #000818 0%, #001530 100%);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor spotlight */
.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(400px 400px at var(--mx, 50%) var(--my, 30%), rgba(0, 122, 255, 0.55), transparent 60%);
  transition: opacity 0.35s ease;
}

.dotted {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}


/* ===== V1: DEXTER-ST (exact original, drawers outside btn) ===== */
.btn-v1-container {
  --btn-color: #CFDC1E;
  --corner-dist: 24px;
  --corner-multiplier: 1.5;
  --timing-function: cubic-bezier(0, 0, 0, 2.5);
  --duration: 250ms;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.btn-v1 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 18px;
}

.btn-v1 {
  z-index: 1;
}

.btn-v1-drawer {
  position: absolute;
  display: flex;
  justify-content: flex-start;
  left: 0;
  z-index: 0;

  min-height: 45px;
  border: none;
  padding: 0.25em 1.2em;
  font-size: 0.75em;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0009;
  white-space: nowrap;

  background: rgba(220, 234, 32, 0.18);
  border: 1px solid rgba(220, 234, 32, 0.35);
  color: #d4e020;
  opacity: 0;
  pointer-events: none;

  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.18s ease;
  filter: blur(3px);
}

.btn-v1-top {
  top: 0;
  border-radius: 10px 10px 0 0;
  align-items: flex-start;
}

.btn-v1-bottom {
  bottom: 0;
  border-radius: 0 0 12px 12px;
  align-items: flex-end;
}

/* :has() — hover deteta btn:hover no container */
.btn-v1-container:has(.btn-v1:hover) .btn-v1-top {
  transform: translateY(-28px);
  filter: blur(0);
  opacity: 1;
}

.btn-v1-container:has(.btn-v1:active) .btn-v1-top {
  transform: translateY(-4px) scale(0.9);
  opacity: 0;
}



/* ===== SLIDE BUTTON ===== */
.btn-slide {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(170deg, #dcea20 0%, #b8c800 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.70),
    inset 0 -2px 5px rgba(0, 0, 0, 0.10),
    0 8px 28px rgba(175, 200, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  min-width: 280px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-slide:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.70),
    inset 0 -2px 5px rgba(0, 0, 0, 0.10),
    0 14px 36px rgba(175, 200, 0, 0.65),
    0 4px 10px rgba(0, 0, 0, 0.32);
}

/* Fundo claro que expande da seta para a esquerda */
.btn-slide-fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.btn-slide:hover .btn-slide-fill {
  width: 100%;
}

/* Textos */
.btn-slide-text-wrap {
  flex: 1;
  padding: 0 8px 0 24px;
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.btn-slide-main,
.btn-slide-sub {
  position: absolute;
  left: 24px;
  right: 8px;
  font-weight: 700;
  color: #080808;
  white-space: nowrap;
}

.btn-slide-main {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 1;
  transition: opacity 0.18s ease 0s;
}

.btn-slide:hover .btn-slide-main {
  opacity: 0;
}

.btn-slide-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0;
  transition: opacity 0.2s ease 0.3s;
}

.btn-slide:hover .btn-slide-sub {
  opacity: 1;
}

/* Seta — zona mais clara (fundo do fill) */
.btn-slide-icon {
  flex-shrink: 0;
  width: 62px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: #080808;
}

/* ===== BUTTONS ===== */
.btn-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #dcea20 0%, #b8c800 55%, #c8d800 100%);
  color: #080808;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.70),
    inset 0 -2px 5px rgba(0, 0, 0, 0.10),
    0 0 14px rgba(175, 200, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
/* Garante que texto e ícones ficam acima do pixel canvas */
.btn-cta > * {
  position: relative;
  z-index: 2;
}

.btn-cta:hover {
  filter: brightness(1.05);
  transform: scale(1.04);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.70),
    inset 0 -2px 5px rgba(0, 0, 0, 0.10),
    0 0 24px rgba(175, 200, 0, 0.40),
    0 3px 8px rgba(0, 0, 0, 0.24);
}

.btn-cta:active {
  transform: scale(0.99);
  filter: brightness(0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 3px 8px rgba(0, 0, 0, 0.18),
    0 4px 14px rgba(175, 200, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-brand {
  background: var(--brand);
  color: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 122, 255, 0.55);
  font-weight: 600;
}

.btn-brand:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -12px rgba(0, 122, 255, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #07120a;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5);
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.40s;
}

/* Hero: fade-in + zoom leve só ao carregar a página, sem depender de
   scroll/IntersectionObserver — evita o bug do título a desaparecer
   depois de vários scrolls ou ao trocar de separador no browser. */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-fade-in {
  animation: heroFadeIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-fade-in-delay-1 {
  animation-delay: 0.12s;
}

.hero-fade-in-delay-2 {
  animation-delay: 0.24s;
}

/* Padding-top do hero da home — maior só em desktop */
.hero-content-pad {
  padding-top: 140px;
}

@media (min-width: 768px) {
  .hero-content-pad {
    padding-top: 180px;
  }
}

/* ── Hero: labels de resumo (Estratégia/Performance/Resultados) ── */
.hero-label-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 122, 255, 0.5);
  background: rgba(0, 122, 255, 0.1);
  color: #4da3ff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.live-dot {
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  animation: marquee 55s linear infinite;
}

.marquee-track-slow {
  animation: marquee 80s linear infinite;
}

@keyframes marquee-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.marquee-track-reverse {
  animation: marquee-reverse 55s linear infinite;
}

/* Cards */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 255, 0.6);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 122, 255, 0.08) inset;
}

.card-brand {
  background:
    radial-gradient(500px 360px at 80% 0%, rgba(0, 122, 255, 0.22), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid rgba(0, 122, 255, 0.35);
}

.card-cta {
  background:
    radial-gradient(500px 360px at 80% 0%, rgba(22, 163, 74, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid rgba(22, 163, 74, 0.32);
}

.cta-glow {
  background:
    radial-gradient(700px 380px at 20% 10%, rgba(0, 100, 255, 0.72), transparent 58%),
    radial-gradient(600px 350px at 80% 80%, rgba(0, 80, 220, 0.45), transparent 60%),
    radial-gradient(500px 300px at 85% 90%, rgba(22, 163, 74, 0.22), transparent 60%),
    linear-gradient(180deg, #000d20, #010e26);
}

.ring-edge {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 1);
}

#main-nav {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

#main-nav.nav-hidden {
  transform: translateY(-120%);
}

.nav-inner {
  background: rgba(4, 7, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

#main-nav.at-top .nav-inner {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.soft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent);
}

.metric-white {
  background: linear-gradient(180deg, #ffffff 0%, #7a8293 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-light .metric-white {
  background: linear-gradient(180deg, #0a0a0a 0%, #4a4d55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-brand {
  background: linear-gradient(180deg, #6aadff 0%, #007aff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-cta {
  background: linear-gradient(170deg, #dcea20 0%, #b8c800 55%, #c8d800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bar {
  background: linear-gradient(180deg, #2a3a55, #111a2b);
  border-radius: 4px;
}

.bar-brand {
  background: var(--brand);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(0, 122, 255, 0.5);
}

.bar-cta {
  background: linear-gradient(180deg, #dcea20, #b8c800);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(220, 234, 32, 0.55);
}

/* 3D tilt on mockup */
.tilt-wrap {
  perspective: 1200px;
}

.tilt-el {
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* FAQ */
details.faq[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

details.faq>summary {
  list-style: none;
  cursor: pointer;
}

details.faq>summary::-webkit-details-marker {
  display: none;
}

@keyframes pulseBorder {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }
}

.pulse-border {
  animation: pulseBorder 2.4s ease-in-out infinite;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

/* Team photos */
.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b2535, #0b1220);
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
  filter: grayscale(25%) contrast(1.02);
}

.team-photo:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.05);
}

/* Nome + cargo por cima da foto, com gradiente escuro a dar legibilidade */
.team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 18px 20px;
  background: linear-gradient(to top, rgba(4, 7, 14, 0.95) 0%, rgba(4, 7, 14, 0.55) 50%, transparent 100%);
}

/* O gradiente aqui é sempre escuro (é a foto, não a secção) — o nome
   tem de ficar sempre branco, mesmo dentro de .section-light. */
.section-light .team-photo-overlay h3 {
  color: #fff;
}

/* ── Carrossel de testemunhos (Home) ───────────────────────── */
.testi-carousel-viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  margin: -24px -1.5rem;
  padding: 24px 1.5rem;
}

.testi-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.testi-carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testi-carousel-card {
  flex: 0 0 auto;
  width: min(360px, 82vw);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  padding: 28px;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease;
}

.testi-carousel-card:hover {
  transform: scale(1.04);
  border-color: rgba(0, 122, 255, 0.6);
}

.testi-stars {
  color: #ffb800;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-carousel-card .quote {
  flex: 1;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.testi-author-row {
  margin-top: 20px;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}

.testi-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.testi-author-role {
  font-size: 11.5px;
  color: var(--text-dimmer);
  margin-top: 2px;
}

.section-light .testi-carousel-card .quote {
  color: #4a4d55;
}

/* Client logos */
.client-logo {
  height: 62px;
  width: auto;
  max-width: 216px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.section-light .client-logo {
  filter: brightness(0);
  opacity: 0.55;
}

.section-light .client-logo:hover {
  filter: brightness(0);
  opacity: 1;
}

/* Certification badges */
.cert-badge {
  height: 36px;
  width: auto;
  opacity: 0.85;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

@media (min-width: 640px) {
  .cert-badge {
    height: 68px;
  }
}

.cert-badge:hover {
  transform: scale(1.18);
  opacity: 1;
}

/* Selos de certificação no footer (todas as páginas) */
.footer-cert-badge {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.footer-cert-badge:hover {
  opacity: 1;
}

/* Redes sociais no footer — versão compacta do .social-icon */
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-icon svg {
  width: 15px;
  height: 15px;
}

.footer-social-icon:hover {
  border-color: var(--brand);
  background: rgba(0, 122, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Carrossel de certificados (Parceria Google & Meta) ────── */
.cert-carousel-viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.cert-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.cert-carousel-track {
  display: flex;
  will-change: transform;
}

.cert-carousel-card {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-carousel-card img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.cert-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.cert-carousel-dot {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.cert-carousel-dot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.cert-carousel-dot:hover {
  opacity: 0.85;
}

.cert-carousel-dot.is-active {
  border-color: var(--brand);
  opacity: 1;
  transform: scale(1.1);
}

.section-light .cert-carousel-dot {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.04);
}

/* ===== HERO 2 COLUNAS ===== */
.hero-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 3rem;
}

@media (min-width: 900px) {
  .hero-2col {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    padding-top: 140px;
    min-height: 100vh;
  }
}

.hero-left {
  text-align: left;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

/* Mobile: VSL primeiro (horizontal), depois texto + CTA */
@media (max-width: 899px) {
  .hero-2col {
    padding-top: 92px;
    gap: 2rem;
  }

  .hero-right {
    order: -1;
    justify-content: center;
  }

  .hero-vsl-3d,
  .hero-vsl-3d:hover {
    transform: none;
    max-width: 95%;
  }

  .hero-vsl-3d-img {
    aspect-ratio: 4/3;
    object-position: center;
  }

  .hero-vsl-stats {
    padding: 24px 16px 12px;
  }
}

/* Vídeo 3D */
.hero-vsl-3d {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 16px;
  overflow: hidden;
  /* fix Chrome: border-radius perde-se durante transição com transform 3D */
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: perspective(1100px) rotateY(-16deg) rotateX(3deg) rotateZ(1deg);
  transform-origin: left center;
  box-shadow:
    -30px 30px 80px rgba(0, 0, 0, 0.75),
    20px -10px 60px rgba(0, 40, 140, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease;
}

.hero-vsl-3d:hover {
  transform: perspective(1100px) rotateY(-10deg) rotateX(2deg) rotateZ(0.5deg);
  box-shadow:
    -20px 20px 60px rgba(0, 0, 0, 0.65),
    30px -10px 80px rgba(0, 60, 200, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

@media (min-width: 900px) {
  .hero-vsl-3d {
    margin-right: 0;
  }
}

.hero-vsl-3d-img {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  filter: brightness(0.82);
  transition: filter 0.3s ease;
}

.hero-vsl-3d:hover .hero-vsl-3d-img {
  filter: brightness(0.92);
}

/* Prova social overlay no vídeo */
.hero-vsl-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 18px;
  background: linear-gradient(to top, rgba(0, 4, 20, 0.92) 0%, rgba(0, 4, 20, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-vsl-stat {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.hero-vsl-stat span {
  font-weight: 700;
  color: #fff;
  font-size: 13px;
}

/* Play button sobre o vídeo 3D */
.vsl-play-btn-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  pointer-events: auto;
}

.hero-vsl-3d:hover .vsl-play-btn-hero {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== VSL ===== */
.vsl-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.vsl-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap-4px;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-dimmer);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  line-height: 1;
}

.vsl-toggle-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.vsl-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vsl-poster-wrap {
  position: relative;
  cursor: pointer;
}

.vsl-poster {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 15px;
}

.vsl-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.vsl-play-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%) scale(1.08);
}

.vsl-iframe-wrap {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

.vsl-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vsl-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, #000818 0%, transparent 100%);
  pointer-events: none;
  border-radius: 0 0 15px 15px;
}

/* ===== HCARD CASE CARD ===== */
.hcard-case {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 280px;
}

.hcard-case-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dimmer);
  font-weight: 600;
}

.hcard-case-metric {
  font-size: 18px;
  font-weight: 800;
  color: var(--cta-2);
  margin-top: 2px;
  letter-spacing: -0.02em;
}

.hcard-case-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.5;
}

/* LinkedIn card variant */
.hcard-linkedin {
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(10, 102, 194, 0.28), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, #060c18 100%);
  border: 1px solid rgba(10, 102, 194, 0.35);
}

/* ===== VIDEO TESTIMONIALS CAROUSEL ===== */
.vtest-outer {
  position: relative;
}

.vtest-viewport {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 82%, transparent 100%);
  mask-image: linear-gradient(90deg, black 0%, black 82%, transparent 100%);
}

.vtest-viewport.is-dragging {
  cursor: grabbing;
}

.vtest-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.vtest-card {
  flex-shrink: 0;
  width: 300px;
}

@media (min-width: 640px) {
  .vtest-card {
    width: 315px;
  }
}

.vtest-card {
  cursor: pointer;
}

.vtest-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #0a1020;
}

.vtest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #060e1c;
  transition: filter 0.3s ease;
  filter: brightness(0.88);
}

.vtest-card:hover .vtest-thumb img {
  filter: brightness(0.95);
}

.vtest-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease;
}

.vtest-thumb:hover .vtest-play-icon {
  background: rgba(0, 0, 0, 0.15);
}

.vtest-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.vtest-thumb:hover .vtest-play-circle {
  background: rgba(255, 255, 255, 0.30);
  transform: scale(1.1);
}

.vtest-company {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.vtest-quote {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vtest-meta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.vtest-btn {
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 15, 22, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.vtest-btn:hover {
  background: rgba(0, 122, 255, 0.22);
  border-color: rgba(61, 153, 255, 0.5);
}

.vtest-btn-prev {
  left: -20px;
}

.vtest-btn-next {
  right: -20px;
}

/* ===== HORIZONTAL SCROLL SERVICES ===== */
.hscroll-wrap {
  position: relative;
  min-height: calc(100vh + 90vw); /* fallback antes do JS calcular a altura exacta */
}

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse 130% 70% at 50% 110%, #0047cc 0%, #001a8a 28%, #000d2a 58%, #000818 100%);
}

.hscroll-track {
  position: absolute;
  top: 30px;
  left: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  padding-left: max(1.5rem, calc((100vw - 1104px) / 2));
  padding-right: max(1.5rem, calc((100vw - 1104px) / 2));
  gap: 2rem;
  will-change: transform;
  z-index: 2;
}

.hcard {
  position: relative;
  flex: 0 0 auto;
  width: 78vw;
  max-width: 1100px;
  height: 70vh;
  max-height: 680px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #030c1c 0%, #010608 100%);
  display: flex;
  flex-direction: column;
  padding: 3.5rem;
  transition: border-color 0.4s ease;
}

.hcard:hover {
  border-color: #2a3a55;
}

.hcard-num {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.25);
  display: block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.hcard-icon-abs {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 560px;
  height: 560px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(500px) rotateX(18deg) rotateY(-22deg) rotateZ(2deg);
  z-index: 1;
  transform-style: preserve-3d;
}

.hcard-icon-abs svg {
  filter:
    drop-shadow(4px 10px 22px rgba(0, 0, 0, 0.9)) drop-shadow(-2px -2px 10px rgba(255, 255, 255, 0.06)) drop-shadow(0 0 28px color-mix(in srgb, currentColor 40%, transparent));
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hcard-icon-abs {
    width: 360px;
    height: 360px;
    right: -40px;
    top: -40px;
  }
}

.hcard-brand {
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(0, 122, 255, 0.28), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, #060c18 100%);
  border: 1px solid rgba(0, 122, 255, 0.35);
}

.hcard-cta {
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(22, 163, 74, 0.22), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, #060c18 100%);
  border: 1px solid rgba(22, 163, 74, 0.32);
}

@media (max-width: 768px) {
  .hcard {
    width: 86vw;
    padding: 2rem;
    height: 78vh;
  }
}

.hscroll-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 0 1rem;
  z-index: 10;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.hscroll-header>* {
  pointer-events: auto;
}

.hscroll-progress {
  position: absolute;
  bottom: 2.5rem;
  left: 6vw;
  right: 6vw;
  z-index: 10;
}

.hscroll-progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.hscroll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--cta));
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(0, 122, 255, 0.6);
}

.hint-scroll {
  position: absolute;
  bottom: 5rem;
  right: 6vw;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-dimmer);
  opacity: 0.6;
}

/* Count-up */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 85vh;
  max-height: 720px;
  background: #0a0f1a;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7);
}

.modal-overlay.open .modal-content {
  transform: none;
}

/* Lightbox vimeo — vertical video, sem barras pretas */
#vimeo-modal .modal-content {
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  background: #000;
  border: none;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9);
  overflow: hidden;
}
#vimeo-modal .modal-iframe {
  display: block;
  width: min(90vw, calc(88vh * 9 / 16));
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 3rem);
  max-width: 860px;
  background: #111318;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  z-index: 300;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-banner-text {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
  min-width: 240px;
}

.cookie-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 122, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.2rem;
}

.cookie-banner-desc {
  font-size: 13px;
  color: var(--text-dimmer);
  margin: 0;
  line-height: 1.45;
}

.cookie-banner-desc a {
  color: var(--brand-2);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}

.cookie-banner-btn {
  border-radius: 8px;
  padding: 0.625rem 1.25rem;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-banner-btn-reject {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.cookie-banner-btn-reject:hover {
  border-color: var(--text-dimmer);
  color: #fff;
}

.cookie-banner-btn-accept {
  background: var(--brand);
  color: #fff;
  border: none;
}

.cookie-banner-btn-accept:hover {
  background: var(--brand-hover);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem 1.125rem;
    gap: 0.875rem;
    width: calc(100% - 2rem);
    bottom: 1rem;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-btn {
    flex: 1;
    font-size: 12px;
    padding: 0.5rem 0.5rem;
    white-space: nowrap;
  }
}

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

/* ── Team Carousel ─────────────────────── */
.tcarousel-viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.tcarousel-viewport.is-dragging {
  cursor: grabbing;
}

.tcarousel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

.tcard {
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.tcard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.tcard-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 18px;
  background: linear-gradient(to top,
      rgba(4, 7, 14, 0.97) 0%,
      rgba(4, 7, 14, 0.55) 55%,
      transparent 100%);
}

.tcard-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.tcard-role {
  font-size: 10px;
  color: var(--brand-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.tcarousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 15, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.tcarousel-btn:hover {
  background: rgba(0, 122, 255, 0.22);
  border-color: rgba(61, 153, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.tcarousel-btn-prev {
  left: 10px;
}

.tcarousel-btn-next {
  right: 10px;
}

.tcarousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tcarousel-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.tcarousel-dot.is-active {
  width: 20px;
  border-radius: 3px;
  background: var(--brand-2);
}

/* ── Service Cards Grid ─────────────────── */
.scard {
  position: relative;
  border-radius: 24px;
  padding: 40px;
  background: linear-gradient(180deg, #030c1c 0%, #010608 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.scard:hover {
  border-color: #2a3a55;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}
.scard > * {
  position: relative;
  z-index: 3;
}
.scard-num {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.2);
  display: block;
  margin-top: 16px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
/* Ícone grande atrás do conteúdo, recortado em cima e à direita */
.scard-icon {
  position: absolute;
  top: -10px;
  right: -56px;
  width: 290px;
  height: 290px;
  pointer-events: none;
  z-index: 2;
}
.scard-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.6));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 40%, black 75%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 40%, black 75%);
}

@media (max-width: 768px) {
  .scard-icon {
    top: -10px;
    right: -36px;
    width: 190px;
    height: 190px;
  }
}

.hscroll-track .scard {
  flex: 0 0 auto;
  width: calc(min(100vw - 3rem, 1104px) / 2 - 1rem);
  max-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-right: 110px;
}

/* resultado (case study) cola ao fundo do card */
.hscroll-track .scard .hcard-case {
  margin-top: auto;
}

@media (max-width: 768px) {
  .hscroll-track {
    align-items: flex-start;
  }
  .hscroll-track .scard {
    width: calc(100vw - 3rem);
    padding-right: 48px;
    height: auto;
  }
}

/* ── Stats section ──────────────────────── */
.stat-card {
  position: relative;
  border-radius: 20px;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.stat-card:hover {
  border-color: rgba(61,153,255,0.3);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6);
}
.stat-num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 3.25rem;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(61,153,255,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 768px)  { .stat-num { font-size: 4rem; } }
@media (min-width: 1024px) { .stat-num { font-size: 4.5rem; } }
.stat-label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
}
.stat-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Results Bento ──────────────────────── */
.res-bento {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "hero" "ferro" "suppl" "mold" "fpt" "fes";
  gap: 10px;
}

@media (min-width: 640px) {
  .res-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "hero hero ferro"
      "hero hero suppl"
      "mold fpt   fes";
  }
}

.res-card {
  position: relative;
  border-radius: 18px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}


.res-card:hover {
  border-color: rgba(61,153,255,0.38);
  box-shadow: 0 0 0 1px rgba(61,153,255,0.06) inset, 0 20px 40px -12px rgba(0,0,0,0.65);
}

/* Conteúdo acima do canvas */
.res-card > * { position: relative; z-index: 2; }

.res-card--hero {
  padding: 28px 30px;
  border-color: rgba(220, 234, 32, 0.15);
  background:
    radial-gradient(circle at 80% 85%, rgba(220, 234, 32, 0.1) 0%, transparent 55%),
    var(--surface);
}

.res-card--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255, 255, 255, 0.016) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(255, 255, 255, 0.016) 32px);
  pointer-events: none;
  z-index: 0;
}

.res-card--hero:hover {
  border-color: rgba(220, 234, 32, 0.3);
  box-shadow: 0 28px 56px -16px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(220, 234, 32, 0.08) inset;
}

.res-card--lead {
  background:
    radial-gradient(circle at 85% 90%, rgba(0, 122, 255, 0.07) 0%, transparent 55%),
    var(--surface);
}

.res-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dimmer);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 9px;
  border-radius: 20px;
}

.res-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cta-2);
  background: rgba(220, 234, 32, 0.12);
  border: 1px solid rgba(220, 234, 32, 0.22);
  padding: 3px 9px;
  border-radius: 20px;
}

.res-label {
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dimmer);
  margin-bottom: 2px;
}

.res-big {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.025em;
}

.res-big--xl {
  font-size: 4.75rem;
  letter-spacing: -0.035em;
}

@media (min-width: 768px) {
  .res-big { font-size: 3.25rem; }
  .res-big--xl { font-size: 6rem; }
}
@media (min-width: 1200px) {
  .res-big { font-size: 3.625rem; }
  .res-big--xl { font-size: 7rem; }
}

.res-ba {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.res-ba-from {
  font-size: 13px;
  color: var(--text-dimmer);
  font-weight: 500;
}

.res-ba-arr {
  font-size: 15px;
  color: var(--cta-2);
  font-weight: 700;
  line-height: 1;
}

.res-ba-to {
  font-size: 13px;
  color: var(--cta-2);
  font-weight: 700;
}

.res-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Testimonials (vanilla stack) ───────── */
#testemunhos {
  overflow-x: hidden;
}

@media (max-width: 640px) {
  #testemunhos .flex.flex-col.items-center {
    gap: 16px;
  }
}

.testimonials-stack {
  position: relative;
  height: 400px;
  width: 300px;
  touch-action: pan-y;
  margin-left: -90px;
}

/* Mobile: stack mais pequeno e contido no ecrã */
@media (max-width: 640px) {
  .testimonials-stack {
    width: 280px;
    height: 360px;
    margin-left: 0;
    margin-right: 0;
  }

  .testi-card {
    width: 280px;
    height: 360px;
    padding: 22px;
  }
}

.testi-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: 400px;
  border-radius: 16px;
  border: 1px solid #1b2d45;
  background: #07152a;
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, opacity 0.35s ease;
  cursor: grab;
  user-select: none;
}

.testi-card:active {
  cursor: grabbing;
}

.testi-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.testi-card .stars svg {
  width: 14px;
  height: 14px;
  fill: #007aff;
}

.testi-card .quote {
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: #b7b9c2;
}

.section-light .testi-card .quote {
  color: #4a4d55;
}

.testi-card .author-row {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007aff, #005ec4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.testi-card .author-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.section-light .testi-card .author-name {
  color: #0a0a0a;
}

.testi-card .author-role {
  font-size: 11px;
  color: var(--brand);
  margin-top: 2px;
}

/* ── Testimonial card (grid) — nome diferente de .testi-card de propósito:
   .testi-card acima é do carrossel antigo (position:absolute, arrastável),
   nunca usado neste site; esta é a versão para grid normal. ── */
.testimonial-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #2a3a55;
}

.testimonial-card .quote {
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
}

.testimonial-card .author-row {
  margin-top: 24px;
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007aff, #005ec4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card .author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card .author-role {
  font-size: 11px;
  color: var(--brand);
  margin-top: 2px;
}

/* ============================================================
   spartads-site — componentes novos (site institucional multi-página)
   ============================================================ */

/* ── Keyword highlight dentro de headings ───────────────── */
.accent {
  background: linear-gradient(180deg, #6aadff 0%, #007aff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-cta {
  background: linear-gradient(170deg, #dcea20 0%, #b8c800 55%, #c8d800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Page hero (páginas internas — mais baixo que o da home) ──
   Mesmo tratamento do hero da home: arredondado só em baixo + sombra
   + z-index acima da secção clara seguinte (para a sombra não ficar
   escondida atrás dela). */
.page-hero {
  position: relative;
  z-index: 1;
  padding-top: 160px;
  padding-bottom: 160px;
  overflow: hidden;
  border-radius: 0 0 46px 46px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.55);
  background-image: url("../assets/bg-hero.webp");
  background-size: calc(112% + var(--hero-zoom, 0%));
  background-position: var(--hero-photo-x, 50%) var(--hero-photo-y, 50%);
  background-repeat: no-repeat;
  transition: background-position 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* CTA final (páginas internas) — fecha a zona clara, arredondado só em
   cima + sombra + z-index, igual ao #contacto da home. */
.page-cta-final {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #000308;
  border-radius: 46px 46px 0 0;
  box-shadow: 0 -50px 100px -40px rgba(0, 0, 0, 0.55);
}

/* Fundo próprio de cada CTA final — top center, cover, sólido em cima
   e invisível a partir do meio (esbate para o rodapé escuro por baixo).
   border-radius próprio (igual ao da secção) porque nem todas as secções
   CTA têm overflow:hidden (ex: #contacto da home, que precisa de
   overflow visível para a foto da Beatriz sair por cima). */
.page-cta-final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 46px 46px 0 0;
  background-image: url("../assets/bg-cta.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 45%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 45%, transparent 100%);
}

@media (max-width: 768px) {
  .page-cta-final-bg {
    background-image: url("../assets/bg-m-cta.webp");
  }
  .page-cta-final,
  .page-cta-final-bg {
    border-radius: 28px 28px 0 0;
  }
}

.page-hero > .relative {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 108px;
    padding-bottom: 72px;
    background-image: url("../assets/bg-m-hero.webp");
    border-radius: 0 0 28px 28px;
  }
}

/* ── page-hero: imagens por página (a substituir o placeholder Unsplash) ── */
.page-hero-googleads {
  background-image: url("../assets/backgrounds/bg-google.webp");
}

@media (max-width: 768px) {
  .page-hero-googleads {
    background-image: url("../assets/backgrounds/bg-m-google.webp");
  }
}

.page-hero-metaads {
  background-image: url("../assets/backgrounds/bg-meta.webp");
}

@media (max-width: 768px) {
  .page-hero-metaads {
    background-image: url("../assets/backgrounds/bg-m-meta.webp");
  }
}

.page-hero-linkedinads {
  background-image: url("../assets/backgrounds/bg-linkedin.webp");
}

@media (max-width: 768px) {
  .page-hero-linkedinads {
    background-image: url("../assets/backgrounds/bg-m-linkedin.webp");
  }
}

.page-hero-tiktokads {
  background-image: url("../assets/backgrounds/bg-tiktok.webp");
}

@media (max-width: 768px) {
  .page-hero-tiktokads {
    background-image: url("../assets/backgrounds/bg-m-tiktok.webp");
  }
}

.page-hero-amazonads {
  background-image: url("../assets/backgrounds/bg-amazon.webp");
}

@media (max-width: 768px) {
  .page-hero-amazonads {
    background-image: url("../assets/backgrounds/bg-m-amazon.webp");
  }
}

.page-hero-microsoftads {
  background-image: url("../assets/backgrounds/bg-bing.webp");
}

@media (max-width: 768px) {
  .page-hero-microsoftads {
    background-image: url("../assets/backgrounds/bg-m-bing.webp");
  }
}

.page-hero-pinterestads {
  background-image: url("../assets/backgrounds/bg-pinterset.webp");
}

@media (max-width: 768px) {
  .page-hero-pinterestads {
    background-image: url("../assets/backgrounds/bg-m-pinterset.webp");
  }
}

.page-hero-estrategiadigital {
  background-image: url("../assets/backgrounds/bg-entrategia.webp");
}

@media (max-width: 768px) {
  .page-hero-estrategiadigital {
    background-image: url("../assets/backgrounds/bg-m-entrategia.webp");
  }
}

.page-hero-ia {
  background-image: url("../assets/backgrounds/bg-ai.webp");
}

@media (max-width: 768px) {
  .page-hero-ia {
    background-image: url("../assets/backgrounds/bg-m-ai.webp");
  }
}

.page-hero-consultoria {
  background-image: url("../assets/backgrounds/bg-consultaria.webp");
}

@media (max-width: 768px) {
  .page-hero-consultoria {
    background-image: url("../assets/backgrounds/bg-m-consultaria.webp");
  }
}

.page-hero-trackinganalytics {
  background-image: url("../assets/backgrounds/bg-analisa.webp");
}

@media (max-width: 768px) {
  .page-hero-trackinganalytics {
    background-image: url("../assets/backgrounds/bg-m-analisa.webp");
  }
}

.page-hero-crolp {
  background-image: url("../assets/backgrounds/bg-lp.webp");
}

@media (max-width: 768px) {
  .page-hero-crolp {
    background-image: url("../assets/backgrounds/bg-m-lp.webp");
  }
}

/* ── Mega-menu (desktop) ─────────────────────────────────── */
.mega-menu-wrap {
  position: relative;
}

.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 90vw);
  /* sem gap visual: o padding-top é uma zona-ponte invisível que mantém o
     :hover vivo enquanto o rato atravessa o espaço até ao painel */
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
  z-index: 60;
}

.mega-menu-wrap:hover .mega-menu-panel,
.mega-menu-wrap:focus-within .mega-menu-panel,
.mega-menu-panel.force-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-panel-inner {
  background: rgba(6, 11, 22, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.mega-menu-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dimmer);
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 12px;
}

.mega-menu-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.mega-menu-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mega-menu-link .name {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
}

.mega-menu-link .desc {
  font-size: 11.5px;
  color: var(--text-dimmer);
}

/* ── Nav links topo (páginas internas) ──────────────────── */
.nav-link {
  font-size: 13px;
  color: var(--text-dim);
  padding: 8px 12px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

/* ── Mobile nav drawer ───────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 3, 10, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  background: #04070e;
  padding: 24px 22px;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.mobile-nav-overlay.open .mobile-nav-panel {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.mobile-nav-panel details summary {
  list-style: none;
  cursor: pointer;
}

.mobile-nav-panel details summary::-webkit-details-marker {
  display: none;
}

/* ── Service card (grid da homepage / catálogo interno) ──── */
.service-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 255, 0.6);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.service-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* ── Slider horizontal (serviços / cases) ────────────────── */
.hslider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hslider-viewport::-webkit-scrollbar {
  display: none;
}

.hslider-track {
  display: flex;
  gap: 20px;
}

.hslider-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.hslider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.hslider-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.06);
}

/* ── Fit / no-fit lists ("quando faz sentido / não faz sentido") ── */
.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fit-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.fit-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.fit-yes .fit-icon {
  background: rgba(220, 234, 32, 0.18);
  color: #dcea20;
}

.fit-no .fit-icon {
  background: rgba(220, 38, 38, 0.16);
  color: #f87171;
}

/* ── Timeline (Sobre Nós) ─────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37.5px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.18);
}

.timeline-year {
  font-family: 'General Sans', sans-serif;
  font-size: 22px;
  color: var(--brand-3);
  margin-bottom: 6px;
}

/* ── Glossário A–Z ────────────────────────────────────────── */
.glossary-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: sticky;
  top: 84px;
  z-index: 10;
  padding: 12px 0;
  background: linear-gradient(180deg, #000610 60%, transparent);
}

.glossary-jump a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: background 0.2s ease, color 0.2s ease;
}

.section-light .glossary-jump {
  background: linear-gradient(180deg, #fff 60%, transparent);
}

.section-light .glossary-jump a {
  background: rgba(0, 0, 0, 0.04);
}

.glossary-jump a:hover {
  background: rgba(0, 122, 255, 0.15);
  color: #fff;
}

.glossary-letter-heading {
  font-family: 'General Sans', sans-serif;
  font-size: 32px;
  color: var(--brand-3);
  margin: 44px 0 18px;
  scroll-margin-top: 90px;
}

.glossary-term {
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
}

.glossary-term dt {
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.section-light .glossary-term dt {
  color: #0a0a0a;
}

.glossary-term dd {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* ── FAQ "dúvidas" section (título partido a duas cores) ──── */
.faq-split-title {
  font-family: 'General Sans', sans-serif;
  line-height: 1;
}

.faq-split-title .part-a {
  color: #fff;
}

.section-light .faq-split-title .part-a {
  color: #0a0a0a;
}

.faq-split-title .part-b {
  color: var(--brand-3);
}

/* ── Formulários nativos ──────────────────────────────────── */
.form-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field::placeholder {
  color: var(--text-dimmer);
}

.section-light .form-field {
  background: rgba(0, 0, 0, 0.03);
  color: #0a0a0a;
}

.form-field:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(0, 122, 255, 0.06);
}

select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8293' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-label {
  font-size: 12.5px;
  color: var(--text-dimmer);
  margin-bottom: 6px;
  display: block;
}

.form-file-drop {
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dimmer);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-file-drop:hover {
  border-color: var(--brand);
  background: rgba(0, 122, 255, 0.05);
}

/* ── Team grid (página Equipa — mais membros) ────────────── */
.team-photo-sm {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(180deg, #1b2535, #0b1220);
}

.team-photo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.02);
}

/* ── Footer (multi-página) ────────────────────────────────── */
.footer-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dimmer);
  font-weight: 600;
  margin-bottom: 14px;
}

footer .footer-col-title ~ a {
  display: block;
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.2s ease;
}

footer .footer-col-title ~ a:hover {
  color: #fff;
}

/* Logo gigante no fundo do footer — texto do logótipo como máscara,
   gradiente esbate até quase desaparecer no fundo (fade ghost). */
.footer-brand {
  display: block;
  width: 100%;
  aspect-ratio: 2406.95 / 320.65;
  background: linear-gradient(to bottom, #6b6b6b 0%, #333 55%, rgba(10, 10, 10, 0) 95%);
  -webkit-mask: url("../assets/logo-text.svg") no-repeat center / contain;
  mask: url("../assets/logo-text.svg") no-repeat center / contain;
  user-select: none;
  pointer-events: none;
}

/* ── Marquee de logos em texto (fallback p/ clientes sem ficheiro de logo) ── */
.client-logo-text {
  font-family: 'General Sans', sans-serif;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.32);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.client-logo-text:hover {
  color: rgba(255, 255, 255, 0.75);
}

.section-light .client-logo-text {
  color: rgba(10, 10, 10, 0.3);
}

.section-light .client-logo-text:hover {
  color: rgba(10, 10, 10, 0.75);
}

/* ── Toggle de idioma (PT/EN) ─────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-toggle a {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--text-dimmer);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle a.active {
  background: rgba(0, 122, 255, 0.18);
  color: #fff;
}

/* ── Ícones de redes sociais (Contacto) ────────────────────── */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  border-color: var(--brand);
  background: rgba(0, 122, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

.section-light .social-icon {
  border-color: rgba(10, 10, 10, 0.12);
  background: rgba(10, 10, 10, 0.03);
  color: var(--text-dim);
}

/* ── Select nativo: forçar contraste nas opções (o browser
   não herda sempre as cores do .form-field para o dropdown) ── */
select.form-field option {
  background: #07152a;
  color: #fff;
}

.section-light select.form-field option {
  background: #f3f4f7;
  color: #0a0a0a;
}

/* Hero: selos oficiais Google Partner / Meta Business Partner */
.hero-partner-badge {
  height: 64px;
  width: auto;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .hero-partner-badge {
    height: 76px;
  }
}

/* Homepage: lista de serviços (linhas clicáveis, não cartões) */
.home-service-list {
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.home-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}

.home-service-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-service-row:hover .home-service-arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateX(4px);
}

.home-fit-note {
  border-left: 3px solid var(--brand);
  padding-left: 16px;
  color: var(--text-dim);
}

.home-fit-note strong {
  color: var(--text);
}

/* Homepage: "Como trabalhamos", bloco escuro entre secções claras */
.process-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3rem 1.75rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 32px;
}

.process-step {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.process-step-num {
  font-family: 'General Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--brand);
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .process-card {
    border-radius: 36px;
    padding: 4rem 3rem;
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Homepage: mercados onde operamos. Bandeira grande por trás de cada
   país, a desvanecer da direita para a esquerda para o nome se ler. */
.markets-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.market-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 132px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.market-flag {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 55%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 55%, #000 100%);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.market-card:hover .market-flag {
  transform: scale(1.04);
}

.market-name {
  position: relative;
  font-family: 'General Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: 2.25rem;
  color: var(--text);
}

@media (min-width: 640px) {
  .markets-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .market-card {
    min-height: 200px;
    padding: 28px 32px;
  }

  .market-name {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .market-card {
    min-height: 240px;
  }

  .market-name {
    font-size: 3.75rem;
  }
}

/* Homepage: ícone de cada serviço */
.home-service-row {
  gap: 14px;
}

.home-service-text {
  flex: 1;
  min-width: 0;
}

.home-service-icon {
  flex-shrink: 0;
  align-self: flex-start;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.home-service-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.home-service-icon svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 640px) {
  .home-service-row {
    gap: 24px;
  }

  .home-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .home-service-icon img {
    width: 42px;
    height: 42px;
  }

  .home-service-icon svg {
    width: 30px;
    height: 30px;
  }
}

/* Homepage: cartões de casos em destaque */
.home-case-card {
  display: flex;
  flex-direction: column;
}

.home-case-link {
  margin-top: auto;
  padding-top: 24px;
  color: var(--brand);
}

.home-case-link svg {
  transition: transform 0.3s ease;
}

.home-case-card:hover .home-case-link svg {
  transform: translateX(4px);
}

/* Âncoras dos casos: não ficar tapado pela navegação fixa */
[id^="caso-"] {
  scroll-margin-top: 120px;
}

@media (max-width: 639px) {
  .market-flag {
    width: 62%;
  }
}

/* Testemunhos: foto + nome + cargo */
.testi-author-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-author-photo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px dashed var(--text-dimmer);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dimmer);
}

/* Bloco à espera de conteúdo (calendário, case study de setor) */
.placeholder-bloco {
  border: 2px dashed var(--text-dimmer);
  border-radius: 20px;
  padding: 56px 24px;
  text-align: center;
  font-weight: 600;
  color: var(--text-dim);
}

/* Case studies: cartões com logo (os logos são brancos, vivem num fundo escuro) */
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-card-logo {
  background: #07152a;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
}

.case-card-logo img {
  max-height: 44px;
  max-width: 70%;
  width: auto;
  object-fit: contain;
}

.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.case-card-link {
  margin-top: auto;
  padding-top: 24px;
  color: var(--brand);
}

.case-card-link svg {
  transition: transform 0.3s ease;
}

.case-card:hover .case-card-link svg {
  transform: translateX(4px);
}

/* Case studies: página de cada case */
.case-back {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.case-back:hover {
  color: #fff;
}

.case-hero-logo {
  height: 40px;
  width: auto;
}

.case-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.case-kpi {
  padding: 24px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.case-kpi-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.case-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-pillar {
  display: flex;
  gap: 18px;
}

.case-pillar-num {
  flex-shrink: 0;
  font-family: 'General Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--brand);
  padding-top: 5px;
}

.case-list li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
  color: var(--text-dim);
  line-height: 1.6;
}

.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.case-list strong,
.case-pillar strong {
  color: var(--text);
}

/* Tabela de resultados: em mobile cada linha passa a cartão */
.case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.case-table thead th {
  background: #0a0a0a;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 12px 16px;
}

.case-table tbody th,
.case-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.case-table tbody th {
  font-weight: 400;
  color: var(--text-dim);
}

.case-table td {
  font-weight: 700;
  color: var(--text);
}

.case-td-label {
  display: none;
  font-weight: 400;
  color: var(--text-dim);
}

@media (max-width: 639px) {
  .case-table thead {
    display: none;
  }

  .case-table,
  .case-table tbody,
  .case-table tr,
  .case-table th,
  .case-table td {
    display: block;
  }

  .case-table tr {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px 4px;
    margin-bottom: 12px;
  }

  .case-table tbody th {
    font-weight: 700;
    color: var(--text);
    border-bottom: 0;
  }

  .case-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 0;
    padding: 6px 16px;
  }

  .case-td-label {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .case-kpis {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-kpi {
    padding: 32px 16px;
  }
}


/* Parcerias: só Google e Meta à vista, as restantes certificações abrem por baixo */
.partner-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.partner-badges img {
  width: 45%;
  max-width: 160px;
  height: auto;
  border-radius: 14px;
}

.certs-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.certs-toggle:hover {
  border-color: var(--brand);
}

.certs-toggle svg {
  transition: transform 0.25s ease;
}

.certs-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.certs-extra {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.certs-extra[hidden] {
  display: none;
}

.certs-extra img {
  width: 30%;
  max-width: 96px;
  height: auto;
}

/* Mercados: mapa-mundo com pinos */
.mapa {
  position: relative;
}

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

.mapa-pino {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.5);
  animation: mapa-pulso 2.4s ease-out infinite;
  transition: transform 0.25s ease, background 0.25s ease;
}

.mapa-pino.is-on {
  background: #007aff;
  transform: scale(1.6);
}

@keyframes mapa-pulso {
  0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(0, 122, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mapa-pino {
    animation: none;
  }
}

.mapa-dica {
  display: none;
}

@media (max-width: 767px) {
  /* no telemóvel o mapa fica maior e arrasta-se para os lados */
  .mapa-scroll {
    margin: 0 -24px;
    padding: 56px 24px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  }

  .mapa-scroll::-webkit-scrollbar {
    display: none;
  }

  .mapa-scroll .mapa {
    width: 820px;
  }

  .mapa-dica {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 10px auto 0;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #007aff;
    background: rgba(0, 122, 255, 0.08);
    transition: opacity 0.4s ease;
  }

  .mapa-dica svg {
    animation: mapa-dica-mexe 1.6s ease-in-out infinite;
  }

  .mapa-dica.is-feito {
    opacity: 0;
  }
}

@keyframes mapa-dica-mexe {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

.mapa-svg path[data-mercado] {
  cursor: pointer;
  transform-box: view-box;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.25s ease, filter 0.25s ease;
}

.mapa-svg path[data-mercado].is-on {
  fill: #0066d5;
  transform: scale(var(--zoom, 1.3));
  filter: drop-shadow(0 6px 10px rgba(0, 60, 140, 0.35));
}

.mapa-pino {
  cursor: pointer;
}

.mapa-tip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  width: max-content;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  animation: mapa-tip-entra 0.2s ease-out;
}

.mapa-tip.is-esq {
  transform: translate(calc(-100% + 18px), calc(-100% - 14px));
}

.mapa-tip.is-dir {
  transform: translate(-18px, calc(-100% - 14px));
}

.mapa-tip[hidden] {
  display: none;
}

.mapa-tip-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

@keyframes mapa-tip-entra {
  from { opacity: 0; margin-top: 6px; }
  to { opacity: 1; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mapa-svg path[data-mercado],
  .mapa-tip {
    transition: none;
    animation: none;
  }
}

/* Testemunhos em vídeo (homepage) */
.prova-grelha {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

@media (min-width: 900px) {
  .prova-grelha {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.prova-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: #0a0a0a;
  cursor: pointer;
}

.prova-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prova-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.75) 100%);
}

.prova-card:focus {
  outline: none;
}

.prova-card:focus-visible {
  outline: 3px solid #007aff;
  outline-offset: 3px;
}

.prova-card:hover img,
.prova-card:focus-visible img {
  transform: scale(1.04);
}

.prova-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 122, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 60, 140, 0.35);
  transition: transform 0.25s ease;
}

.prova-card:hover .prova-play {
  transform: scale(1.1);
}

.prova-nome {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  color: #fff;
}

/* Testemunhos: vídeo em ecrã cheio, estilo story */
.story {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.story[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story::backdrop {
  background: rgba(3, 8, 18, 0.92);
}

.story-frame {
  position: relative;
  height: min(92dvh, 860px);
  aspect-ratio: 9 / 16;
  max-width: 100vw;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.story-barras {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 4px;
}

.story-barras span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.story-barras span.is-on {
  background: #fff;
}

.story-topo {
  position: absolute;
  top: 20px;
  left: 12px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  pointer-events: none;
}

.story-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid #fff;
}

.story-nome {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.story-fechar {
  display: inline-flex;
  padding: 8px;
  border-radius: 999px;
  color: #fff;
  pointer-events: auto;
}

.story-fechar:hover {
  background: rgba(255, 255, 255, 0.15);
}

.story-video,
.story-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.2s ease;
}

.story-nav:hover {
  transform: scale(1.08);
}

.story-ant {
  left: max(16px, calc(50% - min(92dvh, 860px) * 9 / 32 - 72px));
}

.story-seg {
  right: max(16px, calc(50% - min(92dvh, 860px) * 9 / 32 - 72px));
}

@media (max-width: 640px) {
  .story-frame {
    height: 100dvh;
    border-radius: 0;
  }

  .story-nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    background: rgba(255, 255, 255, 0.75);
  }

  .story-ant {
    left: 8px;
  }

  .story-seg {
    right: 8px;
  }
}

/* Valores em /sobre: ícone */
.valor-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #007aff;
  background: rgba(0, 122, 255, 0.1);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.valor-card:hover .valor-icone {
  color: #fff;
  background: #007aff;
  transform: translateY(-2px) rotate(-6deg);
}

/* Case studies visuais: logo, ano de início, 1 ou 2 métricas e a narrativa "chegou com X, alcançámos Y" */
.casos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.caso {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid var(--border);
}

.caso-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.caso-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 120px;
  padding: 0 16px;
  border-radius: 14px;
  background: #07152a;
  color: #fff;
  font-size: 12px;
}

.caso-logo img {
  max-height: 40px;
  width: auto;
}

.caso-ano {
  font-size: 13px;
  color: var(--text-dim);
}

.caso-metrica {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.caso-metrica .font-display {
  font-size: 3.5rem;
  line-height: 1;
}

.caso-metrica-2 {
  margin-top: 20px;
}

.caso-metrica-2 .font-display {
  font-size: 2rem;
  color: var(--text);
}

.caso-metrica-label {
  font-size: 15px;
  color: var(--text-dim);
}

.caso-narrativa {
  margin-top: auto;
  padding-top: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

@media (min-width: 768px) {
  .casos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .caso-metrica .font-display {
    font-size: 4rem;
  }
}

/* ── Sobre: fotos dos eventos (faixa que desliza, ordem baralhada no site.js) ── */
.eventos-fila {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  gap: 16px;
}
.eventos-galeria .hslider-viewport {
  scroll-padding-left: 24px;
}
.eventos-foto {
  width: 220px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #e3e7ee;
}
.eventos-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eventos-setas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.eventos-setas .hslider-btn {
  background: #fff;
  border-color: rgba(10, 10, 10, 0.12);
  color: #0a0a0a;
}
.eventos-setas .hslider-btn:hover {
  background: #f1f3f7;
}
@media (min-width: 768px) {
  .eventos-foto { width: 280px; }
  .eventos-fila { padding: 0 48px; }
  .eventos-galeria .hslider-viewport { scroll-padding-left: 48px; }
}

/* DESIGN DA LP C (lp.spartads.pt, 24/11/2026): General Sans nos títulos, Outfit no texto, botão lima com degradé, secções claras */

/* cores do texto como na LP: títulos #10151c, texto #2b333f / #4a5361 */
.section-light {
  --text: #10151c;
  --text-dim: #4a5361;
  --text-dimmer: #6b7482;
  --border: #e3e7ee;
  color: #2b333f;
}
.section-light h1,
.section-light h2,
.section-light h3 { color: #10151c; }
.section-light .text-white { color: #10151c; }
.section-grey,
.section-light.section-grey { background: #eff1f6; }

/* títulos: General Sans 600, como a LP C */
.font-display,
.font-display-xl,
.font-head {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.eyebrow { font-weight: 600 !important; letter-spacing: 0.08em !important; }

/* destaque nos títulos: azul da marca, cheio (sem degradé) */
.accent {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #007aff;
}
.section-light .metric-white {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #10151c;
}

/* blocos escuros sem cantos arredondados nem sombra (a LP é de ponta a ponta) */
#top,
#contacto,
.page-hero,
.page-cta-final {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* HERO da homepage, igual ao da LP C: foto escura, texto à esquerda em baixo */
.hx-site {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: #090f16;
  overflow: hidden;
}
.hx-site-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hx-site-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hx-site-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(9, 15, 22, 0.7) 0%, rgba(9, 15, 22, 0.25) 18%, rgba(9, 15, 22, 0.1) 40%, rgba(9, 15, 22, 0.8) 72%, #090f16 100%),
    linear-gradient(to right, rgba(9, 15, 22, 0.55) 0%, rgba(9, 15, 22, 0) 60%);
}
.hx-site-content { width: 100%; margin-top: auto; padding-top: 140px; padding-bottom: 56px; }
.hx-site h1 { color: #fff; }
.hx-site h1 .accent { color: #fff; }
.hx-site-sub { font-size: 1rem; line-height: 1.5; color: #c9ccd4; }
.hx-site .hero-label-pill {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(9, 15, 22, 0.45);
  color: #eef0f5;
  font: 500 13px/1.2 'General Sans', 'Outfit', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.hx-site-proof {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hx-site-rating { display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.2; color: #c9ccd4; }
.hx-site-rating img { display: block; width: 92px; max-width: none; height: auto; }
.hx-site-sep { display: none; width: 1px; height: 36px; background: rgba(255, 255, 255, 0.16); }
.hx-site-badges { display: flex; align-items: center; gap: 8px; }
.hx-site-badges img { width: auto; height: 34px; border-radius: 6px; }
@media (min-width: 640px) {
  .hx-site-sep { display: block; }
  .hx-site-badges img { height: 40px; }
}
@media (min-width: 768px) {
  .hx-site-content { padding-bottom: 72px; }
  .hx-site-sub { font-size: 1.125rem; }
}

/* BOTÕES como na LP C */
.btn-cta {
  overflow: visible;
  padding: 16px 26px;
  border: 0;
  border-radius: 8px !important;
  outline: 4px solid rgba(207, 220, 30, 0.14);
  background-color: #cfdc1e;
  background-image:
    linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.75) 50%, transparent 58%),
    linear-gradient(90deg, #cfdc1e 0%, #f5ff6e 100%);
  background-size: 250% 100%, 100% 100%;
  background-position: 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22);
  color: #0e0e0f;
  font-family: 'General Sans', 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 17px !important;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (hover: hover) {
  .btn-cta:hover {
    filter: none;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 10px 24px rgba(207, 220, 30, 0.3);
    background-position: 100% 0, 0 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-position 0.9s ease;
  }
}
.btn-cta:active { transform: translateY(0); filter: none; }
@media (prefers-reduced-motion: reduce) {
  .btn-cta:hover { transform: none; }
}

/* botão secundário: vidro no escuro, contorno preto no claro (como "Continuar a ler" da LP) */
.btn-ghost {
  padding: 15px 24px;
  border-radius: 10px !important;
  font-family: 'General Sans', 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px !important;
  letter-spacing: -0.01em;
}
.section-light .btn-ghost {
  background: #fff;
  border: 1.5px solid #0e0e0f;
  color: #0e0e0f;
}
.section-light .btn-ghost:hover { background: #f5f6f9; border-color: #0e0e0f; }

/* "Como trabalhamos": cartão branco em fundo cinza, como o processo da LP */
.section-light .process-card {
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(16, 21, 28, 0.06);
}
.section-light .process-step { border-top-color: #e3e7ee; }
.section-light .process-card .border-white\/10 { border-color: #e3e7ee; }
.section-light .process-card .text-white\/80 { color: #2b333f; }

/* selos e certificações com cantos da LP */
.partner-badges img { border-radius: 8px; }
.certs-toggle { border-radius: 10px; font-family: 'General Sans', 'Outfit', sans-serif; font-weight: 600; }

/* botão do menu fica pequeno */
#main-nav .btn-cta { padding: 9px 16px; font-size: 14px !important; outline-width: 3px; }
.mobile-nav-panel .btn-cta { font-size: 16px !important; }

/* bloco final escuro como o fecho da LP C: quase preto com brilho azul, título todo branco */
#contacto,
.page-cta-final { background: #090f16 url("../assets/bg-fecho-lp.webp") center / cover no-repeat !important; }
#contacto .page-cta-final-bg,
.page-cta-final .page-cta-final-bg { display: none; }
.accent-cta {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #fff;
}
/* cargo por baixo do nome nas fotos da equipa: cinza claro, lê-se melhor que azul no escuro */
.team-photo-overlay p { color: #c9ccd4 !important; }

/* números grandes nunca partem a meio ("+€20M") */
.metric-white { white-space: nowrap; }

/* TOPO DAS PÁGINAS INTERNAS como o hero da LP C: fundo escuro, texto à esquerda; páginas de serviço mantêm a imagem 3D */
.page-hero { background-color: #090f16; isolation: isolate; }
/* sombra por cima da imagem: escurece o lado do texto, a imagem 3D fica visível à direita */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(9, 15, 22, 0.92) 0%, rgba(9, 15, 22, 0.7) 40%, rgba(9, 15, 22, 0.15) 75%, rgba(9, 15, 22, 0) 100%),
    linear-gradient(to bottom, rgba(9, 15, 22, 0.55) 0%, rgba(9, 15, 22, 0) 30%, rgba(9, 15, 22, 0) 70%, rgba(9, 15, 22, 0.6) 100%);
}
/* páginas sem imagem própria (Sobre, Equipa, Carreiras, Contacto, Glossário): fundo do fecho da LP */
.page-hero:not([class*="page-hero-"]) { background-image: url("../assets/bg-fecho-lp.webp") !important; background-size: cover !important; background-position: center bottom !important; }
.page-hero:not([class*="page-hero-"])::before { background: linear-gradient(to right, rgba(9, 15, 22, 0.95) 0%, rgba(9, 15, 22, 0.8) 45%, rgba(9, 15, 22, 0.2) 80%, rgba(9, 15, 22, 0) 100%), linear-gradient(to bottom, rgba(9, 15, 22, 0.6) 0%, rgba(9, 15, 22, 0) 35%); }
/* texto à esquerda, na mesma largura do resto do site */
.page-hero > .relative { max-width: 72rem; text-align: left; }
.page-hero > .relative .mx-auto { margin-left: 0; }
.page-hero > .relative .items-center { align-items: flex-start; }
.page-hero > .relative .justify-center { justify-content: flex-start; }
.page-hero > .relative h1 { max-width: 48rem; }
.page-hero > .relative > p,
.page-hero > .relative h1 + p { max-width: 42rem; }
.page-hero .text-\[color\:var\(--text-dim\)\] { color: #c9ccd4; }
@media (max-width: 768px) {
  .page-hero::before {
    background: linear-gradient(to bottom, rgba(9, 15, 22, 0.75) 0%, rgba(9, 15, 22, 0.55) 60%, rgba(9, 15, 22, 0.85) 100%);
  }
}

/* Certificações em /sobre: cartões que abrem com "+", iguais aos da LP C */
.selos-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.selos-grid li { border: 1px solid #e3e7ee; border-radius: 12px; background: #fff; box-shadow: 0 2px 14px rgba(9, 15, 22, 0.04); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.selos-grid li:has(details[open]) { border-color: #b9d6ff; box-shadow: 0 6px 20px rgba(0, 122, 255, 0.08); }
.selos-grid summary { display: grid; grid-template-columns: 40px 1fr 22px; align-items: center; gap: 12px; padding: 12px 14px; list-style: none; cursor: pointer; font: 500 15px/1.3 'Outfit', sans-serif; color: #10151c; border-radius: 12px; }
.selos-grid summary::-webkit-details-marker { display: none; }
.selos-grid summary:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
.selos-grid img { width: 40px; height: 40px; object-fit: contain; }
.selos-grid summary i { justify-self: end; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d5dbe4; font: 500 15px/1 'Outfit', sans-serif; font-style: normal; color: #007aff; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.selos-grid details[open] summary i { transform: rotate(45deg); background: #007aff; border-color: #007aff; color: #fff; }
.selos-grid details p { margin: 0; padding: 0 14px 14px 66px; font: 400 14px/1.45 'Outfit', sans-serif; color: #4a5361; }
@media (min-width: 768px) {
  .selos-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
  .selos-grid summary { grid-template-columns: 44px 1fr 22px; padding: 14px 16px; }
  .selos-grid img { width: 44px; height: 44px; }
  .selos-grid details p { padding: 0 16px 16px 72px; }
}

/* Carta do Roberto em /sobre: igual à da LP C (destaques, "Continuar a ler") */
.carta-corpo { position: relative; }
.carta-corpo p { margin: 0; font-size: 17px; line-height: 1.55; color: #17181b; }
.carta-corpo p + p,
.carta-mais { margin-top: 1.3em; }
.carta-corpo .l { display: block; }
.carta-corpo strong { font-weight: 600; color: #0e0e0f; }
.carta-corpo mark { padding: 0.08em 0.18em; border-radius: 3px; background: #f5ff6e; color: #0e0e0f; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.carta-corpo .carta-nome { font-weight: 600; color: #0e0e0f; text-decoration: underline; text-underline-offset: 3px; }
.carta-site.is-collapsed .carta-mais { display: none; }
.carta-site.is-collapsed .carta-corpo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.carta-toggle { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 18px; border: 1.5px solid #0e0e0f; border-radius: 10px; background: #fff; color: #0e0e0f; font: 600 15px/1.2 'General Sans', 'Outfit', sans-serif; cursor: pointer; }
.carta-toggle:hover { background: #0e0e0f; color: #fff; }
.carta-site .t-fechar,
.carta-site.is-collapsed .t-abrir { display: inline; }
.carta-site .t-abrir,
.carta-site.is-collapsed .t-fechar { display: none; }
@media (min-width: 768px) {
  .carta-corpo p { font-size: 18px; }
}

/* RESULTADOS na homepage: carrossel dos casos da LP C, cada cartão abre o caso numa janela */
.rc { margin-top: 56px; }
.rc-track { display: flex; gap: 12px; margin: 0 -24px; padding: 4px 24px 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.rc-track::-webkit-scrollbar { display: none; }
.rc-item { flex: none; display: flex; width: 82%; max-width: 340px; scroll-snap-align: start; }
.rc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 290px; padding: 22px; border: 1px solid #e3e7ee; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(9, 15, 22, 0.06); color: #10151c; text-align: left; cursor: pointer; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.rc-card:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
.rc-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 13px 4px 4px; border-radius: 999px; font: 600 12px/1.2 'General Sans', 'Outfit', sans-serif; white-space: nowrap; }
.rc-tag i { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; }
.rc-tag i svg { width: 14px; height: 14px; }
.rc-t-leads { background: #e6f0ff; color: #0058c9; }
.rc-t-leads i { background: #007aff; color: #fff; }
.rc-t-ecom { background: #007aff; color: #fff; box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25); }
.rc-t-ecom i { background: #fff; color: #007aff; }
.rc-sec { margin-top: 22px; font: 400 15px/1.3 'Outfit', sans-serif; color: #4a5361; }
.rc-num { margin-top: 4px; font: 600 44px/1.05 'General Sans', 'Outfit', sans-serif; letter-spacing: -0.02em; color: #10151c; }
.rc-num b { font-weight: 600; color: #007aff; }
.rc-foot { margin-top: 6px; min-height: 2.7em; font: 400 15px/1.35 'Outfit', sans-serif; color: #2b333f; }
.rc-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; font: 600 13px/1 'General Sans', 'Outfit', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #007aff; }
.rc-more svg { box-sizing: content-box; width: 14px; height: 14px; padding: 7px; border-radius: 50%; background: #007aff; color: #fff; }
.rc-peek { display: none; }
@media (hover: hover) and (min-width: 768px) {
  .rc-card:hover { transform: translateY(-3px); border-color: #007aff; box-shadow: 0 10px 26px rgba(0, 122, 255, 0.16); }
  .rc-peek { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 22px 18px; background: #007aff; color: #fff; text-align: left; transform: translateY(101%); transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .rc-card:hover .rc-peek, .rc-card:focus-visible .rc-peek { transform: none; }
  .rc-peek em { font: 600 12px/1.2 'General Sans', 'Outfit', sans-serif; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
  .rc-peek > span { grid-column: 1 / 3; grid-row: 2; font: 400 15px/1.4 'Outfit', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rc-peek b { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 'General Sans', 'Outfit', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
}
@media (min-width: 768px) {
  .rc-track { gap: 20px; margin: 0; padding: 4px 0 16px; scroll-padding-left: 0; }
  .rc-item { width: calc((100% - 40px) / 3); max-width: none; }
  .rc-card { min-height: 326px; padding: 28px; }
  .rc-num { font-size: 56px; }
  .rc-sec { margin-top: 28px; }
}
/* setas e pontos por baixo, como na LP */
.pg { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
.pg[hidden] { display: none; }
.pg button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #007aff; color: #fff; box-shadow: 0 4px 12px rgba(0, 122, 255, 0.28); cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.pg button:active { transform: scale(0.94); }
.pg button:disabled { background: #d5dbe5; box-shadow: none; cursor: default; }
.pg-dots { display: flex; align-items: center; gap: 7px; }
.pg-dots i { width: 6px; height: 6px; border-radius: 999px; background: #cfd6e0; transition: width 0.25s ease, background 0.25s ease; }
.pg-dots i.on { width: 22px; background: #007aff; }
@media (min-width: 768px) {
  .pg { gap: 16px; margin-top: 20px; }
  .pg button { width: 48px; height: 48px; }
  .pg button:hover:not(:disabled) { background: #005fd6; }
}
/* janela do caso */
dialog.rc-modal { width: min(560px, calc(100vw - 24px)); max-height: 88vh; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: #10151c; overflow: hidden; }
dialog.rc-modal[open] { display: flex; flex-direction: column; }
dialog.rc-modal::backdrop { background: rgba(3, 6, 23, 0.72); }
html.rc-lock, html.rc-lock body { overflow: hidden; }
.rc-x { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f0f1f6; color: #10151c; cursor: pointer; }
.rc-scroll { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.rc-scroll:focus { outline: none; }
.rc-m { padding: 28px 22px 24px; text-align: left; }
.rc-m h3 { margin: 14px 0 0; padding-right: 36px; font: 600 26px/1.15 'General Sans', 'Outfit', sans-serif; letter-spacing: -0.02em; color: #10151c; }
.rc-m .rc-lead { margin: 6px 0 0; font: 400 15px/1.45 'Outfit', sans-serif; color: #4a5361; }
.rc-m dl { display: grid; gap: 14px; margin: 22px 0 0; }
.rc-m dt { font: 600 13px/1.2 'General Sans', 'Outfit', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #007aff; }
.rc-m dd { margin: 4px 0 0; font: 400 15px/1.45 'Outfit', sans-serif; color: #2b333f; }
.rc-m dd ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; list-style: disc; }
.rc-m .rc-res { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.rc-res li { padding: 14px 14px 12px; border-radius: 12px; background: #f0f1f6; }
.rc-res b { display: block; font: 600 28px/1.05 'General Sans', 'Outfit', sans-serif; letter-spacing: -0.02em; color: #007aff; }
.rc-res span { display: block; margin-top: 4px; font: 400 14px/1.3 'Outfit', sans-serif; color: #2b333f; }
.rc-bar { flex: none; padding: 12px 22px 16px; border-top: 1px solid #e3e7ee; background: #fff; }
.rc-bar .btn-cta { display: flex; justify-content: center; align-items: center; width: 100%; height: 52px; padding: 0 16px; }
@media (min-width: 768px) {
  .rc-m { padding: 36px 36px 32px; }
  .rc-m .rc-res { grid-template-columns: repeat(4, 1fr); }
  .rc-res b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-card, .rc-peek, .pg-dots i, .pg button { transition: none; }
}

/* HOMEPAGE COM AS SECÇÕES DA LP C (24/11/2026) */
.section-light h2.font-head { color: #10151c; }

/* faixas que deslizam (vídeos e testemunhos escritos), com setas e pontos por baixo */
.faixa-track { display: flex; gap: 12px; margin: 0 -24px; padding: 4px 24px 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; scrollbar-width: none; }
.faixa-track::-webkit-scrollbar { display: none; }
.faixa-track > li { flex: none; scroll-snap-align: start; }
@media (min-width: 768px) {
  .faixa-track { gap: 20px; margin: 0; padding: 4px 0 16px; scroll-padding-left: 0; }
}

/* vídeos: capa vertical, duração, nome do cliente e a frase */
.vq { display: flex; flex-direction: column; width: 72%; max-width: 270px; padding: 8px 8px 18px; border: 1px solid #e3e7ee; border-radius: 18px; background: #fff; box-shadow: 0 2px 14px rgba(9, 15, 22, 0.05); }
@media (min-width: 768px) { .vq { width: calc((100% - 60px) / 4); max-width: none; } }
.vq-capa.prova-card { border-radius: 12px; cursor: pointer; }
.vq-capa.prova-card::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.35) 100%); }
.vq-dur { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(9, 15, 22, 0.55); color: #fff; font: 600 12px/1 'General Sans', 'Outfit', sans-serif; }
.vq-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; background: rgba(255, 255, 255, 0.22); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform 0.25s ease, background 0.25s ease; }
.vq-capa:hover .vq-play { transform: scale(1.08); background: #007aff; border-color: #007aff; }
.vq-nome { align-self: flex-start; margin: 14px 8px 0; padding: 5px 10px; border: 1px solid #d5dbe4; border-radius: 8px; font: 500 13px/1.2 'Outfit', sans-serif; color: #10151c; }
.vq-frase { margin: 12px 8px 0; font: 600 16px/1.35 'General Sans', 'Outfit', sans-serif; letter-spacing: -0.01em; color: #007aff; }

/* processo: "Quer…" + Planear / Atrair / Vender */
.quer-t { margin: 28px 0 12px; font: 600 17px/1 'General Sans', 'Outfit', sans-serif; color: #10151c; }
.quer { display: grid; grid-template-columns: 1fr; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.quer li { display: flex; align-items: flex-start; gap: 10px; font: 500 15px/1.35 'Outfit', sans-serif; color: #10151c; }
.quer i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #007aff; color: #fff; }
@media (min-width: 640px) { .quer { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quer { grid-template-columns: repeat(4, 1fr); } }
.fases { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .fases { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.fase { display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px solid #e3e7ee; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(9, 15, 22, 0.05); }
.fase-head { display: flex; align-items: center; gap: 14px; }
.fase-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: #e6f0ff; color: #007aff; }
.fase-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fase-n { font: 600 13px/1 'General Sans', 'Outfit', sans-serif; letter-spacing: 0.08em; color: #007aff; }
.fase-linha { flex: 1; height: 1px; background: #e3e7ee; }
.fase h3 { margin: 20px 0 0; font: 600 26px/1.15 'General Sans', 'Outfit', sans-serif; letter-spacing: -0.02em; color: #10151c; }
.fase-sub { margin: 4px 0 0; font: 400 16px/1.35 'Outfit', sans-serif; color: #4a5361; }
.fase-desc { margin: 14px 0 0; padding-bottom: 20px; border-bottom: 1px solid #e3e7ee; font: 400 16px/1.5 'Outfit', sans-serif; color: #2b333f; }
.fase-cols { display: grid; gap: 16px; margin: 20px 0 0; }
.fase-cols dt { margin-bottom: 6px; font: 600 12px/1.2 'General Sans', 'Outfit', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7482; }
.fase-cols dd { position: relative; margin: 0; padding: 3px 0 3px 14px; font: 400 15px/1.35 'Outfit', sans-serif; color: #10151c; }
.fase-cols dd::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 5px; height: 5px; border-radius: 50%; background: #007aff; }
.fase-cols a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0, 122, 255, 0.35); transition: color 0.2s ease, border-color 0.2s ease; }
.fase-cols a:hover { color: #007aff; border-color: #007aff; }
.fase-cols dt a { border-bottom-color: transparent; }
.fase-cols dt a::after { content: " →"; color: #007aff; }

/* botão + estrelas por baixo de uma secção, como na LP */
.lp-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 36px; }
.lp-review { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 13px/1.3 'Outfit', sans-serif; color: #4a5361; }
.lp-review img { width: 92px; height: auto; }
.lp-review--escuro { margin-top: 16px; color: #c9ccd4; }

/* a nossa equipa: foto de grupo + texto */
.eq-top { display: grid; gap: 32px; align-items: center; }
.eq-top img { width: 100%; height: auto; border-radius: 14px; }
.eq-top p { margin: 16px 0 0; font: 400 17px/1.6 'Outfit', sans-serif; color: #2b333f; }
.eq-top h2 + p { margin-top: 20px; }
.eq-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 600 15px/1 'General Sans', 'Outfit', sans-serif; color: #007aff; }
@media (min-width: 900px) { .eq-top { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* testemunhos escritos */
.ts-card { display: flex; flex-direction: column; width: 84%; max-width: 360px; padding: 26px; border: 1px solid #e3e7ee; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(9, 15, 22, 0.05); }
@media (min-width: 768px) { .ts-card { width: calc((100% - 40px) / 3); max-width: none; } }
.ts-estrelas { color: #facc15; font-size: 18px; letter-spacing: 2px; }
.ts-frase { margin: 14px 0 0; font: 400 16px/1.55 'Outfit', sans-serif; color: #2b333f; }
.ts-nome { margin: auto 0 0; padding-top: 20px; font: 600 16px/1.2 'General Sans', 'Outfit', sans-serif; color: #10151c; }
.ts-cargo { margin: 4px 0 0; font: 400 14px/1.3 'Outfit', sans-serif; color: #6b7482; }

/* vantagens */
.gains-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .gains-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gains-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gain { padding: 28px 28px 26px; border: 1px solid #e3e7ee; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(9, 15, 22, 0.06); }
.gain-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: #e6f0ff; }
.gain-icon img { width: 28px; height: 28px; object-fit: contain; }
.gain h3 { margin: 20px 0 0; font: 600 20px/1.25 'General Sans', 'Outfit', sans-serif; letter-spacing: -0.01em; color: #10151c; }
.gain p { margin: 10px 0 0; font: 400 16px/1.5 'Outfit', sans-serif; color: #2b333f; }

/* IA: bloco escuro com 3 camadas */
.ia-sec { background: #090f16 url("../assets/bg-fecho-lp.webp") center / cover no-repeat; color: #c9ccd4; }
.ia-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .ia-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ia-lista { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ia-lista li { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ia-n { font: 600 13px/1.6 'General Sans', 'Outfit', sans-serif; letter-spacing: 0.08em; color: #6aadff; }
.ia-lista strong { display: block; font: 600 18px/1.25 'General Sans', 'Outfit', sans-serif; color: #fff; }
.ia-lista p { margin: 4px 0 0; font: 400 15px/1.45 'Outfit', sans-serif; color: #c9ccd4; }

/* vídeo de fundo do hero (Bunny): mesmo enquadramento da foto; nunca mostrar o botão de play do iPhone */
.hx-site-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hx-site-bg video::-webkit-media-controls-start-playback-button,
.hx-site-bg video::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
