/* ==========================================================
   Chicco Mattos — página de links
   Paleta original: preto #000, branco #FFF, cards #2C2C2C,
   rodapé #17171A, cinza #AAAAAA, verde-limão #DBF227 (banner)
   ========================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --card: #2c2c2c;
  --card-hover: #3d3d3d;
  --footer: #17171a;
  --muted: #aaaaaa;
  --line: #7e7e7e;
  --lime: #dbf227;
  --aurora: #3ddc84;
  --youtube: #cd201f;

  /* mesma paleta das páginas No Ártico com Chicco */
  --ink: #0a0a0a;
  --paper: #f1eee8;
  --soft: rgb(241 238 232 / .7);
  --faint: rgb(241 238 232 / .5);
  --rule: rgb(241 238 232 / .14);

  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* neutraliza o deslocamento que o Google Tradutor aplica */
  top: 0 !important;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--black) url("assets/img/bg03.jpg") center / cover no-repeat;
  filter: brightness(25%);
  transform: scale(1.04);
}

/* brilho sutil de aurora + vinheta */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% -5%, rgb(61 220 132 / .08), transparent 70%),
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgb(10 10 10 / .7) 100%);
  animation: aurora 14s ease-in-out infinite alternate;
}

@keyframes aurora {
  from { opacity: .7; transform: translateX(-2%); }
  to   { opacity: 1;  transform: translateX(2%); }
}

.wrap {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Idioma ---------- */

.lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lang__label {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--soft);
}

.lang__flags {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flag {
  appearance: none;
  border: 0;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: .6;
  box-shadow: 0 0 0 2px transparent;
  transition: opacity .25s, transform .25s var(--ease), box-shadow .25s;
}

.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag:hover { opacity: 1; transform: translateY(-2px); }

.flag[aria-pressed="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--paper);
}

/* ---------- Perfil ---------- */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 28px;
}

.avatar {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 4px;
  border: 1px solid rgb(241 238 232 / .3);
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 55% 30%;
  background: var(--paper);
}

.profile__name {
  margin: 22px 0 0;
  font-size: clamp(2.1rem, 7vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.profile__bio {
  margin: 10px 0 0;
  font-size: .95rem;
  color: var(--soft);
}

/* ---------- Redes sociais ---------- */

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--paper);
  border: 1px solid rgb(241 238 232 / .3);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}

.social__btn svg { width: 17px; height: 17px; fill: currentColor; }

.social__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Links ---------- */

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.banner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  aspect-ratio: 1920 / 731;
  border: 1px solid rgb(241 238 232 / .22);
  transition: border-color .35s var(--ease);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

/* reflexo que atravessa o banner no hover */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .18) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}

.banner:hover { border-color: rgb(241 238 232 / .6); }
.banner:hover img { transform: scale(1.04); }
.banner:hover::after { transform: translateX(100%); }

.card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: var(--radius);
  background: rgb(20 20 20 / .75);
  border: 1px solid rgb(241 238 232 / .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}

.card:hover {
  background: rgb(30 30 30 / .85);
  border-color: rgb(241 238 232 / .6);
}

.card__thumb {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--footer);
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.card:hover .card__thumb img { transform: scale(1.08); }

.card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.card__subtitle {
  font-size: 13px;
  color: var(--soft);
}

.card__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(241 238 232 / .3);
  border-radius: var(--radius);
  color: var(--paper);
  transition: color .3s, border-color .3s, background-color .3s;
}

.card__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}

.card:hover .card__arrow {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.card:hover .card__arrow svg { transform: translateX(2px); }

/* ---------- Rodapé ---------- */

.footer {
  background: var(--footer);
  border-top: 1px solid rgb(255 255 255 / .06);
  padding: 56px 16px;
}

.footer__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer__title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

.footer__text {
  margin: 0;
  font-size: .85rem;
  line-height: 1.7;
  color: rgb(255 255 255 / .75);
  max-width: 34ch;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li + li { border-top: 1px solid rgb(255 255 255 / .08); }

.footer__list a {
  display: inline-block;
  padding: 7px 0;
  font-size: .85rem;
  color: rgb(255 255 255 / .75);
  transition: color .2s, transform .2s var(--ease);
}

.footer__list a:hover { color: var(--white); transform: translateX(4px); }

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / .3);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
  transition: border-color .2s;
}

.footer__mail:hover { border-color: var(--white); }

.footer__mail svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.copyright {
  background: var(--black);
  padding: 18px 16px;
  text-align: center;
}

.copyright p {
  margin: 0;
  font-size: .72rem;
  color: rgb(255 255 255 / .6);
}

/* ---------- Animação de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .7s var(--ease) forwards;
}

.reveal:nth-child(1) { animation-delay: .05s; }
.profile.reveal     { animation-delay: .15s; }
.links .reveal:nth-child(1) { animation-delay: .3s; }
.links .reveal:nth-child(2) { animation-delay: .4s; }
.links .reveal:nth-child(3) { animation-delay: .5s; }

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ---------- Google Tradutor (oculta a barra padrão) ---------- */

.goog-te-banner-frame,
.skiptranslate > iframe,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }

.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- Responsivo ---------- */

@media (max-width: 767px) {
  .hero { padding: 40px 16px 56px; min-height: 70vh; }
  .avatar { width: 116px; }
  .card__title { font-size: 14px; }
  .card__thumb { width: 54px; height: 54px; }
  .card__arrow { width: 36px; height: 36px; }

  .footer { padding: 44px 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

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