/* ═══════════════════════════════════════════════════
   FIBRĒ — Design System (baseado na UI da Purity)
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  /* Cores — Purity palette adaptada para Fibrē */
  --ink:        #1A1A1A;
  --warm:       #C9A96E;
  --warm-dark:  #A6844A;
  --ivory:      #F8F5F0;
  --surface:    #FFFFFF;
  --stone:      #6B6B6B;
  --sand:       #E5E0D8;
  --sale:       #C05C3A;
  --sage:       #4A7C59;
  --cream:      #F0EBE3;
  --row-alt:    #FAF7F4;

  /* Tipografia — Purity usa serif display + sans body */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Espaçamento */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  32px;
  --sp-xl:  64px;
  --sp-2xl: 120px;

  /* Transições */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── ANNOUNCEMENT BAR ────────────────────────────────── */
.announcement-bar {
  background: var(--ink);
  color: var(--ivory);
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: .06em;
  text-align: center;
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  white-space: nowrap;
}
.announcement-item { display: flex; align-items: center; gap: 8px; }
.announcement-item a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── NAVBAR ──────────────────────────────────────────── */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 200;
}
.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  flex-shrink: 0;
}
.navbar-logo span { color: var(--warm); }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--stone);
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.navbar-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.navbar-nav a:hover { color: var(--ink); }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { transform: scaleX(1); }
.navbar-nav a.active { color: var(--ink); }
.navbar-icons {
  display: flex; align-items: center; gap: 20px;
  flex-shrink: 0;
}
.navbar-icons a {
  font-size: 18px; color: var(--ink);
  transition: color .2s; line-height: 1;
}
.navbar-icons a:hover { color: var(--warm); }
.navbar-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--ivory) !important;
  padding: 10px 22px;
  transition: background .2s !important;
}
.navbar-cta:hover { background: var(--warm) !important; color: var(--ink) !important; }
.navbar-cta::after { display: none !important; }

/* ── CONTAINER ───────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.container--wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── SECTION TAG / EYEBROW ───────────────────────────── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 14px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -.01em;
}
.display em { font-style: italic; font-weight: 400; color: var(--warm); }

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.01em;
}
.heading-xl em { font-style: italic; font-weight: 400; color: var(--warm); }

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.heading-lg em { font-style: italic; font-weight: 400; color: var(--warm); }

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.body-lg { font-size: 16px; line-height: 1.8; color: var(--stone); }
.body-md { font-size: 14px; line-height: 1.75; color: var(--stone); }
.body-sm { font-size: 13px; line-height: 1.7; color: var(--stone); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 28px;
  transition: background .2s, color .2s, transform .15s var(--ease);
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--warm); color: var(--ink); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--ivory); }

.btn-accent {
  background: var(--warm);
  color: var(--ink);
}
.btn-accent:hover { background: var(--warm-dark); color: var(--ivory); }

.btn-whatsapp {
  background: var(--ink);
  color: var(--ivory);
}
.btn-whatsapp:hover { background: var(--sage); color: var(--ivory); }

/* ── PILL TAGS (product card style) ─────────────────── */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--stone);
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── BADGE ───────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 100px;
}
.badge-sale  { background: var(--sale);  color: #fff; }
.badge-green { background: var(--sage);  color: #fff; }
.badge-warm  { background: var(--warm);  color: var(--ink); }
.badge-dark  { background: var(--ink);   color: #fff; }

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--sand);
  margin: 0;
}

/* ── MARQUEE TICKER ──────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  padding: 0 48px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.ticker-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--warm);
  border-radius: 50%;
  margin: 0 20px;
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── TRUST STRIP ─────────────────────────────────────── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.trust-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand);
}
.trust-item {
  background: var(--surface);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.trust-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.trust-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.trust-desc  { font-size: 12px; color: var(--stone); line-height: 1.5; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 80px 0 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 64px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--warm); }
.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(248,245,240,.45);
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 18px;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(248,245,240,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--ivory); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-copy { font-size: 11px; color: rgba(248,245,240,.3); }
.footer-legal {
  font-size: 10px;
  color: rgba(248,245,240,.2);
  max-width: 560px;
  text-align: right;
  line-height: 1.6;
}

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .container, .container--wide { padding: 0 28px; }
  .navbar-inner { padding: 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 28px 48px; }
  .trust-strip-inner { padding: 24px 28px; }
  .footer-bottom { padding: 20px 28px; }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .announcement-inner { gap: 0; }
  .announcement-item:not(:first-child) { display: none; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}
