/* ─────────────────────────────────────────
   TASA V2 — DESIGN SYSTEM
   Cormorant Garamond + DM Sans
   Paleta: Creme · Quase-preto · Ouro âmbar
   ───────────────────────────────────────── */

:root {
  /* Cores base */
  --cream:          #F8F6F1;
  --cream-dark:     #EDE9E0;
  --ink:            #0F0E0B;
  --ink-mid:        #2A2924;
  --ink-soft:       #5C5A53;
  --ink-ghost:      #9B998F;

  /* Ouro */
  --gold:           #C9A44C;
  --gold-dark:      #A8872C;
  --gold-light:     #E2C97A;
  --gold-faint:     rgba(201, 164, 76, 0.12);
  --gold-line:      rgba(201, 164, 76, 0.35);

  /* Estrutura */
  --border:         #DDD9CF;
  --border-dark:    rgba(255, 255, 255, 0.10);

  /* Sobreposições de cor semântica (para que _core funcione) */
  --color-bg:           var(--cream);
  --color-bg-secondary: var(--cream-dark);
  --color-text:         var(--ink);
  --color-text-secondary: var(--ink-soft);
  --color-text-tertiary:  var(--ink-ghost);
  --color-brand:        var(--ink);
  --color-brand-subtle: rgba(15, 14, 11, 0.06);
  --color-gold:         var(--gold);
  --color-gold-dark:    var(--gold-dark);
  --color-gold-subtle:  var(--gold-faint);
  --color-border:       var(--border);
  --color-navy-deep:    var(--ink);

  /* Fontes */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(15, 14, 11, 0.06);
  --shadow-hover: 0 8px 32px rgba(15, 14, 11, 0.10);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

/* ── LABEL (substitui .badge) ── */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.label::before {
  content: '—';
  margin-right: 8px;
  opacity: 0.5;
}

.label--light {
  color: var(--gold-light);
}

/* ── CABEÇALHO DE SEÇÃO ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-title--light { color: white; }
.section-title--light em { color: var(--gold-light); }

.section-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 52ch;
  font-family: var(--font-body);
  font-weight: 300;
}

.section-desc--light { color: rgba(255,255,255,0.55); }

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 164, 76, 0.3);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--ink-soft);
  background: rgba(15,14,11,0.04);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.30);
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: transparent;
  padding-inline: 0;
}
.btn--ghost:hover { color: var(--ink); }

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 5px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 15px;
  border-radius: 8px;
}

.btn--full { width: 100%; justify-content: center; }

/* Aliases para compatibilidade com main.js (states) */
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); }
.btn--gold:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--ghost-white { background: transparent; color: white; border-color: rgba(255,255,255,0.30); border-width: 1.5px; }
.btn--ghost-white:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); }
.btn--outline-navy { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--outline-navy:hover { background: rgba(15,14,11,0.04); border-color: var(--ink-soft); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding-block: 24px;
  transition: all 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(248, 246, 241, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-block: 16px;
}

.nav.is-scrolled .nav__logo-tasa { color: var(--ink); }
.nav.is-scrolled .nav__logo-sub  { color: var(--ink-ghost); }
.nav.is-scrolled .nav__link      { color: var(--ink-soft); }
.nav.is-scrolled .nav__link:hover { color: var(--ink); }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-tasa {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  border-radius: 5px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.nav__link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav__cta { margin-left: 16px; flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 24px;
  position: fixed;
  inset: 0;
  top: 65px;
  background: var(--cream);
  padding: 32px 24px;
  z-index: calc(var(--z-sticky) - 1);
  border-top: 1px solid var(--border);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-links { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile-links a {
  font-size: 18px;
  font-weight: 400;
  font-family: var(--font-display);
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.01em;
}

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.40);
}
.wa-float__label { white-space: nowrap; }

@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 768px) {
  .wa-float__label { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}
