/* ============================================
   MARCELO CARRATO — LANDING PAGE
   ============================================
   COMO EDITAR:
   - Cores, fontes e espaçamentos ficam todos aqui em cima,
     em ":root". Troque o valor e o site inteiro atualiza.
   - Cada seção do site está marcada com um comentário
     grande (### SEÇÃO ###) pra você achar rápido.
   ============================================ */

:root {
  /* ---- Cores ---- */
  --bg-primary: #0b0a09;      /* preto quente (fundo geral) */
  --bg-secondary: #161412;    /* preto um pouco mais claro (cards) */
  --gold: #b8935a;            /* dourado principal */
  --gold-light: #ddc294;      /* dourado claro (hover/detalhes) */
  --text-primary: #f3efe7;    /* branco quente (títulos e texto) */
  --text-muted: #a39a8c;      /* cinza quente (texto secundário) */
  --divider: #2b2822;         /* linhas e bordas sutis */

  /* ---- Tipografia ---- */
  --font-display: 'Fraunces', serif;      /* títulos */
  --font-body: 'Manrope', sans-serif;     /* texto corrido */

  /* ---- Espaçamentos ---- */
  --section-padding: 140px;
  --container-width: 1180px;
}

/* ============================================
   RESET E BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}

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

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

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

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

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 28px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn:hover {
  background: var(--gold);
  color: #0b0a09;
}

.btn-solid {
  background: var(--gold);
  color: #0b0a09;
}

.btn-solid:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ============================================
   ### HEADER / NAVEGAÇÃO ###
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background 0.4s ease, padding 0.4s ease;
}

.header.scrolled {
  background: rgba(11, 10, 9, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}

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

.logo-mark img {
  height: 62px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav-toggle span {
  width: 26px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   ### HERO ###
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(42px, 6vw, 76px);
  margin-bottom: 28px;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  bottom: 40px;
  left: 40px;
  border: 1px solid var(--gold);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hero-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 55vw;
  color: var(--text-primary);
  opacity: 0.02;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  font-style: italic;
}

.scroll-cue {
  margin-top: 60px;
  margin-left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ============================================
   ### SOBRE ###
   ============================================ */
.sobre {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--divider);
}

.sobre .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.sobre-image {
  position: relative;
}

.sobre-image img {
  width: 100%;
  filter: grayscale(1);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.sobre-content p {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 17px;
  max-width: 560px;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 50px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--divider);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   ### SERVIÇOS ###
   ============================================ */
.servicos {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.servicos-header {
  max-width: 620px;
  margin-bottom: 70px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--divider);
}

.servico-card {
  background: var(--bg-secondary);
  padding: 48px;
  transition: background 0.35s ease;
}

.servico-card:hover {
  background: #1d1a16;
}

.servico-numero {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 22px;
  display: block;
}

.servico-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.servico-card p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ============================================
   ### GALERIA ###
   ============================================ */
.galeria {
  padding: var(--section-padding) 0;
}

.galeria-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.galeria-header p {
  color: var(--text-muted);
  max-width: 380px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.galeria-grid a {
  display: block;
  overflow: hidden;
  position: relative;
}

.galeria-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.galeria-grid a:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.galeria-grid a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.galeria-grid a:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.galeria-grid a:nth-child(3) { grid-column: span 2; grid-row: span 1; }

/* ============================================
   ### DEPOIMENTOS ###
   ============================================ */
.depoimentos {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.depoimentos-header {
  max-width: 620px;
  margin-bottom: 70px;
}

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

.depoimento-card {
  padding: 40px 34px;
  background: var(--bg-primary);
  border: 1px solid var(--divider);
}

.depoimento-aspas {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 46px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.depoimento-texto {
  color: var(--text-primary);
  font-size: 15.5px;
  margin-bottom: 26px;
}

.depoimento-autor {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
}

.depoimento-nome {
  font-size: 14px;
  font-weight: 700;
}

.depoimento-cargo {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   ### CONTATO ###
   ============================================ */
.contato {
  padding: var(--section-padding) 0;
}

.contato .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.contato-info p {
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 36px;
}

.contato-canais {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contato-canal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--divider);
}

.contato-canal span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.contato-canal a, .contato-canal p {
  font-size: 16px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 26px;
}

.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  padding: 12px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-status {
  margin-top: 18px;
  font-size: 14px;
  color: var(--gold-light);
  display: none;
}

/* ============================================
   ### FOOTER ###
   ============================================ */
.footer {
  padding: 70px 0 36px;
  border-top: 1px solid var(--divider);
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer-social {
  display: flex;
  gap: 26px;
}

.footer-social a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-social a:hover { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--divider);
}

/* ============================================
   ### SCROLL REVEAL ###
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   ### RESPONSIVO ###
   ============================================ */
@media (max-width: 960px) {
  :root { --section-padding: 90px; }

  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    border-left: 1px solid var(--divider);
  }

  .nav-links.is-open { transform: translateX(0); }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero .container,
  .sobre .container,
  .contato .container {
    grid-template-columns: 1fr;
  }

  .hero-image { order: -1; max-width: 340px; margin: 0 auto 40px; }

  .servicos-grid { grid-template-columns: 1fr; }

  .depoimentos-grid { grid-template-columns: 1fr; }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .galeria-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .galeria-grid a:nth-child(2),
  .galeria-grid a:nth-child(3) { grid-column: span 1; }

  .sobre-stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 560px) {
  .container { padding: 0 24px; }
  .servico-card { padding: 36px 28px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
