/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2A4A3D;
  background: #F6F9F7;
  line-height: 1.6;
}
img { max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ===== COLORS ===== */
:root {
  --primary: #96C7B3;
  --primary-dark: #70A892;
  --primary-darker: #4B8A70;
  --primary-light: #EFF7F3;
  --primary-soft: #F6FBF8;
  --secondary: #6398A9;
  --secondary-dark: #4B7A8A;
  --gold: #F9B95C;
  --gold-dark: #D99D3A;
  --terracotta: #D7897F;
  --terracotta-light: #F6E3DF;
  --dark: #2A4A3D;
  --muted: #6B8F7F;
  --border: #D4E3DB;
  --bg: #F6F9F7;
  --white: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 24px;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--dark); line-height: 1; }
.logo-icon { font-size: 28px; flex-shrink: 0; }
.logo-text { display: inline-block; line-height: 1; }
.logo-text-inner { display: inline; }
.logo-highlight { color: var(--primary); }
.logo-city { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.3px; margin-top: 1px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
  color: var(--muted); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-links .nav-admin {
  background: var(--primary-darker); color: white !important; padding: 6px 14px;
}
.nav-links .nav-admin:hover { background: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; padding: 8px; color: var(--dark); }

/* ===== SECTIONS ===== */
.section { display: none; padding-top: 68px; }
.section.active { display: block; }
.section-block { padding: 80px 0; }
.alt-bg { background: rgba(249,185,92,0.06); }
.alt-bg-2 { background: #96C7B3; }
.alt-bg-2 .section-header .section-eyebrow { color: rgba(255,255,255,0.85); }
.alt-bg-2 .section-header h2 { color: white; }
.alt-bg-2 .section-header p { color: rgba(255,255,255,0.85); }
.alt-bg-3 { background: rgba(99,152,169,0.06); }

.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 52px;
}
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 12px;
}
.section-header h2 { font-size: 32px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--muted); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-darker) 0%, #528A7A 40%, var(--primary) 100%);
  padding: 100px 0 80px; color: white; overflow: hidden;
}
.hero-content { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: var(--gold); color: var(--dark); font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-text h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-text .highlight { color: var(--gold); }
.hero-text p { font-size: 17px; line-height: 1.7; opacity: 0.85; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-illustration {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  width: 320px;
}
.illo-card {
  width: 140px; height: 140px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 56px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.illo-card:hover { transform: translateY(-4px) scale(1.02); }
.illo-card-1 { background: rgba(150,199,179,0.3); }
.illo-card-2 { background: rgba(249,185,92,0.25); margin-top: 24px; }
.illo-card-3 { margin-top: -12px; background: rgba(215,137,127,0.25); }
.illo-card-4 { margin-top: 12px; background: rgba(99,152,169,0.25); }

/* ===== STATS ===== */
.stats-banner { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 36px; font-weight: 800; line-height: 1.2; }
.stat-item:nth-child(1) .stat-number { color: var(--primary); }
.stat-item:nth-child(2) .stat-number { color: var(--gold-dark); }
.stat-item:nth-child(3) .stat-number { color: var(--secondary); }
.stat-item:nth-child(4) .stat-number { color: var(--terracotta); }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ===== STEPS ===== */
.steps-grid {
  display: flex; align-items: flex-start; gap: 0; justify-content: center;
  flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 200px; max-width: 240px;
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  transition: var(--transition); border-top: 4px solid var(--primary);
}
.step-card:nth-child(1) { border-top-color: var(--primary); }
.step-card:nth-child(3) { border-top-color: var(--gold-dark); }
.step-card:nth-child(5) { border-top-color: var(--secondary); }
.step-card:nth-child(7) { border-top-color: var(--terracotta); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step-card:nth-child(1) .step-num { background: var(--primary); color: white; }
.step-card:nth-child(3) .step-num { background: var(--gold-dark); color: white; }
.step-card:nth-child(5) .step-num { background: var(--secondary); color: white; }
.step-card:nth-child(7) .step-num { background: var(--terracotta); color: white; }
.step-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }
.step-arrow { font-size: 32px; font-weight: 300; padding: 48px 12px 0; }
.step-arrow:nth-of-type(2) { color: var(--gold-dark); }
.step-arrow:nth-of-type(4) { color: var(--secondary); }
.step-arrow:nth-of-type(6) { color: var(--terracotta); }

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  border: none; transition: var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-top: 4px solid transparent;
}
.benefit-card:nth-child(1) { border-top-color: var(--primary-darker); }
.benefit-card:nth-child(2) { border-top-color: var(--gold-dark); }
.benefit-card:nth-child(3) { border-top-color: var(--secondary-dark); }
.benefit-card:nth-child(4) { border-top-color: var(--terracotta); }
.benefit-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.benefit-card:nth-child(1) .benefit-icon { color: var(--primary-darker); }
.benefit-card:nth-child(2) .benefit-icon { color: var(--gold-dark); }
.benefit-card:nth-child(3) .benefit-icon { color: var(--secondary-dark); }
.benefit-card:nth-child(4) .benefit-icon { color: var(--terracotta); }
.benefit-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--muted); }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--border); transition: var(--transition);
  border-left: 4px solid transparent;
}
.feature-card:nth-child(1) { border-left-color: var(--primary); }
.feature-card:nth-child(2) { border-left-color: var(--gold-dark); }
.feature-card:nth-child(3) { border-left-color: var(--secondary); }
.feature-card:nth-child(4) { border-left-color: var(--terracotta); }
.feature-card:nth-child(5) { border-left-color: var(--primary); }
.feature-card:nth-child(6) { border-left-color: var(--gold-dark); }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-num { font-size: 32px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.feature-card:nth-child(1) .feature-num { color: rgba(150,199,179,0.35); }
.feature-card:nth-child(2) .feature-num { color: rgba(249,185,92,0.35); }
.feature-card:nth-child(3) .feature-num { color: rgba(99,152,169,0.35); }
.feature-card:nth-child(4) .feature-num { color: rgba(215,137,127,0.35); }
.feature-card:nth-child(5) .feature-num { color: rgba(150,199,179,0.35); }
.feature-card:nth-child(6) .feature-num { color: rgba(249,185,92,0.35); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ===== CTA ===== */
.cta-block {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--secondary) 50%, var(--primary) 100%);
  text-align: center; color: white;
}
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.cta-content p { font-size: 16px; opacity: 0.85; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--gold-dark); color: white; }
.btn-primary:hover { background: #C48B2E; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,157,58,0.35); }
.btn-secondary { background: var(--white); color: var(--terracotta); border: 2px solid var(--terracotta); }
.btn-secondary:hover { background: var(--terracotta-light); color: var(--terracotta); border-color: var(--terracotta); }
.btn-outline-light { background: transparent; color: white; border: 2px solid var(--gold); }
.btn-outline-light:hover { border-color: var(--gold); background: rgba(249,185,92,0.15); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== PETS SECTION ===== */
#section-pets { padding-top: 100px; }
.pets-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-top: 32px;
}
.pet-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.pet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pet-card-img {
  width: 100%; height: 200px; object-fit: cover; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 64px;
}
.pet-card-body { padding: 20px; }
.pet-card-body h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.pet-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 600;
}
.tag-cachorro { background: #EEF5F1; color: #3D6B5A; }
.tag-gato { background: #F5E0DC; color: #8C645A; }
.tag-pequeno { background: var(--primary-light); color: var(--primary); }
.tag-medio { background: #FEF7EC; color: #A67B38; }
.tag-grande { background: #E6F0F3; color: #4A7785; }
.tag-macho { background: #E6F0F3; color: #4A7785; }
.tag-femea { background: #F5E0DC; color: #8C645A; }
.tag-vacinado { background: #EEF5F1; color: #3D6B5A; }
.pet-card-location { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pet-card-location::before { content: "📍 "; }
.pet-card-action { margin-top: 12px; }

/* ===== FILTERS ===== */
.filters-bar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  background: var(--white); padding: 16px 20px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.filter-group { flex: 1; min-width: 150px; }
.filter-group input, .filter-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; background: var(--white); color: var(--dark);
  transition: var(--transition);
}
.filter-group input:focus, .filter-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(111,159,139,0.15);
}

.empty-state { text-align: center; padding: 60px 20px; grid-column: 1 / -1; }
.empty-icon { font-size: 64px; }
.empty-state h3 { font-size: 20px; font-weight: 600; margin: 12px 0 8px; }
.empty-state p { color: var(--muted); }

/* ===== REGISTER FORM ===== */
#section-register { padding-top: 100px; padding-bottom: 80px; }
.register-form {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  max-width: 800px; margin: 0 auto;
}
.form-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.form-group { flex: 1; min-width: 180px; }
.form-group.full-width { flex: 0 0 100%; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; background: var(--white); color: var(--dark); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(111,159,139,0.15);
}
.form-group textarea { resize: vertical; }
.form-subtitle { font-size: 17px; font-weight: 600; color: var(--primary); margin: 8px 0 0; }
.form-actions { display: flex; gap: 16px; margin-top: 24px; }

/* ===== ABOUT ===== */
#section-about { padding-top: 100px; padding-bottom: 80px; }
.about-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.about-card:nth-child(1) { border-bottom-color: var(--primary); }
.about-card:nth-child(2) { border-bottom-color: var(--gold-dark); }
.about-card:nth-child(3) { border-bottom-color: var(--secondary); }
.about-card:nth-child(4) { border-bottom-color: var(--terracotta); }
.about-card:hover { box-shadow: var(--shadow-md); }
.about-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.about-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ===== ADMIN ===== */
#section-admin { padding-top: 100px; padding-bottom: 80px; }
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.admin-stat-card:nth-child(1) { border-top-color: var(--primary); }
.admin-stat-card:nth-child(2) { border-top-color: var(--gold-dark); }
.admin-stat-card:nth-child(3) { border-top-color: var(--secondary); }
.admin-stat-card:nth-child(4) { border-top-color: var(--terracotta); }
.admin-stat-card:nth-child(5) { border-top-color: var(--primary); }
.admin-stat-num { display: block; font-size: 36px; font-weight: 800; }
.admin-stat-card:nth-child(1) .admin-stat-num { color: var(--primary); }
.admin-stat-card:nth-child(2) .admin-stat-num { color: var(--gold-dark); }
.admin-stat-card:nth-child(3) .admin-stat-num { color: var(--secondary); }
.admin-stat-card:nth-child(4) .admin-stat-num { color: var(--terracotta); }
.admin-stat-card:nth-child(5) .admin-stat-num { color: var(--primary); }
.admin-stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

.admin-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }

/* Impact Metrics */
.impact-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px;
}
.impact-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}
.impact-card:nth-child(1) { border-left-color: var(--primary); }
.impact-card:nth-child(2) { border-left-color: var(--gold-dark); }
.impact-card:nth-child(3) { border-left-color: var(--secondary); }
.impact-card:nth-child(4) { border-left-color: var(--terracotta); }
.impact-icon { font-size: 36px; flex-shrink: 0; }
.impact-info { flex: 1; }
.impact-value { display: block; font-size: 24px; font-weight: 800; color: var(--primary-darker); line-height: 1.2; }
.impact-label { font-size: 12px; color: var(--muted); }

/* User Management */
.admin-user-section { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.admin-user-header h3 { font-size: 17px; font-weight: 600; margin-bottom: 20px; }
.admin-user-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-user-form-card, .admin-user-list-card { }
.admin-user-form-card h4, .admin-user-list-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 16px; color: var(--dark); }
.admin-user-form-card .btn { margin-top: 12px; }
.nav-logout {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  color: var(--terracotta); border: 1px solid var(--terracotta); transition: var(--transition);
}
.nav-logout:hover { background: var(--terracotta-light); }
.chart-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border);
}
.chart-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.chart-bars { display: flex; gap: 16px; align-items: flex-end; height: 120px; }
.chart-bar-col { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 6px; }
.chart-bar {
  width: 100%; max-width: 60px; border-radius: 6px 6px 0 0;
  background: var(--primary); transition: var(--transition); min-height: 4px;
}
.chart-bar-label { font-size: 12px; color: var(--muted); text-align: center; font-weight: 500; }
.chart-bar-value { font-size: 11px; color: var(--muted); }

.admin-table-wrapper {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border);
}
.admin-table-wrapper h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left; padding: 12px 16px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid var(--border); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--primary-soft); }
.admin-table .btn-sm { font-size: 12px; padding: 4px 12px; }

/* ===== PARTNERS SECTION ===== */
#section-partners { padding-top: 100px; padding-bottom: 60px; }
#section-register-partner { padding-top: 100px; padding-bottom: 80px; }
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 32px;
}
.partner-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-card-header {
  padding: 20px 20px 0; display: flex; align-items: center; gap: 16px;
}
.partner-card-avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  font-size: 28px; overflow: hidden;
}
.partner-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.partner-card-info h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.partner-card-tipo {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 10px;
  border-radius: 50px;
}
.tipo-ong { background: #E8F5E9; color: #2E7D32; }
.tipo-abrigo { background: #E3F2FD; color: #1565C0; }
.tipo-clinica { background: #FCE4EC; color: #C62828; }
.tipo-petshop { background: #FFF3E0; color: #E65100; }
.tipo-protetor { background: #F3E5F5; color: #7B1FA2; }
.partner-card-body { padding: 16px 20px 20px; }
.partner-card-desc {
  font-size: 14px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.partner-card-footer {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
  font-size: 12px; color: var(--muted);
}
.partner-card-footer span { display: flex; align-items: center; gap: 4px; }
.partner-card-action { margin-top: 14px; }

/* Partner CTA */
.partner-register-cta { margin-top: 48px; }
.cta-card {
  background: linear-gradient(135deg, var(--primary-darker), var(--secondary));
  border-radius: var(--radius); padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: white;
}
.cta-card-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.cta-card-text p { font-size: 14px; opacity: 0.85; max-width: 480px; }
.cta-card .btn { flex-shrink: 0; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); z-index: 2000;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--white); border-radius: var(--radius); max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--muted); z-index: 10; padding: 4px 8px;
}
.modal-body { padding: 32px; }
.modal-body .modal-pet-img {
  width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-sm);
  margin-bottom: 20px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
}
.modal-body h2 { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.modal-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.modal-info-item { padding: 12px; background: var(--bg); border-radius: var(--radius-sm); }
.modal-info-item strong { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.modal-info-item span { font-size: 15px; font-weight: 600; }
.modal-desc { font-size: 15px; color: var(--dark); line-height: 1.7; margin: 20px 0; padding: 16px; background: var(--primary-soft); border-radius: var(--radius-sm); }
.modal-tutor { font-size: 14px; color: var(--muted); padding: 16px; background: var(--bg); border-radius: var(--radius-sm); }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* ===== EDIT PET MODAL ===== */
.edit-modal-content { max-width: 680px; max-height: 85vh; overflow-y: auto; }
.edit-photo-area {
  display: flex; align-items: center; gap: 20px; padding: 16px;
  background: var(--bg); border-radius: var(--radius-sm); border: 2px dashed var(--border);
}
.edit-photo-preview {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--white); flex-shrink: 0; overflow: hidden;
}
.edit-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.edit-photo-inputs { display: flex; align-items: center; gap: 10px; flex: 1; flex-wrap: wrap; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 3000;
  background: var(--dark); color: white; padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  transform: translateY(100px); opacity: 0; transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--primary); }
.toast.error { background: #DC2626; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-illustration { margin-top: 24px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-charts { grid-template-columns: 1fr; }
  .impact-metrics { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { justify-content: center; align-items: center; gap: 12px; }
  .step-card { flex: 0 1 220px; }
  .step-arrow { padding: 0 8px; }
  .nav-links { gap: 4px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
}

/* ===== BANNERS / PATROCINADORES ===== */
.banners-section { padding: 64px 0 80px; background: var(--bg); }
.banners-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px;
}
.banner-card {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px; border-radius: var(--radius);
  color: white; text-decoration: none; position: relative; overflow: hidden;
  transition: all 0.3s ease; min-height: 120px;
}
.banner-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.08); opacity: 0; transition: opacity 0.3s ease;
}
.banner-card:hover::after { opacity: 1; }
.banner-icon {
  font-size: 44px; flex-shrink: 0; position: relative; z-index: 1;
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15); border-radius: 16px;
}
.banner-content { flex: 1; position: relative; z-index: 1; }
.banner-tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; background: rgba(255,255,255,0.2); padding: 3px 10px;
  border-radius: 50px; margin-bottom: 6px;
}
.banner-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: white; }
.banner-content p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.4; max-width: 320px; }
.banner-cta {
  font-size: 14px; font-weight: 600; white-space: nowrap; position: relative; z-index: 1;
  padding: 8px 0; flex-shrink: 0; transition: transform 0.3s ease;
}
.banner-card:hover .banner-cta { transform: translateX(4px); }

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .banners-grid { grid-template-columns: 1fr; }
  .banner-card { flex-direction: column; text-align: center; padding: 24px; min-height: auto; }
  .banner-content p { max-width: 100%; }
  /* Mobile Nav with overlay */
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; font-size: 24px; z-index: 1001;
  }
  .nav-links {
    display: flex; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    flex-direction: column; background: var(--white); 
    padding: 80px 20px 24px; gap: 4px; z-index: 1000;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    padding: 14px 16px; font-size: 16px; border-radius: 10px;
    width: 100%; box-sizing: border-box;
  }
  .nav-links .nav-admin { margin-top: 8px; text-align: center; }
  .nav-links .nav-logout { text-align: center; }
  /* Mobile overlay when menu open */
  body.nav-open::before {
    content: ''; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 999; animation: fadeIn 0.2s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .hero-text h1 { font-size: 28px; }
  .hero-text p { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { justify-content: center; padding: 16px 24px; width: 100%; max-width: 320px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; text-align: center; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 12px; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 4px; }
  .step-card { max-width: 100%; width: 100%; }
  .benefits-grid { grid-template-columns: 1fr; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-left-width: 0; border-top: 4px solid transparent; text-align: center; }
  .feature-card:nth-child(1) { border-top-color: var(--primary); border-left-color: transparent; }
  .feature-card:nth-child(2) { border-top-color: var(--gold-dark); border-left-color: transparent; }
  .feature-card:nth-child(3) { border-top-color: var(--secondary); border-left-color: transparent; }
  .feature-card:nth-child(4) { border-top-color: var(--terracotta); border-left-color: transparent; }
  .feature-card:nth-child(5) { border-top-color: var(--primary); border-left-color: transparent; }
  .feature-card:nth-child(6) { border-top-color: var(--gold-dark); border-left-color: transparent; }
  .about-content { grid-template-columns: 1fr; }
  .about-card { text-align: center; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .impact-metrics { grid-template-columns: 1fr; }
  .admin-user-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .form-group { min-width: 100%; }
  .form-actions { flex-direction: column; align-items: center; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .pets-grid { grid-template-columns: 1fr; }
  .pet-card { max-width: 400px; margin: 0 auto; }
  .partners-grid { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; }
  .filter-group { min-width: 100%; }
  .register-form { padding: 20px; }
  .modal-content { margin: 12px; max-height: 85vh; }
  .modal-info { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; text-align: center; padding: 24px; }
  .cta-card-text p { max-width: 100%; }
  .impact-card { flex-direction: column; text-align: center; }
  .section-header h2 { font-size: 24px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .hero-illustration { width: 220px; margin: 0 auto; }
  .illo-card { width: 100px; height: 100px; font-size: 40px; }
  .section-block { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .cta-content h2 { font-size: 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { justify-content: center; width: 100%; max-width: 320px; }
  .feature-card { padding: 20px; }
  .benefit-card { padding: 20px; }
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; }
  .edit-photo-area { flex-direction: column; text-align: center; }
  .edit-photo-inputs { flex-direction: column; align-items: center; }
  .banners-grid { grid-template-columns: 1fr; text-align: center; }
  .banner-card { flex-direction: column; text-align: center; padding: 24px; min-height: auto; }
  .banner-content p { max-width: 100%; }
  .admin-table-wrapper { overflow-x: auto; }
  .admin-charts { grid-template-columns: 1fr; }
  .partners-grid { justify-items: center; }
  .about-card p { max-width: 100%; }
  .admin-table { font-size: 13px; }
}
