/* =========================================================
   Julio Caldeira — Link in bio
   Layout escuro estilo Pedro Sobral.
   Mobile-first.
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --card-bg: #0f0f12;
  --card-border: #20202a;

  --text: #f4f4f6;
  --text-muted: #9a9aa6;

  --accent: #ff2d6f;          /* rosa (puxa o tom do topo) */
  --accent-strong: #e01e63;
  --ghost: #3a3a44;           /* nome gigante (esmaecido, mas legível) */

  --radius: 20px;

  --wrap: 760px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);
  --font-hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { -webkit-tap-highlight-color: transparent; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 16px 28px;
}

/* ===================== HERO (não mexer) ===================== */
.hero {
  position: relative;
  text-align: center;
  padding-top: 8px;
  margin-bottom: 6px;
}
/* spotlight atrás da foto — ancora o recorte no fundo (puxa o rosa do contorno) */
.hero::before {
  content: "";
  position: absolute;
  inset: -6% -10% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 48% at 50% 44%, rgba(255, 56, 120, 0.24), rgba(255, 56, 120, 0) 70%),
    radial-gradient(72% 64% at 50% 52%, rgba(120, 80, 255, 0.10), rgba(120, 80, 255, 0) 76%);
}
.hero__wordmark {
  position: absolute;
  left: 50%;
  bottom: 150px;
  transform: translateX(-50%);
  width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 13.5vw, 6.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ghost);
  white-space: nowrap;
  z-index: 1;
  user-select: none;
}
.hero__photo {
  position: relative;
  z-index: 2;
  width: min(300px, 68%);
  margin: 0 auto;
  transform: translateY(10px);          /* só um tiquinho pra base encostar no card */
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 66%, transparent 96%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.4));
}
.hero__tagline {
  position: relative;
  z-index: 3;
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 5.2vw, 1.6rem);
  letter-spacing: -0.015em;
  color: #fff;
}

/* ===================== CARDS ===================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* card = banner: foto à direita (escurecida) + título bold à esquerda */
.card {
  --c: var(--accent);
  --pos: center 25%;
  position: relative;
  display: block;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #101014;
  min-height: 178px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--c) 50%, var(--card-border));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .5),
                0 0 26px -8px color-mix(in srgb, var(--c) 55%, transparent);
  }
  .card:hover .card__media img { transform: scale(1.05); }
}
.card:active { transform: translateY(-1px); }

.card__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56%;
  z-index: 0;
  overflow: hidden;   /* o zoom acontece dentro do quadro: sem fatia clara vazando */
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos);
  display: block;
  transition: transform .45s ease;
}
/* gradiente: escurece a esquerda da foto e funde no fundo do card */
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #101014 0%, rgba(16, 16, 20, .55) 42%, rgba(16, 16, 20, 0) 96%),
    linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%);
}

.card__body {
  position: relative;
  z-index: 1;
  min-height: 178px;
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.card__ic { color: var(--c); display: inline-flex; }
.card__ic svg { width: 20px; height: 20px; }
.card__kicker--ig .card__ic { color: #e1306c; }

.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  max-width: 58%;
}

/* card em destaque (serviços) */
.card--feat {
  border-color: color-mix(in srgb, var(--c) 55%, var(--card-border));
  box-shadow: 0 0 32px -12px color-mix(in srgb, var(--c) 70%, transparent);
}

/* ===================== ABOUT (bloco azul) ===================== */
.about {
  margin-top: 22px;
  background: linear-gradient(158deg, #ff3d80 0%, #d81f60 100%);
  color: #fff;
  border-radius: 28px;
  padding: 30px 24px 0;          /* sem padding embaixo: a foto encosta no chão */
  position: relative;
  overflow: hidden;
}
.about__content { position: relative; z-index: 2; }
.about__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6.5vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.about p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 50ch;
}
.about p:last-of-type { margin-bottom: 0; }
.about p strong { color: #fff; font-weight: 700; }

/* foto ancorada na base (mobile: centralizada) — espaço azul acima da cabeça */
.about__media {
  position: relative;            /* contexto das anotações (escalam com a foto) */
  z-index: 1;
  width: min(280px, 70%);
  margin: 70px auto 0;           /* gap acima p/ as anotações */
}
.about__cutout {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.26));
}

/* anotações à mão — acima da cabeça, setas curtas apontando p/ o topo da cabeça */
.note {
  position: absolute;
  z-index: 3;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.note svg { position: absolute; stroke: #fff; width: 40px; height: 38px; }

/* tráfego pago + IA -> acima da cabeça (esquerda), seta p/ baixo */
.note--2 { top: -23%; left: 4%; transform: rotate(-4deg); }
.note--2 svg { right: 10px; bottom: -34px; }
/* crescimento com clareza -> acima da cabeça (direita), seta p/ baixo */
.note--3 { top: -23%; right: 4%; text-align: right; transform: rotate(3deg); }
.note--3 svg { left: 10px; bottom: -34px; }

/* ===================== RODAPÉ ===================== */
.footer { margin-top: 22px; text-align: center; }
.footer p { margin: 0; font-size: 0.78rem; color: #6a6a76; }

/* ===================== TABLET / DESKTOP ===================== */
@media (min-width: 640px) {
  .wrap { padding: 26px 22px 40px; }

  /* cards: 1 coluna (um abaixo do outro), maiores */
  .card, .card__body { min-height: 220px; }
  .card__body { padding: 32px 34px; }
  .card__title { font-size: 2rem; max-width: 56%; }
  .card__media { width: 58%; }

  .hero__wordmark { bottom: 168px; width: 100%; }
  .hero__photo { width: min(348px, 54%); }

  /* about: texto à esquerda, recorte ancorado no canto inferior direito */
  .about {
    padding: 40px 44px 0;
    min-height: 400px;
  }
  .about__content { max-width: 50%; padding-bottom: 36px; }
  .about__media {
    position: absolute;
    right: 38px;
    bottom: 0;
    margin: 0;
    width: 40%;
    max-width: 300px;
  }

  .note { font-size: 1.5rem; }
  .note svg { width: 48px; height: 44px; }
  .note--2 svg { right: 12px; bottom: -38px; }
  .note--3 svg { left: 12px; bottom: -38px; }
}

@media (min-width: 900px) {
  .about { min-height: 430px; }
  .about__media { max-width: 330px; right: 44px; }
}
