/* =========================================
   TIPOGRAFIA OFICIAL KORE — ATYP BL
   Para carregar os arquivos da fonte em dispositivos externos (celular/visitantes),
   coloque os arquivos (.woff2, .ttf ou .otf) na pasta /fonts e descomente o url() correspondente.
   ========================================= */
@font-face {
  font-family: 'Atyp BL';
  src:
    local('Atyp BL Regular'),
    local('AtypBL-Regular'),
    local('Atyp BL Text Regular'),
    local('AtypBLText-Regular'),
    local('Atyp BL');
    /* , url('fonts/AtypBL-Regular.woff2') format('woff2') */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atyp BL';
  src:
    local('Atyp BL Medium'),
    local('AtypBL-Medium'),
    local('Atyp BL Text Medium'),
    local('AtypBLText-Medium');
    /* , url('fonts/AtypBL-Medium.woff2') format('woff2') */
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atyp BL';
  src:
    local('Atyp BL Semibold'),
    local('AtypBL-Semibold'),
    local('Atyp BL SemiBold'),
    local('AtypBL-SemiBold'),
    local('Atyp BL Text Semibold'),
    local('AtypBLText-Semibold');
    /* , url('fonts/AtypBL-Semibold.woff2') format('woff2') */
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atyp BL';
  src:
    local('Atyp BL Bold'),
    local('AtypBL-Bold'),
    local('Atyp BL Display Bold'),
    local('AtypBLDisplay-Bold'),
    local('Atyp BL Text Bold'),
    local('AtypBLText-Bold');
    /* , url('fonts/AtypBL-Bold.woff2') format('woff2') */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atyp BL';
  src:
    local('Atyp BL ExtraBold'),
    local('AtypBL-ExtraBold'),
    local('Atyp BL Extrabold'),
    local('AtypBL-Extrabold'),
    local('Atyp BL Display Bold'),
    local('AtypBLDisplay-Bold'),
    local('Atyp BL Black'),
    local('AtypBL-Black');
    /* , url('fonts/AtypBL-ExtraBold.woff2') format('woff2') */
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-light: #ededed;
  --bg-white: #ededed;
  --surface-card: rgba(255, 255, 255, 0.46);
  --ink: #2f3030;
  --ink-soft: rgba(47, 48, 48, 0.78);
  --ink-muted: rgba(47, 48, 48, 0.62);
  --blue: #295cfd;
  --blue-dark: #1e4bd8;
  --blue-soft: rgba(41, 92, 253, 0.1);
  --border-light: rgba(47, 48, 48, 0.12);
  --font-sans: 'Atyp BL', 'Atyp BL Text', 'Atyp BL Variable', 'atyp-bl-variable', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Atyp BL Display', 'Atyp BL', 'Atyp BL Variable', 'atyp-bl-variable', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg-light);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg-light);
  color: var(--ink);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  line-height: 1.5;
}

::selection {
  background: var(--blue);
  color: var(--bg-white);
}

a,
button {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(18px, calc(clamp(18px, 4vw, 32px) + var(--safe-left)));
  padding-right: max(18px, calc(clamp(18px, 4vw, 32px) + var(--safe-right)));
}

/* =========================================
   HEADER FIXO GLASSMORPHISM (TODOS OS DISPOSITIVOS)
   ========================================= */
.header {
  position: fixed;
  top: max(12px, calc(var(--safe-top) + 8px));
  left: 0;
  width: 100%;
  z-index: 100;
  padding-left: max(12px, var(--safe-left));
  padding-right: max(12px, var(--safe-right));
  pointer-events: none;
  transition: transform 0.3s ease;
}

.header-inner {
  pointer-events: auto;
  max-width: 1200px;
  min-height: 70px;
  background: rgba(237, 237, 237, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(47, 48, 48, 0.1);
  border-radius: 999px;
  padding: 8px 12px 8px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 32px -12px rgba(47, 48, 48, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled .header-inner {
  background: rgba(237, 237, 237, 0.94);
  border-color: rgba(47, 48, 48, 0.16);
  box-shadow: 0 16px 38px -12px rgba(47, 48, 48, 0.18);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.logo-img {
  height: clamp(46px, 5.2vw, 56px);
  width: auto;
  object-fit: contain;
}

.footer .logo-img {
  height: clamp(58px, 6.5vw, 72px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-nav {
  background: var(--ink);
  color: var(--bg-white);
  font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  font-weight: 600;
  padding: 11px clamp(16px, 2.5vw, 22px);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* =========================================
   HERO SECTION (RESPONSIVO MOBILE / iOS / TABLET / DESKTOP)
   ========================================= */
.hero {
  position: relative;
  min-height: 540px;
  min-height: calc(93vh - 16px);
  min-height: calc(93svh - 16px);
  margin: clamp(8px, 1.2vw, 14px);
  border-radius: clamp(20px, 2.5vw, 28px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(116px, 15vh, 160px) 0 clamp(76px, 11vh, 110px);
  background: var(--ink);
  color: var(--bg-white);
  box-shadow: 0 24px 48px -20px rgba(47, 48, 48, 0.24);
  transform: translateZ(0);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: hue-rotate(10deg) saturate(1.2) contrast(1.08);
  pointer-events: none;
  transform: scale(1.02);
  transition: transform 0.6s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(47, 48, 48, 0.92) 0%, rgba(47, 48, 48, 0.66) 52%, rgba(47, 48, 48, 0.36) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.8vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: clamp(28px, 4.5vw, 42px);
  word-wrap: break-word;
}

.hero-title em {
  display: inline-block;
  font-family: inherit;
  font-weight: 800;
  font-style: normal;
  color: var(--blue);
  letter-spacing: -0.04em;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--blue);
  color: var(--bg-white);
  font-size: clamp(0.94rem, 1.4vw, 1rem);
  font-weight: 700;
  padding: 18px 32px;
  min-height: 54px;
  border-radius: 999px;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-primary svg,
.btn-cta-white svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  min-height: 54px;
  border-radius: 999px;
  font-size: clamp(0.92rem, 1.4vw, 0.96rem);
  font-weight: 600;
  color: var(--bg-white);
  text-align: center;
  background: rgba(237, 237, 237, 0.09);
  border: 1px solid rgba(237, 237, 237, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* =========================================
   SEÇÃO DE PROJETOS SOB MEDIDA (GRID UNIVERSAL)
   ========================================= */
.section-works {
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 90px);
}

.section-intro {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-intro.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 10px;
}

.section-heading span {
  color: var(--blue);
}

.section-lead {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: var(--ink-soft);
  max-width: 54ch;
}

/* Grid que nunca estoura em telas de 320px e se adapta a 1, 2 ou mais cards */
.works-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 3.5vw, 36px);
}

.works-showcase:has(> :only-child) {
  max-width: 740px;
}

.showcase-card {
  position: relative;
  background: var(--surface-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: clamp(18px, 2.2vw, 24px);
  padding: clamp(12px, 1.6vw, 16px);
  box-shadow: 0 20px 44px -18px rgba(47, 48, 48, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.showcase-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  max-height: 420px;
  border-radius: clamp(12px, 1.5vw, 16px);
  overflow: hidden;
  background: var(--ink);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mockup de Landing Page sobre a foto real */
.lp-preview-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 48, 48, 0.58) 0%, rgba(47, 48, 48, 0.16) 45%, rgba(47, 48, 48, 0.92) 100%);
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2.8vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  color: var(--bg-white);
}

.lp-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: clamp(0.68rem, 1.1vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lp-cta-mini {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(237, 237, 237, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: clamp(0.68rem, 1.1vw, 0.74rem);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lp-cta-mini.blue {
  background: var(--blue);
}

.lp-kicker {
  display: inline-block;
  font-size: clamp(0.64rem, 1vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #688eff;
  margin-bottom: 4px;
}

.lp-frame-bottom h4 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  max-width: 26ch;
}

.showcase-footer {
  padding: clamp(16px, 2vw, 22px) 8px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.showcase-sub {
  font-size: clamp(0.84rem, 1.2vw, 0.9rem);
  color: var(--ink-muted);
}

.tech-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

/* =========================================
   CONTATO FINAL (BANNER DE ALTO IMPACTO)
   ========================================= */
.section-cta {
  padding: clamp(16px, 3vw, 28px) 0 clamp(72px, 9vw, 110px);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  background: var(--ink);
  color: var(--bg-white);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(44px, 7vw, 84px) clamp(24px, 6vw, 68px);
  box-shadow: 0 24px 48px -20px rgba(47, 48, 48, 0.2);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta-brand-mark {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(160px, 19vw, 236px);
  aspect-ratio: 324 / 377;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: clamp(0px, 1.5vw, 20px);
}

.cta-hex-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(237, 237, 237, 0.12);
  pointer-events: none;
  transition: color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-logo-symbol {
  width: 74%;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.06;
  margin-bottom: clamp(16px, 2.5vw, 22px);
}

.cta-heading em {
  font-family: inherit;
  font-weight: 800;
  font-style: normal;
  color: var(--blue);
}

.cta-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(237, 237, 237, 0.85);
  margin-bottom: clamp(28px, 4vw, 38px);
  max-width: 52ch;
}

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

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-white);
  color: var(--ink);
  font-size: clamp(0.95rem, 1.4vw, 1.02rem);
  font-weight: 800;
  padding: 19px 34px;
  min-height: 56px;
  border-radius: 999px;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cta-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  min-height: 56px;
  border-radius: 999px;
  font-size: clamp(0.92rem, 1.4vw, 0.98rem);
  font-weight: 700;
  color: var(--bg-white);
  background: rgba(237, 237, 237, 0.09);
  border: 1px solid rgba(237, 237, 237, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* =========================================
   SCROLL REVEAL SUAVE & ACESSIBILIDADE
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================
   FOOTER ESTRUTURADO & MINIMALISTA (COM SAFE AREA iOS)
   ========================================= */
.footer {
  padding-top: clamp(44px, 6vw, 64px);
  padding-bottom: max(40px, calc(28px + var(--safe-bottom)));
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.35);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: clamp(28px, 4vw, 40px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-tagline {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 22px;
  border-left: 1px solid var(--border-light);
}

.footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(47, 48, 48, 0.05);
  border: 1px solid rgba(47, 48, 48, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(47, 48, 48, 0.05);
  border: 1px solid rgba(47, 48, 48, 0.1);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.status-dot-footer {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(41, 92, 253, 0.18);
}

/* =========================================
   INTERAÇÕES DE HOVER (APENAS DISPOSITIVOS COM MOUSE)
   ========================================= */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--blue);
  }

  .nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .btn-nav:hover {
    background: var(--blue);
    transform: translateY(-1px);
  }

  .btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
  }

  .btn-primary:hover svg,
  .btn-cta-white:hover svg {
    transform: translate(2px, -2px);
  }

  .btn-secondary:hover {
    background: rgba(237, 237, 237, 0.16);
    border-color: rgba(237, 237, 237, 0.32);
    transform: translateY(-1px);
  }

  .showcase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 48, 48, 0.22);
    box-shadow: 0 24px 48px -20px rgba(47, 48, 48, 0.14);
  }

  .showcase-card:hover .showcase-media img {
    transform: scale(1.05);
  }

  .showcase-card:hover .lp-cta-mini {
    background: var(--blue);
    transform: scale(1.04);
  }

  .btn-cta-white:hover {
    background: var(--blue);
    color: var(--bg-white);
    transform: translateY(-2px);
  }

  .cta-banner:hover .cta-hex-ring {
    color: rgba(41, 92, 253, 0.48);
    transform: scale(1.03);
  }

  .cta-banner:hover .cta-logo-symbol {
    transform: scale(1.04);
  }

  .btn-cta-insta:hover {
    background: rgba(237, 237, 237, 0.18);
    border-color: rgba(237, 237, 237, 0.36);
    transform: translateY(-2px);
  }

  .footer-pill:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--bg-white);
    transform: translateY(-2px);
  }

  .footer-top-btn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg-white);
    transform: translateY(-2px);
  }
}

/* =========================================
   DISPOSITIVOS TOUCH (iOS / ANDROID / TABLETS)
   ========================================= */
@media (hover: none), (pointer: coarse) {
  .lp-cta-mini {
    background: var(--blue);
  }

  .btn-primary:active,
  .btn-secondary:active,
  .btn-nav:active,
  .btn-cta-white:active,
  .btn-cta-insta:active,
  .footer-pill:active,
  .footer-top-btn:active,
  .showcase-card:active {
    transform: scale(0.985);
  }
}

/* =========================================
   BREAKPOINTS: TABLETS (iPad Mini / Air / Pro: <= 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .hero {
    min-height: 84vh;
    min-height: 84svh;
  }

  .works-showcase:has(> :only-child) {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .cta-banner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 22px;
  }

  .cta-brand-mark {
    width: 56px;
    margin-right: 0;
  }

  .cta-hex-ring {
    display: none;
  }

  .cta-logo-symbol {
    width: 100%;
  }
}

/* =========================================
   BREAKPOINTS: MOBILE & PHONES (iPhone / Android: <= 680px)
   ========================================= */
@media (max-width: 680px) {
  .header-inner {
    min-height: 56px;
    padding: 6px 8px 6px 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .nav a[href="#contato"] {
    display: none;
  }

  .btn-nav {
    padding: 9px 15px;
    min-height: 40px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 86vh;
    min-height: 86svh;
    padding: 112px 0 68px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(47, 48, 48, 0.78) 0%, rgba(47, 48, 48, 0.68) 50%, rgba(47, 48, 48, 0.9) 100%);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-cta-white,
  .btn-cta-insta {
    width: 100%;
    padding: 16px 24px;
  }

  .showcase-media {
    aspect-ratio: 4 / 3;
    min-height: 230px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-tagline {
    padding-left: 0;
    border-left: none;
  }

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

/* =========================================
   BREAKPOINTS: TELAS ULTRA PEQUENAS (iPhone SE / Fold: <= 380px)
   ========================================= */
@media (max-width: 380px) {
  .nav {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .showcase-media {
    min-height: 205px;
  }

  .lp-frame-top span:first-child {
    font-size: 0.62rem;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* =========================================
   BREAKPOINTS: CELULAR NA HORIZONTAL (LANDSCAPE)
   ========================================= */
@media (max-height: 540px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 96px 0 48px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 5vw, 3rem);
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
    min-height: 46px;
    padding: 12px 22px;
  }
}

/* =========================================
   BREAKPOINTS: TELAS ULTRA-WIDE (>= 1600px)
   ========================================= */
@media (min-width: 1600px) {
  .container {
    max-width: 1360px;
  }

  .header-inner {
    max-width: 1320px;
  }
}
