:root {
  --bg: #020817;
  --bg-soft: #06142f;
  --surface: rgba(8, 25, 55, 0.72);
  --surface-strong: rgba(12, 34, 76, 0.88);
  --line: rgba(99, 210, 255, 0.24);
  --text: #f6fbff;
  --muted: #adc4d8;
  --cyan: #23d7ff;
  --blue: #1467ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 115, 255, 0.22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(35, 215, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 80% 0%, rgba(20, 103, 255, 0.2), transparent 28rem),
    linear-gradient(180deg, #020817 0%, #06142f 48%, #020817 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(2, 8, 23, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  filter: drop-shadow(0 0 14px rgba(35, 215, 255, 0.5));
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--white);
  background: rgba(35, 215, 255, 0.1);
  outline: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px 0 76px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.tech-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(35, 215, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 215, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.hero-orbit {
  position: absolute;
  width: min(56vw, 680px);
  aspect-ratio: 1;
  right: -8vw;
  top: 16vh;
  border: 1px solid rgba(35, 215, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(35, 215, 255, 0.12);
  animation: rotate-slow 24s linear infinite;
}

.hero-orbit span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

.hero-orbit span:nth-child(1) {
  top: 16%;
  left: 18%;
}

.hero-orbit span:nth-child(2) {
  right: 8%;
  top: 52%;
}

.hero-orbit span:nth-child(3) {
  left: 46%;
  bottom: 4%;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 56px;
  align-items: center;
}

.hero-logo {
  width: min(420px, 100%);
  margin-bottom: 34px;
  filter: drop-shadow(0 0 34px rgba(35, 215, 255, 0.32));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text,
.section-copy,
.about-text p,
.project-card p,
.advantage-item p {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: 1.12rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  color: #001426;
  background: linear-gradient(135deg, var(--cyan), #ffffff 52%, #59a9ff);
  box-shadow: 0 16px 40px rgba(35, 215, 255, 0.25);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(35, 215, 255, 0.38);
  outline: 0;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.signal-card,
.project-card,
.advantage-item,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(4, 15, 34, 0.8));
  box-shadow: var(--shadow);
}

.signal-card {
  min-height: 132px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.signal-card span {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(35, 215, 255, 0.4);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 800;
  box-shadow: inset 0 0 20px rgba(35, 215, 255, 0.16);
}

.signal-card strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.section {
  padding: 104px 0;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

.about {
  background: linear-gradient(180deg, rgba(3, 12, 30, 0.5), rgba(8, 25, 55, 0.58));
}

.about-text {
  padding-top: 34px;
  font-size: 1.05rem;
}

.projects {
  position: relative;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 412px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 215, 255, 0.58);
  background: linear-gradient(145deg, rgba(35, 215, 255, 0.12), rgba(4, 15, 34, 0.86));
}

.project-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
}

.project-card p {
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(35, 215, 255, 0.1);
  border: 1px solid rgba(35, 215, 255, 0.24);
  font-size: 0.88rem;
  font-weight: 700;
}

.advantages {
  background:
    linear-gradient(180deg, rgba(3, 12, 30, 0.74), rgba(2, 8, 23, 0.9)),
    repeating-linear-gradient(135deg, rgba(35, 215, 255, 0.08) 0 1px, transparent 1px 18px);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.advantage-item {
  min-height: 220px;
  padding: 22px;
}

.advantage-item span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-weight: 800;
}

.contact-layout {
  align-items: center;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease;
}

.social-button:hover,
.social-button:focus-visible {
  border-color: rgba(35, 215, 255, 0.58);
  background: rgba(35, 215, 255, 0.12);
  outline: 0;
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(173, 196, 216, 0.22);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(1, 7, 19, 0.72);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(35, 215, 255, 0.15);
  outline: 0;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--cyan);
  font-weight: 700;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  color: var(--muted);
  background: #020817;
  text-align: center;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

@media (max-width: 1020px) {
  .hero-content,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signal-card {
    min-height: 160px;
    flex-direction: column;
    align-items: flex-start;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-text {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .navbar {
    width: min(100% - 24px, 1180px);
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 8, 23, 0.96);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu a {
    width: 100%;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand span {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 64px;
  }

  .hero-logo {
    width: min(330px, 100%);
  }

  .hero-panel,
  .project-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .signal-card {
    min-height: 118px;
    flex-direction: row;
    align-items: center;
  }

  .section {
    padding: 72px 0;
  }

  .project-card {
    min-height: auto;
  }

  .project-card img {
    max-height: 260px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Efeitos de destaque (v2) ===== */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  z-index: 50;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--blue), var(--cyan), #c64bff);
  box-shadow: 0 0 14px var(--cyan);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.grad-text {
  background: linear-gradient(100deg, var(--cyan) 0%, #ffffff 30%, #59a9ff 55%, #c64bff 80%, var(--cyan) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 7s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(35, 215, 255, 0.35));
}

@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.primary-button {
  position: relative;
  overflow: hidden;
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s ease-in-out infinite;
}

@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(20, 103, 255, 0.14), rgba(35, 215, 255, 0.08), rgba(198, 75, 255, 0.12));
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(246, 251, 255, 0.82);
  white-space: nowrap;
}

.marquee-track span:nth-child(even) {
  color: var(--cyan);
}

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

/* Cartões com brilho que segue o mouse */
.glow-card {
  position: relative;
  isolation: isolate;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 260ms ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(35, 215, 255, 0.18), transparent 60%);
}

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

/* Projeto em destaque */
.project-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 22px;
  padding: 34px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 103, 255, 0.16), rgba(4, 15, 34, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.project-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 60%, var(--cyan) 75%, #c64bff 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 5s linear infinite;
  pointer-events: none;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-border {
  to { --angle: 360deg; }
}

.project-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(35, 215, 255, 0.28);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-head img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 0 26px rgba(35, 215, 255, 0.45);
}

.feature-head .eyebrow {
  margin-bottom: 4px;
}

.feature-head h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.feature-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  color: #001426;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), #ffffff 52%, #59a9ff);
  box-shadow: 0 16px 40px rgba(35, 215, 255, 0.3);
}

.feature-cta b {
  transition: transform 200ms ease;
}

.project-feature:hover .feature-cta b {
  transform: translateX(5px);
}

.feature-shot {
  perspective: 1200px;
}

.feature-shot img {
  border-radius: 10px;
  border: 1px solid rgba(35, 215, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(35, 215, 255, 0.18);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1);
}

.project-feature:hover .feature-shot img {
  transform: rotateY(0) rotateX(0) scale(1.02);
}

.soon {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px dashed rgba(173, 196, 216, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .project-feature {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .feature-shot img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .grad-text,
  .project-feature::after,
  .primary-button::after {
    animation: none !important;
  }
}

/* Cartões de projeto (v3) */
.project-card img {
  border-radius: 14px;
  padding: 0;
  margin-bottom: 18px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(35, 215, 255, 0.18);
}

.nexora-compare {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.nexora-compare p {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid #c64bff;
  border-radius: 0 8px 8px 0;
  background: rgba(198, 75, 255, 0.08);
  font-size: 0.88rem;
  line-height: 1.5;
}

.nexora-compare p:last-child {
  border-left-color: var(--cyan);
  background: rgba(35, 215, 255, 0.07);
}

.nexora-compare b {
  color: var(--white);
}

.card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #c64bff, #1467ff 60%, var(--cyan));
  box-shadow: 0 12px 34px rgba(198, 75, 255, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-button:hover,
.card-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(198, 75, 255, 0.5);
  outline: 0;
}

.soon-live {
  gap: 8px;
  color: var(--cyan);
  border-style: solid;
  border-color: rgba(35, 215, 255, 0.35);
}

.soon-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.6s ease-in-out infinite;
}

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

.project-card {
  justify-content: flex-start;
}

/* ===== Logo Corporação Ferraz (v4) ===== */
.brand-icon {
  border-radius: 10px;
  padding: 3px;
  background: radial-gradient(circle, rgba(35, 215, 255, 0.18), transparent 70%);
  filter: drop-shadow(0 0 8px rgba(35, 215, 255, 0.8));
  transition: transform 300ms ease, filter 300ms ease;
}

.brand:hover .brand-icon {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 14px rgba(35, 215, 255, 1));
}

.hero-logo-wrap {
  position: relative;
  width: min(460px, 100%);
  margin-bottom: 30px;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 50%, rgba(35, 215, 255, 0.28), rgba(198, 75, 255, 0.12) 45%, transparent 70%);
  filter: blur(30px);
  animation: logo-aura 4s ease-in-out infinite;
}

.hero-logo-wrap .hero-logo {
  width: 100%;
  margin: 0;
  animation: logo-glow 4s ease-in-out infinite;
}

/* Feixe de luz que percorre o logo */
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.95) 48%, #23d7ff 52%, transparent 65%);
  background-size: 300% 100%;
  -webkit-mask: url("assets/corporacao-ferraz.png") center / contain no-repeat;
  mask: url("assets/corporacao-ferraz.png") center / contain no-repeat;
  animation: logo-sweep 4.5s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(35, 215, 255, 0.55)) drop-shadow(0 0 26px rgba(35, 215, 255, 0.25)); }
  50% { filter: drop-shadow(0 0 16px rgba(35, 215, 255, 0.9)) drop-shadow(0 0 46px rgba(35, 215, 255, 0.45)); }
}

@keyframes logo-aura {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes logo-sweep {
  0%, 30% { background-position: 100% 0; }
  70%, 100% { background-position: 0% 0; }
}

@media (max-width: 760px) {
  .hero-logo-wrap {
    width: min(340px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap::before,
  .hero-logo-wrap::after,
  .hero-logo-wrap .hero-logo {
    animation: none !important;
  }
}

.card-button-cyan {
  display: flex;
  width: fit-content;
  margin-top: 14px;
  color: #001426;
  background: linear-gradient(135deg, var(--cyan), #ffffff 52%, #59a9ff);
  box-shadow: 0 12px 34px rgba(35, 215, 255, 0.3);
}

.card-button-cyan:hover,
.card-button-cyan:focus-visible {
  box-shadow: 0 16px 44px rgba(35, 215, 255, 0.45);
}

/* ===== v5: logos dos projetos, redes sociais e planos ===== */
.card-logo {
  position: relative;
  display: grid;
  place-items: center;
  height: 210px;
  margin-bottom: 18px;
}

.card-logo::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 215, 255, 0.22), transparent 68%);
  filter: blur(12px);
  transition: transform 400ms ease, opacity 400ms ease;
}

.card-logo-violet::before {
  background: radial-gradient(circle, rgba(198, 75, 255, 0.26), rgba(35, 215, 255, 0.1) 50%, transparent 70%);
}

.project-card .card-logo img {
  position: relative;
  width: auto;
  height: 170px;
  max-width: 85%;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}

.project-card:hover .card-logo img {
  transform: translateY(-6px) scale(1.06);
}

.project-card:hover .card-logo::before {
  transform: scale(1.25);
}

.social-button {
  gap: 9px;
}

.social-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-button svg .fill {
  fill: var(--cyan);
  stroke: none;
}

/* Planos */
.plans {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(198, 75, 255, 0.1), transparent 55%);
}

.plans .section-copy {
  max-width: 560px;
  margin: 0 auto;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(4, 15, 34, 0.9));
  box-shadow: var(--shadow);
  transition: transform 260ms ease, border-color 260ms ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 215, 255, 0.55);
}

.plan-featured {
  border-color: rgba(198, 75, 255, 0.5);
  background:
    radial-gradient(circle at 80% 0%, rgba(198, 75, 255, 0.25), transparent 55%),
    linear-gradient(160deg, rgba(20, 103, 255, 0.18), rgba(4, 15, 34, 0.94));
  box-shadow: 0 30px 80px rgba(198, 75, 255, 0.22);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c64bff, #1467ff);
  box-shadow: 0 8px 24px rgba(198, 75, 255, 0.45);
}

.plan-label {
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-featured .plan-label {
  color: #e08bff;
}

.plan-card h3 {
  font-size: 1.45rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 22px;
}

.plan-price strong {
  font-size: 3rem;
  line-height: 1;
}

.plan-featured .plan-price strong {
  background: linear-gradient(100deg, #ffffff, #e08bff 60%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  color: var(--muted);
}

.plan-list li {
  position: relative;
  padding-left: 28px;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #001426;
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--cyan);
}

.plan-list b {
  color: var(--white);
}

.plan-button {
  justify-content: center;
  margin-top: auto;
}

.plan-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  padding: 0;
  margin: 46px 0 0;
  list-style: none;
}

.plan-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.plan-steps b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(35, 215, 255, 0.35);
}

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

  .plan-steps {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-inline: auto;
  }
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 200ms ease, background 200ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  border-color: var(--cyan);
  background: rgba(35, 215, 255, 0.1);
  outline: 0;
}

.section-heading.wide {
  max-width: 900px;
}
