/* UAUBaby — Design Tokens & Base Styles
 * Built from brandbook (Junho 2026)
 * Type: Inter (body) + Playfair Display as Essonnes substitute (Essonnes is Adobe Fonts only)
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root {
  /* Brand palette — names from brandbook */
  --essencia: #F4ECDF;        /* off-white cream */
  --acolhimento: #E8B9A3;     /* peach */
  --serenidade: #C8A88B;      /* sand beige */
  --vinculo: #2B445F;         /* deep navy (anchor) */
  --vinculo-deep: #1F3247;    /* darker navy */
  --sopro: #F0DDD0;           /* pale nude */
  --ritual: #C49687;          /* dusty mauve/rose */
  --origem: #8E5C40;          /* warm terracotta */
  --leveza: #FFFFFF;          /* white */

  /* Functional tokens */
  --page-bg: var(--essencia);
  --surface: var(--leveza);
  --surface-soft: var(--sopro);
  --ink: var(--vinculo-deep);
  --ink-soft: #5A6E80;
  --ink-mute: #8C97A2;
  --accent: var(--acolhimento);
  --accent-deep: var(--ritual);
  --line: rgba(43, 68, 95, 0.10);
  --line-soft: rgba(43, 68, 95, 0.06);

  /* Type */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Scale */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Container */
  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Type */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vinculo);
  opacity: 0.7;
}
.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ritual);
}
.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--vinculo);
}
.h-display em {
  font-style: italic;
  color: var(--ritual);
}
.h-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--vinculo);
}
.h-card {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--vinculo);
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: all 180ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--vinculo);
  color: var(--leveza);
}
.btn-primary:hover { background: var(--vinculo-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--vinculo);
  border-color: rgba(43, 68, 95, 0.25);
}
.btn-ghost:hover {
  background: var(--vinculo);
  color: var(--leveza);
  border-color: var(--vinculo);
}
.btn-accent {
  background: var(--acolhimento);
  color: var(--vinculo);
}
.btn-accent:hover { background: var(--ritual); color: var(--leveza); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--vinculo);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Logo (recreated from brandbook) */
.uau-logo {
  display: block;
  width: auto;
  height: auto;
  user-select: none;
}
.uau-logo .uau {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1em;
  letter-spacing: -0.04em;
  color: var(--acolhimento);
  position: relative;
  z-index: 1;
}
.uau-logo .baby {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.62em;
  letter-spacing: -0.02em;
  color: var(--vinculo);
  margin-top: -0.45em;
  margin-left: 0.18em;
  position: relative;
  z-index: 2;
}
.uau-logo .uau .u-right { display: inline-block; transform: scaleX(-1); }

/* Top promo bar */
.promo-bar {
  background: var(--vinculo);
  color: var(--leveza);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 10px 0;
  overflow: hidden;
}
.promo-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.promo-bar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}
@media (max-width: 720px) {
  .promo-bar { font-size: 11.5px; padding: 8px 0; }
  .promo-bar-inner { justify-content: center; gap: 0; }
  .promo-bar-inner span:nth-child(1),
  .promo-bar-inner span:nth-child(3) { display: none; }
  .promo-bar-inner span:nth-child(2) { text-align: center; }
}

/* Header */
.site-header {
  background: var(--page-bg);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  gap: 32px;
}
.nav-desktop {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-desktop a {
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 150ms;
  position: relative;
  padding: 4px 0;
}
.nav-desktop a:hover { opacity: 1; }
.nav-desktop a.active { opacity: 1; }
.nav-desktop a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ritual);
}
.site-header .brand { font-size: 28px; }
.site-header .icons {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: var(--ink);
}
.site-header .icons button {
  background: transparent;
  border: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
}
.site-header .icons button:hover { opacity: 1; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  margin-left: -8px;
  color: var(--ink);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--sopro); }
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(31, 50, 71, 0.4);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(82vw, 340px);
  background: var(--page-bg);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(-100%);
  transition: transform 240ms ease;
  overflow-y: auto;
  padding-top: 88px;
}
.nav-mobile.is-open .nav-mobile-panel { transform: translateX(0); }
.nav-mobile-panel a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--vinculo);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile-panel a.active { color: var(--ritual); }
.nav-mobile-cta { margin-top: 24px; width: 100%; }

@media (max-width: 880px) {
  .site-header .container { grid-template-columns: auto 1fr auto; height: 64px; gap: 16px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .brand { font-size: 22px; justify-self: center; }
  .site-header .icons-label { display: none; }
  .site-header .icons { gap: 8px; }
}

/* Footer */
.site-footer {
  background: var(--vinculo);
  color: var(--leveza);
  padding: 80px 0 32px;
  margin-top: 100px;
}
.site-footer .uau-logo .uau { color: var(--acolhimento); }
.site-footer .uau-logo .baby { color: var(--leveza); }
.site-footer h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 16px;
}
.site-footer a, .site-footer li {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.site-footer ul { padding: 0; margin: 0; }
.site-footer a:hover { color: var(--acolhimento); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 880px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.site-footer .footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

/* Section spacing */
section.block { padding: 96px 0; }
section.block-sm { padding: 64px 0; }
@media (max-width: 720px) {
  section.block { padding: 64px 0; }
  section.block-sm { padding: 48px 0; }
}

/* Section head — title + supporting paragraph */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head > .lead,
.section-head > p { align-self: end; }
@media (max-width: 880px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
}

/* Utility */
.hr-soft { border: none; height: 1px; background: var(--line); margin: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--sopro);
  color: var(--vinculo);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Card */
.card {
  background: var(--leveza);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(43,68,95,0.18); }

/* Photo wrapper */
.photo {
  background: var(--sopro);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Tweaks panel positioning override (lighten chrome) */
.tweaks-panel {
  font-family: var(--font-sans) !important;
}
