/* ════════════════════════════════════════════════════════════
   PETDOBEM — Design System CSS
   Fiel ao layout React (Outfit + DM Sans, paleta verde/laranja)
   ════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────
   1. DESIGN TOKENS (CSS Custom Properties)
────────────────────────────────────────────────────────── */
:root {
  /* Cores — traduzidas dos valores HSL do Tailwind config */
  --color-bg:           #F9F5ED;   /* hsl(35 33% 97%)   — creme quente */
  --color-fg:           #1B2E27;   /* hsl(160 25% 14%)  — verde escuro */
  --color-primary:      #244C3F;   /* hsl(160 35% 22%)  — verde floresta */
  --color-primary-fg:   #F9F5ED;
  --color-secondary:    #F3F0E2;   /* hsl(35 40% 92%)   — creme claro */
  --color-secondary-fg: #1B2E27;
  --color-accent:       #EF6A39;   /* hsl(16 85% 58%)   — laranja quente */
  --color-accent-fg:    #FFFFFF;
  --color-card:         #FFFFFF;
  --color-card-fg:      #1B2E27;
  --color-muted:        #F5F4EC;   /* hsl(35 20% 93%)   — quase branco */
  --color-muted-fg:     #677E77;   /* hsl(160 10% 45%)  — cinza-verde */
  --color-border:       #E6E4DA;   /* hsl(35 20% 88%)   — borda quente */
  --color-warm:         #FAF7EB;   /* hsl(35 60% 95%)   — fundo warm */
  --color-destructive:  #DC2626;
  --color-success:      #16A34A;
  --color-warning:      #D97706;

  /* Tipografia */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Border Radius */
  --radius-sm:   4px;
  --radius:      0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06);
  --shadow:        0 4px 12px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg:     0 20px 48px rgba(0,0,0,0.12);
  --shadow-accent: 0 8px 24px rgba(239,106,57,0.25);

  /* Transições */
  --transition:    0.2s ease;
  --transition-lg: 0.35s ease;

  /* Navbar height */
  --navbar-h: 72px;
}

/* ──────────────────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-fg);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ──────────────────────────────────────────────────────────
   3. TYPOGRAPHY UTILITIES
────────────────────────────────────────────────────────── */
.text-accent    { color: var(--color-accent) !important; }
.text-primary   { color: var(--color-primary) !important; }
.text-muted     { color: var(--color-muted-fg) !important; }
.text-center    { text-align: center; }
.text-sm        { font-size: 0.875rem; }
.text-xs        { font-size: 0.75rem; }
.text-lg        { font-size: 1.125rem; }

/* ──────────────────────────────────────────────────────────
   4. LAYOUT UTILITIES
────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.py-12  { padding-top: 3rem; padding-bottom: 3rem; }
.mt-4   { margin-top: 1rem; }
.mt-8   { margin-top: 2rem; }
.mt-12  { margin-top: 3rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-6   { margin-bottom: 1.5rem; }
.d-inline { display: inline; }
.d-block  { display: block; }

/* ──────────────────────────────────────────────────────────
   5. ICONS
────────────────────────────────────────────────────────── */
.icon     { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-sm  { width: 18px; height: 18px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-xs  { width: 14px; height: 14px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-hero{ width: 80px; height: 80px; display: block; }

/* ──────────────────────────────────────────────────────────
   6. BUTTONS
────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled, .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Tamanhos */
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-xs  { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
.btn-lg  { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Variantes */
.btn-accent {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.btn-accent:hover {
  opacity: 0.88;
  color: #fff;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: #1b3b2f;
  color: var(--color-primary-fg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-border);
}
.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-fg);
  border-color: var(--color-muted-fg);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-success {
  background: var(--color-success);
  color: #fff;
  border-color: var(--color-success);
}
.btn-success:hover { opacity: 0.88; }

.btn-danger {
  background: var(--color-destructive);
  color: #fff;
  border-color: var(--color-destructive);
}
.btn-danger:hover { opacity: 0.88; }

.btn-link {
  background: none;
  border: none;
  color: var(--color-accent);
  padding: 0;
  border-radius: 0;
  font-weight: 500;
}
.btn-link:hover { text-decoration: underline; }

/* ──────────────────────────────────────────────────────────
   7. BADGES
────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.badge-xs { padding: 0.15rem 0.5rem; font-size: 0.7rem; }

.badge-admin     { background: #FEF3C7; color: #92400E; }
.badge-partner   { background: #DBEAFE; color: #1E40AF; }
.badge-affiliate { background: #D1FAE5; color: #065F46; }
.badge-user      { background: var(--color-secondary); color: var(--color-muted-fg); }
.badge-muted     { background: var(--color-muted); color: var(--color-muted-fg); }

.badge-status-active   { background: #D1FAE5; color: #065F46; }
.badge-status-inactive { background: #FEE2E2; color: #991B1B; }
.badge-status-pending  { background: #FEF3C7; color: #92400E; }

/* ──────────────────────────────────────────────────────────
   8. ALERTS / FLASH MESSAGES
────────────────────────────────────────────────────────── */
.flash-container {
  position: fixed;
  top: calc(var(--navbar-h) + 1rem);
  right: 1rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 420px;
  width: 100%;
}

.flash-container--top {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}

.flash-container--admin {
  position: static;
  max-width: none;
  transform: none;
  padding: 1rem 1.5rem 0;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
  border: 1px solid transparent;
}

.alert ul { margin: 0.25rem 0 0 1rem; list-style: disc; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.alert-success {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}
.alert-error {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
.alert-warning {
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #92400E;
}
.alert-info {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1E40AF;
}

.alert__close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.alert__close:hover { opacity: 1; }

/* ──────────────────────────────────────────────────────────
   9. FORMS
────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-fg);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-secondary);
  color: var(--color-fg);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  appearance: none;
}

.form-control::placeholder { color: var(--color-muted-fg); opacity: 0.8; }

.form-control:focus {
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(239,106,57,0.15);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: var(--color-destructive);
}

.form-control-wrap {
  position: relative;
}

.form-control-wrap .form-control {
  padding-right: 2.75rem;
}

.form-control-action {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted-fg);
  padding: 0;
  line-height: 1;
}
.form-control-action:hover { color: var(--color-fg); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23677E77' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select--sm {
  padding: 0.3rem 2rem 0.3rem 0.6rem;
  font-size: 0.85rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-muted-fg);
  margin-top: 0.3rem;
}

/* Força da senha */
.password-strength {
  margin-bottom: 1rem;
}
.password-strength__bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.password-strength__fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}
.password-strength__label {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Inline form (para ações em tabelas) */
.inline-form { display: inline; }
.filters-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.filters-form__group { flex: 1; min-width: 200px; }
.filters-form__group--sm { flex: 0 0 180px; }

/* ──────────────────────────────────────────────────────────
   10. NAVBAR
────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(249,245,237,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.navbar--scrolled {
  background: rgba(249,245,237,0.98);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.navbar__brand:hover { color: inherit; }

.navbar__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-fg);
  letter-spacing: -0.02em;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-muted-fg);
  transition: color var(--transition), background var(--transition);
}
.navbar__link:hover {
  color: var(--color-fg);
  background: var(--color-secondary);
}

/* User menu dropdown */
.navbar__user-menu { position: relative; }

.navbar__user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}
.navbar__user-btn:hover {
  background: #E8E4D5;
  border-color: var(--color-muted-fg);
}

.navbar__user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
}

.navbar__user-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.navbar__dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.navbar__dropdown-header {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar__dropdown-header strong { font-size: 0.9rem; }

.navbar__dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.25rem 0;
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--color-fg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.navbar__dropdown-item:hover {
  background: var(--color-secondary);
  color: var(--color-fg);
}
.navbar__dropdown-item--danger:hover {
  background: #FEF2F2;
  color: var(--color-destructive);
}

/* Hamburger mobile */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-fg);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar__hamburger.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar__hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.navbar__hamburger.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ──────────────────────────────────────────────────────────
   11. FOOTER
────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-fg);
  color: var(--color-primary-fg);
  padding: 4rem 0 2rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary-fg);
}
.footer__brand:hover { color: var(--color-primary-fg); }

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__links a {
  color: rgba(249,245,237,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-primary-fg); }

.footer__bottom {
  border-top: 1px solid rgba(249,245,237,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { color: rgba(249,245,237,0.4); font-size: 0.85rem; }

.footer__credit {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ──────────────────────────────────────────────────────────
   12. SECTIONS (landing page)
────────────────────────────────────────────────────────── */
.section {
  padding: 6rem 0;
}
.section--bg-white { background: var(--color-card); }
.section--bg-warm  { background: var(--color-warm); }
.section--bg-primary { background: var(--color-primary); }

.section__header {
  margin-bottom: 4rem;
}
.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section__label--light { color: var(--color-accent); }

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-fg);
  margin-bottom: 1rem;
}
.section__title--light { color: var(--color-primary-fg); }

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-muted-fg);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}
.section__subtitle--light { color: rgba(249,245,237,0.7); }

/* ──────────────────────────────────────────────────────────
   13. HERO
────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,46,39,0.92) 0%, rgba(27,46,39,0.72) 50%, rgba(27,46,39,0.35) 100%);
}

.hero__content {
  position: relative;
  padding-top: calc(var(--navbar-h) + 4rem);
  padding-bottom: 5rem;
}

.hero__text { max-width: 42rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239,106,57,0.2);
  border: 1px solid rgba(239,106,57,0.35);
  color: rgba(249,245,237,0.9);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(249,245,237,0.8);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
.hero__subtitle strong { color: #fff; }

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
.scroll-wheel {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(249,245,237,0.35);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px;
}
.scroll-dot {
  width: 5px;
  height: 10px;
  background: rgba(249,245,237,0.55);
  border-radius: 3px;
  animation: scrollDown 1.5s infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ──────────────────────────────────────────────────────────
   14. HOW IT WORKS
────────────────────────────────────────────────────────── */
.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.how-card {
  position: relative;
}

.how-card__inner {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition-lg);
}
.how-card:hover .how-card__inner {
  border-color: rgba(239,106,57,0.4);
  box-shadow: 0 12px 32px rgba(239,106,57,0.08);
}

.how-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.how-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(239,106,57,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  color: var(--color-accent);
}
.how-card:hover .how-card__icon-wrap { background: rgba(239,106,57,0.18); }

.how-card__icon { color: var(--color-accent); }

.how-card__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-border);
  line-height: 1;
  transition: color var(--transition);
}
.how-card:hover .how-card__number { color: rgba(239,106,57,0.2); }

.how-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.how-card__desc {
  color: var(--color-muted-fg);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Conector entre cards */
.how-card__connector {
  display: none;
}

/* ──────────────────────────────────────────────────────────
   15. VOUCHERS
────────────────────────────────────────────────────────── */
.vouchers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.voucher-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-lg);
  cursor: pointer;
}
.voucher-card:hover {
  border-color: rgba(239,106,57,0.35);
  box-shadow: 0 12px 32px rgba(239,106,57,0.06);
  transform: translateY(-2px);
}

.voucher-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.voucher-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.voucher-card__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(239,106,57,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.voucher-card__category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
}

.voucher-card__discount {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.voucher-card__partner {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.voucher-card__desc {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.voucher-card__btn {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
  border-radius: var(--radius-xl);
}
.voucher-card:hover .voucher-card__btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ──────────────────────────────────────────────────────────
   16. IMPACT STATS
────────────────────────────────────────────────────────── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.impact-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(249,245,237,0.05);
  border: 1px solid rgba(249,245,237,0.1);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.impact-stat__value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.impact-stat__label {
  font-size: 0.875rem;
  color: rgba(249,245,237,0.65);
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────
   17. PARTNERS SECTION
────────────────────────────────────────────────────────── */
.partners-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.partners-benefits__desc {
  color: var(--color-muted-fg);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 1.5rem 0 2.5rem;
}

.benefits-list { display: flex; flex-direction: column; gap: 1.5rem; }

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.benefit-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(239,106,57,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.benefit-item__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.benefit-item__desc { font-size: 0.9rem; color: var(--color-muted-fg); }

/* Formulário de parceiro */
.partners-form-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.partners-form-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.partners-form-card__subtitle {
  color: var(--color-muted-fg);
  margin-bottom: 2rem;
}

/* ──────────────────────────────────────────────────────────
   18. AUTH LAYOUT
────────────────────────────────────────────────────────── */
.auth-body { background: var(--color-primary); min-height: 100vh; }

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Painel esquerdo — branding */
.auth-brand {
  background: var(--color-primary);
  display: flex;
  align-items: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239,106,57,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.auth-brand__content { position: relative; max-width: 380px; }

.auth-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3rem;
}
.auth-brand__logo:hover { color: #fff; }

.auth-brand__quote {
  font-size: 1.25rem;
  line-height: 1.65;
  color: rgba(249,245,237,0.8);
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin-bottom: 3rem;
}

.auth-brand__stats {
  display: flex;
  gap: 2rem;
}
.auth-brand__stat { text-align: center; }
.auth-brand__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-accent);
}
.auth-brand__stat span {
  font-size: 0.8rem;
  color: rgba(249,245,237,0.55);
  font-weight: 500;
}

/* Painel direito — formulário */
.auth-form-panel {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.auth-form-panel__inner {
  width: 100%;
  max-width: 420px;
}

.auth-form-panel__footer {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}
.auth-form-panel__footer a { color: var(--color-accent); }

/* Form de auth */
.auth-form__header { margin-bottom: 2rem; }
.auth-form__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.auth-form__subtitle { color: var(--color-muted-fg); font-size: 0.95rem; }
.auth-form__subtitle a { color: var(--color-accent); font-weight: 600; }

.auth-form__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--color-muted-fg);
  font-size: 0.85rem;
}
.auth-form__divider::before,
.auth-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-form__alt { /* nada especial */ }

.auth-form__terms {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-muted-fg);
  text-align: center;
  line-height: 1.5;
}
.auth-form__terms a { color: var(--color-accent); }

/* ──────────────────────────────────────────────────────────
   19. ADMIN LAYOUT
────────────────────────────────────────────────────────── */
.admin-body { background: var(--color-muted); min-height: 100vh; }

.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--color-fg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 200;
}

.admin-sidebar__header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(249,245,237,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.admin-sidebar__brand:hover { color: #fff; }

.admin-sidebar__close {
  display: none;
  background: none;
  border: none;
  color: rgba(249,245,237,0.5);
  cursor: pointer;
}

.admin-sidebar__nav {
  flex: 1;
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-sidebar__section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249,245,237,0.35);
  padding: 0.75rem 0.5rem 0.35rem;
  display: block;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(249,245,237,0.65);
  transition: all var(--transition);
  text-decoration: none;
}
.admin-sidebar__link:hover {
  background: rgba(249,245,237,0.07);
  color: #fff;
}
.admin-sidebar__link.active {
  background: rgba(239,106,57,0.15);
  color: var(--color-accent);
  font-weight: 600;
}

.admin-sidebar__link--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.admin-sidebar__link--disabled:hover {
  background: none;
  color: rgba(249,245,237,0.65);
}

.admin-sidebar__footer {
  padding: 1rem 0.75rem;
  border-top: 1px solid rgba(249,245,237,0.08);
}

.admin-sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.admin-sidebar__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.admin-sidebar__user strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}
.admin-sidebar__user span {
  display: block;
  font-size: 0.75rem;
  color: rgba(249,245,237,0.4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 155px;
}

.admin-sidebar__logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: rgba(249,245,237,0.5);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}
.admin-sidebar__logout:hover {
  background: rgba(220,38,38,0.12);
  color: #FCA5A5;
}

/* Admin main area */
.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar__menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-fg);
  padding: 0.25rem;
}
.admin-topbar__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.admin-topbar__site-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--color-muted-fg);
}
.admin-topbar__site-link:hover { color: var(--color-accent); }

.admin-content {
  padding: 2rem 1.75rem;
  flex: 1;
}

/* Admin overlay mobile */
.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,46,39,0.5);
  z-index: 190;
}

/* Admin page header */
.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-page-header__title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.admin-page-header__subtitle {
  color: var(--color-muted-fg);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* Admin stats */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  padding: 10px;
}
.admin-stat-card--primary .admin-stat-card__icon { background: var(--color-primary); }
.admin-stat-card--accent  .admin-stat-card__icon { background: var(--color-accent); }
.admin-stat-card--success .admin-stat-card__icon { background: var(--color-success); }
.admin-stat-card--warning .admin-stat-card__icon { background: var(--color-warning); }

.admin-stat-card__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-fg);
}
.admin-stat-card__label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted-fg);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Admin cards */
.admin-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.admin-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.admin-card__title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.admin-card__action {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}
.admin-card__body { padding: 1.5rem; }
.admin-card__body.p-0 { padding: 0; }

/* Roadmap */
.roadmap-list { display: flex; flex-direction: column; gap: 1rem; }
.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--color-muted);
}
.roadmap-item--done {
  background: rgba(22,163,74,0.07);
}
.roadmap-item__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.roadmap-item--done .roadmap-item__badge {
  background: var(--color-success);
  color: #fff;
}
.roadmap-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.roadmap-item p { font-size: 0.8rem; color: var(--color-muted-fg); }

/* ──────────────────────────────────────────────────────────
   20. TABLES
────────────────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }

.table {
  width: 100%;
  font-size: 0.9rem;
}
.table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  background: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.table tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-fg);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--color-muted); }

.table-compact thead th { padding: 0.6rem 0.75rem; }
.table-compact tbody td { padding: 0.6rem 0.75rem; }

/* User cell */
.user-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.user-cell strong { display: block; font-size: 0.875rem; }
.user-cell small { display: block; font-size: 0.775rem; color: var(--color-muted-fg); }

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.user-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
}

/* Actions group */
.actions-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* Paginação */
.pagination-wrapper {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.pagination__btn {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}
.pagination__info {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-muted-fg);
}
.empty-state__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  opacity: 0.35;
}
.empty-state h3 {
  font-size: 1.1rem;
  color: var(--color-fg);
  margin-bottom: 0.4rem;
}

/* ──────────────────────────────────────────────────────────
   21. DASHBOARD (usuário)
────────────────────────────────────────────────────────── */
.page-header {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  padding: calc(var(--navbar-h) + 2rem) 0 2.5rem;
}
.page-header__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-fg);
  margin-bottom: 0.35rem;
}
.page-header__subtitle {
  color: rgba(249,245,237,0.7);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(239,106,57,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  padding: 10px;
  flex-shrink: 0;
}
.stat-card__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-fg);
  line-height: 1;
}
.stat-card__label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted-fg);
  margin-top: 0.2rem;
}

.dashboard-cta {
  background: var(--color-primary);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}
.dashboard-cta::before {
  content: '';
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(239,106,57,0.15) 0%, transparent 70%);
}
.dashboard-cta__content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.dashboard-cta__content p {
  color: rgba(249,245,237,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.dashboard-cta__icon {
  opacity: 0.15;
  flex-shrink: 0;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.coming-soon-card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
}
.coming-soon-card__icon {
  width: 36px;
  height: 36px;
  color: var(--color-muted-fg);
  margin: 0 auto 0.75rem;
  opacity: 0.5;
}
.coming-soon-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.coming-soon-card p { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 0.75rem; }

/* ──────────────────────────────────────────────────────────
   22. ERROR PAGES
────────────────────────────────────────────────────────── */
.error-page {
  text-align: center;
  padding: calc(var(--navbar-h) + 6rem) 1.5rem 6rem;
  max-width: 500px;
  margin: 0 auto;
}
.error-page__code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page__code--warning { color: var(--color-warning); }
.error-page__title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.error-page__desc {
  color: var(--color-muted-fg);
  margin-bottom: 2rem;
}
.error-page__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────────
   23. ANIMATIONS
────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
}

/* ──────────────────────────────────────────────────────────
   24. RESPONSIVE — Tablet (≤ 1024px)
────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-2col  { grid-template-columns: 1fr; }
  .impact-grid      { grid-template-columns: repeat(2, 1fr); }
  .how-it-works__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .partners-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .vouchers-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────────────────────────────────────────────────
   25. RESPONSIVE — Mobile (≤ 768px)
────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Navbar */
  .navbar__links {
    display: none;
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .navbar__links.open { display: flex; }
  .navbar__hamburger  { display: flex; }
  .navbar__link       { width: 100%; padding: 0.65rem 0; }
  .navbar__user-menu  { width: 100%; }
  .navbar__user-btn   { width: 100%; }
  .navbar__dropdown   { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; border: none; padding: 0; }

  /* Auth */
  .auth-wrapper  { grid-template-columns: 1fr; }
  .auth-brand    { display: none; }
  .auth-form-panel { padding: 2rem 1.25rem; min-height: 100vh; }

  /* Admin sidebar */
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    transform: translateX(-100%);
  }
  .admin-sidebar.open  { transform: translateX(0); }
  .admin-sidebar__close { display: block; }
  .admin-topbar { display: flex; }
  .admin-overlay.open { display: block; }

  /* Grids */
  .dashboard-grid       { grid-template-columns: 1fr; }
  .coming-soon-grid     { grid-template-columns: 1fr; }
  .admin-stats-grid     { grid-template-columns: 1fr 1fr; }
  .vouchers-grid        { grid-template-columns: 1fr; }
  .impact-grid          { grid-template-columns: repeat(2, 1fr); }
  .auth-brand__stats    { gap: 1rem; }
  .hero__actions        { flex-direction: column; }
  .hero__actions .btn   { text-align: center; }
  .footer__top          { flex-direction: column; align-items: flex-start; }
  .footer__links        { flex-direction: column; gap: 0.75rem; }
  .dashboard-cta        { flex-direction: column; }
  .dashboard-cta__icon  { display: none; }

  .admin-content { padding: 1.25rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
  .impact-grid      { grid-template-columns: 1fr 1fr; }
  .error-page__code { font-size: 4rem; }
}
