/* ============================================================
   LTP HAVANNA B2B — BASE STYLESHEET
   Used by pages 05, 06, 07, 08, 09
   Paleta vermelha · Montserrat · Editorial
   ============================================================ */

:root {
  --red-900: #2a0606; --red-800: #4a0e0e; --red-700: #6b1414;
  --red-600: #8c1c1c; --red-500: #b81e2a; --red-400: #c8102e;
  --red-300: #e63946; --red-200: #f4a3a8; --red-100: #ffe5e5;
  --red-050: #fff5f5;
  --ink: #1a0a0a; --ink-2: #3a1a1a; --ink-3: #6b5050;
  --ivory: #fdf8f3; --paper: #faf2ea; --line: #e8d5cc;
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, sans-serif;
  --mono: 'Montserrat', ui-monospace, monospace;
  --shadow-sm: 0 1px 2px rgba(74,14,14,0.06);
  --shadow-md: 0 8px 24px rgba(74,14,14,0.08);
  --shadow-lg: 0 24px 60px rgba(74,14,14,0.12);
  --site-nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--ivory); color: var(--ink);
  line-height: 1.55; font-size: 16px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--site-nav-h);
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 880px; }

/* TOP BAR */
.topbar {
  border-bottom: 1px solid var(--line); background: var(--paper);
  padding: 14px 0; font-family: var(--mono); font-size: 11px;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-tag { background: var(--red-400); color: var(--ivory); padding: 4px 10px; border-radius: 2px; font-weight: 600; }

/* HERO */
.hero { padding: 72px 0 56px; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(200,16,46,0.06), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(74,14,14,0.05), transparent 50%);
  pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-400);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red-400); }
h1.title {
  font-family: var(--display); font-weight: 200;
  font-size: clamp(44px, 7vw, 92px); line-height: 0.95;
  letter-spacing: -0.035em; color: var(--red-800); margin-bottom: 8px;
}
h1.title em { font-style: italic; font-weight: 500; color: var(--red-400); }
.subtitle {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 2vw, 22px); color: var(--ink-3);
  margin-top: 16px; max-width: 760px; line-height: 1.4;
}

/* SECTIONS */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section--dark { background: var(--paper); }
.section-header { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 56px; }
.section-header-row { display: flex; align-items: baseline; gap: 16px; }
.section-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--red-400); letter-spacing: 0.1em; }
.section-title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 4vw, 44px); color: var(--red-800);
  letter-spacing: -0.025em; line-height: 1.05;
}
.section-title em { font-style: italic; color: var(--red-400); font-weight: 500; }
.section-lede {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 19px; color: var(--ink-3); max-width: 760px; line-height: 1.4;
}

/* INJECTION CARD */
.injection-card {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--red-800) 0%, var(--red-600) 60%, var(--red-400) 100%);
  color: var(--ivory); padding: 56px 56px 48px; border-radius: 4px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.injection-card::before {
  content: '🎯'; position: absolute; top: -30px; right: -10px;
  font-size: 220px; opacity: 0.07; transform: rotate(15deg);
}
.injection-card-label {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-200);
  margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.injection-card-label::before { content: ''; width: 28px; height: 1px; background: var(--red-200); }
.injection-card-text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.25;
  letter-spacing: -0.012em; max-width: 920px; position: relative; z-index: 1;
}
.injection-card-text strong { color: #ffd0c0; font-weight: 700; font-style: italic; }

/* VALIDATION */
.validation-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 40px; border: 1.5px solid var(--red-400);
  border-radius: 3px; overflow: hidden;
}
.validation-row { display: contents; }
.validation-cell {
  padding: 28px 32px; background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.validation-cell:first-child { border-right: 1px solid var(--line); }
.validation-row:last-child .validation-cell { border-bottom: none; }
.validation-head {
  background: var(--red-800) !important; color: var(--ivory);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 18px 32px;
}
.validation-question {
  font-family: var(--display); font-weight: 500; font-size: 19px;
  color: var(--red-800); line-height: 1.3;
}
.validation-status {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  color: var(--red-400);
}
.validation-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red-400); color: var(--ivory);
  font-size: 16px; font-weight: 700;
}

/* FOOTER */
footer { background: var(--red-900); color: var(--red-200); padding: 48px 0 40px; }
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-text { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-mark { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 18px; color: var(--ivory); }

/* SITE NAVIGATION */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--site-nav-h); background: rgba(253,248,243,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-nav.scrolled { box-shadow: 0 6px 20px rgba(74,14,14,0.08); }
.site-nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.site-nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--red-800); flex-shrink: 0; }
.site-nav-mark {
  width: 36px; height: 36px; background: var(--red-400); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; font-family: var(--display); font-weight: 800;
  font-size: 16px; letter-spacing: -0.02em;
}
.site-nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-nav-brand-name { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; color: var(--red-800); }
.site-nav-brand-sub { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.site-nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav-links a {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2);
  padding: 7px 10px; border-radius: 3px; text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s ease; white-space: nowrap;
}
.site-nav-links a:hover { background: var(--red-100); color: var(--red-700); }
.site-nav-links a .site-nav-num { font-size: 10px; color: var(--red-400); font-weight: 700; }
.site-nav-links a:hover .site-nav-num { color: var(--red-700); }
.site-nav-links a.is-current { background: var(--red-400); color: var(--ivory); }
.site-nav-links a.is-current .site-nav-num { color: var(--red-100); }
.site-nav-burger {
  display: none; background: var(--red-400); color: var(--ivory);
  border: none; width: 40px; height: 40px; border-radius: 3px;
  cursor: pointer; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.site-nav-drawer {
  display: none; position: fixed; top: var(--site-nav-h);
  left: 0; right: 0; background: var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(74,14,14,0.18); z-index: 199;
  max-height: calc(100vh - var(--site-nav-h)); overflow-y: auto;
  transform: translateY(-110%); transition: transform 0.3s ease;
}
.site-nav-drawer.open { transform: translateY(0); }
.site-nav-drawer ul { list-style: none; padding: 12px 0; margin: 0; }
.site-nav-drawer li { margin: 0; }
.site-nav-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; text-decoration: none; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 500; font-size: 15px;
  background: transparent;
}
.site-nav-drawer a .site-nav-num { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--red-400); letter-spacing: 0.1em; }
.site-nav-drawer a:hover { background: var(--red-050); color: var(--red-700); }
.site-nav-drawer a.is-current { background: var(--red-400); color: var(--ivory); }
.site-nav-drawer a.is-current .site-nav-num { color: var(--red-100); }
@media (max-width: 1180px) {
  .site-nav-links { display: none; }
  .site-nav-burger { display: flex; }
  .site-nav-drawer { display: block; }
}

/* RESPONSIVE BASE */
@media (max-width: 880px) {
  .injection-card { padding: 36px 28px; }
  .validation-grid { grid-template-columns: 1fr; }
  .validation-cell:first-child { border-right: none; }
}
@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .topbar .container { font-size: 10px; gap: 12px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero > .container > * { animation: rise 0.7s ease-out backwards; }
.hero .eyebrow         { animation-delay: 0.05s; }
.hero h1.title         { animation-delay: 0.15s; }
.hero .subtitle        { animation-delay: 0.25s; }
.hero .injection-card  { animation-delay: 0.4s; }

@media print {
  body { background: white; padding-top: 0 !important; }
  body::before { display: none; }
  .site-nav, .site-nav-drawer { display: none !important; }
}
