:root {
  --brand: #2a6fdb;
  --brand-bright: #4f8fff;
  --brand-gradient: linear-gradient(135deg, #5b9bff 0%, #2a6fdb 48%, #1240b8 100%);
  --ink: #06080f;
  --muted: #4a5070;
  --soft: #8189a5;
  --paper: #f9f7f7;
  --line: rgba(10, 14, 30, 0.09);
  --line-strong: rgba(10, 14, 30, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 5%, rgba(79, 143, 255, 0.13), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--paper) 76%);
}

.grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.52;
  mask-image: radial-gradient(ellipse 82% 78% at 57% 40%, #000 12%, transparent 82%);
}

.glow {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
}

.glow-one {
  width: 520px;
  height: 520px;
  right: -230px;
  top: -250px;
  background: rgba(42, 111, 219, 0.2);
}

.glow-two {
  width: 360px;
  height: 360px;
  left: -240px;
  bottom: -230px;
  background: rgba(79, 143, 255, 0.12);
}

.header,
.content,
.footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand > img {
  display: block;
  width: 140px;
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(42, 111, 219, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 30px -22px rgba(20, 40, 80, 0.5);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 5px rgba(79, 143, 255, 0.12);
  animation: pulse 2.3s ease-in-out infinite;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.72fr);
  align-items: center;
  gap: clamp(58px, 8vw, 116px);
  padding-block: clamp(52px, 6vh, 80px);
}

.copy {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brand);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.copy h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.01;
  text-wrap: balance;
}

.copy h1 span {
  display: block;
  margin-top: 4px;
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow:
    0 18px 44px -18px rgba(42, 111, 219, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 52px -18px rgba(42, 111, 219, 0.84),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-button:focus-visible {
  outline: 3px solid rgba(79, 143, 255, 0.3);
  outline-offset: 4px;
}

.whatsapp-button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.whatsapp-button:hover svg { transform: translateX(3px); }

.portrait-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0;
  justify-self: end;
  animation: arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.portrait-frame {
  position: relative;
  height: clamp(490px, 63vh, 590px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #0b0d12;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 46px 90px -44px rgba(8, 16, 35, 0.52);
}

.portrait-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.94) contrast(1.03);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-frame:hover > img { transform: scale(1.018); }

.portrait-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(4, 7, 13, 0.06) 62%, rgba(4, 7, 13, 0.84) 100%),
    linear-gradient(90deg, rgba(24, 80, 213, 0.08), transparent 48%);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.caption-line {
  width: 30px;
  height: 1px;
  background: var(--brand-bright);
}

.portrait-caption strong,
.portrait-caption small { display: block; }
.portrait-caption strong { font-family: "Space Grotesk", sans-serif; font-size: 19px; }
.portrait-caption small { margin-top: 2px; color: rgba(255, 255, 255, 0.64); font-size: 10px; }

.experience-card {
  position: absolute;
  z-index: 3;
  top: 56%;
  left: -54px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(11, 15, 27, 0.8);
  color: #fff;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.experience-card > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  background: rgba(79, 143, 255, 0.17);
  color: var(--brand-bright);
  font-size: 13px;
  font-weight: 700;
}

.experience-card p { margin: 0; }
.experience-card strong,
.experience-card small { display: block; }
.experience-card strong { font-size: 10px; }
.experience-card small { margin-top: 2px; color: rgba(255, 255, 255, 0.55); font-size: 8px; }

.expertise-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 10px 0;
  color: var(--soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expertise-strip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 11px;
}

@keyframes pulse {
  50% { opacity: 0.55; transform: scale(0.88); }
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(24px) rotate(0.8deg); }
  to { opacity: 1; transform: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1100px) {
  .content {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
    gap: 48px;
  }

  .experience-card { left: -25px; }

}

@media (max-width: 880px) {
  .page { overflow-x: clip; overflow-y: visible; }
  .content { grid-template-columns: 1fr; gap: 66px; padding-block: 72px 88px; }
  .copy { max-width: 720px; }
  .portrait-card { width: min(100%, 480px); justify-self: center; }
  .portrait-frame { height: 590px; }
}

@media (max-width: 640px) {
  .header,
  .content,
  .footer { width: min(100% - 40px, 1240px); }

  .header { min-height: 80px; }
  .brand > img { width: 120px; }
  .status-pill { padding: 8px 10px; }
  .status-text { display: none; }
  .status-pill::after { content: "Em construção"; font-size: 10px; }

  .content { gap: 58px; padding-block: 62px 78px; }
  .copy h1 { margin-top: 22px; font-size: clamp(38px, 10.5vw, 48px); }
  .lead { font-size: 16px; line-height: 1.68; }
  .whatsapp-button { width: 100%; padding-inline: 18px; font-size: 14px; }
  .portrait-frame { height: min(132vw, 540px); border-radius: 22px; }
  .portrait-caption { right: 22px; bottom: 22px; left: 22px; }
  .experience-card { top: 58%; left: 18px; }
  .expertise-strip { gap: 8px; font-size: 7px; }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-height: 88px;
  }
}

@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;
  }
}
