/* ============================================
   VERITIO — Global Stylesheet
   ============================================ */

:root {
  --green-900: #0d2818;
  --green-800: #14432a;
  --green-700: #1a5c3a;
  --green-600: #1e6f45;
  --green-500: #247a4e;
  --green-400: #2d9960;
  --green-300: #4db87e;
  --green-200: #8ed4a8;
  --green-100: #c8e8d4;
  --green-50: #eaf5ef;

  --sand-50: #faf8f5;
  --sand-100: #f2efe8;
  --sand-200: #e8e3d8;

  --text-primary: #0d2818;
  --text-secondary: #3a5a48;
  --text-muted: #6b8a78;
  --text-light: #f2efe8;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--sand-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* UTILITY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav--solid {
  background: var(--green-900);
  padding: 0.8rem 0;
}
.nav.scrolled {
  background: rgba(13, 40, 24, 0.97);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: white;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo span {
  font-family: var(--sans); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: white;
}
.nav-links { display: flex; gap: 0; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-cta {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 6px; margin-left: 0.5rem !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.2) !important; }
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: white;
  position: absolute; left: 5px; transition: all 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 9px; }
.mobile-toggle span:nth-child(2) { top: 15px; }
.mobile-toggle span:nth-child(3) { top: 21px; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--green-900); padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(36,122,78,0.18), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.12;
  color: white; margin-bottom: 1rem; max-width: 700px;
}
.page-hero h1 em { font-style: italic; color: var(--green-300); }
.page-hero .lead {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,0.6); max-width: 600px;
}

/* ---- SECTION SHARED ---- */
section { padding: 5rem 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-600);
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 20px; height: 2px; background: var(--green-500);
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15; color: var(--text-primary); margin-bottom: 1rem;
}
.section-desc {
  font-size: 1rem; line-height: 1.7; color: var(--text-secondary);
  max-width: 640px;
}
.section--dark { background: var(--green-900); color: white; }
.section--dark .section-label { color: var(--green-300); }
.section--dark .section-label::before { background: var(--green-400); }
.section--dark .section-title { color: white; }
.section--dark .section-desc { color: rgba(255,255,255,0.6); }
.section--white { background: white; }
.section--sand { background: var(--sand-50); }
.section--gradient {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: white;
}
.section--gradient .section-label { color: var(--green-300); }
.section--gradient .section-label::before { background: var(--green-400); }
.section--gradient .section-title { color: white; }
.section--gradient .section-desc { color: rgba(255,255,255,0.6); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--primary { background: var(--green-600); color: white; }
.btn--primary:hover { background: var(--green-500); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(30,111,69,0.3); }
.btn--outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.5); color: white; }
.btn--white { background: white; color: var(--green-900); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn--outline-dark {
  background: transparent; color: var(--green-700);
  border: 1px solid var(--green-200);
}
.btn--outline-dark:hover { border-color: var(--green-500); color: var(--green-600); }

/* ---- CARDS ---- */
.card {
  background: white; border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card--dark:hover { background: rgba(255,255,255,0.06); box-shadow: none; transform: none; }
.card--green {
  background: var(--green-900); color: white;
  border: none;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon--green { background: var(--green-50); }
.card-icon--green svg { color: var(--green-600); }
.card-icon--dark { background: rgba(77,184,126,0.12); }
.card-icon--dark svg { color: var(--green-300); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card h3.serif { font-family: var(--serif); font-size: 1.2rem; }
.card p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); }
.card--dark p { color: rgba(255,255,255,0.5); }
.card--green p { color: rgba(255,255,255,0.6); }
.card-tag {
  display: inline-block; margin-top: 0.75rem;
  padding: 0.25rem 0.6rem; border-radius: 4px;
  background: rgba(77,184,126,0.1); color: var(--green-600);
  font-size: 0.7rem; font-weight: 600;
}
.card--dark .card-tag { color: var(--green-300); background: rgba(77,184,126,0.12); }
.card-refs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.card-refs span {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.3rem;
}
.card-refs a, .card-refs em {
  display: inline-block; font-size: 0.75rem; color: var(--green-600);
  text-decoration: none; margin-right: 0.5rem; font-style: normal;
}
.card-refs a:hover { text-decoration: underline; }

/* ---- GRID LAYOUTS ---- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2-1 { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* ---- FEATURE NUMS ---- */
.feature-num {
  font-family: var(--serif); font-size: 2.5rem;
  color: var(--green-200); line-height: 1; margin-bottom: 1rem;
}
.card--accent::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card--accent { position: relative; overflow: hidden; }
.card--accent:hover::after { transform: scaleX(1); }

/* ---- LEGAL ITEMS ---- */
.legal-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.legal-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--green-800); }
.legal-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
.legal-item a {
  font-size: 0.75rem; color: var(--green-600); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.2rem; margin-top: 0.25rem;
}
.legal-item a:hover { text-decoration: underline; }

/* ---- BADGE PILLS ---- */
.badge-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600;
}
.badge--green { background: rgba(77,184,126,0.1); border: 1px solid rgba(77,184,126,0.2); color: var(--green-300); }
.badge--light { background: var(--green-100); color: var(--green-700); }

/* ---- STEP FLOW ---- */
.step-flow { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.step-flow-item {
  flex: 1; min-width: 150px; text-align: center;
  padding: 1.5rem 1rem; position: relative;
}
.step-flow-item::after {
  content: '→'; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); color: var(--green-400); font-size: 1.2rem;
}
.step-flow-item:last-child::after { display: none; }
.step-flow-num {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 0.75rem;
  background: var(--green-600); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.step-flow-item h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.2rem; }
.step-flow-item p { font-size: 0.72rem; color: var(--text-muted); }

/* ---- PRIN ITEMS ---- */
.prin-item {
  padding: 1.5rem; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.prin-item:hover { border-color: var(--green-400); background: var(--green-50); }
.prin-item h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--green-800); }
.prin-item p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.prin-item cite {
  display: block; margin-top: 0.4rem;
  font-size: 0.7rem; color: var(--green-600); font-style: normal;
}

/* ---- QUOTE BLOCK ---- */
.quote-block {
  position: relative; padding: 2.5rem;
  background: var(--green-900); border-radius: 16px; color: white;
}
.quote-block::before {
  content: '\201C'; position: absolute; top: 0.75rem; left: 1.5rem;
  font-family: var(--serif); font-size: 5rem; color: var(--green-600);
  line-height: 1; opacity: 0.5;
}
.quote-block blockquote {
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.5;
  font-style: italic; position: relative; z-index: 1;
}
.quote-block cite {
  display: block; margin-top: 1.25rem;
  font-family: var(--sans); font-style: normal;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ---- NOTE BOX ---- */
.note-box {
  padding: 1.5rem; border-radius: 12px;
  border-left: 3px solid var(--green-500);
}
.note-box--white { background: white; }
.note-box--dark { background: rgba(255,255,255,0.03); }
.note-box p { font-size: 0.85rem; line-height: 1.65; color: var(--text-secondary); }
.note-box--dark p { color: rgba(255,255,255,0.55); }
.note-box a { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px; }
.note-box--dark a { color: var(--green-300); }

/* ---- CHECK LIST ---- */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.check-item:last-child { border: none; }
.check-icon {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(77,184,126,0.2);
  display: flex; align-items: center; justify-content: center;
}
.check-icon svg { width: 12px; height: 12px; color: var(--green-300); }
.check-item p { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ---- STJ CASES ---- */
.stj-case {
  padding: 1.5rem; border-radius: 12px;
  background: var(--sand-50); border: 1px solid rgba(0,0,0,0.04);
}
.stj-case-header {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem;
}
.stj-case-year { padding: 0.2rem 0.5rem; border-radius: 4px; background: var(--green-100); color: var(--green-700); font-size: 0.7rem; font-weight: 700; }
.stj-case-id { font-size: 0.8rem; font-weight: 600; color: var(--green-800); }
.stj-case p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

/* ---- ATTRS GRID ---- */
.attr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.attr-item { padding: 0.75rem; border-radius: 8px; background: white; text-align: center; }
.attr-item strong { display: block; font-size: 0.82rem; color: var(--green-700); margin-bottom: 0.1rem; }
.attr-item span { font-size: 0.72rem; color: var(--text-muted); }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--green-900); padding: 5rem 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(36,122,78,0.15), transparent);
}
.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-content h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white; line-height: 1.2; margin-bottom: 1rem;
}
.cta-content p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { background: var(--green-900); padding: 3rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand-logo img { height: 28px; }
.footer-brand-logo span { font-weight: 600; font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase; color: white; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 300px; }
.footer-brand .netcenter {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.5;
}
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: rgba(255,255,255,0.55);
  text-decoration: none; padding: 0.3rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.anim { opacity: 0; transform: translateY(25px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2-1 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--green-900); padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2-1 { grid-template-columns: 1fr; }
  .step-flow { flex-direction: column; align-items: center; }
  .step-flow-item::after { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .page-hero { padding: 7rem 0 3rem; }
}
