﻿:root {
  --ink:        #0b0b0b;
  --paper:      #f7efcb;
  --paper-soft: #fffbea;
  --accent:     #ffca3a;
  --blue:       #1f6feb;
  --whatsapp:   #067a45;
  --linkedin:   #0077b5;
  --muted:      #3f3b31;
  --cinza:      #6b655a;
  --concreto:   #e9e5da;
  --line:       #0b0b0b;
  --radius:     8px;
  --shadow:     9px 9px 0 var(--line);
}

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

html { min-height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(11,11,11,.04) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(11,11,11,.04) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 3px;
}

/* Shell */

.site-shell {
  min-height: 100vh;
  border: 4px solid var(--line);
}

/* Topbar */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 4px solid var(--line);
  background: var(--accent);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 13px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px);
}

/* Intro */

.intro {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
  min-width: 0;
}

/* Badge */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 14px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  box-shadow: 4px 4px 0 var(--line);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.7); }
}

/* Headline */

.headline {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(54px, 8.5vw, 120px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.headline span { display: block; }

/* Lead */

.lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 550;
  line-height: 1.6;
}

/* Email form */

.email-form { display: grid; gap: 10px; }

.email-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cinza);
}

.email-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

.email-input {
  height: 52px;
  padding: 0 14px;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: 4px 4px 0 var(--line);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 140ms, box-shadow 140ms;
}

.email-input:focus {
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--blue);
}

.email-input::placeholder { color: var(--cinza); }

.email-confirm {
  margin: 0;
  padding: 12px 16px;
  border: 3px solid var(--whatsapp);
  border-radius: var(--radius);
  background: #edfaf3;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--whatsapp);
}

/* Divider */

.divider {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  opacity: .12;
}

/* Buttons */

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 22px;
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--line);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.button:hover {
  box-shadow: 2px 2px 0 var(--line);
  transform: translate(3px, 3px);
}

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

.button-primary  { background: var(--whatsapp); }
.button-linkedin { background: var(--linkedin); }
.button-secondary { background: var(--paper-soft); color: var(--ink); }

.button-cta {
  background: var(--ink);
  color: var(--accent);
  height: 52px;
  font-size: 15px;
  padding: 0 24px;
}

/* Contact */

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cinza);
}

.contact strong { color: var(--ink); }

/* Profile card */

.profile-card {
  position: relative;
  border: 4px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--paper-soft);
}

.profile-photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--ink);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Profile name */

.profile-name-block {
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 24px);
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}

.profile-name-block span { display: block; }

/* Screws */

.screw {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  background: var(--concreto);
}

.screw::before,
.screw::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 2px;
  background: var(--line);
  border-radius: 1px;
}

.screw::after { transform: rotate(90deg); }

.screw-tl { top: 12px;    left: 12px; }
.screw-tr { top: 12px;    right: 12px; }
.screw-bl { bottom: 12px; left: 12px; }
.screw-br { bottom: 12px; right: 12px; }

/* Footer */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 3vw, 36px);
  border-top: 4px solid var(--line);
  background: var(--paper-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cinza);
}

/* Tablet */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .profile-card { width: min(100%, 480px); }

  .profile-photo { aspect-ratio: 5 / 3; }

  .profile-name-block {
    font-size: clamp(28px, 5vw, 44px);
  }
}

/* Mobile */

@media (max-width: 600px) {
  .site-shell { border-width: 3px; }

  .topbar {
    border-width: 3px;
    padding: 10px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero { padding: 28px 18px 36px; gap: 24px; }

  .intro { text-align: center; }

  .badge { margin: 0 auto; }

  .contact { justify-content: center; }

  .headline { font-size: clamp(44px, 15vw, 72px); }

  .email-row { grid-template-columns: 1fr; }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .actions .button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }


  .profile-card { order: -1; border-width: 3px; box-shadow: 6px 6px 0 var(--line); }

  .profile-photo { aspect-ratio: 4 / 3; }

  .profile-name-block { font-size: clamp(22px, 8vw, 36px); }

  .site-footer {
    border-width: 3px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}

/* Splash */

.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(11,11,11,.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11,11,11,.04) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  transition: opacity 500ms ease;
}

.splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 24px;
}

.splash-brand {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 10vw, 88px);
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.splash-dot { color: var(--accent); }

.splash-btn {
  width: 88px;
  height: 88px;
  border: 4px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  box-shadow: 7px 7px 0 var(--line);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.splash-btn:hover {
  box-shadow: 3px 3px 0 var(--line);
  transform: translate(4px, 4px);
}

.splash-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.splash-hint {
  margin: 0;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cinza);
}

/* Spotify host oculto */

#spotify-host {
  position: fixed;
  left: -400px;
  bottom: 0;
  width: 300px;
  height: 80px;
  opacity: 0;
  pointer-events: none;
}

/* Reduced motion */

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