/* Studio Prisma — versão estática */

:root {
  --brand: #ffc222;
  --brand-foreground: #000;
  --background: #000;
  --foreground: #fafafa;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --ui: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, .tile h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
}

a { color: inherit; }

.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 12px;
}

.brand-text { color: var(--brand); }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand);
  margin: 0;
}

.mb-12 { margin-bottom: 48px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--ui);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--foreground);
}

.brand img { height: 40px; width: 40px; object-fit: contain; }

.nav-desktop {
  display: none;
  gap: 40px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-desktop a:hover { color: var(--brand); }

.nav-toggle {
  background: none;
  border: 0;
  padding: 8px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin-bottom: 6px;
}

.nav-toggle span:last-child { margin-bottom: 0; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.nav-mobile a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.nav-mobile a:hover { color: var(--brand); }

.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.hero-copy {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  max-width: 896px;
}

.hero p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 34em;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

.grid-12 {
  display: grid;
  gap: 40px;
}

.section-head { margin-bottom: 48px; }

.section h2 {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lead {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.6);
  max-width: 672px;
  font-size: 16px;
  line-height: 1.7;
}

.border-top { border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* ---------- Works ---------- */
.works { background: #000; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #171717;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tile:hover img { transform: scale(1.05); }

.tile-overlay {
  position: absolute;
  inset: 0;
  background: var(--brand);
  color: var(--brand-foreground);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.tile:hover .tile-overlay { opacity: 1; }

.tile h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.tile p {
  margin: 8px 0 0;
  font-size: 16px;
  opacity: 0.8;
}

/* ---------- Services ---------- */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.services li:hover { background: rgba(255, 194, 34, 0.05); }

.services span {
  display: block;
  padding: 24px 0;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.services li:hover span { color: var(--brand); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-title {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.whatsapp:hover { color: var(--brand); }

.whatsapp svg { width: 32px; height: 32px; }

.addresses {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.addresses h3 {
  color: #fff;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 8px;
}

.addresses p { margin: 0; line-height: 1.5; }

.contact-lines {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.addresses a { text-decoration: none; transition: color 0.2s ease; }
.addresses a:hover { color: var(--brand); }

/* ---------- Form ---------- */
.field { margin-bottom: 24px; }

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  padding: 12px 0;
  font-size: 16px;
  color: var(--foreground);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.field textarea { resize: none; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.field input:focus,
.field textarea:focus { border-color: var(--brand); }

.error {
  color: #f87171;
  font-size: 12px;
  margin: 4px 0 0;
  min-height: 0;
  display: none;
}

.error.show { display: block; }

.submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand);
  color: var(--brand-foreground);
  border: 0;
  padding: 16px 32px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit:hover { background: rgba(255, 194, 34, 0.9); }
.submit:disabled { opacity: 0.5; cursor: default; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0;
  font-family: var(--ui);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img { height: 28px; width: 28px; object-fit: contain; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: calc(24px + 15px);
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--brand);
  color: #000;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #000;
  color: var(--brand);
  border-color: var(--brand);
}

.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 70;
  background: #171717;
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */
@media (min-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero p { font-size: 18px; }
  .tile h3 { font-size: 30px; }
}

@media (min-width: 768px) {
  .hero p { white-space: nowrap; max-width: none; }
  .brand { font-size: 30px; }
  .brand img { height: 44px; width: 44px; }
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .hero h1 { font-size: 72px; }
  .section { padding: 128px 0; }
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-4 { grid-column: span 4; }
  .col-8 { grid-column: span 8; }
  .section h2 { font-size: 48px; }
  .contact-title { font-size: 48px; }
  .lead { font-size: 18px; }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile h3 { font-size: 36px; }
  .tile p { font-size: 20px; }
  .services span { padding: 32px 0; font-size: 36px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .footer-inner { flex-direction: row; }
}

/* Campo anti-spam invisível */
.botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Seletor de idioma */
.lang { letter-spacing: inherit; color: rgba(255, 255, 255, 0.45); white-space: nowrap; }
.lang strong { color: var(--brand); font-weight: inherit; }
.lang a { color: rgba(255, 255, 255, 0.7); }
.lang a:hover { color: var(--brand); }

/* Mosaico: 4 fotos por linha em telas grandes */
@media (min-width: 1024px) {
  .works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile h3 { font-size: 28px; }
  .tile p { font-size: 17px; }
}
