/* F2 Creative — site institucional, reconstrução estática a partir do Wix.
   Paleta e cores extraídas por amostragem de pixel do screenshot real (ver qa-report.md). */

:root {
  --bg: #ffffff;
  --dark: #0d0d0d;
  --text: #0d0d0d;
  --gray-bg: #f2f2f2;
  --gray-text: #666666;
  --accent: #8aff00;
  --font-heading: "Poppins", Arial, sans-serif;
  --font-body: "Heebo", Arial, sans-serif;
  --font-ui: "Montserrat", Arial, sans-serif;
  --inset: 15.4%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
}

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

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
}

.mark {
  background: var(--accent);
  padding: 0 8px;
  font-weight: 600;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
}

.logo {
  font-family: var(--font-ui);
  font-size: 18px;
  letter-spacing: 2.7px;
}
.logo strong { font-weight: 700; }
.logo span.thin { font-weight: 400; }

.tagline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  margin-top: 12px;
}
.tagline .mark { padding: 0 4px; font-weight: 700; }

.header-top {
  display: flex;
  flex-direction: column;
}

.header-social img { width: 20px; height: 20px; }

/* Hero */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 108px 24px 108px 26.7%;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.25;
  max-width: 810px;
  color: #fff;
}
.hero h1 em { font-style: italic; font-weight: 300; }
.hero h1 .mark { color: var(--dark); }

/* O que fazemos */
.section-title {
  padding: 72px 24px 32px var(--inset);
}
.section-title h2 { font-size: 56px; }

/* Faixa preta com respiro nas bordas (medido no original: 40px de inset de
   página + ~42px de respiro interno até o primeiro/último card, em 1425px). */
.what-we-do {
  background: var(--dark);
  margin: 0 2.8%;
  padding: 60px 3% 20px;
}
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.what-we-do-item figure { margin: 0; }
.what-we-do-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 286 / 335;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
}
/* Legenda em caixa branca sobreposta à parte inferior da foto, deslocada para a
   direita (medido no original: puxada 13% para cima, deslocada 7% à direita,
   borda direita rente à coluna). Sem isso o texto ficava cinza sobre preto,
   ilegível, e sem a composição real do card. */
.what-we-do-item figcaption {
  position: relative;
  z-index: 1;
  margin: -13% 0 0 7%;
  width: 93%;
  background: #fff;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  padding: 24px 20px 28px;
}

/* A agência: rótulo em cima, headline + texto empilhados numa coluna estreita
   abaixo (medido no original: mesma coluna, não duas colunas lado a lado). */
.agency {
  padding: 80px 24px;
  max-width: none;
  margin: 0;
}
.agency > div:first-child { padding-left: var(--inset); margin-bottom: 40px; }
.agency > div:first-child h2 { font-size: 58px; }
.agency-text {
  position: relative;
  margin-left: 19.8%;
  max-width: 47.5%;
  padding-right: 100px;
}
.agency-text h2 { font-size: 50px; font-weight: 400; margin-bottom: 24px; }
.agency-text p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; }
/* Barra de destaque ao lado do texto, não colada na borda dele (medido no
   original: 64px de largura, com respiro de 24px até a coluna de texto). */
.agency-bar {
  position: absolute;
  top: 17px;
  bottom: -45px;
  left: calc(100% + 24px);
  width: 64px;
  background: var(--accent);
}

/* Depoimentos */
.testimonials {
  background: var(--gray-bg);
  padding: 80px 24px;
}
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.testimonial img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  filter: grayscale(100%);
}
.testimonial {
  text-align: center;
}
.testimonial img { margin-left: auto; margin-right: auto; }
.testimonial h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.testimonial h3 span { font-weight: 400; }
.testimonial p {
  font-size: 16px;
  color: var(--dark);
}

/* Grade de vídeos */
.video-grid {
  background: var(--dark);
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.video-grid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

/* Números */
.numbers {
  padding: 88px 24px;
}
.numbers h2 { font-size: 56px; font-weight: 700; margin-bottom: 56px; padding-left: var(--inset); }
.numbers-grid {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: left;
  padding: 0 3%;
}
.numbers-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 12px;
}
.numbers-grid span {
  color: var(--dark);
  font-size: 18px;
}

/* Clientes */
.clients {
  padding: 88px 24px;
  text-align: center;
}
.clients h2 { font-size: 41px; font-weight: 700; margin-bottom: 48px; padding-left: var(--inset); text-align: left; }
.clients img { margin: 0 auto; filter: grayscale(100%); }

/* Contato */
.contact {
  padding: 88px 24px;
}
.contact h2 { font-size: 58px; font-weight: 700; margin-bottom: 48px; padding-left: var(--inset); }
.contact-form {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .field-col { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--dark);
  padding: 10px 12px;
  font-family: var(--font-ui);
  font-size: 14px;
}
.contact-form textarea { height: 100%; min-height: 120px; resize: vertical; }
.contact-form .submit-row { grid-column: 1 / -1; }
.contact-form button {
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  cursor: pointer;
}
.contact-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}
.form-notice {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: -4px;
  min-height: 1em;
}
.form-notice[data-state="ok"] { color: #2e7d32; }
.form-notice[data-state="error"] { color: #c62828; }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Rodapé final */
.footer-block {
  background: var(--dark);
  color: #fff;
  padding: 88px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-info .logo { color: #fff; margin-bottom: 16px; }
.footer-info address,
.footer-info p { font-style: normal; margin: 0 0 16px; font-size: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social img { width: 22px; height: 22px; filter: invert(1); }

.footer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.footer-form input,
.footer-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--dark);
  color: var(--dark);
  padding: 10px 12px;
  font-family: var(--font-ui);
  font-size: 14px;
}
.footer-form textarea { min-height: 90px; resize: vertical; grid-column: 1 / -1; }
.footer-form .submit-row { grid-column: 1 / -1; }
.footer-form button {
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
  padding: 16px;
  font-family: var(--font-ui);
  font-size: 15px;
  cursor: pointer;
}
.footer-form button[disabled] { cursor: not-allowed; opacity: 0.6; }
.footer-form .form-notice { color: #aaa; }
.footer-form .form-notice[data-state="ok"] { color: #7bd88f; }
.footer-form .form-notice[data-state="error"] { color: #ff8a80; }

/* Rodapé legal */
.legal-footer {
  background: var(--dark);
  color: #ccc;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.legal-footer a { color: #ccc; }
.legal-footer a:hover { color: #fff; }

/* Mobile reflow (5b.4: mesmo HTML, refluindo por CSS, sem layout 320px separado do Wix).
   Os insets grandes (hero 26,7%, seções 15,4%) só fazem sentido em telas largas;
   em mobile toda seção volta a um respiro pequeno e uniforme. */
@media (max-width: 760px) {
  .site-header { padding: 20px 20px; }
  .logo { font-size: 15px; letter-spacing: 1.6px; }
  .tagline { font-size: 13px; }

  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 34px; max-width: none; }

  .section-title { padding: 48px 20px 20px 20px; }
  .section-title h2 { font-size: 30px; }

  .agency { padding: 56px 20px; }
  .agency > div:first-child { padding-left: 0; margin-bottom: 20px; }
  .agency > div:first-child h2 { font-size: 30px; }
  .agency-text { margin-left: 0; max-width: none; padding-right: 0; }
  .agency-text h2 { font-size: 26px; }
  .agency-bar { display: none; }

  .what-we-do { margin: 0 16px; padding: 32px 16px 16px; }
  .what-we-do-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .what-we-do-item figcaption { margin-left: 6%; width: 94%; font-size: 16px; padding: 16px 14px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .numbers h2 { padding-left: 0; font-size: 24px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .numbers-grid strong { font-size: 38px; }

  .clients h2 { padding-left: 0; text-align: center; font-size: 26px; }
  .contact h2 { padding-left: 0; font-size: 32px; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-form textarea { min-height: 100px; }
  .footer-block { grid-template-columns: 1fr; }
  .footer-form { grid-template-columns: 1fr; }
}
