/* Tandem — marketing site. Tokens per CLAUDE.md §3. */

:root {
  --ink: #1A1612;
  --ink-soft: #5C5448;
  --paper: #F4EFE6;
  --brass: #A88B4A;
  --brass-light: #C9AE76;
  --sand: #E8DEC9;
  --rule: #2A241F;
  --danger: #8B2C0E;
  --card-dark: #211C17;
  --body-dark: #3a3530;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

::selection { background: var(--brass); color: var(--paper); }

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

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

.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}
.eyebrow.on-dark { color: var(--brass-light); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  padding: 18px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(26, 22, 18, 0.12);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: flex; align-items: center; }
.brand-mark span:first-child { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); display: block; z-index: 1; position: relative; }
.brand-mark span:last-child { width: 22px; height: 22px; border-radius: 50%; background: var(--brass); opacity: 0.92; margin-left: -8px; display: block; }
.brand-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); flex-wrap: wrap; }
.nav-link { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color 0.15s ease; }
.nav-link:hover { color: var(--brass); }

.btn {
  display: inline-block;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 15px 30px; font-size: 15px; }

.link-underline {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(26, 22, 18, 0.3);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.link-underline:hover { color: var(--brass); border-color: var(--brass); }

/* ---------- Simple sub-page header ---------- */

.subheader {
  background: var(--paper);
  padding: 20px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(26, 22, 18, 0.12);
}
.back-link { font-size: 14px; color: var(--ink-soft); font-weight: 500; transition: color 0.15s ease; }
.back-link:hover { color: var(--brass); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(72px, 11vw, 132px) 0 clamp(72px, 9vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
h1.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.lede { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 500px; margin: 0 0 36px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.media-slot {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(155deg, var(--ink) 0%, #33291d 55%, var(--brass) 160%);
}
.media-slot::after {
  content: attr(data-caption);
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--sand);
  opacity: 0.75;
}
.media-slot.ratio-6-5 { aspect-ratio: 6/5; }
.media-slot.ratio-4-5 { aspect-ratio: 4/5; }
.media-slot.ratio-3-4 { aspect-ratio: 3/4; }
.media-slot.ratio-4-3 { aspect-ratio: 4/3; }
.media-slot.ratio-21-9 { aspect-ratio: 21/9; }

.media-slot.shows-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.2vw, 14px);
}
.media-slot.shows-shot::after { display: none; }
.media-slot.shows-shot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.media-slot.shows-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4px;
  padding: 0 0 clamp(72px, 9vw, 110px);
}
.gallery-row-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4px;
  margin-bottom: 64px;
}

/* ---------- Section rhythm ---------- */

section { background: var(--paper); }
.section-pad { padding: clamp(72px, 9vw, 110px) 0; }
.section-pad-top-sm { padding: clamp(20px, 3vw, 40px) 0 clamp(72px, 9vw, 110px); }
.section-dark { background: var(--ink); }

h2.title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 720px;
  text-wrap: balance;
}
.title.on-dark { color: var(--paper); }
.section-intro { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 640px; margin: 0 0 56px; }
.section-intro.on-dark { color: var(--sand); }

/* ---------- Dores (2 column list) ---------- */

.dores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.dores-col-label {
  color: var(--brass);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26, 22, 18, 0.15);
}
.dores-list { display: flex; flex-direction: column; gap: 22px; }
.dores-list h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.dores-list p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---------- Solução (mapping rows) ---------- */

.map-rows { display: flex; flex-direction: column; gap: 1px; background: rgba(232, 222, 201, 0.15); border-radius: 6px; overflow: hidden; }
.map-row {
  background: var(--card-dark);
  padding: 28px clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}
.map-row p { margin: 0; font-size: 16px; line-height: 1.5; }
.map-before { color: var(--sand); }
.map-arrow { color: var(--brass); font-size: 22px; }
.map-after { color: var(--paper); }
.map-after strong { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 19px; }

/* ---------- Feature spotlight ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 6vw, 72px); align-items: center; }
.feature-kicker { font-size: 18px; line-height: 1.5; color: var(--brass); font-weight: 500; margin: 0 0 24px; }
.feature-grid p.body { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }
.steps { display: flex; flex-direction: column; gap: 14px; border-left: 2px solid var(--brass); padding-left: 20px; }
.steps div { font-size: 15px; color: var(--ink); }

/* ---------- Feature cards grid ---------- */

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--paper); padding: 32px 28px; border-right: 1px solid rgba(26, 22, 18, 0.1); border-bottom: 1px solid rgba(26, 22, 18, 0.1); }
.card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 16px 0 8px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.card svg { stroke: var(--brass); }

/* ---------- Voice: evitar / tandem ---------- */

.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.voice-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.voice-label.avoid { color: var(--danger); }
.voice-label.good { color: var(--brass-light); }
.voice-list { display: flex; flex-direction: column; gap: 14px; }
.voice-bad { font-size: 15px; line-height: 1.55; color: #9c9488; margin: 0; padding: 16px 18px; border: 1px solid rgba(139, 44, 14, 0.4); border-radius: 6px; font-style: italic; }
.voice-good { font-size: 15px; line-height: 1.55; color: var(--paper); margin: 0; padding: 16px 18px; background: var(--card-dark); border-left: 2px solid var(--brass); border-radius: 0 6px 6px 0; }

/* ---------- Como funciona (steps) ---------- */

.steps-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.step-card { border-top: 2px solid var(--brass); padding-top: 20px; }
.step-num { font-size: 40px; font-weight: 600; color: var(--brass); line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.step-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---------- Compare table ---------- */

.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  text-align: left;
  color: var(--ink);
  padding: 0 20px 16px 0;
  border-bottom: 1px solid rgba(26, 22, 18, 0.15);
}
.compare-table th:first-child { color: var(--brass); }
.compare-table td {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid rgba(26, 22, 18, 0.08);
  vertical-align: top;
}
.compare-table td strong { color: var(--ink); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 640px) {
  .compare-table-wrap { overflow-x: visible; }
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { padding: 20px 0; border-bottom: 1px solid rgba(26, 22, 18, 0.12); }
  .compare-table tbody tr:last-child { border-bottom: none; }
  .compare-table td { padding: 6px 0; border-bottom: none; }
  .compare-table td[data-label]:not([data-label="Funcionalidade"])::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 4px;
  }
  .compare-table td:first-child { font-size: 16px; margin-bottom: 4px; }
}

/* ---------- Pills ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1px solid rgba(26, 22, 18, 0.2); border-radius: 100px; padding: 12px 22px; font-size: 15px; color: var(--ink); }

/* ---------- Contact form ---------- */

.contact-box { max-width: 640px; margin: 0 auto; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field label { display: block; font-size: 13px; color: var(--brass-light); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--card-dark);
  border: 1px solid rgba(232, 222, 201, 0.2);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--paper);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}
.field textarea { resize: vertical; }
.form button[type="submit"] { margin-top: 8px; padding: 16px; font-size: 15px; }
.form button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
.form-success { text-align: center; padding: 48px 24px; border: 1px solid rgba(232, 222, 201, 0.2); border-radius: 6px; }
.form-success h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 26px; color: var(--paper); margin: 0 0 12px; }
.form-success p { font-size: 15px; color: var(--sand); margin: 0; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--paper);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  border-top: 1px solid rgba(26, 22, 18, 0.12);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-mark span:first-child { width: 18px; height: 18px; }
.footer-brand .brand-mark span:last-child { width: 18px; height: 18px; margin-left: -6px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-tagline { font-size: 13px; color: var(--ink-soft); margin: 0; }
.footer-heading { font-size: 13px; font-weight: 600; color: var(--brass); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { font-size: 14px; color: var(--ink-soft); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(26, 22, 18, 0.1); font-size: 13px; color: var(--ink-soft); }

footer.simple-footer { border-top: 1px solid rgba(26, 22, 18, 0.12); padding: 32px clamp(24px, 5vw, 64px); text-align: center; font-size: 13px; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */

.legal-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 80px); }
.legal-hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.15; margin: 0 0 28px; text-wrap: balance; }
.legal-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(34px, 5vw, 52px); margin: 0 0 16px; }
.legal-meta { font-size: 14px; color: var(--ink-soft); margin: 0 0 40px; }
.legal-body { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px) 100px; }

.toc-box { border-top: 1px solid rgba(26, 22, 18, 0.15); border-bottom: 1px solid rgba(26, 22, 18, 0.15); padding: 28px 0; margin-bottom: 48px; }
.toc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.toc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; }
.toc-grid a { font-size: 14px; color: var(--ink); transition: color 0.15s ease; }
.toc-grid a:hover { color: var(--brass); }

.callout { background: var(--ink); border-left: 3px solid var(--brass); padding: 24px 28px; border-radius: 0 6px 6px 0; margin-bottom: 56px; }
.callout p { font-size: 15px; line-height: 1.65; color: var(--sand); margin: 0; }
.callout a { color: var(--brass-light); }
.callout.tight { padding: 20px 24px; margin-bottom: 0; }
.callout.tight p { font-size: 14px; }

.legal-section { margin-bottom: 56px; }
.legal-section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.legal-section-num { font-size: 13px; color: var(--brass); font-weight: 600; }
.legal-section h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 26px; margin: 0; }
.legal-section h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.03em; margin: 0 0 12px; }
.legal-section p { font-size: 16px; line-height: 1.7; color: var(--body-dark); margin: 0 0 16px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { font-size: 15px; line-height: 1.8; color: var(--body-dark); margin: 0 0 22px; padding-left: 20px; }
.legal-section ul:last-child { margin-bottom: 0; }
.legal-section a { color: var(--brass); }

.data-rows { display: flex; flex-direction: column; gap: 1px; background: rgba(26, 22, 18, 0.12); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.data-row { background: var(--paper); padding: 16px 20px; display: grid; grid-template-columns: minmax(140px, 180px) 1fr; gap: 16px; font-size: 14px; }
.data-row.cols-3 { grid-template-columns: 110px 1fr 60px; font-size: 13.5px; }
.data-row.cols-3-wide { grid-template-columns: minmax(120px, 180px) minmax(140px, 1fr) 1fr; font-size: 13.5px; }
.data-row strong { font-size: 14px; }
.data-row span { color: var(--ink-soft); }

.rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgba(26, 22, 18, 0.12); border-radius: 6px; overflow: hidden; margin-bottom: 24px; }
.rights-grid > div { background: var(--paper); padding: 20px; }
.rights-grid strong { font-size: 14.5px; }
.rights-grid p { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 0; line-height: 1.5; }
