/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* TaxResearch do Brasil — Identidade Visual */

:root {
  --green-900: #1f2a25;
  --green-800: #28342e;
  --green-700: #2f3d36;
  --green-600: #3a4a42;
  --green-500: #4a5a52;

  --gold-500: #c9c39a;
  --gold-400: #d4cfa9;
  --gold-300: #ddd9b9;
  --gold-200: #e8e5cf;
  --gold-100: #f1efe1;

  /* Tema claro (default) */
  --paper: #f4f2ea;
  --paper-2: #ebe8dc;
  --ink: #1a221e;
  --ink-2: #4a5550;
  --ink-3: #7a8580;
  --brand: var(--green-900);

  --line: rgba(31, 42, 37, 0.12);
  --line-strong: rgba(31, 42, 37, 0.22);

  /* Chat — lado oposto do tema */
  --chat-bg: var(--green-900);
  --chat-ink: var(--gold-100);
  --chat-ink-2: rgba(201, 195, 154, 0.55);
  --chat-ink-3: rgba(201, 195, 154, 0.30);
  --chat-line: rgba(201, 195, 154, 0.15);
  --chat-line-strong: rgba(201, 195, 154, 0.30);
  --chat-bubble-bg: rgba(201, 195, 154, 0.06);
  --chat-bubble-border: rgba(201, 195, 154, 0.14);
  --chat-input-bg: rgba(20, 28, 24, 0.4);
  --chat-glow: rgba(201, 195, 154, 0.10);

  --font-display: "Michroma", "Major Mono Display", sans-serif;
  --font-body: "Jost", "Century Gothic", "Avenir Next", -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;

  --shadow-lg: 0 30px 60px -20px rgba(20, 30, 25, 0.30), 0 8px 16px -8px rgba(20, 30, 25, 0.10);
}

[data-theme="dark"] {
  --paper: #14201b;
  --paper-2: #1a2722;
  --ink: #f1efe1;
  --ink-2: rgba(201, 195, 154, 0.75);
  --ink-3: rgba(201, 195, 154, 0.45);
  --brand: var(--gold-500);
  --line: rgba(201, 195, 154, 0.14);
  --line-strong: rgba(201, 195, 154, 0.28);
  --chat-bg: #f1efe1;
  --chat-ink: #1a221e;
  --chat-ink-2: rgba(31, 42, 37, 0.65);
  --chat-ink-3: rgba(31, 42, 37, 0.40);
  --chat-line: rgba(31, 42, 37, 0.12);
  --chat-line-strong: rgba(31, 42, 37, 0.25);
  --chat-bubble-bg: rgba(31, 42, 37, 0.04);
  --chat-bubble-border: rgba(31, 42, 37, 0.10);
  --chat-input-bg: rgba(255, 255, 255, 0.5);
  --chat-glow: rgba(31, 42, 37, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- PAGE ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- TOPBAR ---------- */
.topbar {
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
          backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 1280px; margin: 0 auto;
  height: 76px; padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__word {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.18em;
  color: var(--brand); font-weight: 400; line-height: 1;
}
.brand__sub {
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-2); margin-top: 4px;
}
.topbar__cta { display: flex; gap: 14px; align-items: center; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 400; border: 1px solid var(--brand);
  background: var(--brand); color: var(--paper);
  transition: all .2s; border-radius: 0;
}
.btn:hover { opacity: 0.85; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: var(--paper); }
.theme-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--brand);
  display: grid; place-items: center; transition: all .2s;
}
.theme-toggle:hover { border-color: var(--brand); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 32px 120px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.hero__bg > svg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); opacity: 0.035;
}
.hero__centered-inner {
  position: relative; z-index: 2;
  max-width: 920px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero__rule {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-bottom: 36px;
}
.hero__rule span {
  display: inline-block; width: 64px; height: 1px;
  background: var(--gold-500); position: relative;
}
.hero__rule span::before,
.hero__rule span::after {
  content: "";
  position: absolute; top: 50%;
  width: 5px; height: 5px; background: var(--gold-500);
  transform: translateY(-50%) rotate(45deg);
}
.hero__rule span::before { left: -12px; }
.hero__rule span::after { right: -12px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.05; font-weight: 400;
  margin: 0 0 22px; color: var(--brand); text-wrap: balance;
}
.hero__title .serif {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400; color: var(--ink-2);
}
.hero__slogan {
  font-family: var(--font-serif); font-style: italic;
  font-size: 19px; color: var(--ink-2);
  margin: 0 auto 32px; text-align: center;
}
.hero__slogan::before { content: "—  "; color: var(--gold-500); font-style: normal; }
.hero__sub {
  font-size: 16px; line-height: 1.7; color: var(--ink-2);
  max-width: 540px; margin: 0 auto 44px;
  text-align: center; font-weight: 300;
}
.hero__cta {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-bottom: 56px;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 36px; font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 400; background: var(--brand); color: var(--paper);
  border: 1px solid var(--brand); border-radius: 0;
  transition: all .25s ease; cursor: pointer;
}
.btn-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(20, 30, 25, 0.4);
}
.btn-cta:hover:not(:disabled) svg { transform: translateY(2px); }
.btn-cta svg { transition: transform .25s ease; }
.btn-cta:disabled { opacity: 0.4; cursor: default; }
.cta-meta {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); margin: 0; font-weight: 400;
}
.stats {
  list-style: none; margin: 0 auto; padding: 24px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-gap: 18px;
  gap: 18px; max-width: 720px; width: 100%; text-align: center;
}
.stats li { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.stats__num {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 400; letter-spacing: 0.02em; color: var(--brand);
}
.stats__lbl {
  font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ---------- CONSULT SECTION ---------- */
.consult {
  position: relative; background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 0 32px; overflow: hidden;
  transition: max-height .55s cubic-bezier(.2,.8,.2,1), opacity .4s ease, padding .4s ease;
}
.consult.is-collapsed {
  max-height: 0; opacity: 0;
  padding-top: 0; padding-bottom: 0;
  border-top-color: transparent; border-bottom-color: transparent;
}
.consult.is-revealed {
  max-height: 2000px; opacity: 1;
  padding-top: 80px; padding-bottom: 100px;
}
.consult__inner {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: stretch; gap: 44px;
}
.consult__head {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.consult__eyebrow { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--gold-500); }
.consult__title { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; line-height: 1.1; margin: 0; color: var(--brand); }
.consult__title .serif { font-family: var(--font-serif); font-style: italic; color: var(--ink-2); }
.consult__sub { font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 540px; margin: 0; font-weight: 300; }
.consult__trust { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 8px; }
.trust__seal { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.trust__txt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); line-height: 1.6; }
.trust__txt strong { color: var(--brand); font-weight: 500; }

/* ---------- CHAT WRAP ---------- */
.chat-wrap { position: relative; }
.chat-wrap__corner { position: absolute; pointer-events: none; color: var(--gold-500); }
.chat-wrap__corner--tl { top: -14px; left: -14px; }
.chat-wrap__corner--br { bottom: -14px; right: -14px; transform: rotate(180deg); }

/* ---------- CHAT ---------- */
.chat {
  background: var(--chat-bg); color: var(--chat-ink);
  display: flex; flex-direction: column;
  height: 640px; width: 100%; overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
}
.chat::before {
  content: "";
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--chat-glow), transparent 70%);
  pointer-events: none;
}
.chat__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px; border-bottom: 1px solid var(--chat-line);
  position: relative; z-index: 1; flex-shrink: 0;
}
.chat__head-l { display: flex; align-items: center; gap: 14px; }
.ai-badge { width: 38px; height: 38px; border: 1px solid var(--gold-500); display: grid; place-items: center; color: var(--gold-500); }
[data-theme="dark"] .ai-badge { border-color: var(--green-700); color: var(--green-700); }
.chat__title { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--chat-ink); margin-bottom: 4px; }
.chat__sub { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chat-ink-2); display: flex; align-items: center; gap: 8px; }
.online-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 10px rgba(201, 195, 154, 0.6); }
[data-theme="dark"] .online-dot { background: var(--green-700); }
.trust-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chat-ink-2); border: 1px solid var(--chat-line-strong); }
.chat__scroll { flex: 1 1; overflow-y: auto; scroll-behavior: smooth; position: relative; z-index: 1; }
.chat__scroll::-webkit-scrollbar { width: 6px; }
.chat__scroll::-webkit-scrollbar-thumb { background: var(--chat-line-strong); }
.chat__inner { padding: 26px 26px 12px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 12px; animation: msgIn .4s cubic-bezier(.2,.8,.2,1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--user { justify-content: flex-end; }
.avatar { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; }
.avatar--ai { border: 1px solid var(--chat-line-strong); color: var(--gold-500); }
[data-theme="dark"] .avatar--ai { color: var(--green-700); }
.bubble { max-width: 86%; padding: 14px 18px; font-size: 14px; line-height: 1.65; font-weight: 300; }
.bubble p { margin: 0; }
.bubble p + p { margin-top: 8px; }
.bubble strong { font-weight: 500; color: var(--chat-ink); }
.bubble em { font-family: var(--font-serif); font-style: italic; color: var(--gold-500); }
[data-theme="dark"] .bubble em { color: var(--green-700); }
.bubble--ai { background: var(--chat-bubble-bg); border: 1px solid var(--chat-bubble-border); color: var(--chat-ink); }
.bubble--user { background: var(--gold-500); color: var(--green-900); font-weight: 400; letter-spacing: 0.02em; }
[data-theme="dark"] .bubble--user { background: var(--green-800); color: var(--gold-100); }
.bubble--user strong { color: inherit; }
.bubble--card { padding: 0; background: transparent; border: none; max-width: 100%; width: 100%; }
.bubble--card .result-card { width: 100%; }
.bubble .hint { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chat-ink-2); margin-top: 10px; }
.bubble--error { background: rgba(185, 74, 87, 0.1); border: 1px solid rgba(185, 74, 87, 0.3); color: #f8c8cd; }
.typing { display: inline-flex; gap: 5px; padding: 18px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); animation: bounce 1.2s ease-in-out infinite; }
[data-theme="dark"] .typing span { background: var(--green-700); }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---- Result card ---- */
.result-card { background: var(--chat-bubble-bg); border: 1px solid var(--chat-line-strong); overflow: hidden; position: relative; }
.result-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
[data-theme="dark"] .result-card::before { background: linear-gradient(90deg, transparent, var(--green-700), transparent); }
.result-card__head { padding: 18px 20px 16px; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--chat-line); }
.rc-eyebrow { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 8px; }
[data-theme="dark"] .rc-eyebrow { color: var(--green-700); }
.rc-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.rc-title { margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--chat-ink); line-height: 1.3; }
.rc-sub { font-size: 11px; color: var(--chat-ink-2); margin-top: 8px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }
.rc-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; border: 1px solid var(--chat-line-strong); color: var(--chat-ink); white-space: nowrap; flex-shrink: 0; }
.rc-status .dot { width: 5px; height: 5px; border-radius: 50%; }
.rc-status--ok .dot { background: var(--gold-500); box-shadow: 0 0 8px var(--gold-500); }
[data-theme="dark"] .rc-status--ok .dot { background: var(--green-700); }
.rc-status--warn .dot { background: #d4a35c; }
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.rc-cell { padding: 14px 16px; border-right: 1px solid var(--chat-line); border-bottom: 1px solid var(--chat-line); }
.rc-cell:nth-child(3n) { border-right: none; }
.rc-cell:nth-last-child(-n+3) { border-bottom: none; }
.rc-k { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chat-ink-3); margin-bottom: 6px; }
.rc-v { font-size: 12.5px; color: var(--chat-ink); letter-spacing: 0.02em; font-weight: 400; }
.rc-score { padding: 16px 20px; border-top: 1px solid var(--chat-line); border-bottom: 1px solid var(--chat-line); }
.rc-score__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.rc-score__val { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--gold-500); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .rc-score__val { color: var(--green-700); }
.rc-score__den { font-size: 12px; color: var(--chat-ink-3); margin-left: 4px; }
.rc-score__bar { height: 1px; background: var(--chat-line); position: relative; overflow: visible; }
.rc-score__fill { position: absolute; inset: 0; height: 1px; background: var(--gold-500); transition: width 1.2s ease; box-shadow: 0 0 12px var(--gold-500); }
[data-theme="dark"] .rc-score__fill { background: var(--green-700); box-shadow: none; }
.rc-score__fill::after { content: ""; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; box-shadow: 0 0 10px var(--gold-500); }
[data-theme="dark"] .rc-score__fill::after { background: var(--green-700); box-shadow: none; }
.rc-score__legend { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chat-ink-3); margin-top: 12px; }
.rc-opp { padding: 18px 20px 20px; }
.rc-opp__head { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 14px; }
[data-theme="dark"] .rc-opp__head { color: var(--green-700); }
.rc-opp__head::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.rc-opp__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.rc-opp__list li { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--chat-line-strong); gap: 14px; }
.rc-opp__list li:last-child { border-bottom: none; }
.opp-title { font-size: 13px; color: var(--chat-ink); font-weight: 400; letter-spacing: 0.01em; }
.opp-prob { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chat-ink-3); margin-top: 4px; }
.opp-prob[data-prob="Alta"] { color: var(--gold-500); }
[data-theme="dark"] .opp-prob[data-prob="Alta"] { color: var(--green-700); }
.opp-val { font-size: 18px; font-weight: 400; color: var(--chat-ink); white-space: nowrap; flex-shrink: 0; }

/* ---- Chips ---- */
.chips-wrap { padding-left: 42px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; background: transparent; border: 1px solid var(--chat-line-strong); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chat-ink); font-weight: 400; transition: all .2s; }
.chip:hover { border-color: var(--gold-500); background: var(--chat-bubble-bg); }
[data-theme="dark"] .chip:hover { border-color: var(--green-700); }

/* ---- Composer ---- */
.composer { border-top: 1px solid var(--chat-line); padding: 16px 22px 20px; position: relative; z-index: 1; flex-shrink: 0; }
.composer__label { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--chat-ink-2); margin-bottom: 10px; }
.composer__row { display: flex; gap: 10px; align-items: stretch; border: 1px solid var(--chat-line-strong); background: var(--chat-input-bg); transition: border-color .2s; }
.composer.is-valid .composer__row { border-color: var(--gold-500); }
[data-theme="dark"] .composer.is-valid .composer__row { border-color: var(--green-700); }
.composer__row:focus-within { border-color: var(--gold-400); }
[data-theme="dark"] .composer__row:focus-within { border-color: var(--green-600); }
.composer input { flex: 1 1; height: 48px; padding: 0 18px; border: none; background: transparent; color: var(--chat-ink); font-size: 15px; font-family: var(--font-display); letter-spacing: 0.06em; outline: none; }
.composer input::placeholder { color: var(--chat-ink-3); font-family: var(--font-display); letter-spacing: 0.08em; }
.composer input:disabled { color: var(--chat-ink-3); cursor: not-allowed; }
.composer button[type="submit"] { width: 50px; background: transparent; color: var(--gold-500); border: none; border-left: 1px solid var(--chat-line-strong); display: grid; place-items: center; transition: all .2s; }
[data-theme="dark"] .composer button[type="submit"] { color: var(--green-700); }
.composer button[type="submit"]:hover:not(:disabled) { background: var(--gold-500); color: var(--green-900); }
[data-theme="dark"] .composer button[type="submit"]:hover:not(:disabled) { background: var(--green-700); color: var(--gold-100); }
.composer button[type="submit"]:disabled { color: var(--chat-ink-3); cursor: not-allowed; }
.composer.is-valid button[type="submit"] { color: var(--gold-500); }
[data-theme="dark"] .composer.is-valid button[type="submit"] { color: var(--green-700); }
.composer__hint { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chat-ink-3); margin-top: 12px; display: flex; align-items: center; gap: 7px; min-height: 12px; }

/* ---------- FOOTER ---------- */
.foot { background: var(--green-900); color: rgba(201, 195, 154, 0.6); padding: 36px 32px; margin-top: auto; }
[data-theme="dark"] .foot { background: #0e1714; }
.foot__inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand-word { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em; color: var(--gold-200); }
.foot__links { display: flex; gap: 28px; }
.foot__links a { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(201, 195, 154, 0.6); transition: color .2s; }
.foot__links a:hover { color: var(--gold-200); }
.foot__motto { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: rgba(201, 195, 154, 0.45); }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--green-900);
  border-top: 1px solid rgba(201, 195, 154, 0.2);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  animation: slideUp .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideUp { from { transform: translateY(100%); } }
.cookie-banner__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1; min-width: 260px;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 13px; line-height: 1.6; font-weight: 300;
  color: rgba(201, 195, 154, 0.8);
}
.cookie-banner__link {
  color: var(--gold-400); text-decoration: underline;
  transition: color .2s;
}
.cookie-banner__link:hover { color: var(--gold-200); }
.cookie-banner__actions {
  display: flex; gap: 12px; align-items: center; flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  font-family: var(--font-display); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 400; border: 1px solid; border-radius: 0;
  transition: all .2s; cursor: pointer;
}
.cookie-btn--accept {
  background: var(--gold-500); color: var(--green-900);
  border-color: var(--gold-500);
}
.cookie-btn--accept:hover { background: var(--gold-300); border-color: var(--gold-300); }
.cookie-btn--reject {
  background: transparent; color: rgba(201, 195, 154, 0.65);
  border-color: rgba(201, 195, 154, 0.3);
}
.cookie-btn--reject:hover {
  border-color: rgba(201, 195, 154, 0.6);
  color: var(--gold-200);
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(15, 22, 18, 0.72);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.cookie-modal {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  max-width: 420px; width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  animation: modalIn .25s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-lg);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cookie-modal::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.cookie-modal__close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px;
  background: transparent; border: none;
  font-size: 22px; line-height: 1; color: var(--ink-3);
  display: grid; place-items: center;
  transition: color .2s; cursor: pointer;
}
.cookie-modal__close:hover { color: var(--ink); }
.cookie-modal__icon {
  color: var(--gold-500);
  margin-bottom: 20px;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 16px;
}
.cookie-modal__text {
  font-size: 14px; line-height: 1.7; color: var(--ink-2);
  font-weight: 300; margin: 0 0 28px;
}
.cookie-modal__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.cookie-modal__policy {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin: 0; text-align: center;
}
.cookie-modal__policy a { color: var(--ink-3); text-decoration: underline; transition: color .2s; }
.cookie-modal__policy a:hover { color: var(--brand); }

/* ---------- PRIVACY PAGE ---------- */
.priv-page { min-height: 100vh; display: flex; flex-direction: column; }
.priv-main {
  flex: 1 1;
  padding: 72px 32px 100px;
  background: var(--paper);
}
.priv-inner { max-width: 800px; margin: 0 auto; }

.priv-header {
  text-align: center;
  margin-bottom: 72px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.priv-eyebrow {
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; color: var(--gold-500);
}
.priv-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400; line-height: 1.08; margin: 0;
  color: var(--brand);
}
.priv-subtitle {
  font-size: 14px; color: var(--ink-2); font-weight: 300;
  max-width: 480px; line-height: 1.6; margin: 0;
}
.priv-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 400; margin-top: 4px;
}
.priv-meta__sep { color: var(--gold-500); }

.priv-body { display: flex; flex-direction: column; gap: 0; }

.priv-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.priv-section--last { border-bottom: none; }

.priv-h2 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 20px;
  display: flex; align-items: center; gap: 14px;
}
.priv-h2::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px; background: var(--gold-500); flex-shrink: 0;
}

.priv-section p {
  font-size: 14px; line-height: 1.75; color: var(--ink-2);
  font-weight: 300; margin: 0 0 14px;
}
.priv-section p:last-child { margin-bottom: 0; }
.priv-section strong { color: var(--ink); font-weight: 500; }
.priv-section a { color: var(--brand); text-decoration: underline; transition: opacity .2s; }
.priv-section a:hover { opacity: 0.7; }

.priv-list {
  padding-left: 1.2rem; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.priv-list li { font-size: 14px; line-height: 1.65; color: var(--ink-2); font-weight: 300; }

.priv-dl { display: flex; flex-direction: column; gap: 0; margin: 14px 0; border: 1px solid var(--line); }
.priv-dl__row {
  display: grid; grid-template-columns: 220px 1fr;
  grid-gap: 16px;
  gap: 16px; padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.priv-dl__row:last-child { border-bottom: none; }
.priv-dl__row dt {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
  line-height: 1.5; padding-top: 1px;
}
.priv-dl__row dd {
  font-size: 13px; color: var(--ink-2); font-weight: 300;
  line-height: 1.65; margin: 0;
}

.priv-contact-card {
  margin: 18px 0;
  border: 1px solid var(--line-strong);
  padding: 20px 22px;
  background: var(--paper-2);
  position: relative;
}
.priv-contact-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.priv-contact-card__title {
  font-size: 9px !important; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-500) !important; margin: 0 0 12px !important;
  font-weight: 400 !important;
}
.priv-contact-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.priv-contact-card li { font-size: 13px; color: var(--ink-2); font-weight: 300; line-height: 1.5; }

.priv-table-wrap { overflow-x: auto; margin: 18px 0; }
.priv-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px; color: var(--ink-2);
}
.priv-table th {
  font-family: var(--font-display);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); background: var(--paper-2);
  padding: 12px 14px; border: 1px solid var(--line);
  text-align: left; white-space: nowrap;
}
.priv-table td {
  padding: 12px 14px; border: 1px solid var(--line);
  line-height: 1.55; font-weight: 300; vertical-align: top;
}
.priv-table--compact td, .priv-table--compact th { padding: 10px 14px; }
.priv-badge {
  display: inline-block;
  background: color-mix(in oklab, var(--gold-500) 12%, transparent);
  color: var(--brand);
  font-size: 10px; letter-spacing: 0.1em;
  padding: 3px 8px; font-weight: 400;
}

.priv-rights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1px;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin: 18px 0;
}
.priv-right-item {
  padding: 16px 18px;
  background: var(--paper);
}
.priv-right-item__title {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 6px;
}
.priv-right-item__desc {
  font-size: 12.5px; color: var(--ink-2); font-weight: 300; line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .topbar__inner { padding: 0 20px; height: 64px; }
  .hero { padding: 48px 20px 80px; }
  .consult { padding: 0 20px; }
  .chat { height: 600px; }
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner__inner { padding: 16px 20px; }
  .priv-main { padding: 48px 20px 80px; }
  .priv-dl__row { grid-template-columns: 1fr; gap: 6px; }
  .priv-rights { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__title { font-size: 36px; }
  .rc-grid { grid-template-columns: 1fr 1fr; }
  .rc-cell:nth-child(3n) { border-right: 1px solid var(--chat-line); }
  .rc-cell:nth-child(2n) { border-right: none; }
  .stats { grid-template-columns: 1fr; }
  .foot__links { gap: 16px; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-btn { justify-content: center; }
}

