/* =========================================================
   ITALO MENDES · LINK DA BIO
   Feito pro celular primeiro. Mesma identidade: preto · bege #E5D2AF · bordô
   ========================================================= */

@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Thin.otf") format("opentype"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Creato"; src: url("../fonts/CreatoDisplay-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bootzy"; src: url("../fonts/BootzyTM.ttf") format("truetype"); font-display: block; }
@font-face { font-family: "Garamond"; src: url("../fonts/AppleGaramond-LightItalic.ttf") format("truetype"); font-style: italic; font-weight: 300; font-display: swap; }

:root {
  color-scheme: dark;
  --bordo: #9E0B0F;
  --bordo-hi: #C4141A;
  --preto: #0E0E0E;
  --preto-2: #151413;
  --bege: #E5D2AF;
  --bege-70: rgba(229, 210, 175, .7);
  --bege-50: rgba(229, 210, 175, .5);
  --bege-14: rgba(229, 210, 175, .14);
  --bege-08: rgba(229, 210, 175, .08);
  --tl: #3F3D39;
  --f-sans: "Creato", "Helvetica Neue", Arial, sans-serif;
  --f-big: "Bootzy", "Creato", Impact, sans-serif;
  --f-serif: "Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(.2, .8, .1, 1);
  --gut: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--preto); }
body { background: var(--preto); color: var(--bege); font-family: var(--f-sans); line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100svh; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--bordo); color: var(--bege); }
:focus-visible { outline: 2px solid var(--bordo-hi); outline-offset: 3px; border-radius: 6px; }

.rec { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--bordo-hi); box-shadow: 0 0 12px rgba(196, 20, 26, .75); vertical-align: middle; }
.blink { animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* Assinatura */
.sig { display: inline-flex; align-items: baseline; gap: .22em; font-size: 20px; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.sig-italo { font-weight: 800; }
.sig-mendes { font-weight: 100; }
.sig-i { position: relative; display: inline-block; }
.sig-i .rec { position: absolute; left: 50%; top: -.06em; width: .3em; height: .3em; transform: translateX(-50%); }

/* Textura e fundo do desktop */
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .11; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0) } 33% { transform: translate(5%,-7%) } 66% { transform: translate(-6%,4%) } 100% { transform: translate(2%,6%) } }
.amb { display: none; }

.page { position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* ---------- Abertura ---------- */
.hero { position: relative; aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; filter: contrast(1.06) saturate(.92) brightness(.94); transform: scale(1.08); animation: push 9s var(--ease) forwards; }
@keyframes push { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.7) 0%, transparent 22%, transparent 42%, rgba(14,14,14,.7) 70%, var(--preto) 100%), radial-gradient(60% 40% at 10% 90%, rgba(158,11,15,.35), transparent 70%); }
.cn { position: absolute; width: 22px; height: 22px; border: 2px solid var(--bege-50); z-index: 2; }
.cn.tl { top: calc(14px + env(safe-area-inset-top)); left: 14px; border-right: 0; border-bottom: 0; }
.cn.tr { top: calc(14px + env(safe-area-inset-top)); right: 14px; border-left: 0; border-bottom: 0; }
.hud { position: absolute; z-index: 3; top: calc(24px + env(safe-area-inset-top)); left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; }
.tc { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 11px; letter-spacing: .22em; color: var(--bege-70); }
.tc b { font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.tc .rec { width: 8px; height: 8px; }
.hero-txt { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 18px; padding-left: 6px; }
.make { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 11vw, 50px); line-height: 1; margin: 0 0 calc(clamp(36px, 11vw, 50px) * -.36) 4px; position: relative; z-index: 1; animation: up .9s var(--ease) .25s backwards; }
.film { font-family: var(--f-big); font-weight: normal; text-transform: uppercase; font-size: clamp(104px, 33vw, 152px); line-height: .8; letter-spacing: .05em; animation: up 1s var(--ease) .35s backwards; }
.film .rec { width: .14em; height: .14em; margin-left: .04em; vertical-align: .62em; }
.tl-brand { position: relative; display: flex; gap: 4px; height: 10px; width: 64%; margin-top: 16px; animation: up .9s var(--ease) .5s backwards; }
.tl-brand span { height: 100%; border-radius: 3px; background: rgba(63,61,57,.95); }
.tl-brand span.on { background: var(--bordo); }
.tl-brand .nd { position: absolute; top: -7px; bottom: -8px; width: 2px; background: var(--bege); left: 0; animation: needle 7s linear infinite; }
.tl-brand .nd::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 7px; background: var(--bege); clip-path: polygon(0 0,100% 0,50% 100%); }
@keyframes needle { from { left: 0; } to { left: 100%; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Intro ---------- */
.intro { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px var(--gut) 6px; }
.role { font-weight: 500; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--bege-70); line-height: 1.6; max-width: 190px; }
.social { display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--bege-14); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .2s; }
.social a:active { transform: scale(.92); }
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--bege); stroke-width: 1.6; stroke-linejoin: round; }
.social svg .f { fill: var(--bege); stroke: none; }

/* ---------- Links ---------- */
.links { display: flex; flex-direction: column; gap: 12px; padding: 14px var(--gut) 0; }
.rv { animation: up .8s var(--ease) backwards; }
.links > :nth-child(1) { animation-delay: .55s; } .links > :nth-child(2) { animation-delay: .65s; } .links > :nth-child(3) { animation-delay: .75s; }
.links > :nth-child(4) { animation-delay: .85s; } .links > :nth-child(5) { animation-delay: .95s; }

.card { position: relative; display: block; height: 196px; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--bege-14); background: var(--preto-2); isolation: isolate; transition: transform .25s var(--ease), border-color .25s; }
.card:active, .row:active, .talk:active { transform: scale(.975); }
.card video, .card .ba { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.c-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,14,14,.55) 0%, transparent 35%, transparent 45%, rgba(14,14,14,.92) 100%); }
.c-top { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.num { font-weight: 500; font-size: 11px; letter-spacing: .2em; color: var(--bege-50); font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; gap: 7px; align-items: center; padding: 6px 11px; border-radius: 999px; background: rgba(14,14,14,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.tag .rec { width: 7px; height: 7px; }
.c-bot { position: absolute; left: 18px; right: 14px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card h2 { font-family: var(--f-big); font-weight: normal; text-transform: uppercase; font-size: 40px; line-height: .86; letter-spacing: .01em; }
.card h2 .pre { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 300; text-transform: none; color: var(--bordo-hi); font-size: .56em; line-height: 1.1; letter-spacing: 0; margin-bottom: 2px; }
.card h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 300; text-transform: none; color: var(--bordo-hi); font-size: .62em; margin-left: 8px; letter-spacing: 0; }
.card p { margin-top: 7px; font-size: 13px; color: var(--bege-70); }
.card p em { font-family: var(--f-serif); font-size: 1.18em; color: var(--bege); }
.go { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--bege); display: grid; place-items: center; transition: transform .3s var(--ease); }
.go svg { width: 18px; height: 18px; fill: none; stroke: var(--preto); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 02 — packs: ondas */
.c-packs { background: radial-gradient(70% 90% at 85% 0%, rgba(158,11,15,.42), transparent 70%), var(--preto-2); }
.c-packs .waves { position: absolute; left: 14px; right: 14px; top: 38px; height: 50px; z-index: -1; }
.c-packs canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-packs .wb { filter: blur(10px); opacity: .55; }

/* 03 — Grace Looks: antes/depois varrendo */
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.ba .dep { clip-path: inset(0 0 0 50%); animation: sweep 6s ease-in-out infinite; }
.ba .ln { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--bege); box-shadow: 0 0 14px rgba(0,0,0,.6); animation: sweepl 6s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { clip-path: inset(0 0 0 68%); } 50% { clip-path: inset(0 0 0 30%); } }
@keyframes sweepl { 0%, 100% { left: 68%; } 50% { left: 30%; } }
.ba .lb { position: absolute; top: 15px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 9px; border-radius: 999px; background: rgba(14,14,14,.6); font-weight: 500; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.ba .lb.l { left: 48px; color: var(--bege-70); } .ba .lb.r { right: 16px; }
.ba .lb .rec { width: 6px; height: 6px; }

/* 04 — YouTube (linha) */
.row { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 20px; border: 1.5px solid var(--bege-14); background: var(--preto-2); transition: transform .25s var(--ease); }
.ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bege); }
.ico svg { width: 30px; height: 30px; fill: var(--bordo); }
.row-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.row-t b { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.row-t small { font-size: 12.5px; color: var(--bege-70); }

/* 05 — Fale comigo */
.talk { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px 16px 14px; border-radius: 20px; background: var(--bordo); box-shadow: 0 18px 50px -18px rgba(196,20,26,.9); overflow: hidden; transition: transform .25s var(--ease); }
.talk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(229,210,175,.18) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.6s ease-in-out 1.6s infinite; }
@keyframes shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.talk-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(14,14,14,.28); }
.talk-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--bege); stroke-width: 1.6; stroke-linejoin: round; }
.talk-ico svg .f { fill: var(--bege); stroke: none; }
.talk .row-t small { color: rgba(229,210,175,.8); }
.talk .num { color: rgba(229,210,175,.7); }

/* Rodapé */
.foot { padding: 34px var(--gut) 0; text-align: center; }
.motto { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 21px; color: var(--bege-70); }
.motto b { font-family: var(--f-sans); font-style: normal; font-weight: 800; color: var(--bege); letter-spacing: -.02em; }
.motto .rec { width: 8px; height: 8px; margin: 0 3px 3px 2px; }
.handle { margin-top: 10px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--bege-50); }

/* Hover só onde tem mouse */
@media (hover: hover) {
  .card:hover { border-color: var(--bege-50); }
  .card:hover .go { transform: rotate(45deg); }
  .row:hover { border-color: var(--bege-50); }
  .social a:hover { background: var(--bege-08); border-color: var(--bege-50); }
  .talk:hover { transform: translateY(-2px); }
}

/* Desktop: coluna central com o fundo da foto desfocado */
@media (min-width: 560px) {
  .amb { display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden; }
  .amb img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) brightness(.35) saturate(1.1); transform: scale(1.2); }
  .amb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 40%, transparent, rgba(14,14,14,.85)); }
  .page { margin: 28px auto; background: var(--preto); border-radius: 28px; overflow: hidden; border: 1.5px solid var(--bege-14); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
  .hero { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .ba .dep { clip-path: inset(0 0 0 50%); }
}
