@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --copper:      #a0784a;
  --copper-lt:   #c8a06a;
  --copper-faint:rgba(160,120,74,0.08);
  --copper-dim:  rgba(160,120,74,0.25);

  --bg:          #f8f5f0;   /* creme quente */
  --bg-2:        #f0ebe2;   /* creme mais profundo */
  --bg-3:        #e8e0d4;   /* creme escuro */
  --white:       #ffffff;

  --ink:         #1a1510;   /* preto quase preto */
  --ink-2:       #3d3328;   /* grafite quente */
  --ink-3:       #6b5e4e;   /* marrom médio */
  --ink-4:       #9a8c7c;   /* bege escuro — texto auxiliar */

  --border:      rgba(26,21,16,0.10);
  --border-2:    rgba(26,21,16,0.06);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }

/* ── Tipografia ───────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}

.body-sm {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
  font-weight: 300;
}

/* ── Botões ───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 32px;
  transition: all .2s;
  border: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary  { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink-2); }

.btn-outline  { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-copper   { background: var(--copper); color: var(--white); }
.btn-copper:hover { background: var(--copper-lt); }

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 0;
  font-weight: 500;
}
.btn-ghost:hover { color: var(--copper); }

/* ── Layout ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section   { padding: 100px 48px; }
.divider   { height: 1px; background: var(--border-2); border: none; }

/* ── Navbar ───────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(248,245,240,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s;
}
#navbar.scrolled { padding: 14px 48px; }

.nav-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--ink);
  line-height: 1;
}
.nav-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 3.5px;
  color: var(--ink-4);
  font-weight: 400;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width .25s;
}
.nav-links a:hover,
.nav-links a.active             { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after      { width: 100%; }

.nav-cta {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 10px 22px;
  color: var(--ink);
  background: transparent;
  font-weight: 500;
  transition: all .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Strip ────────────────────────────────────────── */
.strip {
  background: var(--ink);
  padding: 14px 48px;
  display: flex;
  gap: 40px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip-item {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(248,245,240,0.5);
  white-space: nowrap;
  font-weight: 400;
}
.strip-dot {
  width: 3px; height: 3px;
  background: var(--copper);
  border-radius: 50%;
  opacity: .6;
  flex-shrink: 0;
}

/* ── Section header ───────────────────────────────── */
.section-header               { margin-bottom: 60px; }
.section-header .display      { font-size: 44px; margin-bottom: 18px; }
.section-header .body-sm      { max-width: 540px; }

/* ── Linha decorativa ─────────────────────────────── */
.ruled-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.ruled-line::before, .ruled-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ruled-line span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 56px 48px 40px;
  color: rgba(248,245,240,0.8);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--bg);
  letter-spacing: 1px;
}
.footer-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(248,245,240,0.35);
  font-weight: 400;
  margin-top: 5px;
  text-transform: uppercase;
}
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(248,245,240,0.45);
  transition: color .2s;
  font-weight: 400;
}
.footer-nav a:hover { color: var(--copper-lt); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-note {
  font-size: 10px;
  color: rgba(248,245,240,0.25);
  letter-spacing: 1px;
}

/* ── WhatsApp float ───────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg   { width: 28px; height: 28px; }

/* ── Page hero ────────────────────────────────────── */
.page-hero {
  padding: 170px 48px 90px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.page-hero .display { font-size: 58px; margin-bottom: 20px; }

/* ── Utilitários ──────────────────────────────────── */
.copper { color: var(--copper); }
.mt-4   { margin-top: 16px; }
.mt-8   { margin-top: 32px; }
.mt-12  { margin-top: 48px; }
.bg-white  { background: var(--white); }
.bg-cream  { background: var(--bg); }
.bg-cream2 { background: var(--bg-2); }
.bg-dark   { background: var(--ink); }

/* ── Fade-up ──────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Navbar */
  #navbar          { padding: 14px 20px; }
  #navbar.scrolled { padding: 10px 20px; }
  .nav-logo        { font-size: 15px; }
  .nav-logo small  { display: none; }
  .nav-links       { display: none; }
  .nav-cta         { display: none; }
  .nav-toggle      { display: flex; }

  /* Menu dropdown claro */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0; right: 0;
    bottom: auto;
    background: var(--white);
    border-top: 2px solid var(--copper);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    align-items: stretch;
    gap: 0;
    z-index: 99;
    padding: 0;
    animation: menuDown .2s ease forwards;
  }
  @keyframes menuDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open li              { border-bottom: 1px solid var(--border-2); }
  .nav-links.open li:last-child   { border-bottom: none; }
  .nav-links.open li a {
    display: block; width: 100%; padding: 17px 24px;
    font-size: 14px; letter-spacing: 0.3px; text-transform: none;
    font-weight: 400; color: var(--ink);
    transition: background .15s, color .15s;
  }
  .nav-links.open li a:hover,
  .nav-links.open li a.active     { background: var(--bg-2); color: var(--copper); }
  .nav-links.open li:last-child   { padding: 14px 20px; background: var(--bg-2); }
  .nav-links.open .nav-cta {
    display: block; width: 100%;
    font-size: 10px; letter-spacing: 2px; padding: 14px 20px;
    color: var(--white); border: none; background: var(--copper);
    text-align: center; text-transform: uppercase; font-weight: 500;
  }

  /* Layout geral */
  .section      { padding: 56px 20px; }
  .container    { padding: 0 20px; }
  .page-hero    { padding: 120px 20px 56px; }
  .page-hero .display { font-size: 34px; }
  .strip        { padding: 14px 20px; gap: 24px; }
  .section-header { margin-bottom: 36px; }
  .section-header .display { font-size: 30px; }

  /* Footer */
  footer        { padding: 40px 20px 28px; }
  .footer-top   { flex-direction: column; gap: 28px; padding-bottom: 28px; margin-bottom: 20px; }
  .footer-nav   { gap: 20px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Tipografia */
  .display      { font-size: 28px; }
  h1.display    { font-size: 34px; }
  h2.display    { font-size: 28px; }
  .body-sm      { font-size: 13px; }

  /* Hero home */
  #hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    padding-top: 60px !important;
  }
  #hero > div:first-child {
    padding: 52px 20px 40px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    order: 2;
  }
  #hero > div:last-child  {
    order: 1;
    min-height: 280px !important;
    padding: 0 !important;
  }
  #hero h1     { font-size: 36px !important; }
  #hero .body-sm { max-width: 100% !important; font-size: 13px !important; }

  /* Grids → coluna única */
  section[style*="grid-template-columns"],
  div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Flex rows → coluna */
  section[style*="justify-content:space-between"],
  section[style*="justify-content: space-between"],
  div[style*="display:flex"][style*="justify-content:space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 28px !important;
  }

  /* Padding inline */
  section[style*="padding:100px 48px"],
  section[style*="padding: 100px 48px"],
  section[style*="padding:80px 48px"],
  section[style*="padding: 80px 48px"] {
    padding: 56px 20px !important;
  }
  [style*="padding:48px"],
  [style*="padding: 48px"] { padding: 28px 20px !important; }
  [style*="padding:60px 48px"] { padding: 40px 20px !important; }

  /* grid-column spans */
  [style*="grid-column"] { grid-column: auto !important; }

  /* Cards */
  article[style*="padding"] { padding: 28px 20px !important; }
  .info-card { padding: 24px 20px; }

  /* Formulário */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Botões */
  .btn { padding: 13px 22px; }
  .form-submit { width: 100% !important; }

  /* WA */
  .wa-float     { width: 46px; height: 46px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }

  /* Tabs */
  .product-tab  { padding: 13px 14px; font-size: 9px; letter-spacing: 1.5px; }
}

@media (max-width: 380px) {
  .nav-logo  { font-size: 13px; }
  h1.display { font-size: 28px !important; }
  .btn       { padding: 12px 16px; font-size: 9px; }
}
