@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #030404;
  --panel: #0c1012;
  --line: #252e30;
  --muted: #a8b3b6;
  --green: #8ad397;
  --white: #f5f7f6;
  --brand-gradient: linear-gradient(100deg, #55bed9, #8ad397);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

/* Acessibilidade */

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 15px;
  background: var(--green);
  color: #111;
}

.skip:focus {
  top: 10px;
}

/* Cabeçalho */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  height: 100px;
  margin: auto;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
}

.brand {
  position: relative;
  padding-bottom: 5px;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1px;
}

.brand::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand-gradient);
  content: "";
}

nav {
  display: flex;
  gap: 32px;
  color: #c5cdd1;
  font-size: 14px;
}

nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--green);
}

#menu {
  display: none;
}

/* Botões e links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--brand-gradient);
  color: #061014;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  background: linear-gradient(100deg, #7ad4e8, #abe3b4);
  transform: translateY(-2px);
}

.small {
  padding: 11px 20px;
  font-size: 14px;
}

.text-link {
  padding: 6px 0;
  border-bottom: 1px solid #707b82;
  font-size: 14px;
}

/* Apresentação */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1440px;
  min-height: 710px;
  margin: auto;
  padding: 90px 5% 76px;
}

.hero-copy,
.hero-art {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0 0 30px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 4.7vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -3px;
}

em {
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
}

.intro {
  max-width: 470px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-note {
  margin-top: 30px;
  color: #8f9fa4;
  font-size: 13px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: pantera-flutuar 6s ease-in-out infinite;
}

@keyframes pantera-flutuar {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Áreas de atuação */

.expertise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 25px 5%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise > span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.expertise p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
}

.expertise b {
  padding: 0 24px;
  color: var(--green);
  font-weight: 400;
}

/* Estrutura das seções */

.section {
  max-width: 1440px;
  margin: auto;
  padding: 100px 5%;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 15px 90px;
  margin-bottom: 48px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.8px;
}

h2 span {
  color: var(--muted);
}

.section-head > p:last-child {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

h3 {
  margin: 0 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* Serviços */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.services article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color 0.2s, transform 0.2s;
}

.services article:hover {
  border-color: #61bac4;
  transform: translateY(-5px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
  color: var(--muted);
  font-size: 13px;
}

.symbol {
  color: var(--green);
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
}

.services p,
.steps p {
  color: var(--muted);
  font-size: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
}

.tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #bdc7cd;
  font-size: 12px;
}

/* Sobre a ReDedev */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}

.about-copy > .lead {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.5;
}

.about-copy > p {
  color: var(--muted);
}

.values {
  margin-top: 35px;
}

.values > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.values strong {
  font-size: 15px;
  font-weight: 500;
}

.values p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Processo de trabalho */

.process {
  max-width: none;
  background: #090e10;
}

.process > .section-head,
.steps {
  max-width: 1296px;
  margin-right: auto;
  margin-left: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.steps article {
  padding-top: 25px;
  border-top: 1px solid #3c5b5d;
}

.steps span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 1px;
}

.steps h3 {
  margin-top: 22px;
  font-size: 22px;
}

/* Tecnologias */

.stack {
  padding: 55px 5%;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.stack .eyebrow {
  margin-bottom: 20px;
  color: var(--muted);
}

.stack div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 45px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
}

.stack span {
  color: #8d989f;
}

/* Contato */

.contact {
  padding-top: 110px;
  padding-bottom: 100px;
}

.contact h2 {
  font-size: clamp(48px, 7vw, 100px);
  letter-spacing: -4px;
}

.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
}

.contact-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* Rodapé */

footer {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding: 45px 5%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer .brand {
  color: var(--white);
}

footer > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
}

.copyright {
  text-align: right;
}

/* Telas grandes */

@media (min-width: 1600px) {
  .expertise {
    justify-content: center;
    gap: 150px;
  }
}

/* Tablets */

@media (max-width: 1000px) {
  nav {
    gap: 16px;
  }

  .hero {
    gap: 20px;
    padding-top: 65px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .expertise {
    display: block;
    text-align: center;
  }

  .expertise > span {
    display: block;
    margin-bottom: 12px;
  }

  .expertise b {
    padding: 0 15px;
  }

  .services article {
    padding: 22px;
  }

  .section-head,
  .about {
    gap: 40px;
  }

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

  .stack div {
    gap: 25px;
  }

  .actions {
    gap: 15px;
  }
}

/* Celulares */

@media (max-width: 720px) {
  header {
    position: relative;
    height: 80px;
  }

  .brand {
    font-size: 27px;
  }

  header > .small {
    margin-right: 15px;
    margin-left: auto;
    padding: 9px 12px;
    font-size: 12px;
  }

  #menu {
    display: block;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: none;
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    z-index: 5;
    display: none;
    padding: 24px 5%;
    border-bottom: 1px solid var(--line);
    background: #11191f;
  }

  nav.open {
    display: flex;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(38px, 8.5vw, 60px);
    letter-spacing: -1.7px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .intro {
    font-size: 17px;
  }

  .actions {
    flex-wrap: wrap;
  }

  .hero-art {
    width: 100%;
    max-width: 480px;
    height: 430px;
    margin: 25px auto 0;
  }

  .expertise p {
    font-size: 17px;
    line-height: 2;
  }

  .expertise b {
    padding: 0 6px;
  }

  .section {
    padding: 65px 5%;
  }

  .section-head,
  .about {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-head .eyebrow {
    margin-bottom: 0;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .services article {
    padding: 28px;
  }

  .card-top {
    margin-bottom: 25px;
  }

  .about-copy > .lead {
    font-size: 21px;
  }

  .values > div {
    gap: 15px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .steps article {
    padding-top: 20px;
  }

  .steps h3 {
    margin-top: 14px;
  }

  .stack div {
    gap: 15px 25px;
    font-size: 21px;
  }

  .contact h2 {
    font-size: 56px;
    letter-spacing: -2.5px;
  }

  .contact-bottom {
    display: block;
  }

  .contact-bottom .button {
    margin-top: 25px;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    padding: 35px 5%;
  }

  .copyright {
    text-align: left;
  }
}

/* Respeita a preferência por menos movimento */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .hero-art img {
    animation: none;
  }
}

/* Entrada suave ao rolar a página */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* Respeita a preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Fundo com circuitos animados */

body {
  position: relative;
  isolation: isolate;
}

.circuit-board {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(
      rgba(85, 190, 217, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(138, 211, 151, 0.035) 1px,
      transparent 1px
    );
  background-size: 80px 80px;
}

.circuit {
  position: absolute;
  width: 280px;
  height: 180px;
  border-top: 1px solid rgba(85, 190, 217, 0.16);
  border-right: 1px solid rgba(138, 211, 151, 0.16);
  border-radius: 0 20px 0 0;
}

/* Pontos de conexão */

.circuit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(85, 190, 217, 0.5);
  border-radius: 50%;
  background: #030404;
}

/* Pulsos que percorrem as trilhas */

.circuit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72d5df;
  box-shadow:
    0 0 8px rgba(85, 190, 217, 0.8),
    0 0 20px rgba(138, 211, 151, 0.4);
  offset-path: border-box;
  offset-anchor: center;
  animation: circuit-pulse 9s linear infinite;
}

.circuit-1 {
  top: 12%;
  left: -60px;
}

.circuit-2 {
  top: 8%;
  right: -90px;
  transform: rotate(180deg);
}

.circuit-3 {
  top: 45%;
  left: 8%;
  width: 190px;
  height: 240px;
  transform: rotate(90deg);
}

.circuit-4 {
  top: 40%;
  right: 3%;
  width: 240px;
  height: 200px;
  transform: rotate(-90deg);
}

.circuit-5 {
  bottom: 5%;
  left: -80px;
  transform: rotate(180deg);
}

.circuit-6 {
  right: -60px;
  bottom: 8%;
}

.circuit-2::after,
.circuit-5::after {
  animation-delay: -3s;
  animation-duration: 12s;
}

.circuit-3::after,
.circuit-6::after {
  animation-delay: -6s;
  animation-duration: 10s;
}

@keyframes circuit-pulse {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  10%,
  80% {
    opacity: 0.75;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* Menos elementos nas telas pequenas */

@media (max-width: 720px) {
  .circuit-board {
    background-size: 60px 60px;
  }

  .circuit-3,
  .circuit-4 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .circuit::after {
    animation: none;
    opacity: 0.35;
  }
}

/* Carrossel contínuo de tecnologias */

.stack .tech-carousel {
  display: block;
  overflow: hidden;
  margin-top: 24px;

  /* Suaviza as extremidades */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.stack .tech-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  animation: tecnologias-rolar 28s linear infinite;
}

.tech-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 64px;
  margin: 0;
  padding: 0 64px 0 0;
  list-style: none;
}

.tech-group li {
  flex-shrink: 0;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  white-space: nowrap;
}

.tech-group li:nth-child(even) {
  color: var(--muted);
}

.stack-toggle {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.stack-toggle:hover {
  color: var(--white);
}

@keyframes tecnologias-rolar {
  from {
    transform: translateX(0);
  }

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

@media (max-width: 720px) {
  .tech-group {
    gap: 36px;
    padding-right: 36px;
  }

  .tech-group li {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack .tech-carousel {
    overflow: visible;
    mask-image: none;
  }

  .stack .tech-track {
    width: 100%;
    animation: none;
  }

  .tech-group {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    gap: 20px 32px;
  }

  .tech-group[aria-hidden="true"],
  .stack-toggle {
    display: none;
  }
}

/* Cursor personalizado */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #55bed9;
  box-shadow: 0 0 10px rgba(85, 190, 217, 0.45);
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(85, 190, 217, 0.65);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.custom-cursor,
  body.custom-cursor * {
    cursor: none !important;
  }

  .custom-cursor .cursor-dot,
  .custom-cursor .cursor-ring {
    display: block;
  }

  .cursor-visible .cursor-dot,
  .cursor-visible .cursor-ring {
    opacity: 1;
  }

  .cursor-hover .cursor-ring {
    width: 46px;
    height: 46px;
    border-color: #8ad397;
    background: rgba(138, 211, 151, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-ring {
    transition: none;
  }
}

/* Halo atrás do conteúdo */
body {
  isolation: isolate;
}

.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(85, 190, 217, 0.12),
    rgba(138, 211, 151, 0.06) 35%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.mouse-glow.is-active {
  opacity: 1;
}

/* Luz localizada nas bordas dos cartões */
@media (hover: hover) and (pointer: fine) {
  .services article {
    position: relative;
  }

  .services article::after {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;

    background: radial-gradient(
      240px circle at var(--glow-x, 50%) var(--glow-y, 50%),
      #55bed9,
      #8ad397 35%,
      transparent 75%
    );

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;

    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask-composite: exclude;

    transition: opacity 0.25s ease;
  }

  .services article:hover::after {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mouse-glow {
    display: none;
  }
}

.hero-art,
.hero-art img {
  background: transparent;
}

/* Glassmorphism nos cartões de serviços */
.services article {
  background: rgba(12, 20, 24, 0.55);

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(160, 220, 225, 0.16);
  border-radius: 16px;

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .services article:hover {
    background: rgba(18, 32, 38, 0.65);
    border-color: rgba(85, 190, 217, 0.45);
    transform: translateY(-5px);
  }
}

/* Etiquetas dentro dos cartões */
.tags span {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(160, 220, 225, 0.14);
  border-radius: 6px;
}

/* Menu mobile com vidro escuro */
@media (max-width: 720px) {
  header nav {
    background: rgba(8, 15, 19, 0.88);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(160, 220, 225, 0.18);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  }
}

/* Fundo alternativo para navegadores sem suporte ao desfoque */
@supports not (
  (backdrop-filter: blur(1px)) or
  (-webkit-backdrop-filter: blur(1px))
) {
  .services article,
  header nav {
    background: #101b21;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services article {
    transition: none;
  }
}

/* Profundidade nos cartões */
.services {
  perspective: 1000px;
}

@media (hover: hover) and (pointer: fine) {
  .services article {
    rotate: var(--tilt-axis, 1 0 0) var(--tilt-angle, 0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services article {
    rotate: none;
  }
}

/* Efeito 3D no botão de contato */
.contact-bottom {
  perspective: 1000px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-bottom .button {
    rotate: var(--tilt-axis, 1 0 0) var(--tilt-angle, 0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-bottom .button {
    rotate: none;
  }
}

/* Experiência de toque */
@media (hover: none) and (pointer: coarse) {
  .button,
  #menu,
  nav a {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(85, 190, 217, 0.15);
  }

  .button,
  #menu {
    transition:
      scale 0.15s ease,
      background-color 0.15s ease;
  }

  .button:active,
  #menu:active {
    scale: 0.97;
  }

  /* Evita que o efeito de hover permaneça após o toque */
  .button:hover {
    transform: none;
    background: var(--brand-gradient);
  }

  .services article:hover {
    transform: none;
  }
}

/* Menu mobile com entrada suave */
@media (max-width: 720px) {
  header nav,
  header nav.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  header nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }

  header nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  header nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 16px;
  }

  header nav a:active {
    background: rgba(85, 190, 217, 0.12);
    color: var(--white);
  }

  #menu {
    min-width: 48px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  header nav,
  .button,
  #menu {
    transition: none;
  }
}

/* Apresentação do ReMind */
.remind {
  padding-top: 30px;
}

.remind-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 48px;

  background: rgba(10, 17, 30, 0.6);
  border: 1px solid rgba(85, 190, 217, 0.2);
  border-radius: 20px;

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.remind-art {
  min-width: 0;
}

.remind-art img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: auto;
}

.remind-copy {
  min-width: 0;
}

.remind-copy .eyebrow {
  margin-bottom: 16px;
  color: #70d8f3;
}

.remind-copy h2 {
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -2px;
}

.remind-description {
  max-width: 450px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.remind-status {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(112, 216, 243, 0.25);
  border-radius: 30px;
  background: rgba(85, 190, 217, 0.06);
  color: #a4e5f5;
  font-size: 14px;
}

@media (max-width: 720px) {
  .remind-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .remind-art img {
    max-width: 260px;
  }

  .remind-description {
    font-size: 16px;
  }
}

@supports not (
  (backdrop-filter: blur(1px)) or
  (-webkit-backdrop-filter: blur(1px))
) {
  .remind-card {
    background: #0c1422;
  }
}

.remind-name {
  color: #fff;
}

.remind-name span {
  background: linear-gradient(120deg, #27e5eb, #008cff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.remind-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.remind-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(112, 216, 243, 0.25);
  border-radius: 30px;
  background: rgba(85, 190, 217, 0.06);
  color: #a4e5f5;
  font-size: 14px;
}

.remind-platform svg {
  flex-shrink: 0;
}

/* Pulsação lenta e contínua */
/* Pulsação contínua com brilho */
.remind-art img {
  transform-origin: center;
  animation: remind-pulse 4s ease-in-out infinite;
}

@keyframes remind-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(0, 180, 255, 0.15));
  }

  50% {
    transform: scale(1.09);
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.5));
  }
}

@media (prefers-reduced-motion: reduce) {
  .remind-art img {
    animation: none;
    transform: none;
    filter: none;
  }
}

.button {
  gap: 8px;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Vídeo dentro do card ReMind */
.remind-video {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 190, 217, 0.2);
  border-radius: 14px;
  background: #000;
}

.remind-video video {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .remind-video {
    border-radius: 10px;
  }

  .remind-video video {
    max-height: 450px;
  }
}

/* Vídeo vertical centralizado no card */
.remind-video {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
}

.remind-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

@media (max-width: 720px) {
  .remind-video {
    max-width: 340px;
    border-radius: 10px;
  }

  .remind-video video {
    max-height: none;
  }
}