/* ============================================
   Aqui Tem Nutri — Shared Styles (Bootstrap 5.3)
   ============================================ */

:root {
  --green-deep: #2D5F3F;
  --green-mid: #4A7C59;
  --green-soft: #E8F0E6;
  --green-pale: #F4F8F1;
  --cream: #FAF8F3;
  --white: #FFFFFF;
  --ink: #1F2A20;
  --ink-soft: #4B5A4F;
  --ink-muted: #7A8A7E;
  --line: #DCE4D6;
  --accent: #C9A227;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(45,95,63,.06), 0 2px 8px rgba(45,95,63,.04);
  --shadow-md: 0 4px 16px rgba(45,95,63,.08), 0 12px 32px rgba(45,95,63,.06);
  --shadow-lg: 0 12px 40px rgba(45,95,63,.12);

  --ff-display: 'DM Serif Display', 'Source Serif 4', Georgia, serif;
  --ff-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17  0 0 0 0 0.37  0 0 0 0 0.24  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .6;
  mix-blend-mode: multiply;
  z-index: 1;
}
body > * { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  line-height: 1.1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green-mid); }

img { max-width: 100%; display: block; }

/* ============ Navigation (Bootstrap Navbar override) ============ */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--green-deep) !important;
}

.logo-mark {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar {
  background: rgba(250, 248, 243, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar .nav-link {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink) !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  transition: all .2s;
  font-weight: 500;
}

.navbar .nav-link:hover { background: var(--green-soft); }

.navbar .nav-link.active {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
}

.nav-cta {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
  padding: 10px 20px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  border-radius: 999px !important;
}
.nav-cta:hover { background: var(--green-mid) !important; }

.navbar-toggler {
  border: 1px solid var(--line);
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }

/* ============ Buttons ============ */
.btn-atn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.btn-primary-atn {
  background: var(--green-deep);
  color: var(--cream);
}
.btn-primary-atn:hover {
  background: var(--green-mid);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-atn {
  background: transparent;
  color: var(--green-deep);
  border: 1px solid var(--green-deep);
}
.btn-ghost-atn:hover {
  background: var(--green-deep);
  color: var(--cream);
}

.btn-whatsapp-atn {
  background: #25D366;
  color: white;
}
.btn-whatsapp-atn:hover {
  background: #1ea952;
  color: white;
  transform: translateY(-1px);
}

/* ============ Pills / Eyebrow ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  padding: 6px 14px;
  background: var(--green-soft);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green-mid);
  border-radius: 50%;
}

/* ============ Section basics ============ */
.section-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 16px 0;
}

.section-header p {
  font-size: 18px;
  color: var(--ink-soft);
}

/* ============ Footer ============ */
.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: 80px 0 32px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: scaleX(1.5);
}

.footer h4 {
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.7;
}

.footer a {
  color: var(--cream);
  opacity: 0.85;
  display: block;
  padding: 6px 0;
  font-size: 15px;
}
.footer a:hover { opacity: 1; color: var(--cream); }

.footer-logo { margin-bottom: 20px; }
.footer-logo .logo-mark {
  background: var(--cream);
  color: var(--green-deep);
  border-color: transparent;
}
.footer-logo .navbar-brand { color: var(--cream) !important; }

.footer-tagline {
  font-family: var(--ff-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--cream);
  max-width: 360px;
  margin-bottom: 24px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(250, 248, 243, 0.15);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ Floating WhatsApp ============ */
.fab-whats {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform .2s;
}
.fab-whats:hover { transform: scale(1.08); }
