/* ============================
   bifomfom.com.br — Shared CSS
   ============================ */

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

:root {
  --cream:      #FFF8F3;
  --cream-dark: #F5EDE4;
  --peach:      #E8A87C;
  --rose:       #C96A78;
  --rose-dark:  #A3404F;
  --brown:      #4A2E2A;
  --brown-mid:  #7A4F46;
  --text:       #3D2B27;
  --text-light: #8A6860;
  --white:      #FFFFFF;
  --shadow:     rgba(74, 46, 42, 0.10);
  --shadow-md:  rgba(74, 46, 42, 0.18);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --radius-xl:  48px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--brown);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
a { color: var(--rose); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-dark); }

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--rose-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 106, 120, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 2px solid var(--rose);
}
.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-md);
}

/* ---- Tag / Badge ---- */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--cream-dark);
  color: var(--brown-mid);
}
.tag-rose {
  background: #FDEEF0;
  color: var(--rose);
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--peach), var(--rose));
  border-radius: 4px;
  margin: 16px 0 28px;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 168, 124, 0.18);
  padding: 16px 0;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
}
.nav-logo span { color: var(--rose); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--rose); }

/* ---- Footer ---- */
.site-footer {
  background: var(--brown);
  color: rgba(255,248,243,.7);
  text-align: center;
  padding: 40px 24px;
  font-size: .875rem;
}
.site-footer a { color: var(--peach); }
.site-footer a:hover { color: var(--white); }

/* ---- Stat box ---- */
.stat-box {
  text-align: center;
  padding: 28px 20px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-rose   { color: var(--rose); }
.text-brown  { color: var(--brown); }
.mb-0  { margin-bottom: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* ---- Decoration shapes ---- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}
