/* ============================================================
   Cremes Online — Design System
   Identidade: editorial de beleza, quente, confiável
   Fontes: Playfair Display + Plus Jakarta Sans
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --cream:     #FDFAF6;
  --cream2:    #F5EDE3;
  --cream3:    #EDE0D3;
  --bark:      #1C1410;
  --bark2:     #3A2E28;
  --muted:     #7A6E68;
  --terra:     #C4674A;
  --terra-l:   #F0C4B4;
  --terra-d:   #A04D33;
  --sage:      #4A7B6A;
  --sage-l:    #C8DDD7;
  --border:    #E8DDD5;
  --border2:   #D9CABB;
  --shadow-s:  0 2px 12px rgba(28,20,16,.08);
  --shadow-m:  0 8px 32px rgba(28,20,16,.12);
  --shadow-l:  0 20px 60px rgba(28,20,16,.16);
  --radius-s:  8px;
  --radius-m:  14px;
  --radius-l:  22px;
  --max:       1120px;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--bark);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: var(--terra); color: #fff; padding: .5rem 1rem;
  border-radius: var(--radius-s); font-weight: 600; z-index: 1000;
}
.skip-link:focus { left: 1rem; }

/* ── Layout helpers ──────────────────────────────────────── */
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.wrap-s { max-width: 780px;     margin: 0 auto; padding: 0 1.25rem; }

/* ── NAV ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,250,246,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0;
}
.brand {
  display: flex; align-items: center; gap: .6rem; flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--terra); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1rem;
  letter-spacing: -.5px;
}
.brand-name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--bark);
}
.nav-links {
  display: flex; align-items: center; gap: .2rem;
}
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--muted);
  padding: .45rem .8rem; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--bark); background: var(--cream2); }
.nav-cta {
  background: var(--terra); color: #fff !important;
  padding: .45rem 1.1rem; border-radius: 20px;
  font-size: .88rem; font-weight: 600;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--terra-d) !important; transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: .4rem; color: var(--bark);
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  font-size: .82rem; color: var(--muted);
  padding: .75rem 0; border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--terra); }
.breadcrumb span { margin: 0 .4rem; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: .25rem .65rem; border-radius: 20px; letter-spacing: .03em;
  text-transform: uppercase;
}
.badge-terra  { background: var(--terra-l);  color: var(--terra-d); }
.badge-sage   { background: var(--sage-l);   color: var(--sage); }
.badge-cream  { background: var(--cream3);   color: var(--bark2); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  padding: .7rem 1.5rem; border-radius: 30px;
  cursor: pointer; transition: all .2s; text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--terra); color: #fff;
  box-shadow: 0 4px 16px rgba(196,103,74,.3);
}
.btn-primary:hover { background: var(--terra-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,103,74,.35); }
.btn-outline {
  background: transparent; color: var(--terra);
  border: 1.5px solid var(--terra);
}
.btn-outline:hover { background: var(--terra); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--bark2);
  border: 1.5px solid var(--border2);
}
.btn-ghost:hover { background: var(--cream2); border-color: var(--bark2); }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

/* ── SECTION TITLES ──────────────────────────────────────── */
.section-eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; line-height: 1.2; color: var(--bark);
}
.section-subtitle {
  font-size: 1.05rem; color: var(--muted); max-width: 600px;
  line-height: 1.7; margin-top: .75rem;
}
.section-header { margin-bottom: 2.5rem; }

/* ── ARTICLE CONTENT ─────────────────────────────────────── */
.article-body h2 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700;
  color: var(--bark); margin: 2.5rem 0 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--terra-l);
}
.article-body h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--bark2); margin: 2rem 0 .75rem;
}
.article-body p { margin-bottom: 1.25rem; color: var(--bark2); line-height: 1.8; }
.article-body ul, .article-body ol {
  margin: 0 0 1.25rem 1.5rem; list-style: disc;
}
.article-body li { margin-bottom: .5rem; color: var(--bark2); line-height: 1.7; }
.article-body strong { color: var(--bark); font-weight: 600; }
.article-body a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--terra-d); }

.callout {
  background: var(--cream2); border-left: 3px solid var(--terra);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.callout p { margin: 0; color: var(--bark2); font-size: .95rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bark); color: rgba(255,255,255,.8);
  margin-top: 5rem; padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .brand-mark { background: var(--terra); }
.footer-brand .brand-name { color: #fff; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 1rem; line-height: 1.7; }
.footer-col h4 {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  font-size: .88rem; color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--terra-l); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.4);
}
.footer-disclosure {
  font-size: .78rem; color: rgba(255,255,255,.35);
  margin-top: .5rem; max-width: 600px; line-height: 1.6;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
