/* ==========================================================================
   Lindberg Audiovisual — Design tokens
   Preto domina, vermelho só como acento estratégico, nunca fundo de seção.
   ========================================================================== */
:root {
  --black: #0a0a0a;
  --black-pure: #000000;
  --panel: #151515;
  --panel-line: #262626;
  --white: #ffffff;
  --off-white: #ededed;
  --grey: #8f8f8f;
  --red: #ff0000;
  --red-btn: #e00000;
  --red-dim: #b30000;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Jost', sans-serif;

  --gutter: clamp(24px, 5vw, 72px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { max-width: 62ch; }

.eyebrow {
  font-family: var(--font-body);
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.9em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- layout helpers ---------- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.hr {
  border: none;
  border-top: 1px solid var(--panel-line);
  margin: 0;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--panel-line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
}
.logo-badge {
  background: var(--white);
  border-radius: 8px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
}
.logo-badge img { height: 34px; width: auto; }

nav.primary ul { display: flex; gap: 10px; align-items: center; }
nav.primary a {
  font-size: 0.9rem;
  color: var(--off-white);
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
nav.primary a:hover { background: rgba(255,255,255,0.06); border-color: var(--panel-line); color: var(--white); }
nav.primary a.active { color: var(--white); background: var(--red-btn); }
nav.primary a.active:hover { background: #e00000; border-color: transparent; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-btn);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #c80000; transform: translateY(-1px); }
.btn.outline {
  background: transparent;
  border: 1px solid var(--panel-line);
  color: var(--white);
}
.btn.outline:hover { border-color: var(--red); background: rgba(255,0,0,0.06); }
.btn.small { padding: 9px 18px; font-size: 0.85rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  nav.primary { position: fixed; inset: 62px 0 0 0; background: var(--black); transform: translateX(100%); transition: transform 0.25s ease; padding: 32px var(--gutter); overflow-y: auto; }
  nav.primary.open { transform: translateX(0); }
  nav.primary ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  nav.primary a { font-size: 1.2rem; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-copy { max-width: 720px; }
.hero-copy p.lead { color: var(--off-white); font-size: 1.15rem; max-width: 52ch; }
.hero-cta-row { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.pixel-strip {
  position: absolute;
  top: 0; right: 0;
  width: 46%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  opacity: 0.18;
  z-index: 1;
}
.pixel-strip span { background: var(--panel-line); }
.pixel-strip span:nth-child(3n) { background: rgba(255,0,0,0.15); }
.pixel-strip span:nth-child(7n) { background: rgba(255,255,255,0.06); }

/* ---------- stat bar ---------- */
.stat-bar {
  background: var(--black-pure);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}
.stat-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.stat {
  flex: 1 1 200px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  color: var(--white);
  display: block;
}
.stat .num span { color: var(--red); }
.stat .label { color: var(--grey); font-size: 0.92rem; }

/* ---------- tag label (used in service-card-r) ---------- */
.tag {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  display: block;
}

/* ---------- diferencial / suporte tecnico ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 18px; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- cases / portfolio ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4/5; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-card:hover img { transform: scale(1.05); }
.case-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
@media (max-width: 860px) { .case-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid img { border-radius: 18px; width: 100%; aspect-ratio: 1/1; object-fit: cover;  height: auto;}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- testimonials ---------- */
.testi {
  border-left: 2px solid var(--red);
  padding-left: 22px;
}
.testi .stars { color: var(--red); letter-spacing: 2px; margin-bottom: 10px; display: block; }
.testi p { color: var(--off-white); font-size: 1.02rem; }
.testi .who { color: var(--grey); font-size: 0.88rem; margin-top: 10px; }

.rating-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
}
.rating-block .score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--white);
}
.rating-block .stars-lg { color: var(--red); font-size: 1.3rem; letter-spacing: 3px; }
.rating-block .count { color: var(--grey); font-size: 0.9rem; }

/* ---------- about / history ---------- */
.founder-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}
.founder-card img {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; object-position: top;
}
.founder-card .name { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.founder-card .role { color: var(--grey); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--panel-line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-q .icon { color: var(--red); font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--grey);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 22px; margin: 0; }

/* ---------- final CTA band ---------- */
.cta-band {
  background: var(--panel);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0 auto 30px; }

/* ---------- contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; color: var(--grey); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 3px;
}
input:focus, textarea:focus { border-color: var(--red); outline: none; }
textarea { resize: vertical; min-height: 110px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site {
  background: var(--black-pure);
  border-top: 1px solid var(--panel-line);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--grey); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { color: var(--grey); font-size: 0.92rem; max-width: 32ch; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--panel-line);
  color: var(--grey);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- page hero (inner pages, no bg photo) ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--panel-line); }
.page-head p.lead { color: var(--grey); font-size: 1.05rem; }

/* ---------- generic content sections ---------- */
.center { text-align: center; }
.center p.lead { margin-left: auto; margin-right: auto; }
.two-col-text { columns: 2; column-gap: 50px; }
@media (max-width: 760px) { .two-col-text { columns: 1; } }

.badge-list { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.badge-list span {
  border: 1px solid var(--panel-line);
  color: var(--grey);
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 20px;
}
/* ---- v2: icon badges + varied layout ---- */
.icon-badge {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #6a0000);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.8; }
@media (min-width: 860px) {
  .service-card.flagship { grid-column: span 2; display: flex; align-items: center; gap: 30px; }
  .service-card.flagship .icon-badge { margin-bottom: 0; flex-shrink: 0; width: 74px; height: 74px; }
  .service-card.flagship .icon-badge svg { width: 34px; height: 34px; }
}

.quem-somos {
  background: var(--panel);
  border-radius: 4px;
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.quem-somos img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top;
  border: 3px solid var(--red);
  flex-shrink: 0;
}
.quem-somos .quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 500; max-width: 46ch; }
.quem-somos .role { color: var(--grey); font-size: 0.9rem; margin-top: 6px; }

.diferencial-banner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.diferencial-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 10%, rgba(0,0,0,0.15) 75%);
}
.diferencial-banner .content { position: relative; z-index: 1; padding: 40px; max-width: 620px; }

.testi-row { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 10px; }
.testi-row .testi { min-width: 300px; background: var(--panel); border-left: none; border-top: 3px solid var(--red); padding: 24px 22px; border-radius: 4px; }

/* logo sem "etiqueta" branca: ícone transparente + nome recriado em CSS */
.logo-lockup { display: flex; align-items: center; gap: 10px; }
.logo-lockup img { height: 30px; width: auto; }
.logo-lockup span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); letter-spacing: -0.01em; }
.logo-lockup span em { color: var(--red); font-style: normal; }
.logo-lockup.lg img { height: 40px; }
.logo-lockup.lg span { font-size: 1.6rem; }

/* colagem assimétrica — mais dinâmico que foto única */
.collage { position: relative; padding: 30px 20px 20px 0; }
.collage img.back { width: 82%; border-radius: 3px; }
.collage img.front {
  position: absolute; right: 0; bottom: -10px;
  width: 52%; border-radius: 3px;
  border: 5px solid var(--black);
  box-shadow: 0 20px 40px rgba(0,0,0,0.55);
  transform: rotate(-3deg);
}
@media (max-width: 760px) { .collage { padding: 0 0 60px 0; } }

/* painel com corte diagonal — quebra a monotonia dos blocos retos */
.diag-panel {
  background: var(--panel);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  padding: 60px 50px;
}

/* timeline da história */
.timeline { max-width: 800px; }
.tl-item { display: flex; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--panel-line); }
.tl-item:last-child { border-bottom: none; }
.tl-year { flex-shrink: 0; width: 110px; font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: 1.1rem; padding-top: 2px; }
.tl-item h3 { margin-bottom: 8px; }
.tl-item p { margin: 0; color: var(--grey); }
@media (max-width: 600px) { .tl-item { flex-direction: column; gap: 8px; } .tl-year { width: auto; } }

/* lista de serviços — substitui os cards quadrados por linhas limpas */
.service-list { max-width: 900px; }
.service-row {
  display: flex; align-items: flex-start; gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--panel-line);
}
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; }
.service-row.flagship { border-left: 3px solid var(--red); padding-left: 26px; }
.service-row .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.service-row-text h3 { margin-bottom: 6px; }
.service-row-text p { margin-bottom: 0; color: var(--grey); }
.service-row-text a.card-link { display: inline-block; margin-top: 10px; font-size: 0.9rem; color: var(--white); border-bottom: 1px solid var(--red); padding-bottom: 2px; }

/* cards arredondados — alternativa à lista, todos do mesmo tamanho (sem span) */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.service-card-r {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  padding: 32px 28px;
}
.service-card-r.flagship { border-color: var(--red); }
.service-card-r .icon-badge { margin-bottom: 22px; }
.service-card-r h3 { margin-bottom: 10px; }
.service-card-r p { color: var(--grey); font-size: 0.92rem; margin-bottom: 0; }
.service-card-r a.card-link { display: inline-block; margin-top: 16px; font-size: 0.88rem; color: var(--white); border-bottom: 1px solid var(--red); padding-bottom: 2px; }


/* hero: foto sempre atenuada para não brigar com a paleta preto/vermelho */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.7) contrast(1.02) brightness(0.9);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.95) 82%, var(--black) 100%);
  z-index: 1;
}


/* ---------- acessibilidade: skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--red-btn);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- utilitárias (reduzem estilo inline) ---------- */
.u-mb-40 { margin-bottom: 40px; }
.u-mb-50 { margin-bottom: 50px; }
.u-max-800 { max-width: 800px; }
.u-italic-grey { color: var(--grey); font-style: italic; }
