/* ============================================================
   SKETCHVOX — ARCHVIZ STUDIO
   Design tokens
   ============================================================ */

:root {
  --ink: #0B0D12;
  --ink-soft: #14171F;
  --paper: #F6F5F3;
  --paper-dim: #EDEBE7;
  --blue: #2E56E8;
  --blue-soft: #4A6BEF;
  --slate: #4B5875;
  --line: #DCDAD5;
  --line-dark: #2A2E38;
  --mist: #9CA3AF;
  --mist-dark: #6B7280;

  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --notch: 28px; /* diagonal cut size, echoes the logo's triangular notch */
  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--blue);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

/* ============================================================
   Signature element: the diagonal notch
   Echoes the triangular cut in the SKETCHVOX wordmark ("V" gap).
   Applied consistently to image frames + section transitions.
   ============================================================ */

.notch-tr {
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}

.notch-bl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  padding: 16px 0;
  background: rgba(246, 245, 243, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

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

.logo-mark { display: flex; align-items: center; gap: 12px; }

.logo-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.35s ease;
}

.site-header:not(.scrolled) .logo-word { color: var(--paper); }

.logo-word span { color: var(--blue); }

.logo-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--slate), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.35s ease;
}

.site-header.scrolled .main-nav a { color: var(--ink); }

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  height: 2px;
  background: var(--paper);
  transition: background 0.3s ease;
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}

.hero-render {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,18,0.15) 0%, rgba(11,13,18,0.55) 62%, rgba(11,13,18,0.92) 100%),
    linear-gradient(115deg, #1a2030 0%, #232b42 35%, #2e3a5c 55%, #38456b 70%, #1a2030 100%);
}

.hero-render::after {
  content: 'RENDER DE DESTAQUE — substituir por imagem 01';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.28);
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px 90px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-content .eyebrow { color: var(--blue-soft); margin-bottom: 22px; }
.hero-content .eyebrow::before { border-left-color: var(--blue-soft); }

.hero-title {
  font-size: clamp(40px, 6.4vw, 92px);
  color: var(--paper);
  max-width: 15ch;
}

.hero-title em {
  font-style: normal;
  color: var(--blue-soft);
}

.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 17px;
  color: rgba(246,245,243,0.72);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 28px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}

.btn-primary:hover { background: var(--blue-soft); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid rgba(246,245,243,0.35);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--blue-soft); color: var(--blue-soft); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 36px; right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-cue span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.5);
  writing-mode: vertical-rl;
}

.scroll-cue .line {
  width: 1px; height: 46px;
  background: rgba(246,245,243,0.35);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--blue-soft);
  animation: cue-drop 2.2s ease-in-out infinite;
}

@keyframes cue-drop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================================
   Section shell
   ============================================================ */

section { position: relative; }

.section-pad { padding: 140px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 74px;
}

.section-head h2 { font-size: clamp(30px, 4vw, 48px); }

.section-head .lede {
  font-size: 16px;
  color: var(--mist-dark);
  max-width: 52ch;
  align-self: end;
}

.rule {
  height: 1px;
  background: var(--line);
  border: none;
}

/* ============================================================
   Quem Somos
   ============================================================ */

.about { background: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.about-figure {
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, #d9d5cc 0%, #c7c2b7 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.about-figure::after {
  content: 'IMAGEM DO ESTÚDIO — substituir';
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11,13,18,0.32);
}

.about-copy p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 58ch;
}

.about-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--blue);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist-dark);
  margin-top: 6px;
}

/* ============================================================
   Services (Imagens / Filme)
   ============================================================ */

.services { background: var(--ink); color: var(--paper); }

.services .section-head .lede { color: var(--mist); }
.services .rule { background: var(--line-dark); }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}

.service-row:not(:last-child) { border-bottom: 1px solid var(--line-dark); }

.service-row.reverse .service-copy { order: 2; }
.service-row.reverse .service-visual { order: 1; }

.service-index {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--blue-soft);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.service-copy h3 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 20px;
}

.service-copy p {
  font-size: 16px;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: 28px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tags span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 8px 14px;
}

.service-visual {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #1c2338 0%, #2a3454 45%, #38456b 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.service-visual::after {
  content: attr(data-label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,245,243,0.3);
  text-align: center;
  padding: 0 20px;
}

.service-visual.video-visual {
  cursor: pointer;
}

.play-btn {
  position: absolute;
  z-index: 2;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(246,245,243,0.12);
  border: 1px solid rgba(246,245,243,0.4);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn::after {
  content: '';
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--paper);
  margin-left: 5px;
}

.service-visual.video-visual:hover .play-btn {
  transform: scale(1.08);
  background: var(--blue);
  border-color: var(--blue);
}

/* ============================================================
   Galeria
   ============================================================ */

.gallery { background: var(--paper); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #dcd8cf 0%, #c3beb2 100%);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(3n+2) { background: linear-gradient(160deg, #d4d8dc 0%, #aeb7c2 100%); }
.gallery-item:nth-child(3n) { background: linear-gradient(160deg, #dedad1 0%, #bcb6a8 100%); }

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11,13,18,0.35);
  text-align: center;
  padding: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.gallery-item:hover::after {
  background: rgba(46,86,232,0.85);
  color: #fff;
}

/* ============================================================
   Contato
   ============================================================ */

.contact { background: var(--ink); color: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.contact-info p {
  font-size: 16px;
  color: var(--mist);
  max-width: 42ch;
  margin-bottom: 36px;
}

.info-line {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}

.info-line span:first-child {
  color: var(--mist-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.info-line a:hover { color: var(--blue-soft); }

.field {
  margin-bottom: 26px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-dark);
  margin-bottom: 10px;
}

.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--paper);
  transition: border-color 0.25s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
}

.field textarea { resize: vertical; min-height: 80px; }

.submit-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 30px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.submit-btn:hover { background: var(--blue-soft); transform: translateY(-2px); }

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--mist-dark);
  display: none;
}

.form-note.visible { display: block; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .logo-word { color: var(--paper); font-size: 15px; }

.footer-meta {
  font-size: 12px;
  color: var(--mist-dark);
  display: flex;
  gap: 24px;
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .about-grid, .contact-grid, .section-head { grid-template-columns: 1fr; }
  .section-head { gap: 20px; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: 30px; }
  .service-row.reverse .service-copy, .service-row.reverse .service-visual { order: initial; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 24px; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100svh; width: 78%; max-width: 320px;
    background: var(--ink); padding: 100px 32px 40px; transition: right 0.4s ease; z-index: 99; }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 26px; }
  .main-nav a { color: var(--paper) !important; }
  .nav-toggle { display: flex; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding-bottom: 60px; }
  .scroll-cue { display: none; }
}
