/* =========================================================
   PROTOCOLO LAQI · Masterminds
   Folha de estilo institucional
   Latin American Quality Institute · 2026
   ========================================================= */

:root {
  --navy: #1B2D5E;
  --navy-deep: #15244A;
  --gold: #C9A961;
  --gold-soft: #E8D9A8;
  --paper: #FBFAF7;
  --paper-soft: #F2F4F8;
  --paper-cream: #FAF6EC;
  --ink: #1A1A1A;
  --ink-soft: #555555;
  --ink-faded: #888888;
  --rule: #DCD5C0;
  --red-discrete: #8B2E2E;

  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-width: 760px;
  --max-width-wide: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============== TOP NAVIGATION ============== */
.topnav {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topnav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
}

.brand {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
}

.topnav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.topnav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.topnav-links a:hover { color: var(--navy); }

.lang-switch {
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-faded);
  margin-left: 14px;
  padding-left: 18px;
  border-left: 1px solid var(--rule);
}

.lang-switch button {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-faded);
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switch button.active {
  color: var(--navy);
  font-weight: 700;
}

.lang-switch button:hover { color: var(--navy); }

/* ============== HERO ============== */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 32px 60px;
  text-align: left;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 600px;
}

/* ============== SECTION ============== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 32px;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}

.section p {
  margin-bottom: 22px;
  text-align: left;
}

.section p.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
}

/* ============== PULL QUOTE ============== */
.pullquote {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}

/* ============== DILEMMA CARDS ============== */
.dilemmas {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 60px 32px;
}

.dilemmas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.dilemma-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.dilemma-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.dilemma-letter {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  text-transform: uppercase;
}

.dilemma-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin: 12px 0 18px;
  line-height: 1.25;
}

.dilemma-scenario {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.dilemma-tension {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  line-height: 1.5;
}

/* ============== SUMMITS ============== */
.summits {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 60px 32px;
  background: var(--paper-cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.summits-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.summits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.summit-card {
  text-align: left;
  padding: 20px 0;
  border-top: 2px solid var(--navy);
}

.summit-city {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 6px;
}

.summit-region {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-faded);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.summit-date {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============== METHODOLOGY ============== */
.methodology-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 40px;
}

.method-point {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}

.method-number {
  font-family: var(--serif);
  font-size: 56px;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}

.method-text-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.method-text-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}

/* ============== DOCUMENTS ============== */
.documents {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 60px 32px;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.doc-card {
  border: 1px solid var(--rule);
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.3s, transform 0.3s;
  display: block;
}

.doc-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.doc-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.doc-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}

.doc-description {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.doc-arrow {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ============== PROTOCOL DOWNLOAD ============== */
.protocol-block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 32px;
  text-align: left;
}

.protocol-card {
  background: var(--navy);
  color: var(--paper);
  padding: 48px 40px;
  margin-top: 32px;
}

.protocol-card .doc-eyebrow {
  color: var(--gold-soft);
}

.protocol-card-title {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.protocol-card-desc {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}

.download-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--gold);
  padding: 14px 22px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.download-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ============== FOOTER ============== */
.footer {
  background: var(--navy);
  color: var(--paper);
  padding: 64px 32px 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.footer-title {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
  padding-bottom: 16px;
}

.footer-desc {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-soft);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 620px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--gold-soft);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 15px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--paper); }

.footer-base {
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  padding-top: 24px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

/* ============== UTILITIES ============== */
.lang-pt .es-only,
.lang-es .pt-only { display: none; }

a.inline-link {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s, border-color 0.2s;
}

a.inline-link:hover {
  color: var(--gold);
  border-color: var(--navy);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 720px) {
  .hero { padding: 60px 24px 40px; }
  .hero-title { font-size: 38px; }
  .hero-tagline { font-size: 20px; }
  .section { padding: 40px 24px; }
  .section-title { font-size: 28px; }
  .dilemmas, .documents, .summits { padding: 40px 24px; }
  .dilemmas-grid, .documents-grid { grid-template-columns: 1fr; }
  .summits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .topnav-inner {
    padding: 14px 20px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .topnav-links {
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
  .topnav-links a { font-size: 13px; }
  .lang-switch {
    margin-left: auto;
    padding-left: 14px;
  }
  .method-point { grid-template-columns: 1fr; gap: 12px; }
  .method-number { font-size: 42px; }
  .protocol-card { padding: 32px 24px; }
  .protocol-card-title { font-size: 22px; }
}

@media (max-width: 460px) {
  .topnav-links { gap: 14px; }
  .topnav-links a { font-size: 12px; }
  .lang-switch button { font-size: 12px; }
}
