/* ==========================================================================
   Fine Mug Tech Studio — landing page
   Design tokens + layout. Vanilla CSS (sem frameworks).
   ========================================================================== */

:root {
  --ink: #0b0b0d;
  --ink-2: #14141a;
  --ink-3: #1d1d26;
  --cream: #f6f2e6;
  --cream-dim: rgba(246, 242, 230, 0.66);
  --cyan: #26c6f5;
  --yellow: #eaea16;
  --magenta: #ff2f9e;

  --grad-brand: linear-gradient(100deg, var(--cyan), var(--yellow) 55%, var(--magenta));
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --radius: 22px;

  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-pixel: "Press Start 2P", monospace;

  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  /* scroll suave via JS para evitar interferência com ScrollTrigger */
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.press {
  font-family: var(--font-pixel);
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-transform: lowercase;
}

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

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CRT scanlines overlay */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.7;
}

/* ============================ TOPBAR ==================================== */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.topbar.is-stuck {
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(246, 242, 230, 0.12);
}

.brand img {
  height: clamp(48px, 6vw, 68px);
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.brand:hover img {
  transform: rotate(-2deg) scale(1.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: var(--cream);
}

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

.nav .nav-cta {
  color: var(--ink);
  background: var(--yellow);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.9);
}

.nav .nav-cta::after {
  display: none;
}

.nav .nav-cta:hover {
  color: var(--ink);
  background: var(--cyan);
  transform: translate(-1px, -1px);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-press, "Press Start 2P", monospace);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

.lang-switcher .lang-btn {
  color: var(--cream-dim);
  text-decoration: none;
  padding: 2px 4px;
  transition: color 0.2s ease;
  font-family: inherit;
  font-size: inherit;
}

.lang-switcher .lang-btn::after {
  display: none !important;
}

.lang-switcher .lang-btn:hover {
  color: var(--cream);
}

.lang-switcher .lang-btn.is-active {
  color: var(--yellow);
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.4);
}

.lang-switcher .lang-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
  user-select: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================== HERO ==================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 110px;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.55;
  filter: saturate(1.15) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 60% at 22% 40%, rgba(38, 198, 245, 0.22), transparent 70%),
    radial-gradient(60% 60% at 85% 20%, rgba(255, 47, 158, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.72), rgba(11, 11, 13, 0.94) 70%, var(--ink));
}

.hero-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: -1;
  background-image: linear-gradient(rgba(38, 198, 245, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 198, 245, 0.16) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  opacity: 0.8;
}

.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-logo {
  width: clamp(190px, 26vw, 300px);
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7));
}

.hero-kicker {
  font-size: clamp(0.55rem, 1.5vw, 0.72rem);
  color: var(--yellow);
  margin: 0 0 14px;
  animation: blink 1.6s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero-lead {
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 640px;
  margin: 0 auto 30px;
}

.hero-lead strong {
  color: var(--cream);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--grad-brand);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(246, 242, 230, 0.35);
  color: var(--cream);
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

.btn-ghost:hover {
  background: rgba(246, 242, 230, 0.08);
  box-shadow: none;
}

.mascote-follower {
  position: fixed;
  right: clamp(-40px, 2vw, 60px);
  bottom: 60px;
  width: clamp(150px, 22vw, 300px);
  z-index: 62;
  pointer-events: none;
  transform-origin: right bottom;
}

.mascote-hero {
  width: 100%;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.6));
}

@keyframes float {
  50% {
    transform: translateY(-22px) rotate(-3deg);
  }
}

.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  font-size: 0.65rem;
  padding: 13px 0;
  z-index: 3;
}

.hero-ticker-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: slide 28s linear infinite;
}

.hero-ticker-track i {
  color: var(--magenta);
  font-style: normal;
}

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

/* ============================ SECTIONS ================================== */
section {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
}

.section-tag {
  font-size: clamp(0.55rem, 1.2vw, 0.68rem);
  color: var(--cyan);
  margin: 0 0 18px;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-lead {
  color: var(--cream-dim);
  max-width: 620px;
  margin: 0 0 34px;
}

/* Manifesto */
.manifesto {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}

.story {
  margin: 0 0 70px;
  max-width: 900px;
}

.story-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: rgba(246, 242, 230, 0.28);
}

.story-line.accent {
  color: rgba(234, 234, 22, 0.35);
}

.pillars {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pillar {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(246, 242, 230, 0.04);
  border: 1px solid rgba(246, 242, 230, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-brand);
}

.pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(38, 198, 245, 0.55);
}

.pill-num {
  font-size: 0.65rem;
  color: var(--magenta);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 12px 0 10px;
}

.pillar p {
  color: var(--cream-dim);
  margin: 0;
  font-size: 0.98rem;
}

/* Projects */
.projects {
  background: var(--ink-2);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 34px;
}

.chip {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  text-transform: lowercase;
  padding: 12px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--cream-dim);
  border: 2px solid rgba(246, 242, 230, 0.22);
  cursor: pointer;
  transition: all 0.22s ease;
}

.chip:hover {
  color: var(--cream);
  border-color: var(--cyan);
}

.chip.is-on {
  background: var(--cyan);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.card {
  position: relative;
  text-align: left;
  padding: 0;
  border: 2px solid rgba(246, 242, 230, 0.14);
  border-radius: var(--radius);
  background: var(--ink-3);
  color: var(--cream);
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translate(-4px, -6px);
  border-color: var(--ink);
  box-shadow: 10px 12px 0 rgba(38, 198, 245, 0.55);
}

.card-thumb {
  height: 170px;
  display: grid;
  place-items: center;
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.card-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-thumb-img {
  transform: scale(1.06);
}

.card-thumb.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.75) 0%, rgba(11, 11, 13, 0.1) 60%);
  pointer-events: none;
}

.card-thumb-pill {
  position: absolute;
  top: 12px;
  right: 12px !important;
  left: auto !important;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(4px);
  color: var(--cream);
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 230, 0.18);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}

.card-thumb-video-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(255, 47, 158, 0.9);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 2px 2px 0 var(--ink);
}

.card-thumb.has-pattern .card-thumb-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 11, 13, 0.3) 1.5px, transparent 1.6px);
  background-size: 10px 10px;
}

.card-body {
  padding: 22px 22px 26px;
}

.card-cat {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--yellow);
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 10px 0 8px;
}

.card-body p {
  margin: 0 0 14px;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.card-more {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--cyan);
}

.card.is-hidden {
  display: none;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  background: rgba(246, 242, 230, 0.08);
  border: 1px solid rgba(246, 242, 230, 0.16);
  color: var(--cream-dim);
}

/* Clients */
.clients {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 0;
  width: max-content;
  margin: 22px 0;
  animation: slide 38s linear infinite;
}

.marquee.reverse {
  animation-direction: reverse;
  animation-duration: 44s;
}

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

.client-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 18px;
  padding: 10px 22px 10px 12px;
  border: 2px solid rgba(246, 242, 230, 0.16);
  border-radius: 18px;
  background: rgba(246, 242, 230, 0.04);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.client-chip:hover {
  border-color: var(--cyan);
  background: rgba(38, 198, 245, 0.08);
  transform: translateY(-2px);
}

.client-logo-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  padding: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.client-chip b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 40px;
}

.stat {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 242, 230, 0.12);
  background: rgba(246, 242, 230, 0.03);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.9rem;
  color: var(--cream-dim);
}

/* History */
.history {
  background: var(--ink);
}

.timeline {
  position: relative;
  margin: 40px 0 90px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--cyan), var(--magenta));
  opacity: 0.5;
}

.tl-item {
  position: relative;
  padding: 0 0 34px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 3px rgba(234, 234, 22, 0.25);
}

.tl-item .press {
  font-size: 0.6rem;
  color: var(--cyan);
}

.tl-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 8px 0 8px;
}

.tl-item p {
  margin: 0;
  color: var(--cream-dim);
  max-width: 620px;
}

/* Faixa de Bagagem Técnica */
.history-baggage {
  margin: 10px 0 60px;
  padding: 22px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.history-baggage-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin: 0 0 16px;
}

.baggage-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.history-baggage-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.baggage-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(246, 242, 230, 0.04);
  border: 1px solid rgba(246, 242, 230, 0.1);
  color: #a8a59e;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
  filter: grayscale(1);
  opacity: 0.85;
}

.baggage-pill:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: rgba(38, 198, 245, 0.4);
  background: rgba(38, 198, 245, 0.08);
  color: var(--cream);
  transform: translateY(-2px);
}

.baggage-pill small {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

.baggage-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 2px;
  box-sizing: border-box;
}

.baggage-logo-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.founder {
  display: grid;
  gap: 40px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  padding: 40px;
  border-radius: 32px;
  border: 2px solid rgba(246, 242, 230, 0.14);
  background: radial-gradient(80% 120% at 10% 0%, rgba(38, 198, 245, 0.14), transparent 60%),
    var(--ink-2);
}

.founder-art {
  display: grid;
  place-items: center;
}

.founder-art img {
  width: min(320px, 90%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(38, 198, 245, 0.2);
  animation: float 6s ease-in-out infinite;
}

.founder-tag {
  font-size: 0.6rem;
  color: var(--magenta);
  margin: 0;
}

.founder-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 10px 0 16px;
  line-height: 1.1;
}

.founder-copy p {
  color: var(--cream-dim);
  margin: 0 0 14px;
}

.founder-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(38, 198, 245, 0.08);
  border: 1px solid rgba(38, 198, 245, 0.35);
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.22s ease;
}

.founder-linkedin-link:hover {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(38, 198, 245, 0.45), 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.founder-linkedin-icon {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.founder-linkedin-arrow {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.22s ease;
}

.founder-linkedin-link:hover .founder-linkedin-arrow {
  transform: translate(2px, -2px);
}

/* ============================ CONTACT / WORLD OPERATIONS ============================ */
.contact {
  padding: 32px 0 54px;
  background: radial-gradient(80% 60% at 50% 10%, rgba(38, 198, 245, 0.08), transparent 70%),
    radial-gradient(60% 50% at 50% 90%, rgba(255, 47, 158, 0.05), transparent 70%),
    var(--ink-2);
  color: var(--cream);
  text-align: left;
  overflow: hidden;
  position: relative;
}

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

.contact-header {
  max-width: 760px;
  margin: 0 0 24px;
  text-align: left;
}

.contact .section-tag {
  color: var(--cyan);
  margin-bottom: 12px;
}

.contact .h2 {
  margin-bottom: 14px;
}

.contact .section-lead {
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 640px;
  margin: 0;
}

/* World Terminal */
.world-terminal {
  background: #080a0f;
  border: 1px solid rgba(38, 198, 245, 0.28);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(38, 198, 245, 0.1);
  margin: 0 auto 36px;
  position: relative;
}

.terminal-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(14, 18, 26, 0.95);
  border-bottom: 1px solid rgba(38, 198, 245, 0.2);
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-live-dot {
  width: 9px;
  height: 9px;
  background: #26c6f5;
  border-radius: 50%;
  box-shadow: 0 0 10px #26c6f5;
  animation: pulseLive 1.8s ease-in-out infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

.hud-title {
  font-size: 0.64rem;
  color: var(--cream);
  letter-spacing: 0.06em;
}

.hud-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hud-coords {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.62rem;
}

.hud-tag {
  color: var(--cream-dim);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.hud-val {
  color: var(--cyan);
}

.hud-utc {
  color: var(--yellow);
  background: rgba(234, 234, 22, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(234, 234, 22, 0.3);
}

.terminal-map-wrapper {
  position: relative;
  width: 100%;
  background: #080a0e;
  line-height: 0;
}

.world-map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.world-land {
  transition: fill 0.3s ease;
}

.solar-night-shade {
  fill: rgba(4, 6, 12, 0.74);
  pointer-events: none;
}

.solar-twilight-line {
  fill: none;
  stroke: rgba(255, 47, 158, 0.8);
  stroke-width: 2.2;
  pointer-events: none;
}

/* Pins on map */
.map-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-pin:hover {
  filter: brightness(1.25);
}

.map-pin .pin-core {
  filter: drop-shadow(0 0 6px rgba(38, 198, 245, 0.9));
}

.map-pin.is-hq .pin-core {
  filter: drop-shadow(0 0 10px rgba(234, 234, 22, 1));
}

.pin-pulse-ring {
  fill: none;
  stroke: rgba(38, 198, 245, 0.85);
  stroke-width: 1.6;
  transform-origin: center;
  animation: mapRadarPulse 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.pin-pulse-ring-2 {
  fill: none;
  stroke: rgba(255, 47, 158, 0.65);
  stroke-width: 1.2;
  transform-origin: center;
  animation: mapRadarPulse 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 0.75s;
}

@keyframes mapRadarPulse {
  0% { r: 5px; opacity: 1; }
  100% { r: 34px; opacity: 0; }
}

.pin-label-bg {
  fill: rgba(11, 13, 19, 0.9);
  stroke: rgba(38, 198, 245, 0.4);
  stroke-width: 0.8;
}

.pin-label-bg.is-hq-bg {
  fill: rgba(11, 13, 19, 0.95);
  stroke: var(--yellow);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 8px rgba(234, 234, 22, 0.3));
}

.pin-label-text {
  font-family: var(--font-pixel);
  font-size: 5px;
  fill: var(--cream);
  letter-spacing: 0.02em;
}

.pin-label-text.is-hq-text {
  fill: var(--yellow);
  font-size: 5.6px;
  font-weight: bold;
}

.terminal-hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(14, 18, 26, 0.9);
  border-top: 1px solid rgba(38, 198, 245, 0.15);
  font-size: 0.64rem;
  color: var(--cream-dim);
}

.coord-badge {
  color: rgba(246, 242, 230, 0.5);
  font-size: 0.58rem;
}

.coord-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.coord-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -1px;
}

.legend-sun {
  background: #26c6f5;
  box-shadow: 0 0 6px #26c6f5;
}

.legend-twilight {
  background: #ff2f9e;
  box-shadow: 0 0 6px #ff2f9e;
}

.legend-night {
  background: #080a0e;
  border: 1px solid rgba(246, 242, 230, 0.3);
}

/* World Clocks Deck */
.world-clocks-deck {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  margin: 0 auto 22px;
  padding: 0;
  overflow: visible;
}

.world-clock-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 136px;
  background: rgba(18, 20, 27, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 242, 230, 0.12);
  border-radius: 18px;
  padding: 14px 6px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  position: relative;
}

.world-clock-card:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 198, 245, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(38, 198, 245, 0.25);
}

/* São Paulo HQ Highlighted */
.world-clock-card.is-hq {
  flex: 1.25 1 0;
  max-width: 164px;
  background: #10141e;
  border: 2px solid var(--yellow);
  border-radius: 20px;
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 28px rgba(234, 234, 22, 0.32), inset 0 0 24px rgba(234, 234, 22, 0.06);
}

.world-clock-card.is-hq:hover {
  transform: translateY(-10px);
  border-color: #ffff4d;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.85), 0 0 36px rgba(234, 234, 22, 0.45);
}

.clock-hq-badge {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(234, 234, 22, 0.12);
  border: 1px solid rgba(234, 234, 22, 0.35);
  border-radius: 4px;
  padding: 2px 7px;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-shadow: 0 0 8px rgba(234, 234, 22, 0.6);
}

.clock-dial-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto;
}

.world-clock-card.is-hq .clock-dial-wrap {
  width: 96px;
  height: 96px;
}

.clock-dial-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dial-bezel {
  fill: none;
  stroke: rgba(246, 242, 230, 0.18);
  stroke-width: 2.5;
}

.world-clock-card.is-hq .dial-bezel {
  stroke: rgba(234, 234, 22, 0.7);
  stroke-width: 3;
}

.dial-face {
  fill: #0b0e14;
}

.dial-daynight-icon {
  font-size: 13px;
  user-select: none;
}

.world-clock-card.is-hq .dial-daynight-icon {
  font-size: 15px;
}

.clock-hand {
  stroke-linecap: round;
}

.hand-hour {
  stroke: #ffffff;
  stroke-width: 3.5;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.85));
}

.hand-minute {
  stroke: var(--cyan);
  stroke-width: 2.6;
  filter: drop-shadow(0 0 4px rgba(38, 198, 245, 0.8));
}

.hand-second {
  stroke: var(--magenta);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 3px rgba(255, 47, 158, 0.8));
}

.world-clock-card.is-hq .hand-second {
  stroke: var(--yellow);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 5px rgba(234, 234, 22, 0.95));
}

.dial-center-cap {
  fill: var(--yellow);
  stroke: #0b0e14;
  stroke-width: 1.5;
}

.clock-meta {
  margin-top: 10px;
}

.clock-city-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--cream);
}

.world-clock-card.is-hq .clock-city-title {
  font-size: 0.98rem;
  color: var(--yellow);
}

.clock-digital-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.clock-time-num {
  font-family: var(--font-pixel);
  font-size: 0.66rem;
  color: var(--cream);
}

.world-clock-card.is-hq .clock-time-num {
  font-size: 0.76rem;
  color: var(--cream);
}

.clock-tz-code {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(38, 198, 245, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Terminal Contact Overlay (Bottom-Left Open Ocean) */
.terminal-contact-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  line-height: normal;
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(38, 198, 245, 0.35);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(38, 198, 245, 0.12);
  max-width: 360px;
  text-align: left;
  pointer-events: auto;
}

.overlay-address-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.overlay-pin-icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(38, 198, 245, 0.75));
  flex-shrink: 0;
  margin-top: 1px;
}

.overlay-address {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 0;
}

.terminal-contact-overlay .btn-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(38, 198, 245, 0.35);
  cursor: pointer;
}

/* Responsive (No Lateral Scroll) */
@media (max-width: 860px) {
  .world-clocks-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 24px;
  }

  .world-clock-card {
    max-width: none;
  }

  .world-clock-card.is-hq {
    grid-column: 1 / -1;
    max-width: none;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 12px 20px;
    text-align: left;
  }

  .world-clock-card.is-hq .clock-dial-wrap {
    width: 76px;
    height: 76px;
    margin: 0;
  }

  .world-clock-card.is-hq .clock-meta {
    margin-top: 0;
  }

  .world-clock-card.is-hq .clock-digital-box {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .terminal-contact-overlay {
    position: static;
    max-width: 100%;
    margin: 14px 12px 14px;
    border-radius: 12px;
    align-items: center;
    text-align: center;
  }

  .overlay-address-box {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 310px;
    margin: 0 auto;
  }

  .terminal-hud-top,
  .terminal-hud-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .world-clocks-deck {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .world-clock-card {
    padding: 8px 4px 10px;
    border-radius: 14px;
  }

  .clock-dial-wrap {
    width: 56px;
    height: 56px;
  }

  .clock-city-title {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .clock-time-num {
    font-size: 0.58rem;
  }

  .clock-tz-code {
    font-size: 0.55rem;
    padding: 1px 3px;
  }

  .world-clock-card.is-hq {
    padding: 10px 14px;
    gap: 12px;
  }

  .world-clock-card.is-hq .clock-dial-wrap {
    width: 64px;
    height: 64px;
  }
}

.contact .btn-primary {
  background: var(--grad-brand);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.contact address {
  margin: 0 auto 30px;
  color: var(--cream);
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--ink);
  border-top: 1px solid rgba(246, 242, 230, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer img {
  height: 82px;
  width: auto;
}

.footer-legal {
  text-align: right;
}

.footer-legal p {
  font-size: 0.7rem;
  color: var(--cream-dim);
  margin: 2px 0;
}

.footer-legal p:first-child {
  color: var(--cream);
  font-weight: 700;
}

/* ============================== MODAL =================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.modal-card {
  position: relative;
  width: min(840px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  border-radius: 26px;
  border: 2px solid var(--cream);
  background: var(--ink-2);
  box-shadow: var(--shadow-soft);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  background: var(--magenta);
  color: var(--cream);
  transform: scale(1.08);
}

.modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #000;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carrossel de Mídia 16:9 */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  user-select: none;
}

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

.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
  outline: none;
}

/* Controles de Navegação */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(246, 242, 230, 0.28);
  color: var(--cream);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.carousel-nav:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 16px rgba(234, 234, 22, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

/* Rodapé do Carrossel (Paginação e Contador) */
.carousel-footer-bar {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 5;
}

.carousel-counter {
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  color: var(--ink);
  background: var(--yellow);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.05em;
  pointer-events: auto;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 230, 0.15);
  pointer-events: auto;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(246, 242, 230, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dot:hover {
  background: var(--cyan);
  transform: scale(1.2);
}

.carousel-dot.is-active {
  background: var(--cyan);
  width: 22px;
  border-radius: 999px;
  box-shadow: 0 0 10px var(--cyan);
}

/* Fallback para projetos sem mídia */
.modal-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  text-align: center;
}

.modal-media-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 242, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 230, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.modal-media-fallback .fallback-badge {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  color: var(--ink);
  background: var(--yellow);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  position: relative;
  z-index: 1;
}

.modal-media-fallback .fallback-hint {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(246, 242, 230, 0.85);
  max-width: 420px;
  position: relative;
  z-index: 1;
}

/* Links e Ações Externas na Modal */
.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modal-link-btn.is-appstore {
  background: #1e1e24;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.modal-link-btn.is-appstore:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.modal-link-btn.is-web {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.modal-link-btn.is-web:hover {
  background: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.modal-link-btn.is-social {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.modal-link-btn.is-social:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.modal-link-btn.is-contact {
  background: var(--magenta);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.modal-link-btn.is-contact:hover {
  background: #ff5eb3;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.modal-link-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.modal-link-btn .link-arrow {
  font-size: 0.95rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.modal-link-btn:hover .link-arrow {
  transform: translate(2px, -2px);
}

.modal-body {
  padding: 28px clamp(22px, 4vw, 40px) 38px;
}

.modal-kicker {
  font-size: 0.58rem;
  color: var(--yellow);
  margin: 0;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  margin: 10px 0 14px;
  line-height: 1.08;
}

.modal-desc {
  color: var(--cream-dim);
  margin: 0 0 22px;
}

.modal-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}

.modal-facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px dashed rgba(246, 242, 230, 0.16);
  padding-bottom: 10px;
  font-size: 0.95rem;
}

.modal-facts b {
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  color: var(--cyan);
  min-width: 92px;
}

.contact-card {
  width: min(680px, 100%);
  border-color: var(--cyan);
}

.contact-form-head {
  padding: 34px clamp(22px, 5vw, 42px) 12px;
}

.contact-form-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05;
  margin: 8px 0 10px;
}

.contact-form-head > p:last-child {
  color: var(--cream-dim);
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 18px clamp(22px, 5vw, 42px) 38px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--cream);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 242, 230, 0.22);
  border-radius: 8px;
  background: var(--ink-3);
  color: var(--cream);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(38, 198, 245, 0.15);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
  cursor: pointer;
  font: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-feedback {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInFeedback 0.3s ease forwards;
}

.contact-feedback.is-success {
  background: rgba(46, 213, 115, 0.12);
  border: 1px solid rgba(46, 213, 115, 0.4);
  color: #2ed573;
}

.contact-feedback.is-error {
  background: rgba(255, 47, 158, 0.12);
  border: 1px solid rgba(255, 47, 158, 0.4);
  color: #ff6baf;
}

@keyframes fadeInFeedback {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================ RESPONSIVO ================================ */
@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 96px 26px 26px;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(14px);
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid rgba(246, 242, 230, 0.14);
  }

  .nav a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--cream);
    padding: 10px 0;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav .nav-cta {
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 1rem;
  }

  .nav .lang-switcher {
    margin-top: 14px;
    margin-left: 0;
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .nav .lang-switcher .lang-btn {
    font-size: 0.75rem;
    padding: 4px 6px;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .mascote-follower {
    opacity: 0.78;
    bottom: 90px;
    right: 10px;
    width: clamp(110px, 28vw, 150px);
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-legal {
    width: 100%;
    text-align: center;
  }
}

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

  .contact {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
