/* ==========================================================================
   CARMANINI TATTOO — Portfólio de realismo
   Design original inspirado em portfólios dark minimalistas
   ========================================================================== */

:root {
  --bg: #0c0c0e;
  --bg-soft: #121215;
  --bg-card: #17171b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eaeaea;
  --text-muted: #9a9aa2;
  --accent: #c8a15a;          /* dourado envelhecido */
  --accent-soft: rgba(200, 161, 90, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Nunca permitir rolagem horizontal em nenhum dispositivo */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--accent); color: #0c0c0e; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo {
  font-family: var(--font-display); font-size: 64px; font-weight: 800; letter-spacing: 2px;
  animation: pulse 1.2s ease-in-out infinite alternate;
}
.preloader__logo span { color: var(--accent); }
.preloader__bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar span {
  display: block; height: 100%; width: 40%; background: var(--accent);
  animation: loadbar 1s var(--ease) infinite;
}
@keyframes pulse { from { opacity: 0.5; } to { opacity: 1; } }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(450%); } }

/* ==========================================================================
   CURSOR CUSTOMIZADO
   ========================================================================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(200, 161, 90, 0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              border-color 0.25s, background 0.25s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(200, 161, 90, 0.08);
  border-color: var(--accent);
}
@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 32px; border-radius: 999px;
  transition: all 0.35s var(--ease);
}
.btn--primary { background: var(--accent); color: #0c0c0e; }
.btn--primary:hover { background: #e0bb74; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(200, 161, 90, 0.25); }
.btn--outline { border: 1px solid var(--line); color: var(--text); padding: 9px 18px; font-size: 11px; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { color: var(--text); padding-left: 0; }
.btn--ghost:hover { color: var(--accent); }
.btn--ghost:hover .btn__arrow { transform: translateX(6px); }
.btn--lg { padding: 20px 44px; font-size: 15px; }
.btn__arrow { transition: transform 0.3s var(--ease); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px 0;
  transition: all 0.4s var(--ease);
}
.header.is-scrolled {
  padding: 14px 0;
  background: rgba(12, 12, 14, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; }
.nav { margin-left: auto; }

.logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 3px;
}
.logo span { color: var(--accent); }

.nav__list { display: flex; gap: 28px; }
.nav__link {
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

/* Seletor de idioma — card pequeno, quadrado, dividido */
.lang-switch {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  padding: 5px 7px;
  font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active { background: var(--accent); color: #0c0c0e; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.hamburger span { width: 26px; height: 2px; background: var(--text); transition: all 0.3s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(12, 12, 14, 0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px;
  opacity: 0; visibility: hidden; transition: all 0.45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list { text-align: center; display: grid; gap: 8px; }
.mobile-menu__list a {
  font-family: var(--font-display); font-size: clamp(32px, 8vw, 48px); font-weight: 700;
  transition: color 0.3s;
}
.mobile-menu__list a:hover { color: var(--accent); }
.mobile-menu__social { display: flex; gap: 28px; }
.mobile-menu__social a { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.mobile-menu__social a:hover { color: var(--accent); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* mobile: ignora a barra de endereço */
  display: flex; align-items: center;
  position: relative;
  overflow: hidden; /* corta a foto nas bordas — nada vaza para fora da tela */
  padding: 140px 0 80px;
  /* Preto azulado profundo, quase uniforme — casa com a zona escura da foto */
  background:
    radial-gradient(ellipse 100% 80% at 55% 42%, #101216 0%, #0d0f12 55%, #0a0c0e 100%);
}
/* Textura de grão/papel sobre o hero */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.08;
  mix-blend-mode: screen;
}
.hero .container { position: relative; z-index: 2; }

/* Foto do artista — grande, à direita, da borda inferior até ~20px abaixo do header */
.hero__photo {
  /* Ocupa da metade da tela até a borda direita da página */
  position: absolute; right: 0; bottom: 0; top: -50px; width: 45vw;
  z-index: 1; pointer-events: none;
  /* Fade reto no topo (aplicado ao conjunto) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  /* Escurece e casa a foto com a luz do fundo do hero
     (a parede clara da foto precisa afundar no escuro) */
  filter: grayscale(0.15) brightness(1.02) contrast(1.06);
  opacity: 0.9;
  /* Fade lateral: começa invisível por mais tempo, para o cenário claro
     da foto não aparecer como névoa branca sobre o fundo */
  /* Curva ease-in-out com início ultra suave: sem vincos/linhas no degradê */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.008) 3%,
    rgba(0, 0, 0, 0.03) 6%,
    rgba(0, 0, 0, 0.07) 9%,
    rgba(0, 0, 0, 0.12) 12%,
    rgba(0, 0, 0, 0.2) 16%,
    rgba(0, 0, 0, 0.3) 20%,
    rgba(0, 0, 0, 0.44) 25%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.76) 35%,
    rgba(0, 0, 0, 0.9) 40%,
    #000 45%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.008) 3%,
    rgba(0, 0, 0, 0.03) 6%,
    rgba(0, 0, 0, 0.07) 9%,
    rgba(0, 0, 0, 0.12) 12%,
    rgba(0, 0, 0, 0.2) 16%,
    rgba(0, 0, 0, 0.3) 20%,
    rgba(0, 0, 0, 0.44) 25%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.76) 35%,
    rgba(0, 0, 0, 0.9) 40%,
    #000 45%);
}

.hero__inner { width: 100%; }
.hero__content { max-width: 560px; }
.hero__title {
  /* Playfair Display: serifada elegante, combina com o dourado */
  font-family: "Playfair Display", serif; font-weight: 600;
  font-size: clamp(58px, 8.5vw, 110px);
  line-height: 1.12; letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 24px;
}
.hero__title-line { display: block; }
.hero__title-line:first-child { font-size: 0.82em; }
.hero__desc {
  font-family: "Poppins", sans-serif; font-style: italic; font-weight: 500;
  color: var(--text-muted); font-size: 15px; letter-spacing: 0.5px;
  line-height: 1.9; margin-bottom: 40px;
}
.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__actions .btn { padding: 12px 26px; font-size: 12px; }
.hero__actions .btn--ghost { padding-left: 0; }

/* Seta fina indicando scroll */
.hero__arrow {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: block; width: 20px; height: 56px;
  animation: arrowreveal 2.4s var(--ease) infinite;
}
.hero__arrow-line {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: calc(100% - 1px); background: #ffffff;
}
/* Ponta da seta (chevron fino) */
.hero__arrow-line::after {
  content: ""; position: absolute; bottom: 2px; left: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid #ffffff; border-bottom: 1px solid #ffffff;
  transform: translateX(-50%) rotate(45deg); transform-origin: center;
}
/* Revela a seta progressivamente: da base da linha até a ponta da flecha */
@keyframes arrowreveal {
  0%   { clip-path: inset(0 0 100% 0); opacity: 1; }
  55%  { clip-path: inset(0 0 0% 0);   opacity: 1; }
  80%  { clip-path: inset(0 0 0% 0);   opacity: 1; }
  100% { clip-path: inset(0 0 0% 0);   opacity: 0; }
}
/* ==========================================================================
   SEÇÕES — base
   ========================================================================== */
.section { padding: 130px 0; }
.section__head { margin-bottom: 70px; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.section__eyebrow {
  display: block; margin-bottom: 16px;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
}
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; text-transform: uppercase;
}
.section__title em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.2px rgba(234, 234, 234, 0.6);
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about { background: var(--bg-soft); position: relative; }
/* Linha de destaque separando o hero da seção Sobre */
.about::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200, 161, 90, 0.55) 25%,
    rgba(200, 161, 90, 0.75) 50%,
    rgba(200, 161, 90, 0.55) 75%,
    transparent 100%);
  box-shadow: 0 0 18px rgba(200, 161, 90, 0.25);
}
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.about__media {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5; /* controla o recorte da foto vertical */
}
.about__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.about__media:hover img { transform: scale(1.04); }
.about__media-tag {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(12, 12, 14, 0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
.about__lead { font-size: 21px; font-weight: 400; line-height: 1.6; margin-bottom: 22px; color: var(--text); }
.about__text { color: var(--text-muted); margin-bottom: 32px; }
.about__list { display: grid; gap: 14px; margin-bottom: 44px; }
.about__list li { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.check {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 32px 0; margin-bottom: 40px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat__num, .stat__plus {
  /* Poppins: dígitos retos e geométricos */
  font-family: "Poppins", sans-serif; font-size: 42px; font-weight: 700; color: var(--text); line-height: 1;
}
.stat__plus { color: var(--accent); }
.stat__label { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }

/* ==========================================================================
   PORTFÓLIO
   ========================================================================== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted); padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--text-muted); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #0c0c0e; }

.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work {
  display: block; border-radius: 18px; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s, opacity 0.4s var(--ease);
}
.work:hover { transform: translateY(-8px); border-color: rgba(200, 161, 90, 0.4); }
.work.is-hidden { display: none; }
.work__media { aspect-ratio: 4 / 5; overflow: hidden; }
.work__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.1) contrast(1.05);
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.work:hover .work__media img { transform: scale(1.07); filter: grayscale(0) contrast(1.1); }
.work__info { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.work__cat { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.work__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; }

.portfolio__cta { text-align: center; margin-top: 52px; }

/* ==========================================================================
   SKILLS
   ========================================================================== */
.skills { background: var(--bg-soft); }
.skills__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 70px; }
.skillbar__head {
  display: flex; justify-content: space-between; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.skillbar__pct { color: var(--accent); }
.skillbar__track { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.skillbar__fill {
  height: 100%; width: 0; background: linear-gradient(90deg, #8a6a33, var(--accent));
  border-radius: 4px; transition: width 1.4s var(--ease);
}
.skillbar.is-visible .skillbar__fill { width: var(--w); }

/* ==========================================================================
   ESTÚDIO
   ========================================================================== */
.studio__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 20px;
  margin-bottom: 56px;
}
.studio__item {
  position: relative; margin: 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-card);
}
.studio__item--big { grid-column: span 2; grid-row: span 2; }
.studio__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05);
  transition: transform 0.8s var(--ease);
}
.studio__item:hover img { transform: scale(1.06); }
.studio__item figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(12, 12, 14, 0.78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.studio__features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.studio__features li {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 14px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 110px 0; text-align: center;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(200, 161, 90, 0.1), transparent),
    var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.5vw, 42px); text-transform: uppercase; line-height: 1.12;
  margin-bottom: 18px;
}
.cta__title em { font-style: normal; color: var(--accent); }
.cta__text { color: var(--text-muted); margin-bottom: 40px; font-size: 17px; }

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
/* Carrossel em linha única com rolagem automática infinita */
.testimonials__carousel {
  overflow: hidden;
  /* Sangra para fora do container: o carrossel vai de borda a borda da tela,
     mostrando o preview dos cards que entram e saem */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.testimonials__track {
  display: flex; align-items: stretch; gap: 24px;
  width: max-content;
  animation: tscroll 45s linear infinite;
}
.testimonials__carousel:hover .testimonials__track { animation-play-state: paused; }
@keyframes tscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}
.tcard {
  width: 380px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.tcard:hover { transform: translateY(-6px); border-color: rgba(200, 161, 90, 0.35); }
.tcard__stars { color: var(--accent); letter-spacing: 4px; font-size: 14px; }
.tcard blockquote { color: var(--text-muted); font-size: 15px; line-height: 1.8; flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.tcard figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.tcard figcaption strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.tcard figcaption span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.contact__info { display: grid; gap: 36px; }
.cinfo__label {
  display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.cinfo__value { font-size: 18px; font-weight: 400; line-height: 1.6; transition: color 0.3s; }
a.cinfo__value:hover { color: var(--accent); }
.cinfo__social { display: flex; gap: 12px; }
.cinfo__social a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  transition: all 0.3s var(--ease);
}
.cinfo__social a svg { width: 18px; height: 18px; fill: currentColor; }
.cinfo__social a:hover { background: var(--accent); border-color: var(--accent); color: #0c0c0e; transform: translateY(-3px); }

.contact__form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s; width: 100%; resize: vertical;
}
.field select {
  appearance: none; cursor: pointer;
  /* Setinha indicando menu suspenso */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239a9aa2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: #55555e; }
.form-status { font-size: 14px; color: var(--accent); min-height: 20px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: var(--text-muted); }
.footer__credit { font-size: 13px; color: var(--text-muted); }
.footer__credit a { color: var(--accent); transition: color 0.3s; }
.footer__credit a:hover { color: #e0bb74; }
.footer__top { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); transition: color 0.3s; }
.footer__top:hover { color: var(--accent); }

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.whats-wrap {
  position: fixed; right: 28px; bottom: 28px; z-index: 5000;
  display: flex; align-items: center; gap: 14px;
}
/* Frase com borda fina dourada, centralizada à esquerda do botão */
.whats-label {
  background: rgba(18, 18, 21, 0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 161, 90, 0.55); border-radius: 999px;
  padding: 11px 20px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.5px;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.35s var(--ease);
}
.whats-label:hover { color: var(--accent); border-color: var(--accent); }
/* Reflexo fino passando da esquerda para a direita */
.whats-label { position: relative; overflow: hidden; }
.whats-label::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(224, 187, 116, 0.4) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%);
  transform: skewX(-20deg);
  animation: labelshine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes labelshine {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
.whats-float {
  position: relative;
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(18, 18, 21, 0.9);
  border: 1px solid rgba(200, 161, 90, 0.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.35s var(--ease);
}
.whats-float svg { width: 32px; height: 32px; fill: var(--accent); transition: fill 0.35s; }
.whats-float:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.whats-float:hover svg { fill: #0c0c0e; }
/* Pulso sutil */
.whats-float::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(200, 161, 90, 0.5);
  animation: whatsping 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes whatsping {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(8, 8, 10, 0.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 85vh; border-radius: 12px;
  transform: scale(0.92); transition: transform 0.4s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 28px; right: 36px;
  font-size: 22px; color: var(--text-muted); transition: color 0.3s, transform 0.3s;
}
.lightbox__close:hover { color: var(--accent); transform: rotate(90deg); }

/* ==========================================================================
   ANIMAÇÕES DE SCROLL (reveal)
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  /* Tablet: foto um pouco mais larga e discreta, atrás do texto */
  .hero__photo { width: 60vw; top: 0; opacity: 0.55; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .skills__grid { grid-template-columns: 1fr; gap: 32px; }
  .studio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .studio__features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  /* Logo na esquerda, idioma + botão de menu na direita */
  .lang-switch { margin-left: auto; }
  .lang-switch button { padding: 7px 8px; font-size: 9px; }
  .hamburger { display: flex; }
  .header { padding: 20px 0; }
  .section { padding: 100px 0; }
  .section__head { margin-bottom: 50px; }
  /* Filtros do portfólio abaixo do título, com quebra confortável */
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 80px 0; }
  .logo { font-size: 18px; letter-spacing: 2px; }

  /* Hero */
  .hero { padding: 110px 0 50px; min-height: 88svh; }
  .hero__desc { font-size: 14px; line-height: 1.8; margin-bottom: 32px; }
  .hero__actions { gap: 16px; }
  .hero__actions .btn { padding: 12px 22px; font-size: 11px; }
  .hero__arrow { bottom: 26px; height: 46px; }
  /* Celular: foto ocupa a tela toda como fundo, bem sutil, sem brigar com o texto */
  .hero__photo { width: 100vw; top: 0; opacity: 0.32; }
  .hero__photo img { object-position: top center; }

  /* Tudo centralizado no mobile */
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .hero__actions .btn--ghost { padding-left: 26px; }
  .section__head { text-align: center; }
  .section__head--row { align-items: center; }
  .filters { justify-content: center; }
  .about__content { text-align: center; }
  /* Lista centralizada como bloco, mas com as bolinhas alinhadas na vertical */
  .about__list { width: fit-content; margin-left: auto; margin-right: auto; }
  .about__list li { justify-content: flex-start; text-align: left; }
  .about__stats { text-align: center; }
  .about__media-tag { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .contact__info { text-align: center; }
  .cinfo__social { justify-content: center; }
  .studio__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 16px; }
  .studio__item--big { grid-column: span 1; grid-row: span 1; }
  /* Diferenciais com as bolinhas alinhadas na vertical */
  .studio__features { grid-template-columns: 1fr; gap: 14px; width: fit-content; margin: 0 auto; }
  .studio__features li { justify-content: flex-start; text-align: left; }
  /* Banner: garante o título em só duas linhas */
  .cta__title { font-size: 23px; }
  .tcard { text-align: center; }
  .tcard figcaption { justify-content: center; }
  .work__info { text-align: center; }

  /* Grades viram coluna única */
  .portfolio__grid { grid-template-columns: 1fr; }
  .tcard { width: 300px; padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat__num, .stat__plus { font-size: 26px; }
  .stat__label { font-size: 10px; }
  .about__lead { font-size: 18px; }

  /* Filtros compactos, todos na mesma linha */
  .filters {
    flex-wrap: nowrap; justify-content: center;
    width: 100%; max-width: 100%; overflow-x: auto;
    -ms-overflow-style: none; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { padding: 8px 11px; font-size: 10px; letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0; }

  /* Cards e formulário */
  .work__info { padding: 16px 18px 20px; }
  .field input, .field select, .field textarea { padding: 14px 16px; font-size: 16px; } /* 16px evita zoom automático no iOS */
  .btn--lg { padding: 16px 32px; font-size: 13px; width: 100%; justify-content: center; }

  /* CTA e footer */
  .cta { padding: 80px 0; }
  .footer__inner { flex-direction: column; justify-content: center; text-align: center; gap: 14px; }
  .lightbox { padding: 16px; }
  .lightbox__close { top: 14px; right: 16px; }
  .whats-wrap { right: 18px; bottom: 18px; gap: 10px; }
  .whats-label { font-size: 11px; padding: 9px 14px; }
  .whats-float { width: 62px; height: 62px; }
  .whats-float svg { width: 28px; height: 28px; }
}

/* Telas muito pequenas */
@media (max-width: 380px) {
  .hero__title { font-size: 38px; }
  .stat__num, .stat__plus { font-size: 22px; }
}
