/**
 * Protótipo v2 — hero, faixa amarela, serviços, diferenciais (vídeo), portfolio, preloader.
 */

:root {
  --color-yellow-primary: #ffb700;
  --color-yellow-secondary: #ffd000;
  --color-black-pure: #000000;
  --color-night: #0f0f0f;
  --color-jet: #2a2929;
  --color-olive: #444342;
  --text-muted: #6b6966;
  --text-on-accent: #0f0f0f;
  --border-default: #444342;
  --text-primary: #ffffff;
  --text-secondary: #b0aea8;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-accent: 0 8px 32px rgba(255, 183, 0, 0.35);
  /* Fundo Serviços — relativo ao CSS (assets/ → assets/angela-layout/) */
  --services-city-image: url("angela-layout/city-buildings-night.jpg");
}

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

html {
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  background: #0f0f0f !important;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: #0f0f0f !important;
  background-color: #0f0f0f !important;
  color: #f5f5f5;
}

/* Elementor Kit / Hello Elementor reset — qualquer wrapper que herde branco */
#page,
.site,
.page-wrapper,
.elementor-page {
  background: transparent !important;
  background-color: transparent !important;
}

/* ── Preloader (idêntico ao projeto dev modelo — angela-layout) ── */
body.preloading {
  overflow: hidden;
}

/* No mobile não há animação 3D — preloader escondido para não bloquear LCP */
@media (max-width: 767.98px) {
  .preloader          { display: none !important; }
  body.preloading     { overflow: auto !important; }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: var(--color-night);
  display: grid;
  place-items: center;
  cursor: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 183, 0, 0.08) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(96px, 14vw, 140px);
  height: clamp(96px, 14vw, 140px);
}

.preloader-logo {
  position: relative;
  z-index: 2;
  font-family: "Space Mono", monospace;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  animation: preloader-logo-pulse 1.6s ease-in-out infinite;
}

.preloader-logo span {
  color: var(--color-yellow-primary);
}

.preloader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: preloader-rotate 1.6s linear infinite;
}

.preloader-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.8;
}

.preloader-ring__progress {
  fill: none;
  stroke: var(--color-yellow-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  transform-origin: center;
  animation: preloader-dash 1.6s ease-in-out infinite;
}

@keyframes preloader-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-dash {
  0% {
    stroke-dashoffset: 163.36;
    transform: rotate(0deg);
  }
  50% {
    stroke-dashoffset: 40;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 163.36;
    transform: rotate(360deg);
  }
}

@keyframes preloader-logo-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-ring,
  .preloader-ring__progress,
  .preloader-logo {
    animation: none;
  }

  .preloader-ring__progress {
    stroke-dashoffset: 80;
  }
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS + HEADER / NAV (site modelo)
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-yellow-primary), var(--color-yellow-secondary));
  z-index: 10001;
  pointer-events: none;
  transition: none;
}

.site-header,
.site-header:not(.dynamic-header) {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 9000;
  padding: 0 clamp(16px, 4vw, 48px);
  box-sizing: border-box !important;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

/* Compensar a admin bar do WordPress quando o utilizador está logado */
body.admin-bar .site-header,
body.admin-bar .site-header:not(.dynamic-header) {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .site-header:not(.dynamic-header) {
    top: 46px !important;
  }
}

.site-header.scrolled {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(68, 67, 66, 0.3);
}

.header-inner,
.site-header .header-inner,
.site-header:not(.dynamic-header) .header-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  box-sizing: border-box;
}

.site-header .logo {
  font-family: "Space Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header .logo span {
  color: var(--color-yellow-primary);
}

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

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-yellow-primary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--color-yellow-primary);
}

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

.nav-desktop .btn-whatsapp-header::after {
  display: none;
}

.nav-desktop .btn-whatsapp-header:hover::after {
  display: none;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-yellow-primary);
  color: var(--text-on-accent) !important;
  padding: 10px 20px;
  padding-bottom: 7px !important;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-whatsapp-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 8px;
  margin: 0;
  cursor: pointer;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0 !important;
}

.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-yellow-primary) !important;
  outline-offset: 4px !important;
  border-radius: 4px !important;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 8999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  box-sizing: border-box;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer a {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 16px 0;
  border-bottom: 1px solid rgba(68, 67, 66, 0.3);
  transition: color 0.3s ease, padding-left 0.3s ease;
  text-decoration: none;
}

.mobile-drawer a:hover {
  color: var(--color-yellow-primary);
  padding-left: 8px;
}

.mobile-drawer .btn-whatsapp-header {
  margin-top: auto;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 8998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .btn-whatsapp-header.desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .hamburger {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hamburger span,
  .mobile-drawer,
  .drawer-overlay {
    transition: none;
  }
}

/* ═══════════════════════════════════════════
   HERO (mesma estrutura de classes que o site)
   ═══════════════════════════════════════════ */
.al-scroll-hero {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 6;
  isolation: isolate;
  overflow-x: clip;
  color: #f5f5f5;
  background: #000;
  --hero-text-primary: #ffffff;
  --hero-text-secondary: rgba(255, 255, 255, 0.7);
  --hero-accent: var(--color-yellow-primary);
  --hero-accent-hover: var(--color-yellow-secondary);
  --hero-accent-glow: rgba(255, 183, 0, 0.3);
  --hero-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.al-scroll-hero *,
.al-scroll-hero *::before,
.al-scroll-hero *::after {
  box-sizing: border-box;
}

.al-scroll-hero__scroll-end {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.al-scroll-hero .hero-pin {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 100dvh;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  background: #000;
}

.al-scroll-hero .hero-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.85) 78%,
    #000 100%
  );
}

.al-scroll-hero .lottie-container {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  /* Igual à linha da grelha (100dvh): 100vh sozinho deixa faixa preta em mobile quando dvh > vh */
  min-height: 100vh;
  height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.al-scroll-hero .animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-scroll-hero .animation .frame-sequence {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  user-select: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease-out;
}

.al-scroll-hero .animation .frame-sequence--ready {
  opacity: 1;
}

.al-scroll-hero .frame-sequence-error {
  margin: 0;
  padding: 1rem;
  max-width: 36rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.prototype-hero-fallback-note {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 5;
  margin: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  pointer-events: none;
}

/* Mobile: imagem estática */
.al-scroll-hero .hero-mobile-picture {
  display: none;
}

@media (max-width: 767.98px) {
  /* Altura = janela visível real (--al-vh definido em app.js); evita barra preta sob a imagem */
  .al-scroll-hero .hero-pin {
    grid-template-rows: 1fr;
    min-height: calc(var(--al-vh, 1vh) * 100);
    height: calc(var(--al-vh, 1vh) * 100);
    overflow: hidden;
  }

  /* Menos “faixa preta vazia”: o degradê anterior ia até #000 opaco e tapava os pés */
  .al-scroll-hero .hero-pin::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.28) 52%,
      rgba(0, 0, 0, 0.72) 82%,
      rgba(0, 0, 0, 0.88) 100%
    );
  }

  .al-scroll-hero .lottie-container {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 0;
    align-self: stretch;
    height: 100%;
    max-height: 100%;
  }

  .al-scroll-hero .animation {
    display: none !important;
  }

  .al-scroll-hero .hero-mobile-picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  .al-scroll-hero .hero-mobile-picture img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    /* Ancorar ao topo: evita cortar a cabeça com o crop central do cover */
    object-position: center top;
    display: block;
  }

  .al-scroll-hero .hero-typography__cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .al-scroll-hero .hero-typography__cta-link,
  .al-scroll-hero .hero-typography__cta-link--ghost {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px;
  }
}

/* Tipografia hero */
.al-scroll-hero .hero-typography {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 3;
  align-self: end;
  width: 100%;
  max-width: min(52rem, 92vw);
  margin: 0 auto 0 0;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vh, 3.5rem);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.al-scroll-hero .hero-typography__lead {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.8vh, 1rem);
  width: 100%;
  margin-top: clamp(-2.75rem, -6.5vh, -0.75rem);
}

.al-scroll-hero .hero-typography__stage {
  position: relative;
  width: 100%;
  min-height: clamp(5.35rem, 20vh, 8.75rem);
  margin-top: clamp(0.08rem, 0.28vh, 0.28rem);
}

.al-scroll-hero .hero-typography__stage .hero-phrase {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 0.35rem, 0);
  pointer-events: none;
}

.al-scroll-hero .hero-typography__stage .hero-typography__conversion {
  z-index: 2;
}

.al-scroll-hero .hero-typography__intro--collapsed {
  display: none !important;
}

.al-scroll-hero .hero-typography__intro {
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--hero-text-secondary);
}

.al-scroll-hero .hero-typography__headline {
  margin: 0 0 -0.06em;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--hero-text-primary);
  max-width: min(28ch, 100%);
}

.al-scroll-hero .hero-typography__headline .hero-typography__gradient {
  background: linear-gradient(105deg, #fff 0%, #fff 72%, var(--hero-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.al-scroll-hero .hero-typography__desc {
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: var(--hero-text-secondary);
  max-width: 48ch;
}

.al-scroll-hero .hero-typography__conversion {
  margin: 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--hero-text-primary);
  max-width: 46ch;
}

.al-scroll-hero .hero-typography__accent {
  color: var(--hero-accent);
  text-shadow: 0 0 20px var(--hero-accent-glow);
  font-weight: 600;
}

.al-scroll-hero .hero-typography__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: clamp(0.06rem, 0.22vh, 0.2rem);
  opacity: 0;
  transform: translate3d(0, 2rem, 0) scale(0.92);
  pointer-events: none;
}

.al-scroll-hero .hero-typography__cta-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-on-accent);
  background: var(--hero-accent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 24px var(--hero-accent-glow);
}

.al-scroll-hero .hero-typography__cta-link--ghost {
  color: var(--hero-text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

@media (min-width: 900px) {
  .al-scroll-hero .hero-typography {
    margin-left: clamp(1.25rem, 4vw, 3rem);
    max-width: min(44rem, 88vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-scroll-hero .animation .frame-sequence {
    transition: none;
  }

  .al-scroll-hero .hero-typography__stage {
    min-height: 0;
  }

  .al-scroll-hero .hero-typography__stage .hero-phrase {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }

  .al-scroll-hero .hero-typography__intro,
  .al-scroll-hero .hero-typography__headline,
  .al-scroll-hero .hero-typography__desc,
  .al-scroll-hero .hero-typography__conversion,
  .al-scroll-hero .hero-typography__cta {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }
}

/* ═══════════════════════════════════════════
   Faixa amarela (marquee horizontal)
   ═══════════════════════════════════════════ */
.marquee-section {
  width: 100%;
  max-width: 100%;
  background: var(--color-yellow-primary);
  overflow: hidden;
  padding: clamp(12px, 2vw, 16px) 0;
  position: relative;
  z-index: 10;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: prototypeMarqueeScroll 32s linear infinite;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-content span {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  color: var(--text-on-accent);
  letter-spacing: 0.18em;
  padding: 0 clamp(16px, 2.5vw, 28px);
  text-transform: uppercase;
}

@keyframes prototypeMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.35rem 0.5rem;
  }

  .marquee-content:nth-child(2) {
    display: none;
  }

  .marquee-content {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
  }

  .marquee-content span {
    letter-spacing: 0.12em;
    padding: 0.2rem 0.5rem;
  }
}

/* ═══════════════════════════════════════════
   Secções partilhadas (títulos)
   ═══════════════════════════════════════════ */
.section-pad {
  padding: clamp(48px, 8vw, 100px) clamp(16px, 4vw, 48px);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--color-yellow-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  color: var(--text-primary);
  line-height: 1.05;
  margin: 0 0 16px;
}

.title-gradient {
  background: linear-gradient(50deg, #ffffff 0%, #ffffff 25%, var(--color-yellow-primary) 10%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--text-secondary);
  max-width: 42rem;
  line-height: 1.7;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════
   Serviços (espelho assets/angela-layout/style.css + #al-logo do index-elementor)
   ═══════════════════════════════════════════ */
.services-section {
  background-color: var(--color-night);
  position: relative;
  z-index: 5;
  overflow: hidden;
  --parallax-y: 0px;
}

.services-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  bottom: -30%;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.42) 100%),
    var(--services-city-image);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform, opacity;
  z-index: -2;
  pointer-events: none;
  opacity: var(--services-bg-opacity, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .services-section::before {
    transform: none;
    top: 0;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .services-section::before {
    transform: none !important;
    will-change: auto;
    top: 0;
    bottom: 0;
  }
}

.section-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.section-backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 0, 0.1) 1px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 0, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.section-backdrop__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(255, 183, 0, 0.04) 0%,
    rgba(255, 183, 0, 0.015) 40%,
    transparent 75%
  );
  filter: blur(80px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: color-mix(in srgb, var(--color-night) 25%, transparent);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 183, 0, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 183, 0, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 48px rgba(255, 183, 0, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .service-card {
    background: color-mix(in srgb, var(--color-night) 88%, transparent);
  }
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-yellow-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-yellow-primary);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: gap 0.3s ease;
}

.service-cta:hover {
  gap: 12px;
}

/* Desktop: visível por omissão (JS pode aplicar estado inicial + animar).
   Nunca depender só de JS — se GSAP/ST falhar, o texto continua legível. */
@media (min-width: 769px) {
  .services-section .reveal,
  .portfolio-section .reveal,
  .blog-section .reveal,
  .prototype-why-diferenciais .reveal {
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
  }
}

@media (max-width: 768px) {
  .services-section .reveal,
  .services-section .service-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Logo 3D Serviços (head inline do index-elementor.html) ── */
#al-logo-hint {
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

#al-logo-service-card {
  overflow: visible !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

#al-logo-container {
  flex: 0 0 50%;
  max-width: 50%;
  height: 500px;
  position: relative;
  overflow: visible;
  background: transparent;
  cursor: grab;
}

#al-logo-container:active {
  cursor: grabbing;
}

#al-logo-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
}

#al-logo-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 32px;
  box-sizing: border-box;
}

#al-logo-text h5 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 16px;
}

#al-logo-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
}

#al-logo-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #f9b84a;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: opacity 0.4s;
}

.al-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(249, 184, 74, 0.2);
  border-top-color: #f9b84a;
  border-radius: 50%;
  animation: alSpin 0.8s linear infinite;
}

@keyframes alSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  /* Mobile: 3D não carrega (Three.js 589KB poupado) — esconde o container vazio */
  #al-logo-container {
    display: none !important;
  }

  #al-logo-text {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #al-logo-service-card {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 768px) {
  #al-logo-container,
  #al-logo-text {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #al-logo-container {
    height: 360px;
  }
}

/* ═══════════════════════════════════════════
   Vídeo + Portfolio — overlap (wrapper obrigatório p/ z-index)
   ═══════════════════════════════════════════ */
.al-video-portfolio-stack {
  position: relative;
  z-index: 8;
  display: flow-root;
}

.al-video-portfolio-stack .video-scroll-section {
  position: relative;
  z-index: 1;
}

.al-video-portfolio-stack .portfolio-section {
  position: relative;
  z-index: 2;
  /* Uma viewport para cima: sobrepõe o fim da dobra do vídeo (vídeo continua atrás) */
  margin-top: -100vh;
  margin-top: -100svh;
  background: #0c0c0c!important;
}

/* ═══════════════════════════════════════════
   DIFERENCIAIS — vídeo + frases no scroll
   (espelho de .video-scroll-* do tema)
   ═══════════════════════════════════════════ */
.video-scroll-section {
  position: relative;
  z-index: 4;
  overflow-x: clip;
  background: #000;
  /* Compensa margin-top negativo do portfolio + frase 5 antes do overlap */
  padding-bottom: 100vh;
  padding-bottom: 100dvh;
}

.video-scroll-track {
  width: 100%;
  --video-phrase-count: 5;
  height: calc((var(--video-phrase-count, 5) + 2) * 100vh);
  height: calc((var(--video-phrase-count, 5) + 2) * 100dvh);
}

.video-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.video-scroll-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
}

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

.video-scroll-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

/* Camada única: frases + bullets sobem e somem quando o portfolio entra */
.video-scroll-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform, opacity;
}

.video-scroll-ui.is-exited {
  pointer-events: none !important;
}

.video-scroll-typography {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  pointer-events: none;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 8vw, 5rem) clamp(2rem, 5vh, 5.5rem);
  padding-left: clamp(2.5rem, 9vw, 5.5rem);
}

.video-scroll-typography__stage {
  position: relative;
  width: 100%;
  max-width: min(52rem, 92vw);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.video-scroll-phrase {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translate3d(0, calc(-50% + 28px), 0);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vh, 1.25rem);
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2rem, 13vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(50deg, #ffffff 0%, #ffffff 62.5%, var(--color-yellow-primary) 76%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  max-width: min(28ch, 100%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    background-position 1.1s ease 0.15s;
  will-change: opacity, transform, background-position;
}

.video-scroll-phrase.active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
  background-position: 100% 50%;
  pointer-events: auto;
}

.video-scroll-markers {
  position: absolute;
  left: clamp(14px, 3vw, 40px);
  top: clamp(80px, 19vh, 160px);
  bottom: clamp(60px, 19vh, 140px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.video-scroll-markers::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 10%,
    rgba(255, 255, 255, 0.28) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-50%);
}

a.video-scroll-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

a.video-scroll-marker.active {
  background: var(--color-yellow-primary);
  border-color: var(--color-yellow-primary);
  transform: scale(1.35);
  box-shadow: 0 0 14px rgba(255, 183, 0, 0.6);
}

a.video-scroll-marker:focus-visible {
  outline: 2px solid var(--color-yellow-primary);
  outline-offset: 4px;
}

.video-scroll-phrase .phrase-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-top: 0.25rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-on-accent);
  background: var(--color-yellow-primary);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--text-on-accent);
  padding: clamp(14px, 2.5vw, 16px) clamp(24px, 5vw, 32px);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
}

.video-scroll-phrase .phrase-cta:hover,
.video-scroll-phrase .phrase-cta:focus,
.video-scroll-phrase .phrase-cta:visited {
  text-decoration: none;
}

.video-scroll-phrase .phrase-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

@media (max-width: 767px) {
  .video-scroll-typography {
    padding-left: clamp(1.75rem, 7vw, 2.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
  }

  .video-scroll-phrase {
    font-size: clamp(2rem, 13vw, 6rem);
    line-height: 1.1;
    max-width: min(28ch, 100%);
  }

  .video-scroll-markers {
    left: 10px;
    top: clamp(60px, 10vh, 100px);
    bottom: clamp(48px, 8vh, 90px);
  }

  a.video-scroll-marker {
    width: 7px;
    height: 7px;
    border-width: 1px;
  }

  .video-scroll-phrase .phrase-cta {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    padding: 14px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-scroll-section {
    padding-bottom: 0;
  }

  .al-video-portfolio-stack .portfolio-section {
    margin-top: 0;
  }

  .video-scroll-track {
    height: auto;
  }

  .video-scroll-sticky {
    position: relative;
    height: auto;
  }

  .video-scroll-bg {
    position: relative;
    height: 60vh;
    min-height: 360px;
  }

  .video-scroll-typography {
    position: relative;
    inset: auto;
    padding: 28px 1rem 2rem;
    padding-left: clamp(1.75rem, 7vw, 2.5rem);
  }

  .video-scroll-typography__stage {
    display: block;
    max-width: 100%;
  }

  .video-scroll-phrase {
    position: relative;
    top: auto;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 0 18px;
    background-position: 100% 50% !important;
    pointer-events: auto;
  }

  .video-scroll-markers {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   Portfolio (espelho index-elementor + slot Elementor)
   ═══════════════════════════════════════════ */
/* Estado final após parallax de saída (GSAP) */
.video-scroll-section.is-covered .video-scroll-ui {
  visibility: hidden;
}

.portfolio-section {
  /* Fundo translúcido: vídeo visível por baixo (fallback + color-mix) */
  background: rgba(15, 15, 15, 0.82);
  background: color-mix(in srgb, var(--color-night) 82%, transparent);
  position: relative;
  z-index: 6;
  padding-left: 0;
  padding-right: 0;
}

.portfolio-section .section-inner {
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

.portfolio-wp-slot {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.portfolio-wp-slot:not(:empty) {
  margin-bottom: 20px;
}

.portfolio-wp-slot__prototype-hint {
  margin: 0;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-jet) 40%, transparent);
}

.portfolio-wp-slot:has(.elementor-element) .portfolio-wp-slot__prototype-hint,
.portfolio-wp-slot:has(.swiper) .portfolio-wp-slot__prototype-hint {
  display: none;
}

/* ── Elementor: carrossel / loop no slot #portfolio-elementor-slot ── */
#portfolio-elementor-slot,
#portfolio-elementor-slot .elementor,
#portfolio-elementor-slot .elementor-widget-wrap,
#portfolio-elementor-slot .elementor-widget-container,
#portfolio-elementor-slot .elementor-element {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#portfolio-elementor-slot .e-con,
#portfolio-elementor-slot .e-con-inner {
  max-width: 100%;
}

#portfolio-elementor-slot .swiper,
#portfolio-elementor-slot .elementor-main-swiper,
#portfolio-elementor-slot .elementor-loop-container {
  overflow: hidden;
  max-width: 100%;
}

#portfolio-elementor-slot .swiper-wrapper {
  align-items: stretch;
}

#portfolio-elementor-slot .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

#portfolio-elementor-slot .elementor-widget-loop-carousel,
#portfolio-elementor-slot .elementor-widget-n-carousel,
#portfolio-elementor-slot .elementor-widget-media-carousel,
#portfolio-elementor-slot .elementor-widget-image-carousel {
  width: 100%;
  max-width: 100%;
}

#portfolio-elementor-slot .elementor-swiper-button,
#portfolio-elementor-slot .swiper-button-prev,
#portfolio-elementor-slot .swiper-button-next {
  color: var(--color-yellow-primary);
}

#portfolio-elementor-slot .swiper-pagination-bullet-active {
  background: var(--color-yellow-primary);
}

#portfolio-elementor-slot img {
  max-width: 100%;
  height: auto;
}

/* ── Portfolio carousel header (filtros + setas) ── */
.portfolio-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px!important;
  border-radius: 50px!important;
  font-size: 14px!important;
  font-weight: 500!important;
  background: transparent!important;
  color: var(--text-secondary)!important;
  border: 1px solid var(--border-default)!important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-yellow-primary)!important;
  color: var(--text-on-accent)!important;
  border-color: var(--color-yellow-primary)!important;
}

/* Setas do carrossel */
.portfolio-carousel-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.portfolio-carousel-nav .carousel-prev,
.portfolio-carousel-nav .carousel-next {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid var(--border-default) !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
  flex-shrink: 0;
}

.portfolio-carousel-nav .carousel-prev svg,
.portfolio-carousel-nav .carousel-next svg {
  display: block;
  flex-shrink: 0;
}

.portfolio-carousel-nav .carousel-prev:hover:not(:disabled),
.portfolio-carousel-nav .carousel-next:hover:not(:disabled) {
  background: var(--color-yellow-primary) !important;
  border-color: var(--color-yellow-primary) !important;
  color: var(--text-on-accent) !important;
}

.portfolio-carousel-nav .carousel-prev:disabled,
.portfolio-carousel-nav .carousel-next:disabled {
  opacity: 0.3 !important;
  cursor: default !important;
}

/* Viewport do carrossel — corta o track sem criar scrollbar */
.al-portfolio-wrap {
  overflow-x: clip;
}

.portfolio-carousel {
  overflow: hidden;
}

/* Track — todos os cards lado a lado */
.portfolio-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Cada card ocupa 1/3 da largura (desktop) */
.portfolio-track .portfolio-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

@media (max-width: 1024px) {
  .portfolio-track .portfolio-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 600px) {
  .portfolio-track .portfolio-card {
    flex: 0 0 100%;
  }
}

/* Dots de navegação */
.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.portfolio-dots .carousel-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--border-default) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
  display: block !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.portfolio-dots .carousel-dot.active {
  background: var(--color-yellow-primary) !important;
  transform: scale(1.3) !important;
}

/* ── Portfolio card — screenshot scroll effect ── */
.portfolio-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-jet);
  border: 1px solid var(--border-default);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 183, 0, 0.3);
}

/* Janela que recorta o screenshot */
.portfolio-card__screen {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-jet);
}

/* Screenshot (imagem alta — rola de cima para baixo no hover) */
.portfolio-card__screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  transition: transform 6s ease-in-out;
  will-change: transform;
}

.portfolio-card:hover .portfolio-card__screen img {
  transform: translateY(calc(-1 * var(--img-travel, 0px)));
}

/* Placeholder quando não há imagem */
.portfolio-card__screen .placeholder-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted, #6b6966);
  background: var(--color-jet);
}

/* Rodapé fixo do card */
.portfolio-card__footer {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-jet);
}

.portfolio-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-badge {
  display: inline-block;
  background: var(--color-yellow-primary);
  color: var(--text-on-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.portfolio-card__title {
  margin: 0;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  color: var(--text-primary, #f0ede8);
  line-height: 1.35;
}

.portfolio-card__excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted, #6b6966);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-yellow-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: 2px;
}

.portfolio-link:hover {
  gap: 10px;
}

.portfolio-cta-wrap {
  text-align: center;
  margin-top: 48px;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

.portfolio-cta-wrap p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-yellow-primary);
  color: var(--text-on-accent);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:visited {
  color: var(--text-on-accent);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 14px;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--color-jet) 0%, var(--color-olive) 100%);
}

@media (max-width: 768px) {
  .portfolio-section .section-inner,
  .portfolio-cta-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .portfolio-section .reveal,
  .portfolio-cta-wrap.reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   DIFERENCIAIS — why-diferenciais.css (consolidado)
   ═══════════════════════════════════════════════════════════════════════════ */

.prototype-why-diferenciais.why-section {
  content-visibility: visible;
  overflow: hidden;
  padding-bottom: 0 !important;
}

.prototype-why-diferenciais.section-pad {
  padding-bottom: 0;
}

.prototype-why-diferenciais .section-inner {
  overflow: visible;
}

.prototype-why-diferenciais .why-photo-wrap {
  overflow: visible;
}

.prototype-why-diferenciais .why-layout {
  overflow: visible;
  background-color: #000;
}

.prototype-why-diferenciais .why-photo-col {
  overflow: visible;
  background-color: #000;
}

@media (min-width: 769px) {
  .prototype-why-diferenciais .why-photo-col {
    overflow: visible;
  }
}

.why-section {
  background: #000;
  position: relative;
  z-index: 9;
  overflow: hidden;
  padding-bottom: 0;
}

@media (min-width: 1025px) and (max-width: 1400px) {
  .why-section {
    padding-bottom: clamp(48px, 6vw, 80px);
  }
}

.why-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-night));
  pointer-events: none;
}

.why-layout {
  display: grid;
  grid-template-columns: 1.4fr minmax(280px, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
  margin-top: 56px;
  min-height: min(640px, 70vh);
}

.why-photo-col {
  position: relative;
  min-height: min(640px, 70vh);
}

.why-photo-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
  }

  .why-photo-col {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    min-height: 420px;
  }

  .why-photo {
    inset: 0 !important;
    opacity: 1 !important;
  }

  .why-photo-block {
    opacity: 0.7 !important;
  }

  .why-section {
    padding-bottom: clamp(40px, 5vw, 60px);
  }
}

.why-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.prototype-why-diferenciais .why-photo {
  margin: 0;
  padding: 0;
  background-color: #000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  clip-path: inset(0 0 min(3.5%, 24px) 0);
  -webkit-clip-path: inset(0 0 min(3.5%, 24px) 0);
}

@media (min-width: 769px) {
  .prototype-why-diferenciais .why-layout {
    min-height: min(700px, 78vh);
  }

  .prototype-why-diferenciais .why-photo-col {
    min-height: min(680px, 74vh);
  }

  .prototype-why-diferenciais .why-photo {
    inset: auto !important;
    left: -3%;
    right: auto;
    top: clamp(-200px, -20vh, -140px);
    bottom: 0;
    width: 106%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: 50% 12%;
    will-change: transform, opacity;
  }
}

@media (min-width: 1200px) {
  .prototype-why-diferenciais .why-photo {
    left: -4%;
    width: 108%;
    top: clamp(-240px, -22vh, -180px);
    object-position: 50% 10%;
  }
}

.why-photo-block {
  position: absolute;
  aspect-ratio: 1 / 1;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
}

.why-photo-block.is-dragging {
  cursor: grabbing;
  z-index: 100;
}

.why-photo-block__inner {
  width: 100%;
  height: 100%;
  will-change: transform;
}

.why-photo-block model-viewer {
  width: 100%;
  height: 100%;
  background-color: transparent;
  --poster-color: transparent;
  --progress-bar-color: transparent;
  --progress-bar-height: 0;
}

.why-photo-block--01 { top: 8%; left: 29%; width: 17.6%; z-index: -5; opacity: 0.5; }
.why-photo-block--01 .why-photo-block__inner { --base-rotation: -18deg; animation: why-block-spin-cw 20s linear infinite; opacity: 0.5; }
.why-photo-block--02 { top: 24%; left: 6%; width: 14%; z-index: -1; }
.why-photo-block--02 .why-photo-block__inner { --base-rotation: 0deg; animation: why-block-drift 9s ease-in-out infinite; opacity: 0.5; }
.why-photo-block--03 { top: 2%; right: -2%; width: 18%; }
.why-photo-block--03 .why-photo-block__inner { --base-rotation: 10deg; animation: why-block-pendulum 4s ease-in-out infinite; opacity: 0.5; }
.why-photo-block--04 { top: 22%; right: -6%; width: 13%; }
.why-photo-block--04 .why-photo-block__inner { --base-rotation: -8deg; animation: why-block-tilt-quick 2.6s ease-in-out infinite; opacity: 0.5; }
.why-photo-block--05 { top: 41%; left: 14%; width: 18%; z-index: -1; }
.why-photo-block--05 .why-photo-block__inner { --base-rotation: 22deg; animation: why-block-bobble 7s ease-in-out infinite; opacity: 0.5; }
.why-photo-block--06 { top: 47%; right: -3%; width: 19%; z-index: -1; }
.why-photo-block--06 .why-photo-block__inner { --base-rotation: -12deg; animation: why-block-spin-ccw 24s linear infinite; opacity: 0.5; }
.why-photo-block--07 { top: 65%; left: 2%; width: 19.2%; }
.why-photo-block--07 .why-photo-block__inner { --base-rotation: 25deg; animation: why-block-spin-hesitate 14s ease-in-out infinite; opacity: 0.5; }
.why-photo-block--08 { top: 32%; right: 5%; width: 16%; }
.why-photo-block--08 .why-photo-block__inner { --base-rotation: 15deg; animation: why-block-sway-slow 8s ease-in-out infinite; opacity: 0.5; }

@keyframes why-block-spin-cw { 0% { transform: rotate(var(--base-rotation)); } 100% { transform: rotate(calc(var(--base-rotation) + 360deg)); } }
@keyframes why-block-drift { 0%, 100% { transform: rotate(calc(var(--base-rotation) - 3deg)); } 50% { transform: rotate(calc(var(--base-rotation) + 3deg)); } }
@keyframes why-block-pendulum { 0%, 100% { transform: rotate(calc(var(--base-rotation) - 14deg)); } 50% { transform: rotate(calc(var(--base-rotation) + 14deg)); } }
@keyframes why-block-tilt-quick { 0%, 100% { transform: rotate(calc(var(--base-rotation) - 5deg)); } 50% { transform: rotate(calc(var(--base-rotation) + 16deg)); } }
@keyframes why-block-bobble { 0%, 100% { transform: rotate(calc(var(--base-rotation) - 2deg)); } 50% { transform: rotate(calc(var(--base-rotation) + 2deg)); } }
@keyframes why-block-spin-ccw { 0% { transform: rotate(var(--base-rotation)); } 100% { transform: rotate(calc(var(--base-rotation) - 360deg)); } }
@keyframes why-block-spin-hesitate { 0% { transform: rotate(var(--base-rotation)); } 40% { transform: rotate(calc(var(--base-rotation) + 180deg)); } 55% { transform: rotate(calc(var(--base-rotation) + 180deg)); } 100% { transform: rotate(calc(var(--base-rotation) + 360deg)); } }
@keyframes why-block-sway-slow { 0%, 100% { transform: rotate(calc(var(--base-rotation) - 4deg)); } 50% { transform: rotate(calc(var(--base-rotation) + 6deg)); } }

.why-photo-block--02 .why-photo-block__inner,
.why-photo-block--05 .why-photo-block__inner,
.why-photo-block--08 .why-photo-block__inner {
  filter: blur(6px) saturate(0.7);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .why-photo-block { opacity: 1; }
  .why-photo-block__inner { animation: none; transform: rotate(var(--base-rotation, 0deg)); }
}

@media (max-width: 768px) {
  .why-photo-block__inner { opacity: 0.85; }
  .why-photo-wrap { position: relative !important; }
}

.why-marquee-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.differentials-marquee {
  height: min(560px, 70vh);
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.differentials-marquee__track {
  display: flex;
  flex-direction: column;
  animation: why-marquee-scroll-up 28s linear infinite;
}

.differentials-marquee__track:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .differentials-marquee__track { animation: none; }
  .differentials-marquee { height: auto; overflow: visible; }
}

@keyframes why-marquee-scroll-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.differentials-marquee__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.differentials-marquee__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(14px, 2vh, 22px) 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(68, 67, 66, 0.35);
  transition: color 0.35s ease, letter-spacing 0.35s ease;
  cursor: default;
}

.differentials-marquee__item p { width: 100%; margin: 0; text-transform: uppercase; color: inherit; }
.differentials-marquee__item:hover { color: var(--color-yellow-primary); letter-spacing: 0.03em; }

.differentials-marquee__desc {
  display: block;
  margin-top: 0.4em;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(14px, 1.85vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-transform: none;
  border: none;
  max-width: 42rem;
  color: var(--text-secondary) !important;
  -webkit-text-fill-color: var(--text-secondary) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.prototype-why-diferenciais .differentials-marquee,
.prototype-why-diferenciais .differentials-marquee__item,
.prototype-why-diferenciais .differentials-marquee__item p,
.prototype-why-diferenciais .differentials-marquee__track,
.prototype-why-diferenciais .differentials-marquee__list {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 768px) {
  .prototype-why-diferenciais .why-photo-col {
    position: relative;
    max-width: 100%;
    min-height: min(72vh, 520px);
  }

  .prototype-why-diferenciais .why-photo-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .prototype-why-diferenciais .why-photo {
    min-height: 0;
    height: 100%;
    width: 100%;
    inset: 0 !important;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: 50% 19%;
  }

  .prototype-why-diferenciais .differentials-marquee__item {
    font-size: clamp(18px, 5.5vw, 28px);
    white-space: normal;
    line-height: 1.2;
    padding: clamp(10px, 1.5vh, 16px) 0;
  }

  .prototype-why-diferenciais .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .prototype-why-diferenciais .why-photo-col { min-height: min(68vh, 480px); }
  .prototype-why-diferenciais .why-photo { object-position: 50% 20%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA, BLOG, CONTATO, FOOTER — tail-sections.css (consolidado)
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-yellow-primary);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--color-yellow-primary);
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 183, 0, 0.08);
  transform: translateY(-2px);
}

.cta-section {
  background: var(--color-yellow-primary);
  position: relative;
  z-index: 8;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 208, 0, 0.3), transparent 70%);
  pointer-events: none;
}

.cta-section .section-inner { position: relative; z-index: 1; }
.cta-section .section-title { color: var(--text-on-accent); position: relative; }
.cta-section .section-subtitle { color: rgba(15, 15, 15, 0.7); margin: 0 auto 40px; position: relative; }

.btn-cta-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-night);
  color: var(--color-yellow-primary);
  padding: 20px 48px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  position: relative;
  text-decoration: none;
}

.btn-cta-big:hover { background: var(--text-primary); color: var(--color-night); transform: translateY(-3px); }
.btn-cta-big .whatsapp-icon { animation: tail-pulse-icon 2s ease-in-out infinite; }

@keyframes tail-pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.blog-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 183, 0, 0.025) 0%, transparent 65%), var(--color-night);
  position: relative;
  z-index: 9;
  width: 100%;
  overflow-x: hidden;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--color-jet);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-default);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover { transform: translateY(-6px); border-color: rgba(255, 183, 0, 0.3); }

.blog-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.blog-card:hover .blog-card__img { transform: scale(1.04); }

.blog-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }

.blog-card__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blog-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold, #ffb700);
  text-decoration: none;
  background: rgba(255, 183, 0, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}
.blog-card__cat:hover { background: rgba(255, 183, 0, 0.2); }
.blog-card__date { font-size: 12px; color: var(--text-muted, #6b6966); }

.blog-card__title { margin: 0; font-size: clamp(16px, 2vw, 18px); font-weight: 600; line-height: 1.4; }
.blog-card__title a { color: var(--text-primary, #f0ede8); text-decoration: none; }
.blog-card__title a:hover { color: var(--color-gold, #ffb700); }

.blog-card__excerpt { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted, #6b6966); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold, #ffb700);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.blog-card__link:hover { gap: 10px; }

.blog-cta-wrap { text-align: center; margin-top: 40px; }
.blog-wp-slot { overflow-x: hidden; max-width: 100%; box-sizing: border-box; }

.contact-section {
  background-color: var(--color-night);
  position: relative;
  z-index: 10;
  overflow: hidden;
  min-height: 75vh;
  width: 100%;
  content-visibility: visible;
}

.contact-section h2 { font-size: clamp(40px, 7vw, 100px); }

.contact-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -30%; bottom: -30%;
  background-image: var(--services-city-image);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  opacity: 0.1;
  transform: translate3d(0, var(--parallax-y-contato, 0px), 0);
  will-change: transform;
  z-index: -2;
  pointer-events: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--color-night), transparent);
  pointer-events: none;
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .contact-section::before { transform: none; top: 0; bottom: 0; }
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.contact-head { width: 100%; max-width: 720px; }
.contact-head .section-label, .contact-head .section-title { display: block; }
.contact-head .section-subtitle { margin: 16px auto 0; max-width: 560px; }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 960px;
}

@media (min-width: 1280px) {
  .contact-channels { grid-template-columns: repeat(4, 1fr); max-width: 1200px; }
}

.channel-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
}

.channel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(255, 183, 0, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.channel-item:hover,
.channel-item:focus-visible,
.channel-item.is-channel-hover {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 183, 0, 0.12), 0 0 40px rgba(255, 183, 0, 0.12);
}

.channel-item:hover::before,
.channel-item:focus-visible::before,
.channel-item.is-channel-hover::before { opacity: 1; }

.channel-item:hover .channel-arrow,
.channel-item:focus-visible .channel-arrow,
.channel-item.is-channel-hover .channel-arrow { transform: translateX(4px); color: var(--color-yellow-primary); }

.channel-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 183, 0, 0.12);
  border: 1px solid rgba(255, 183, 0, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-yellow-primary);
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.channel-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; position: relative; z-index: 1; }
.channel-info strong { color: var(--text-primary); font-size: 16px; font-weight: 600; }
.channel-info span { font-size: 14px; color: var(--text-secondary); }
.channel-arrow { font-size: 20px; color: var(--text-muted); transition: transform 0.3s ease, color 0.3s ease; position: relative; z-index: 1; }

.contact-brand-mark {
  position: relative;
  width: 100%;
  margin-top: -80px;
  margin-bottom: clamp(-90px, -6vh, -48px);
  padding: 0;
  line-height: 0;
  pointer-events: none;
  transform: translate3d(0, 25%, 0);
  will-change: transform;
  opacity: 10%;
  z-index: 0;
}

.contact-brand-mark__svg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45)) drop-shadow(0 2px 18px rgba(255, 183, 0, 0.18));
}

@media (prefers-reduced-motion: reduce) { .contact-brand-mark { transform: none; } }

[data-contact-reveal] { opacity: 1 !important; transform: none !important; }
[data-contact-item] { opacity: 1 !important; }

.cta-section,
.blog-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.site-footer,
.site-footer:not(.dynamic-footer) {
  background: #000000 !important;
  background-color: #000000 !important;
  padding: 60px clamp(16px, 4vw, 48px) 24px;
  position: relative;
  z-index: 11;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(68, 67, 66, 0.3);
}

.footer-brand .logo { font-family: "Space Mono", monospace; font-size: 28px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 12px; }
.footer-brand .logo span { color: var(--color-yellow-primary); }
.footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); padding: 4px 0; transition: color 0.3s ease; text-decoration: none; }
.footer-col a:hover { color: var(--color-yellow-primary); }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted); }

@media (max-width: 1024px) {
  .cta-section .section-title { font-size: clamp(28px, 5vw, 52px); line-height: 1.1; }
  .cta-section .section-subtitle { font-size: clamp(14px, 2.5vw, 17px); margin-bottom: 28px; }
  .btn-cta-big { padding: 16px 28px; font-size: 16px; gap: 10px; }
  .contact-channels { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .contact-section { min-height: auto; padding-bottom: clamp(40px, 6vw, 80px); }
  .contact-brand-mark { margin-top: 0; margin-bottom: 0; overflow: hidden; opacity: 0.08; }
  .footer-top { gap: 28px; }
}

@media (max-width: 768px) {
  .contact-section::before { transform: none !important; will-change: auto; top: 0; bottom: 0; }
  .cta-section { padding: 60px 20px; }
  .cta-section .section-title { font-size: clamp(28px, 6vw, 40px); line-height: 1.1; word-break: break-word; hyphens: auto; }
  .cta-section .section-subtitle { font-size: 14px; margin-bottom: 24px; padding: 0 8px; }
  .btn-cta-big { display: flex; width: 100%; max-width: 340px; margin: 0 auto; padding: 16px 20px; font-size: 15px; gap: 8px; justify-content: center; box-sizing: border-box; text-align: center; }
  .blog-section { padding: 60px 20px; }
  .blog-section .reveal, .blog-section .blog-cta-wrap.reveal { opacity: 1 !important; transform: none !important; }
  .blog-section .section-title { font-size: clamp(28px, 7vw, 44px); }
  .contact-section { height: auto !important; min-height: auto; padding: 60px 20px; overflow: hidden; }
  .contact-section h2, .contact-section .section-title { font-size: clamp(32px, 7vw, 48px) !important; word-break: break-word; hyphens: auto; }
  .contact-channels { grid-template-columns: 1fr !important; max-width: 100%; gap: 12px; }
  .channel-item { padding: 16px 18px; gap: 12px; }
  .contact-brand-mark { display: none; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { font-size: 12px; padding: 16px 8px; word-break: break-word; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
