/* usecarmen — landing institucional. Fonte da verdade: design-handoff/README.md */
/* @font-face vive no CSS critico inline do index.html (ch depende da fonte estar declarada antes) */

:root {
  --bg: #16110F;
  --surface: #1A1412;
  --surface-2: #221B18;
  --border: #2C2320;
  --text: #F3E7DE;
  --muted: #B4A199;
  --muted-2: #7C6960;
  --faint: #4E413B;
  --accent: #E9A9A0;
  --accent-hover: #F3C7C0;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Archivo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, p { text-wrap: pretty; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* content-box: o handoff especifica 1120px de CONTEÚDO, com os 24px de padding por fora */
.container {
  box-sizing: content-box;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--bg); }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 17, 15, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.wordmark:hover { color: var(--text); }
.site-header .btn {
  font-size: 13px;
  padding: 10px 16px;
  white-space: nowrap;
}

/* hero */
.hero {
  padding: 44px 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 44px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.pill {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 11px;
  border-radius: 999px;
}
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(44px, 9vw, 76px);
  line-height: .94;
  letter-spacing: -.045em;
}
.hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -.01em;
}
.hero-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 21.78em; /* 38ch em Archivo 400 */
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
  max-width: 380px;
}
.hero-cta .btn { height: 56px; font-size: 16px; letter-spacing: -.01em; }
.hero-proof {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-image { display: flex; justify-content: center; }
.frame {
  /* 322 = imagem de 300px + 10px de padding + 1px de borda de cada lado */
  width: 322px;
  max-width: 100%;
  border-radius: 32px;
  border: 1px solid var(--border);
  padding: 10px;
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.frame img { display: block; width: 100%; height: auto; border-radius: 24px; }

/* generic section */
section { padding-top: 88px; }
section h2 {
  margin: 0 0 36px;
  font-weight: 800;
  font-size: clamp(30px, 5.5vw, 44px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.eyebrow { margin-bottom: 18px; display: block; }

/* como funciona */
.how h2 { max-width: 12.5em; } /* 20ch em Archivo 800 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
}
.card-plain { background: transparent; }
.card .num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
}
.card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* temas carousel */
.themes { padding-inline: 0; }
.themes-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
}
.themes-head h2 { margin: 0; max-width: 12.5em; } /* 20ch */
.themes-head p { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 26.36em; } /* 46ch */
.themes-nav { display: flex; gap: 10px; }
.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  font-family: Archivo, sans-serif;
  transition: background .15s ease;
}
.arrow-btn:hover { background: var(--surface-2); }
.theme-track {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 24px 24px;
  scrollbar-width: none;
}
.theme-track::-webkit-scrollbar { display: none; }
.theme-card {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 268px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.theme-frame {
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 9px;
  background: var(--surface);
}
.theme-frame img { display: block; width: 100%; height: auto; border-radius: 18px; }
.theme-info { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.theme-info .name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.theme-info .desc { font-size: 14px; line-height: 1.5; color: var(--muted-2); }

/* por que a carmen */
.why h2 { max-width: 13.75em; } /* 22ch em Archivo 800 */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--surface);
}
.feature-copy {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.feature-copy .headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1.1;
  color: var(--accent);
}
.feature-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.feature-shot {
  min-height: 260px;
  background: var(--surface-2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 24px 0;
  border-left: 1px solid var(--border);
  overflow: hidden;
}
.feature-shot img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
}

/* preço */
.pricing-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
}
.pricing-copy { display: flex; flex-direction: column; gap: 8px; }
.pricing-copy .title { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.pricing-copy p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 25.21em; } /* 44ch */
.pricing-box .btn { height: 52px; padding: 0 24px; font-size: 15px; }

/* cta final */
.final-cta {
  padding-top: 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.final-cta h2 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 7.36em; /* 16ch em Instrument Serif */
}
.final-cta h2 em { font-style: italic; color: var(--accent); }
.final-cta .btn { height: 56px; padding: 0 32px; font-size: 16px; }

/* footer */
.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  padding: 40px 24px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  align-items: start;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .wordmark { font-size: 17px; }
.footer-col .desc { font-size: 14px; line-height: 1.6; color: var(--muted-2); max-width: 17.19em; } /* 30ch */
.footer-col a { font-size: 15px; }
.copyright { margin: 0 auto; padding: 0 24px 40px; font-size: 13px; color: var(--faint); }
