 :root {
    --blue: #4285D4;
    --orange: #F39A13;
    --salmon: #F19A70;
    --dark: #444444;
    --muted: #737b84;
    --cream: #FFFDFC;
}
* { box-sizing: border-box; }
body { color: var(--dark); background: var(--cream); font-family: Arial, Helvetica, sans-serif; }
a { text-decoration: none; }
.navbar { min-height: 88px; }
.navbar-brand { flex-shrink: 0; }
.brand-logo { width: 154px; height: auto; display: block; object-fit: contain; }
@media (max-width: 575.98px) {
    .brand-logo { width: 128px; }
    .navbar { min-height: 76px; }
}
.brand-name { color: var(--blue); font-weight: 800; font-size: 1.25rem; }
.nav-link { color: #555 !important; font-weight: 600; }
.btn { border-radius: 10px; font-weight: 700; }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-outline-primary { color: var(--blue); border-color: var(--blue); }
.btn-outline-primary:hover, .btn-primary:hover { background: #2f70bb; border-color: #2f70bb; color: #fff; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-orange:hover { background: #dc8708; border-color: #dc8708; color: #fff; }
.text-orange { color: var(--orange); }
.hero-section { background: linear-gradient(120deg, #fff8ef, #f3f8ff); }
.eyebrow { color: var(--salmon); font-size: .78rem; font-weight: 800; letter-spacing: 2px; }
.hero-image { width: 100%; max-height: 430px; object-fit: contain; background: #f4f8fd; border-radius: 28px; box-shadow: 0 18px 45px #24364a20; }
.section-title { font-weight: 800; color: var(--blue); }
.pet-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 28px #25364a12; transition: transform .2s; }
.pet-card:hover { transform: translateY(-4px); }
.adoption-pet-thumbnail { display: block; flex-shrink: 0; overflow: hidden; border-radius: 14px; }
.adoption-pet-photo, .adoption-pet-placeholder { width: 120px; height: 110px; }
.adoption-pet-photo { display: block; object-fit: contain; background: #f4f8fd; }
.adoption-history-photo { display: block; width: 72px; height: 64px; object-fit: contain; background: #f4f8fd; }
.adoption-pet-placeholder.adoption-history-photo { display: flex; }
.adoption-pet-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #f4f8fd; color: var(--muted); }
.adoption-pet-placeholder > span { font-size: 2rem; }
.adoption-pet-info { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.pet-card > img { width: 100%; height: 230px; object-fit: contain; background: #f4f8fd; }
.pet-tag { display: inline-block; background: #fff1df; color: #a96600; border-radius: 30px; padding: 5px 12px; font-size: .8rem; font-weight: 700; }
.about-strip { background: #f4f8fd; }
.about-text { max-width: 650px; }
.footer { background: #24364a; color: #fff; font-size: .9rem; }
.page-section { padding-top: 55px; padding-bottom: 35px; min-height: 55vh; }
.auth-wrap { min-height: 70vh; display: flex; justify-content: center; align-items: center; padding: 45px 15px; background: linear-gradient(120deg, #fff8ef, #f3f8ff); }
.auth-card { background: #fff; width: 100%; max-width: 470px; padding: 35px; border-radius: 22px; box-shadow: 0 12px 40px #25364a16; }
.auth-card-wide { max-width: 720px; }
.auth-icon { font-size: 2.3rem; }
.form-control, .form-select { border-radius: 10px; padding: 11px 13px; border-color: #dce2e8; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem #4285d420; }
.filter-box { background: #fff; padding: 22px; border-radius: 18px; box-shadow: 0 8px 28px #25364a10; }
.pet-detail-image { width: 100%; max-height: 520px; object-fit: contain; background: #f4f8fd; border-radius: 24px; }
.back-link { color: var(--blue); font-weight: 700; }
.detail-info { border-top: 1px solid #e9edf1; border-bottom: 1px solid #e9edf1; padding: 15px 0 5px; margin: 20px 0; }
.status { padding: 5px 10px; border-radius: 30px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.status-ok { background: #e4f6eb; color: #237747; }
.status-wait { background: #fff2d8; color: #986400; }
.status-no { background: #fde8e8; color: #a33a3a; }
.admin-label { background: #eaf2fc; color: var(--blue); border-radius: 30px; padding: 9px 15px; font-weight: 700; }
.stat-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 7px 24px #25364a10; height: 100%; }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card strong { display: block; color: var(--blue); font-size: 2rem; margin: 5px 0; }
.admin-link-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 16px; padding: 22px; min-height: 155px; color: var(--dark); box-shadow: 0 7px 24px #25364a10; transition: transform .2s; }
.admin-link-card:hover { transform: translateY(-3px); color: var(--blue); }
.admin-link-card span { font-size: 1.8rem; }
.admin-link-card strong { font-size: 1.05rem; }
.admin-link-card small { color: var(--muted); }
.table { --bs-table-bg: transparent; }
.table thead th { color: #687482; font-size: .85rem; border-bottom-width: 1px; }
@media (max-width: 576px) {
    .auth-card { padding: 25px 20px; }
    .hero-section h1 { font-size: 2.5rem; }
    .brand-name { font-size: 1.05rem; }
}

.pet-gallery-photo { display: block; width: 100%; height: 240px; object-fit: contain; background: #f4f8fd; }


/* Galeria e leitura */
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #f2f6fa; cursor: zoom-in; }
.gallery-main-image { display: block; width: 100%; height: 430px; object-fit: contain; }
.gallery-expand { position: absolute; bottom: 14px; right: 14px; background: #fff; color: #24364a; padding: 9px 14px; border-radius: 30px; font-size: .85rem; box-shadow: 0 3px 14px #0002; }
.gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; }
.gallery-thumb { flex: 0 0 76px; height: 70px; background: #f2f6fa; border: 2px solid transparent; border-radius: 12px; padding: 3px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.is-selected { border-color: var(--blue); }
.gallery-thumb:focus-visible, .gallery-main:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery-empty { min-height: 280px; background: #f2f6fa; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; font-size: 2rem; }
.gallery-empty span { font-size: 1rem; }
.photo-dialog { width: min(1100px, calc(100vw - 24px)); max-height: 94dvh; padding: 0; border: 0; border-radius: 18px; color: #fff; background: #142234; }
.photo-dialog::backdrop { background: #07101ce6; }
.photo-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; }
.photo-dialog-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff2; color: #fff; font-size: 1.8rem; }
.gallery-expanded-image { display: block; width: 100%; height: calc(90dvh - 145px); object-fit: contain; background: #0c1624; }
.photo-dialog-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; }
.gallery-is-open { overflow: hidden; }
.info-card { background: #fff; border: 1px solid #e8edf3; border-radius: 20px; padding: 26px; box-shadow: 0 6px 25px #25364a08; }
.reading-page { max-width: 900px; }
.reading-page p { line-height: 1.8; }
.faq-item { background: #fff; border: 1px solid #e5ebf2; border-radius: 16px; padding: 20px; margin-top: 14px; }
.faq-item summary { cursor: pointer; font-weight: 700; color: #315b88; }
.faq-item p { margin: 14px 0 0; line-height: 1.7; }
.preserve-lines { white-space: pre-line; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a { color: #e4edf7; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.list-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; margin: 28px 0 10px; }
.request-card { border: 1px solid #e7edf5; }
.request-notes { background: #f6f8fb; padding: 12px 16px; border-radius: 12px; font-size: .93rem; }
.request-notes summary { cursor: pointer; color: #596a7c; font-weight: 600; }
.pickup-deadline { border-left: 4px solid #4a936b; line-height: 1.7; }
.pickup-deadline strong { font-size: 1.05rem; }
.priority-card { display: flex; flex-direction: column; gap: 7px; height: 100%; padding: 22px; border-radius: 18px; background: #edf5ff; color: #23568d; border: 1px solid #d9e8fa; }
.priority-card strong { font-size: 2.2rem; }
.priority-card span { font-weight: 700; }
.priority-card:hover { color: #153e69; box-shadow: 0 5px 20px #25364a12; }
.priority-warning { background: #fff5e5; color: #925d16; border-color: #f5e1bc; }
.priority-muted { background: #f1f3f6; color: #566575; border-color: #e0e5eb; }
@media (max-width: 767.98px) {
    .page-section { padding-top: 28px; }
    .gallery-main-image { height: 310px; }
    .gallery-thumb { flex-basis: 64px; height: 60px; }
    .photo-dialog-header, .photo-dialog-nav { padding: 10px 12px; }
    .photo-dialog-nav .btn { font-size: .85rem; padding: 9px; }
    .filter-box, .info-card { padding: 18px; }
    .filter-box .d-flex { flex-wrap: wrap; }
    .filter-box .btn { flex: 1 1 auto; }
    .request-card { padding: 20px !important; }
    .request-card .badge { white-space: normal; text-align: left; line-height: 1.5; }
    .mobile-table thead { display: none; }
    .mobile-table, .mobile-table tbody { display: block; width: 100%; }
    .mobile-table tbody tr { display: block; background: #fff; border: 1px solid #e5ebf1; border-radius: 14px; padding: 8px 14px; margin-bottom: 12px; }
    .mobile-table td { display: grid; grid-template-columns: minmax(80px, .4fr) minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; overflow-wrap: anywhere; }
    .mobile-table td::before { content: attr(data-label); color: #6b7886; font-weight: 600; font-size: .8rem; }
    .mobile-table td[colspan] { display: block; }
    .mobile-table td[colspan]::before { display: none; }
    .mobile-table td:last-child { border-bottom: 0; }
    .mobile-table .adoption-history-photo { width: 60px; height: 56px; }
    .table-responsive:has(.mobile-table) { overflow: visible; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
}

/* Identidade Pet Donation: azul e laranja da marca. */
:root { --blue: #3478cb; --orange: #f39a13; --dark: #263b55; --muted: #64748b; --cream: #fcfcfd; --bs-primary: #3478cb; --bs-body-color: #263b55; }
body { font-family: 'Segoe UI', ui-sans-serif, system-ui, -apple-system, sans-serif; line-height: 1.65; letter-spacing: -.015em; }
h1, h2, h3, h4 { letter-spacing: -.035em; font-weight: 750; line-height: 1.18; }
.text-muted { color: var(--muted) !important; }
a { color: var(--blue); }
.navbar { min-height: 86px; border-bottom: 1px solid #e8eef6; box-shadow: none !important; background: #fffffffa !important; }
.navbar .nav-link { font-size: .9rem; padding: 10px 13px !important; border-radius: 12px; color: #52647a !important; }
.navbar .nav-link:hover, .navbar .nav-link[aria-current] { background: #edf4ff; color: var(--blue) !important; }
.navbar-toggler { border: 1px solid #dce6f4; border-radius: 12px; padding: 9px; }
.btn { border-radius: 13px; padding: 11px 20px; font-weight: 700; letter-spacing: -.015em; transition: background .18s, box-shadow .18s, transform .18s; }
.btn-lg { padding: 15px 23px; font-size: .98rem; }
.btn-sm { padding: 8px 14px; font-size: .82rem; }
.btn-orange { color: #27374d; box-shadow: 0 5px 0 #e28b1120; }
.btn-orange:hover { background: #ffac2e; border-color: #ffac2e; color: #20344d; transform: translateY(-2px); box-shadow: 0 7px 16px #f39a132b; }
.btn-outline-primary { border-color: #b8d0ee; }
.btn-outline-secondary { border-color: #ccd5df; color: #52647a; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #3478cb; outline-offset: 4px; box-shadow: none; }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 1200; padding: 12px 20px; background: #fff; border: 2px solid var(--blue); border-radius: 12px; }
.skip-link:focus { top: 12px; }
.hero-section { background: #f2f7ff; position: relative; overflow: hidden; border-bottom: 1px solid #e5eefb; }
.hero-container { padding-top: 76px; padding-bottom: 86px; }
.hero-copy h1 { font-size: clamp(2.7rem, 4.6vw, 4.6rem); line-height: 1.07; max-width: 600px; margin: 25px 0; font-weight: 800; }
.hero-copy h1 span { color: var(--blue); }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d8e5f7; background: #fff; padding: 8px 14px; border-radius: 30px; font-size: .78rem; font-weight: 700; color: #41658d; }
.hero-description { max-width: 470px; font-size: 1.08rem; color: #617188; line-height: 1.8; }
.hero-actions { margin-top: 30px; }
.hero-reassurance { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.reassurance-icon { background: #fff0d7; color: #a76300; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.hero-reassurance strong, .hero-reassurance div > span { display: block; font-size: .78rem; }
.hero-reassurance div > span { color: var(--muted); }
.hero-portrait { position: relative; max-width: 470px; margin: 0 auto; padding: 10px 12px 30px; }
.hero-photo-frame { background: #ffe6b7; padding: 13px; border-radius: 46% 46% 25px 25px; transform: rotate(3deg); }
.hero-image { height: 440px; max-height: none; border-radius: 46% 46% 18px 18px; object-fit: contain; background: #e9d9c6; box-shadow: none; display: block; }
.portrait-doodle { position: absolute; top: 26px; right: -4px; color: var(--orange); font-size: 4.7rem; transform: rotate(10deg); text-shadow: 2px 2px #fff; }
.portrait-note { position: absolute; bottom: 67px; left: -22px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e7edf5; padding: 14px 20px; border-radius: 18px; box-shadow: 0 10px 25px #213d6212; transform: rotate(-5deg); }
.portrait-note > span { background: #edf4ff; border-radius: 12px; padding: 8px; font-size: 1.4rem; }
.portrait-note strong, .portrait-note small { display: block; }
.portrait-note small { font-size: .72rem; color: var(--muted); }
.portrait-caption { position: absolute; bottom: -5px; right: 12px; font-size: .8rem; color: #6d7c90; transform: rotate(-3deg); }
.home-pets-section { padding-top: 75px; padding-bottom: 75px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.section-title { color: var(--dark); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.eyebrow { color: #a76300; letter-spacing: 1.8px; font-size: .7rem; }
.text-link { font-size: .9rem; font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.species-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0; }
.species-shortcuts a { border: 1px solid #dbe5f0; padding: 10px 18px; border-radius: 30px; background: #fff; font-size: .85rem; color: #53667d; font-weight: 650; }
.species-shortcuts a:hover { color: var(--blue); border-color: var(--blue); background: #edf4ff; }
.pet-card { border: 1px solid #e2e9f1; border-radius: 23px; padding: 10px; box-shadow: 0 5px 14px #263b5505; display: flex; flex-direction: column; }
.pet-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px #263b5510; border-color: #bfd5f0; }
.pet-card-photo { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #f0f5fb; }
.pet-card-photo img { display: block; width: 100%; height: 265px; object-fit: contain; }
.pet-card-empty { height: 265px; display: grid; place-items: center; font-size: 4rem; }
.pet-availability { position: absolute; top: 12px; left: 12px; border-radius: 30px; background: #fffffff5; color: #285f9d; font-size: .69rem; font-weight: 750; padding: 5px 12px; border: 1px solid #e6edf6; }
.pet-availability::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #3478cb; border-radius: 50%; margin-right: 7px; }
.pet-availability.is-reserved { color: #895400; background: #fff3dc; }
.pet-availability.is-reserved::before { background: #bb7600; }
.pet-card-content { padding: 20px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.pet-card-content .btn { margin-top: auto; text-align: left; display: flex; justify-content: space-between; gap: 8px; }
.pet-card-content h2 { font-size: 1.35rem; }
.pet-card-species { font-size: 1.3rem; }
.pet-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 3px; }
.pet-card-tags span { background: #f3f6fa; color: #596d85; font-size: .7rem; border-radius: 7px; padding: 4px 9px; font-weight: 600; }
.results-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.results-heading p { margin: 0; }
.results-heading strong { color: var(--dark); }
.adoption-steps-section { padding: 65px 0; background: #f3f7fd; scroll-margin-top: 100px; }
.adoption-step { position: relative; height: 100%; border: 1px solid #dce7f5; padding: 30px; border-radius: 22px; background: #fff; }
.step-number { position: absolute; right: 23px; top: 20px; color: #cbd9eb; font-weight: 800; font-size: 1.6rem; }
.step-symbol { display: grid; place-items: center; width: 50px; height: 50px; background: #fff2de; color: #9f6100; font-size: 2rem; border-radius: 15px; margin-bottom: 24px; }
.adoption-step h3 { font-size: 1.15rem; }
.adoption-step p { color: var(--muted); margin-bottom: 0; font-size: .9rem; }
.adoption-invitation { padding: 44px 50px; border-radius: 28px; background: #e9f2ff; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 25px; }
.adoption-invitation h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 15px 0; }
.adoption-invitation p { margin: 0; color: #5e7592; }
.empty-state { padding: 50px 25px; text-align: center; background: #f2f6fd; border: 1px dashed #bdcfe7; border-radius: 24px; }
.empty-state > span { display: block; font-size: 3rem; margin-bottom: 15px; }
.page-section { padding-top: 42px; padding-bottom: 45px; }
.filter-box { border: 1px solid #e0e8f2; box-shadow: 0 4px 15px #263b5504; border-radius: 19px; padding: 24px; }
.form-label { font-size: .83rem; font-weight: 650; color: #4f637c; }
.form-control, .form-select { background-color: #fbfcfe; border-color: #dce5ef; font-size: .92rem; min-height: 46px; }
.form-control:focus, .form-select:focus { border-color: var(--blue); background-color: #fff; }
.auth-wrap { background: #f2f7ff; min-height: 75vh; padding: 60px 16px; }
.auth-card { border: 1px solid #e2eaf5; padding: 40px; border-radius: 26px; box-shadow: 0 18px 50px #284a7510; }
.auth-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; background: #fff1da; border-radius: 22px; font-size: 2rem; transform: rotate(-7deg); margin-bottom: 5px; }
.admin-navigation { background: #fff; border-bottom: 1px solid #e3ebf5; }
.admin-navigation nav { display: flex; gap: 5px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; }
.admin-navigation a { white-space: nowrap; padding: 9px 16px; border-radius: 10px; color: #5d6e83; font-size: .83rem; font-weight: 650; }
.admin-navigation a:hover { background: #f2f6fc; }
.admin-navigation a[aria-current] { background: #eaf2ff; color: #2867b3; }
.stat-card, .admin-link-card { border: 1px solid #e1e9f3; box-shadow: 0 4px 12px #263b5504; border-radius: 20px; }
.stat-card strong { font-size: 2.4rem; letter-spacing: -.05em; }
.stat-card span { font-size: .85rem; font-weight: 650; }
.stat-card small { font-size: .73rem; }
.admin-link-card { padding: 26px; }
.admin-link-card:hover { border-color: #bdd2ef; background: #f8fbff; }
.admin-link-card > span { background: #eef4fe; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 1.45rem; margin-bottom: 8px; }
.request-card, .info-card { border-radius: 22px !important; box-shadow: 0 5px 20px #263b5506 !important; }
.request-card .adoption-pet-photo { border-radius: 14px; }
.table thead th { background: #f5f8fc; color: #59708e; padding: 16px 12px; font-weight: 650; }
.table td { padding: 18px 12px; border-color: #eef2f7; font-size: .9rem; }
.table .form-control { min-width: 0; }
.table details[open] { flex-basis: 100%; padding: 14px; border: 1px solid #dce6f3; border-radius: 14px; background: #f9fbfe; }
.table details form { max-width: 360px; }
.alert { border-radius: 15px; font-size: .93rem; }
.alert-info { background: #edf5ff; border-color: #d3e4fb; color: #2d5c91; }
.pet-tag { color: #935b04; background: #fff1d9; }
.gallery-main, .gallery-thumb { background: #edf3fb; }
.footer { background: #203b60; margin-top: 36px !important; }
.footer .container { padding-top: 30px !important; padding-bottom: 30px !important; font-size: .78rem; }
.footer-links { gap: 12px 18px; }
@media (max-width: 991.98px) {
    .navbar .navbar-collapse { padding: 18px 0; }
    .navbar .nav-item { margin-bottom: 4px; }
    .navbar .nav-item .btn { margin: 4px 0; }
    .hero-container { padding-top: 42px; padding-bottom: 55px; }
    .hero-copy { text-align: center; }
    .hero-copy h1, .hero-description { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-reassurance { justify-content: center; }
    .hero-reassurance { text-align: left; }
    .hero-portrait { max-width: 430px; }
}
@media (max-width: 575.98px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .navbar { min-height: 74px; }
    .hero-copy h1 { font-size: 2.65rem; }
    .hero-kicker { font-size: .67rem; padding: 8px 10px; }
    .hero-description { font-size: .96rem; }
    .hero-actions { gap: 12px !important; }
    .hero-actions .btn { width: 100%; }
    .hero-reassurance div > span { font-size: .68rem; }
    .hero-image { height: 330px; }
    .hero-portrait { padding-left: 14px; padding-right: 14px; }
    .portrait-note { left: 0; padding: 10px 13px; bottom: 55px; }
    .portrait-doodle { right: 5px; font-size: 3.5rem; }
    .home-pets-section { padding-top: 45px; padding-bottom: 45px; }
    .section-heading { margin-bottom: 18px; }
    .species-shortcuts { gap: 7px; }
    .species-shortcuts a { font-size: .75rem; padding: 8px 11px; }
    .pet-card-photo img, .pet-card-empty { height: 280px; }
    .adoption-invitation { padding: 30px 25px; border-radius: 23px; }
    .adoption-invitation .btn { width: 100%; }
    .auth-card { padding: 30px 22px; }
    .admin-navigation nav { padding-left: 16px; padding-right: 16px; }
    .admin-navigation a { padding: 8px 12px; }
    .page-section { padding-top: 28px; }
    .filter-box { padding: 18px; }
    .results-heading > span { display: none; }
    .table td { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.request-progress { list-style: none; display: flex; gap: 12px; padding: 0; margin: 0 0 24px; counter-reset: adoption-step; }
.request-progress li { flex: 1; counter-increment: adoption-step; display: flex; align-items: center; gap: 9px; border-bottom: 3px solid #e7edf5; padding-bottom: 14px; font-size: .78rem; font-weight: 650; color: #728197; }
.request-progress li::before { content: counter(adoption-step); background: #eef2f7; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; }
.request-progress li.is-done { color: #2869b6; border-bottom-color: #3478cb; }
.request-progress li.is-done::before { background: #e4efff; color: #2869b6; }
@media (max-width: 575.98px) { .request-progress { gap: 8px; } .request-progress li { flex-direction: column; align-items: start; font-size: .68rem; gap: 7px; } }
.filter-box .btn { padding-left: 13px; padding-right: 13px; }

/* Navegação e formulários em navegadores de celular. */
@media (max-width: 767.98px) {
    main, .row > *, .adoption-pet-info, .pet-card-content { min-width: 0; }
    h1, h2, h3, p, td, .alert, .info-card, .nav-link { overflow-wrap: anywhere; }
    .form-control, .form-select { font-size: 16px; min-width: 0; width: 100%; max-width: 100%; }
    input[type="date"] { min-height: 48px; appearance: none; }
    input[type="file"] { font-size: .8rem; overflow: hidden; }
    input[type="file"]::file-selector-button { max-width: 55%; white-space: normal; }
    .form-control, .form-select, .btn, .navbar-toggler { min-height: 44px; }
    textarea.form-control { min-height: 100px; }
    .btn { white-space: normal; overflow-wrap: anywhere; }
    .navbar .navbar-collapse { max-height: calc(100dvh - 90px); overflow-y: auto; }
    .navbar .nav-link { overflow-wrap: anywhere; }
    .navbar .nav-item form, .navbar .nav-item .btn { width: 100%; }
    .navbar .navbar-nav { align-items: stretch; }
    .admin-navigation nav { overscroll-behavior-x: contain; scrollbar-width: thin; }
    .admin-navigation a { flex-shrink: 0; min-height: 44px; display: flex; align-items: center; }
    .filter-box .row { --bs-gutter-x: 12px; --bs-gutter-y: 16px; }
    .filter-box .form-label { line-height: 1.4; min-height: 20px; }
    .filter-box .d-flex > .btn { flex: 1 1 120px; }
    .filter-box select { padding-right: 28px; text-overflow: ellipsis; }
    .page-section > form:not(.filter-box) { padding: 20px !important; }
    .page-section > form:not(.filter-box) > .btn { width: 100%; }
    .request-card form .d-flex { flex-wrap: wrap; }
    .request-card form button { max-width: 100%; }
    .request-card .adoption-pet-photo, .request-card .adoption-pet-placeholder { width: 88px; height: 88px; }
    .request-card .adoption-pet-info { flex-basis: 150px; }
    .request-card .pickup-deadline { padding: 16px; }
    .table-responsive:has(.mobile-table) { min-width: 0; }
    .mobile-table tbody tr { margin: 0 0 14px; }
    .mobile-table td > * { min-width: 0; max-width: 100%; }
    .mobile-table td .d-flex { flex-wrap: wrap; }
    .mobile-table details { width: 100%; }
    .mobile-table summary.btn, .mobile-table form .btn { width: 100%; text-align: center; }
    .mobile-table td:has(details) { display: block; }
    .mobile-table td:has(details)::before { display: block; margin-bottom: 10px; }
    .gallery-main-image { height: min(360px, 85vw); }
    .photo-dialog { max-width: calc(100vw - 20px); max-height: 94dvh; }
    .photo-dialog-header h2 { min-width: 0; overflow-wrap: anywhere; }
    .photo-dialog-close { flex-shrink: 0; }
    .photo-dialog-nav { gap: 8px; }
    .photo-dialog-nav .btn { font-size: .75rem; padding: 9px; }
    .photo-dialog-nav [data-gallery-counter] { white-space: nowrap; font-size: .85rem; }
    .list-pagination { gap: 10px; font-size: .8rem; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 15px; }
    .footer-links a { padding: 10px 0; }
}
@media (max-width: 359.98px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .hero-copy h1 { font-size: 2.25rem; }
    .filter-box .row > .col-6 { width: 100%; }
    .mobile-table td { grid-template-columns: minmax(65px, .35fr) minmax(0, 1fr); gap: 8px; }
    .request-progress li { font-size: .63rem; }
    .portrait-note { position: relative; left: auto; bottom: auto; margin: -45px 12px 15px; }
}
