@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand and Networks */
  --brand: #E8650A;
  --rede-azul: #4985D4;
  --rede-verde: #42BE61;
  --rede-amarela: #E1B828;
  --rede-laranja: #E8650A;

  /* Surfaces & Neutrals */
  --bg: #F4F1EC;
  --surface: #FFFFFF;
  --line: #E7E2D9;

  /* Typography / Ink */
  --ink: #1C1917;
  --ink-2: #57534E;
  --ink-3: #78716C;
  --ink-4: #A8A29E;

  /* Action Colors */
  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;

  /* Typography */
  --font: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(28, 25, 23, 0.06);
  --shadow-floating: 0 12px 32px rgba(28, 25, 23, 0.18);
  --shadow-dropdown: 0 8px 24px rgba(28, 25, 23, 0.12);

  /* Touch / Accessibility */
  --touch-target: 44px;
  --btn-height: 52px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  body {
    font-size: 17px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Focus state */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand-logo-img {
    height: 44px;
  }
}

.location-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  line-height: 1;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
}

.btn-header-cta {
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: var(--ink-2);
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-height);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-brand {
  background: var(--brand);
  color: #FFFFFF;
}

.btn-brand:hover {
  background: #D45800;
}

.btn-ink {
  background: var(--ink);
  color: #FFFFFF;
}

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-whatsapp-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--whatsapp);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}

.btn-whatsapp-icon:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.05);
}

.btn-whatsapp-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Chips System */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  user-select: none;
}

.chip:hover {
  border-color: var(--ink-4);
  color: var(--ink);
}

.chip.active, .chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.chip-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(28, 25, 23, 0.05);
  color: var(--ink-2);
}

.chip-tag.kids {
  background: rgba(66, 190, 97, 0.14);
  color: #1b7a33;
}

/* Card System */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.card:hover {
  border-color: var(--ink-4);
}

.card-floating {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
  border: 1px solid var(--line);
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-floating);
  z-index: 9999;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90vw;
  text-align: center;
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
