:root {
  --bg: #f7f5f0;
  --bg-dark: #121212;
  --ink: #121212;
  --ink-muted: #64615a;
  --border: #d8d3c7;
  --accent: #e0262c;
  --accent-dark: #a91b20;
  --card: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

#orcamentoForm input,
#orcamentoForm textarea,
#orcamentoForm select {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

h1, h2, h3 {
  font-family: "Oswald", "Inter", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: var(--bg);
  border-bottom: 3px solid var(--ink);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-mark {
  height: 26px;
  width: auto;
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a { position: relative; padding-bottom: 4px; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

/* Hero - poster editorial */
.hero {
  position: relative;
  padding: 190px 0 0;
  overflow: hidden;
}

.hero-poster {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
}

.hero-copy { padding-bottom: 70px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(52px, 8.6vw, 128px);
  letter-spacing: -0.01em;
  display: inline-block;
  cursor: default;
}
.hero h1 .accent { color: var(--accent); }

.hero h1:hover {
  animation: heroWiggle 0.6s ease;
}

@keyframes heroWiggle {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  20% { transform: translateX(-6px) rotate(-1.2deg); }
  40% { transform: translateX(5px) rotate(1deg); }
  60% { transform: translateX(-4px) rotate(-0.6deg); }
  80% { transform: translateX(3px) rotate(0.4deg); }
}

.hero p {
  font-size: 16.5px;
  color: var(--ink-muted);
  max-width: 420px;
  margin: 26px 0 34px;
  text-transform: none;
  font-family: "Inter", sans-serif;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.hero-frame {
  position: relative;
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(100%) contrast(1.05);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  mix-blend-mode: multiply;
  opacity: 0.28;
}
.hero-frame-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  z-index: 3;
}

.hero-marquee {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 14px 0;
  margin-top: 60px;
  overflow: hidden;
  white-space: nowrap;
}
.hero-marquee span {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 40px;
}
.hero-marquee span.accent-word { color: var(--accent); }

/* Section shared */
section { padding: 100px 0; }

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 520px;
  text-transform: none;
  font-family: "Inter", sans-serif;
}

/* Servicos - acordeao */
.services-accordion {
  border-top: 3px solid var(--ink);
}

.service-item {
  border-bottom: 3px solid var(--ink);
}

.service-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Oswald", sans-serif;
}

.service-trigger .service-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  width: 36px;
}

.service-trigger h3 {
  flex: 1;
  font-size: 22px;
  color: var(--ink);
  transition: color 0.3s ease;
}

.service-item.open .service-trigger h3 { color: var(--accent); }

.service-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.service-item.open .service-panel { max-height: 140px; }

.service-panel p {
  padding: 0 0 28px 60px;
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 560px;
  text-transform: none;
  font-family: "Inter", sans-serif;
}

/* Portfolio - editorial alternado */
.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.editorial-row:nth-child(even) .editorial-media { order: 2; }

.editorial-media {
  position: relative;
  overflow: hidden;
}
.editorial-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.editorial-media:hover img { transform: scale(1.04); }

.editorial-index {
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}

.editorial-text h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}

.editorial-text p {
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 420px;
  text-transform: none;
  font-family: "Inter", sans-serif;
}

/* Sobre */
.about {
  background: var(--ink);
  color: var(--bg);
}
.about .eyebrow { color: var(--accent); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-frame {
  position: relative;
  overflow: hidden;
}
.about-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(60%);
}

.about-text h2 { color: var(--bg); }
.about-text p { color: #b8b6b0; margin-bottom: 18px; font-size: 15.5px; text-transform: none; font-family: "Inter", sans-serif; }

.stat-row {
  display: flex;
  gap: 30px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 200px;
}
.stat-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s ease;
}
.stat:hover .stat-box {
  background: var(--accent);
  color: #fff;
  transform: rotate(-8deg) scale(1.1);
}
.stat-label {
  font-size: 12.5px;
  color: #a7a59f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Segmentos - blocos numerados */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.segment-block {
  background: var(--bg);
  padding: 44px 32px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.segment-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.18);
  z-index: 2;
}
.segment-block .segment-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 2px solid var(--accent);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s ease;
}
.segment-block:hover .segment-num {
  background: var(--accent);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}
.segment-block h3 { font-size: 18px; margin-bottom: 10px; transition: color 0.3s ease; }
.segment-block:hover h3 { color: var(--accent-dark); }
.segment-block p {
  color: var(--ink-muted);
  font-size: 14.5px;
  text-transform: none;
  font-family: "Inter", sans-serif;
}

/* CTA final */
.cta-final {
  text-align: center;
  padding: 120px 24px;
  background: var(--accent);
  color: #fff;
}
.cta-final h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; color: #fff; }
.cta-final p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 34px; font-size: 16px; text-transform: none; font-family: "Inter", sans-serif; }
.cta-final .btn-primary { background: var(--ink); }
.cta-final .btn-primary:hover { background: #000; }

/* Footer */
footer {
  padding: 48px 0 32px;
  background: var(--ink);
  color: var(--bg);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo img { height: 26px; margin-bottom: 14px; }
.footer-logo p { color: #a7a59f; font-size: 14px; max-width: 280px; }
.footer-col h4 {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7a59f;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  margin-bottom: 10px;
  color: var(--bg);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.footer-social-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #a7a59f;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(224,38,44,0.4);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 27px; height: 27px; }

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

/* Modal de orcamento */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 18, 18, 0.75);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  background: var(--card);
  border: 3px solid var(--ink);
  padding: 44px 36px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--accent); }

.modal-box h3 { font-size: 24px; margin-bottom: 10px; color: var(--ink); }
.modal-sub { color: var(--ink-muted); font-size: 14px; margin-bottom: 26px; text-transform: none; font-family: "Inter", sans-serif; }

#orcamentoForm label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

#orcamentoForm input[type="text"],
#orcamentoForm select,
#orcamentoForm textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 0;
  font-size: 14.5px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  background: #fff;
}

#orcamentoForm input::placeholder,
#orcamentoForm textarea::placeholder { color: #a19d93; }

#orcamentoForm input:focus,
#orcamentoForm select:focus,
#orcamentoForm textarea:focus {
  outline: none;
  border-color: var(--accent);
}

#orcamentoForm input:required:invalid:not(:placeholder-shown),
#orcamentoForm select:required:invalid {
  border-color: var(--accent-dark);
}

#orcamentoForm textarea { resize: vertical; min-height: 80px; font-family: "Inter", sans-serif; }
#orcamentoForm input[readonly] { color: var(--ink-muted); cursor: default; }

#orcamentoForm fieldset { border: none; padding: 0; margin: 0 0 18px; }
#orcamentoForm legend {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
  padding: 0;
}

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.check-option {
  display: flex !important;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 10px !important;
  cursor: pointer;
}
.check-option input[type="checkbox"],
.check-option input[type="radio"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.field-error {
  display: none;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  margin-top: -4px;
  margin-bottom: 12px;
}
.field-error.show { display: block; }

.modal-submit { width: 100%; justify-content: center; border: none; cursor: pointer; margin-top: 8px; }

.autocomplete-wrap { position: relative; }
.autocomplete-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 2px solid var(--ink);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10;
}
.autocomplete-list.open { display: block; }
.autocomplete-item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  cursor: pointer;
}
.autocomplete-item:hover { background: var(--bg); color: var(--accent); }
.autocomplete-empty { padding: 10px 14px; font-size: 13px; color: var(--ink-muted); }

/* Responsivo */
@media (max-width: 900px) {
  .hero-poster { grid-template-columns: 1fr; }
  .hero-frame { max-width: 380px; margin-top: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-frame { max-width: 380px; }
  .segments-grid { grid-template-columns: 1fr; }
  .editorial-row { grid-template-columns: 1fr; }
  .editorial-row:nth-child(even) .editorial-media { order: 0; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  section { padding: 76px 0; }
  .footer-top { flex-direction: column; }
  .hero { padding-top: 160px; }
}
