@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --yellow: #f5c400;
  --black: #080808;
  --dark: #111;
  --grey: #1a1a1a;
  --muted: #929292;
  --green: #087a4b;
  --white: #f4f4f0;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 2000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(8,8,8,.72);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

.accent, .hero-title span, h2 span { color: var(--yellow); }

.menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.menu a {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .25s ease;
}

.menu a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px;
  background: white;
  transition: .3s;
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  
  /* 1. Fotografia como fundo + Degradê preto do lado esquerdo */
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 80%),
    url('hero-tattoo.png');
    
  background-size: cover;
  background-position: center right; /* Foca a ação da tatuadora no lado direito */
  background-repeat: no-repeat;
  
  z-index: 1;
}

/* Garante que o texto fica sobre o fundo e alinhado */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 20px 100px;
}

.hero-content {
  max-width: 550px; /* Limita a largura do texto para não cobrir a mão da tatuadora */
}
.hero::after {
  content: "WILD";
  position: absolute;
  right: -4vw;
  bottom: -7vw;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(180px, 30vw, 520px);
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 150px 0 100px;
}

.eyebrow, .section-label {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.hero-title, h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  margin: 18px 0;
  font-size: clamp(80px, 15vw, 190px);
  line-height: .82;
}

.hero-copy {
  max-width: 620px;
  color: #b9b9b9;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.hero-copy strong { color: white; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  transition: transform .25s, background .25s, color .25s;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary { background: var(--yellow); color: #080808; }
.btn-primary:hover { background: white; }

.btn-ghost, .btn-outline-green {
  border-color: rgba(255,255,255,.3);
  background: transparent;
}

.btn-ghost:hover { background: white; color: black; }

.btn-outline-green {
  border-color: var(--green);
  color: #42c990;
}

.btn-outline-green:hover { background: var(--green); color: white; }

.hero-meta {
  display: flex;
  justify-content: space-between;
  max-width: 700px;
  margin-top: 80px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #666;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.scroll-cue {
  position: absolute;
  right: 30px;
  bottom: 30px;
  writing-mode: vertical-rl;
  color: #777;
  font-size: 9px;
  letter-spacing: 3px;
  z-index: 3;
}

.scroll-cue span { color: var(--yellow); margin-top: 10px; }

/* GENERAL SECTIONS */
section { padding: 130px 0; }

.manifesto { background: #0d0d0d; }

.manifesto-grid, .about-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 50px;
}

.giant-text {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(60px, 10vw, 140px);
  line-height: .86;
}

.giant-text span { color: var(--yellow); }

.manifesto-copy {
  max-width: 550px;
  margin: 45px 0 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.services { background: #111; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.section-head h2, .contact-title {
  margin-top: 12px;
  font-size: clamp(60px, 9vw, 125px);
  line-height: .82;
}

.section-head > p {
  max-width: 280px;
  color: #777;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.service-card {
  position: relative;
  min-height: 440px;
  padding: 35px;
  background: #151515;
  border-top: 3px solid var(--yellow);
  transition: transform .35s, background .35s;
}

.service-card:hover {
  transform: translateY(-10px);
  background: #1c1c1c;
}

.design-card { border-top-color: white; }
.web-card { border-top-color: var(--green); }

.number {
  color: #555;
  font-size: 11px;
  font-weight: 800;
}

.service-icon {
  margin: 65px 0 20px;
  color: var(--yellow);
  font-size: 36px;
}

.service-card h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: 48px;
  font-weight: 400;
}

.service-card p {
  margin: 12px 0 25px;
  color: #999;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  color: #ddd;
  font-size: 12px;
  line-height: 2;
}

.service-card li::before {
  content: "—";
  margin-right: 8px;
  color: var(--yellow);
}

.service-card > a {
  position: absolute;
  left: 35px;
  bottom: 30px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

/* WORK */
.work { background: var(--black); }

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.filter {
  padding: 11px 18px;
  border: 1px solid #333;
  background: transparent;
  color: #777;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.filter:hover, .filter.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: black;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.project {
  min-height: 330px;
  grid-column: span 4;
  overflow: hidden;
  transition: opacity .3s, transform .3s;
}

.project:nth-child(2), .project:nth-child(5) { grid-column: span 5; }
.project:nth-child(3), .project:nth-child(6) { grid-column: span 3; }

.project.hidden { display: none; }

.project-placeholder {
  background:
    linear-gradient(135deg, rgba(245,196,0,.12), transparent 45%),
    repeating-linear-gradient(135deg, #181818 0, #181818 18px, #111 18px, #111 36px);
  border: 1px solid #252525;
}

.project-inner {
  height: 100%;
  min-height: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-inner span {
  color: #777;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
}

.project-inner strong {
  align-self: end;
  color: var(--yellow);
  font-family: Anton, Impact, sans-serif;
  font-size: 80px;
  font-weight: 400;
}

.portfolio-note {
  margin-top: 20px;
  color: #555;
  font-size: 11px;
}

/* ABOUT */
.about { background: #151515; }

.quote {
  max-width: 850px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(42px, 7vw, 90px);
  line-height: .95;
  text-transform: uppercase;
}

.about-copy > p:last-child {
  max-width: 500px;
  margin-top: 35px;
  color: #999;
  line-height: 1.8;
}

/* CONTACT */
.contact {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 45%, rgba(245,196,0,.1), transparent 25%),
    #090909;
}

.contact-title { margin: 25px 0; }

.contact-copy {
  max-width: 560px;
  color: #999;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 35px;
}

footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #555;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.footer-inner strong { color: white; font-size: 16px; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 800px) {
  .container { width: min(100% - 28px, 1180px); }

  .menu-toggle { display: block; z-index: 1002; }

  .menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    background: rgba(8,8,8,.98);
    transform: translateX(100%);
    transition: transform .35s ease;
  }

  .menu.open { transform: translateX(0); }

  .menu a { font-size: 22px; }

  .hero-inner { padding-top: 130px; }

  .hero-title { font-size: clamp(70px, 22vw, 130px); }

  .hero-meta { margin-top: 55px; }

  .scroll-cue { display: none; }

  section { padding: 90px 0; }

  .manifesto-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-head {
    display: block;
    margin-bottom: 35px;
  }

  .section-head > p { margin-top: 25px; }

  .service-grid { grid-template-columns: 1fr; }

  .service-card { min-height: 410px; }

  .portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; }

  .project,
  .project:nth-child(2),
  .project:nth-child(3),
  .project:nth-child(5),
  .project:nth-child(6) {
    grid-column: span 1;
  }

  .project-inner { min-height: 250px; }

  .project-inner strong { font-size: 55px; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* --- FAQ Section --- */
.faq-section {
  padding: 80px 0;
}

.faq-grid {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-grid details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.faq-grid details[open] {
  border-color: var(--accent-color, #00ff66);
}

.faq-grid summary {
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid details p {
  margin-top: 16px;
  color: #a0a0a0;
  line-height: 1.6;
}
/* Layout da Imagem do Hero */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Em telemóveis passa para 1 coluna */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* Tamanho igual para todas as fotos da galeria */
.portfolio-grid .project {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #111;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project:hover .project-img {
  transform: scale(1.05);
}
/* Mudar o alinhamento de todo o bloco do Hero para o lado direito */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Empurra o conteúdo para a direita */
  text-align: right;     /* Alinha o texto à direita */
  margin-left: auto;     /* Garante o posicionamento no lado direito */
}

/* Alinha os botões à direita */
.hero-actions {
  justify-content: flex-end;
}

/* Inverte o degradê de fundo para a sombra ficar no lado direito */
.hero {
  background-image: 
    linear-gradient(to left, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 80%),
    url('hero-tattoo.png');
  background-position: center left; /* Foca a foto no lado esquerdo */
}
/* Correção definitiva de tamanho para todas as fotos da galeria */
.portfolio-grid article,
.work-grid article,
.project {
  height: 380px !important;
  max-height: 380px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-color: #0d0d0d !important;
  overflow: hidden !important;
}

.portfolio-grid article img,
.work-grid article img,
.project-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
/* Reverter o alinhamento para o LADO ESQUERDO */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinha tudo à esquerda */
  text-align: left;        /* Texto alinhado à esquerda */
  margin-right: auto;
  margin-left: 0;
}

/* Alinha os botões à esquerda */
.hero-actions {
  justify-content: flex-start;
}

/* Degradê com sombra escura na esquerda para destacar o texto sobre a foto */
.hero {
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.9) 25%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0) 85%),
    url('hero-tattoo.png');
  background-position: center right; /* Foca a ação da foto na direita */
}

/* FORÇAR 3 QUADRADOS LADO A LADO NA HORIZONTAL */
.portfolio-grid,
.work-grid {
  display: flex !important;
  flex-direction: row !important; /* Força linha horizontal */
  justify-content: center !important;
  align-items: center !important;
  gap: 15px !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 30px auto !important;
}

.portfolio-grid article,
.portfolio-grid .project,
.work-grid article,
.work-grid .project {
  flex: 1 1 0px !important; /* Garante larguras 100% iguais */
  width: 100% !important;
  aspect-ratio: 1 / 1 !important; /* FORÇA QUADRADO PERFEITO */
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-color: #0d0d0d !important;
}

.portfolio-grid img,
.work-grid img,
.project-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Preenche o quadrado sem distorcer */
  object-position: center !important;
  display: block !important;
}
/* Espaçamento e estrutura das cartas de serviços */
.services-grid .service-card,
.service-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 35px 25px !important;
  min-height: 440px !important;
}

.service-card ul,
.services-list {
  margin-bottom: 30px !important;
}

/* BOTÃO DE IMPACTO "PEDIR ORÇAMENTO" */
.btn-budget {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 14px 20px !important;
  margin-top: auto !important;
  
  background-color: transparent !important;
  color: #ffc700 !important;
  border: 2px solid #ffc700 !important;
  border-radius: 6px !important;
  
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 0 12px rgba(255, 199, 0, 0.15) !important;
}

/* Seta animada dentro do botão */
.btn-budget span {
  display: inline-block !important;
  transition: transform 0.3s ease !important;
  font-size: 1.1rem !important;
}

/* Efeito ao passar o rato (Hover) */
.btn-budget:hover {
  background-color: #ffc700 !important;
  color: #000000 !important;
  box-shadow: 0 0 25px rgba(255, 199, 0, 0.6) !important; /* Brilho Néon */
  transform: translateY(-3px) !important;
}

.btn-budget:hover span {
  transform: translateX(5px) !important; /* Move a seta para a direita */
}
/* Empurra os botões PEDIR ORÇAMENTO mais para baixo */
.service-card .btn-budget,
.services-card .btn-budget {
  margin-top: 35px !important; /* Aumenta a distância do texto superior */
}

/* Aumenta a altura dos cartões para dar mais espaço no fundo */
.services-grid .service-card,
.service-card {
  padding-bottom: 40px !important; /* Espaço extra na parte inferior do cartão */
  min-height: 480px !important;    /* Garante uma altura confortável */
}
/* Organização da secção FEITO PELA WILD */
.portfolio-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  margin-bottom: 35px !important;
}

/* Botões de filtro abaixo do título */
.filter-buttons {
  display: flex !important;
  gap: 12px !important;
  margin-top: 20px !important;
  margin-bottom: 25px !important;
}

/* Grelha de fotos a ocupar a largura total por baixo */
.portfolio-grid {
  width: 100% !important;
  margin-top: 10px !important;
}
/* ESTILO E ANIMAÇÃO DA FAIXA INFINITA (MARQUEE) */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background-color: #ffc700; /* Fundo Amarelo Neon */
  color: #000000;            /* Texto Preto */
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  user-select: none;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}

.marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-right: 20px;
}

/* Animação contínua da esquerda para a direita */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Estrutura do Carrossel */
.carousel-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Área de fotos com Scroll Suave escondido */
.carousel-wrapper .portfolio-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  width: 100% !important;
  padding: 10px 0 !important;
  scrollbar-width: none !important; /* Esconde barra no Firefox */
}

.carousel-wrapper .portfolio-grid::-webkit-scrollbar {
  display: none !important; /* Esconde barra no Chrome/Safari/Opera */
}

/* Quadrados perfeitos dentro do carrossel */
.carousel-wrapper .project {
  flex: 0 0 calc(33.333% - 10px) !important; /* Mostra exatamente 3 fotos */
  min-width: calc(33.333% - 10px) !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
}

/* Botões das Setas Amarelas */
.carousel-arrow {
  background-color: #ffc700 !important;
  color: #000000 !important;
  border: none !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.carousel-arrow:hover {
  background-color: #ffffff !important;
  transform: scale(1.1) !important;
}

.prev-btn {
  margin-right: 12px !important;
}

.next-btn {
  margin-left: 12px !important;
}

/* Ajuste em telemóveis (mostra 1 foto quase inteira por vez) */
@media (max-width: 600px) {
  .carousel-wrapper .project {
    flex: 0 0 85% !important;
    min-width: 85% !important;
  }
}
