/* DCE color profile — see /brand/COLOR-PROFILE.md */
:root {
  --navy-950: #040a16;
  --navy-900: #06101f;
  --navy-800: #061236;
  --navy-700: #0c183c;
  --navy-600: #152850;
  --green-400: #b4e460;
  --green-500: #a8d85a;
  --green-600: #7cbc42;
  --blue-300: #72d2fc;
  --blue-400: #6cc0f0;
  --blue-500: #3eb6dc;
  --white: #ffffff;
  --silver: #c5cdd8;
  --muted: #8b97ab;
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(12, 24, 60, 0.72);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  background: var(--navy-950);
  color-scheme: dark;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.45;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(168, 216, 90, 0.16), transparent 55%),
    radial-gradient(820px 520px at 108% 112%, rgba(108, 192, 240, 0.14), transparent 52%),
    var(--navy-900);
  overflow-x: hidden;
}

::selection {
  background: rgba(168, 216, 90, 0.35);
  color: var(--white);
}

.stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb--green {
  top: -12%;
  left: -8%;
  background: var(--green-500);
}

.orb--blue {
  right: -12%;
  bottom: -16%;
  background: var(--blue-400);
  animation-delay: -7s;
  animation-duration: 22s;
}

.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
}

.circuit__path {
  stroke-width: 2.2;
  stroke-dasharray: 8 14;
  animation: dash 28s linear infinite;
}

.circuit__path--green { stroke: var(--green-500); }
.circuit__path--white { stroke: rgba(255, 255, 255, 0.55); animation-duration: 36s; animation-direction: reverse; }
.circuit__path--blue { stroke: var(--blue-400); animation-duration: 32s; }

.lang {
  display: flex;
  align-self: stretch;
  justify-content: center;
  margin: 0 0 8px;
  animation: fade 0.6s var(--ease) both;
}

.lang__cluster {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 18, 54, 0.7);
}

.lang__btn {
  min-width: 40px;
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 650 12px/1 var(--font);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang__btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--green-500), var(--blue-400));
  color: var(--navy-900);
}

.lang__btn:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

.card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 16px 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  text-align: center;
  animation: rise 0.8s var(--ease) both;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--green-500);
  pointer-events: none;
}

.card::before {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
  border-color: var(--green-500);
}

.card::after {
  right: 14px;
  bottom: 14px;
  border-left: 0;
  border-top: 0;
  border-color: var(--blue-400);
}

.logo-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 2px auto 12px;
}

.logo-glow {
  position: absolute;
  inset: 8%;
  background: conic-gradient(from 180deg, var(--green-500), var(--blue-400), var(--green-500));
  filter: blur(22px);
  opacity: 0.45;
  animation: spin 14s linear infinite, breathe 4.8s ease-in-out infinite;
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  display: block;
  animation: pop 0.9s var(--ease) both;
}

.brand {
  margin: 0;
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.company {
  margin: 8px 0 0;
  color: var(--green-500);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rule {
  width: 88px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-400));
}

.name {
  margin: 16px 0 0;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.role {
  margin: 8px 0 0;
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  min-width: 0;
}

.action {
  min-width: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: rise 0.7s var(--ease) both;
}

.action:nth-child(1) { animation-delay: 0.18s; }
.action:nth-child(2) { animation-delay: 0.26s; }
.action:nth-child(3) { animation-delay: 0.34s; }
.action:nth-child(4) { animation-delay: 0.42s; }

.action:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
}

@media (hover: hover) {
  .lang__btn:hover { color: var(--white); }

  .action:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  }

  .action:hover .action__chevron {
    transform: translateX(3px);
    opacity: 1;
  }
}

.action:active { transform: translateY(0); }

.action__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.action__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.action--whatsapp .action__icon { background: #25d366; }
.action--instagram .action__icon { background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcaf45); }
.action--web .action__icon { background: var(--silver); }
.action--web .action__icon svg { fill: var(--navy-800); }
.action--mail .action__icon { background: var(--blue-400); }

.action__copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
  text-align: left;
  overflow: hidden;
}

.action__title {
  font-size: 15px;
  font-weight: 700;
}

.action__detail {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action__chevron {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-right: 2px solid var(--silver);
  border-top: 2px solid var(--silver);
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot--green { background: var(--green-500); }
.dot--white { background: var(--silver); }
.dot--blue { background: var(--blue-400); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.84) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin { to { transform: rotate(1turn); } }

@keyframes breathe {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.58; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, 6%, 0) scale(1.08); }
}

@keyframes dash {
  to { stroke-dashoffset: -420; }
}

@media (max-width: 400px) {
  .card { padding: 14px 16px 14px; }
  .action { padding-inline: 10px; }
  .action__detail { font-size: 12px; }
}

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

@media print {
  body {
    background: #fff;
    color: #061236;
    padding: 0;
  }

  .stage,
  .lang,
  .logo-glow { display: none; }

  .card {
    box-shadow: none;
    background: #fff;
    border-color: #c5cdd8;
    animation: none;
  }

  .company { color: #7cbc42; }
  .role { color: #3eb6dc; }
  .action { color: #061236; break-inside: avoid; }
  .action__detail { color: #445066; }
}
