:root {
  --green: #006c40;
  --green-dark: #004d2e;
  --green-soft: #eaf4ef;
  --yellow: #ffb424;
  --yellow-dark: #df9300;
  --ink: #202c28;
  --muted: #5e6c67;
  --line: #dce5e1;
  --soft: #f4f7f5;
  --white: #fff;
  --danger: #b42318;
  --success: #087443;
  --shadow: 0 18px 50px rgba(18, 55, 41, .11);
  --radius: 18px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Sora", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
input, select, textarea, button { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 8vw, 5.25rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { color: var(--white); background: var(--green); }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.full-span { grid-column: 1 / -1; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 999; padding: 10px 16px; background: var(--yellow); font-weight: 800; }
.skip-link:focus { top: 12px; }

.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 2px solid var(--green); border-radius: 999px;
  color: var(--white); background: var(--green); font-weight: 800; line-height: 1.2;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-dark); border-color: var(--green-dark); }
.button-accent { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.button-accent:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.7); }
.button-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--green-dark); }
.button-ghost { color: var(--green); background: transparent; border-color: var(--line); }
.button-danger { color: var(--danger); background: var(--white); border-color: #efaaa4; }
.button-danger:hover { color: var(--white); background: var(--danger); border-color: var(--danger); }
.button-small { min-height: 40px; padding: 8px 15px; font-size: .88rem; }
.button-wide { width: 100%; }
.button.disabled { pointer-events: none; opacity: .45; }
.text-link { color: var(--green); font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.center-link { display: block; margin-top: 18px; text-align: center; }
.back-link { display: inline-block; margin-bottom: 8px; color: var(--green); font-weight: 700; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--green); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-light { color: var(--yellow); }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(220,229,225,.8); backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; }
.brand img { width: 178px; height: auto; }
.nav-toggle { display: grid; width: 45px; height: 45px; place-content: center; gap: 5px; border: 0; border-radius: 50%; background: var(--green-soft); }
.nav-toggle > span:not(.sr-only) { display: block; width: 21px; height: 2px; background: var(--green); }
.main-nav {
  position: absolute; top: 74px; left: 0; right: 0; display: none; padding: 12px 16px 22px;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.main-nav.open { display: grid; }
.main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.main-nav a.active { color: var(--green); }
.main-nav .cart-link { display: flex; align-items: center; justify-content: space-between; border-bottom: 0; }
.cart-count { display: inline-grid; min-width: 25px; height: 25px; place-items: center; padding-inline: 6px; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: .75rem; }

.hero { position: relative; display: grid; min-height: min(720px, calc(100svh - 74px)); align-items: end; overflow: hidden; background: #1d3331; }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(5,31,25,.91) 0%, rgba(5,31,25,.7) 58%, rgba(5,31,25,.26) 100%), linear-gradient(0deg, rgba(5,31,25,.7), transparent 55%), url('/assets/hero.webp'); background-position: 55% center; background-size: cover; transform: scale(1.01); }
.hero-content { position: relative; z-index: 1; padding-block: 82px 72px; }
.hero h1 { max-width: 920px; margin-bottom: 24px; color: var(--white); font-size: clamp(2.75rem, 10vw, 5.7rem); }
.hero p { max-width: 680px; margin-bottom: 32px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 3vw, 1.3rem); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.trust-strip { background: var(--green); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.15); }
.trust-grid div { padding: 24px 10px; background: var(--green); text-align: center; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--yellow); font-size: 1.35rem; }
.trust-grid span { color: rgba(255,255,255,.75); font-size: .76rem; }

.section { padding-block: 76px; }
.section-soft { background: var(--soft); }
.capacity-section { background: linear-gradient(180deg, var(--white), var(--green-soft)); }
.capacity-heading > p { max-width: 520px; margin-bottom: 0; }
.capacity-grid { display: grid; gap: 16px; }
.capacity-card { position: relative; min-height: 210px; padding: 26px; overflow: hidden; border-radius: var(--radius); color: var(--white); background: linear-gradient(145deg, var(--green-dark), var(--green)); box-shadow: 0 14px 35px rgba(18,55,41,.13); }
.capacity-card::after { position: absolute; right: -38px; bottom: -55px; width: 150px; height: 150px; border: 24px solid rgba(255,255,255,.07); border-radius: 50%; content: ''; }
.capacity-card > span { display: inline-grid; width: 36px; height: 36px; place-items: center; margin-bottom: 36px; border-radius: 50%; color: var(--green-dark); background: var(--yellow); font-size: .72rem; font-weight: 900; }
.capacity-card h3 { margin-bottom: 8px; color: rgba(255,255,255,.75); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.capacity-card strong { position: relative; z-index: 1; display: block; color: var(--white); font-size: clamp(2rem, 8vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.capacity-card small { color: var(--yellow); font-size: .38em; letter-spacing: 0; text-transform: uppercase; }
.section-heading { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; }
.item-grid { display: grid; gap: 18px; }
.item-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 30px rgba(18,55,41,.06); transition: transform .25s ease, box-shadow .25s ease; }
.item-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.item-card-image { position: relative; display: block; aspect-ratio: 1.5; overflow: hidden; background: var(--green-soft); }
.item-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.item-card:hover .item-card-image img { transform: scale(1.04); }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(0,108,64,.24); background: linear-gradient(135deg, var(--green-soft), #d6e9e0); font-size: 2rem; font-weight: 900; letter-spacing: -.08em; }
.type-badge { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; color: var(--green-dark); background: rgba(255,255,255,.92); font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.type-badge.static { position: static; display: inline-block; margin-bottom: 18px; background: var(--green-soft); }
.item-card-body { padding: 22px; }
.item-card h3 { margin-bottom: 10px; }
.item-card h3 a:hover { color: var(--green); }
.item-card-body > p { min-height: 3.2em; margin-bottom: 20px; font-size: .93rem; }
.item-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.item-card-footer strong { color: var(--green-dark); }
.empty-state { padding: 46px 24px; border: 1px dashed #aac3b7; border-radius: var(--radius); background: var(--green-soft); text-align: center; }
.empty-state h2, .empty-state h3 { margin-bottom: 10px; }

.location-section { color: var(--white); background: var(--green-dark); }
.location-grid { display: grid; gap: 50px; }
.location-copy h2 { color: var(--white); }
.location-copy p { color: rgba(255,255,255,.75); }
.location-list { display: grid; gap: 1px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.18); }
.location-list div { padding: 24px; background: var(--green-dark); }
.location-list strong, .location-list span { display: block; }
.location-list strong { margin-bottom: 5px; color: var(--yellow); }
.location-list span { color: rgba(255,255,255,.72); }

.contact-grid {
  display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
.contact-intro {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(30px, 5vw, 52px); color: var(--white);
  background: linear-gradient(145deg, var(--green-dark), var(--green));
}
.contact-intro .eyebrow { color: var(--yellow); }
.contact-intro h2 { margin-bottom: 20px; color: var(--white); }
.contact-intro > p { color: rgba(255,255,255,.78); }
.contact-details { display: grid; gap: 18px; padding: 0; margin: 30px 0 0; list-style: none; }
.contact-details li { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details strong, .contact-details a { display: block; }
.contact-details strong { color: rgba(255,255,255,.62); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-details a { color: var(--yellow); font-weight: 750; transition: color .2s ease; }
.contact-details a:hover { color: var(--white); }
.form-card, .admin-form section { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-card { display: grid; gap: 17px; }
.contact-grid > .form-card { padding: clamp(28px, 5vw, 48px); border: 0; border-radius: 0; box-shadow: none; }
label { display: grid; gap: 7px; color: var(--ink); font-size: .87rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #b9c9c2; border-radius: 10px; color: var(--ink); background: var(--white); }
input, select { min-height: 48px; padding: 10px 13px; }
textarea { min-height: 120px; padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 3px solid rgba(0,108,64,.13); }
.field-row { display: grid; gap: 17px; }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; font-weight: 500; }
.check-field input { flex: 0 0 auto; width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--green); }
.file-field { padding: 18px; border: 1px dashed #93afa1; border-radius: 12px; background: var(--soft); }
.file-field input { padding: 7px; background: var(--white); }
.file-field span, label small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.map-wrap { margin-top: 36px; }
.map-wrap iframe { display: block; width: 100%; height: 390px; border: 0; border-radius: var(--radius); }

.page-hero { padding-block: 82px; color: var(--white); background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.page-hero-small { padding-block: 62px; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2.5rem, 8vw, 4.5rem); }
.page-hero p { margin-bottom: 0; color: rgba(255,255,255,.77); font-size: 1.08rem; }
.filters { display: grid; gap: 12px; padding: 20px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 35px rgba(18,55,41,.07); }
.filters label span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.result-summary { margin-bottom: 22px; color: var(--muted); }
.result-summary strong { color: var(--green); }
.breadcrumbs { margin-bottom: 25px; color: var(--muted); font-size: .83rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; color: var(--muted); content: '/'; }
.breadcrumbs a { color: var(--green); }
.item-detail-grid { display: grid; gap: 35px; }
.gallery-main { aspect-ratio: 1.3; overflow: hidden; border-radius: var(--radius); background: var(--green-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { flex: 0 0 74px; height: 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: transparent; }
.gallery-thumbs button:hover { border-color: var(--green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item-info h1 { margin-bottom: 22px; font-size: clamp(2.2rem, 7vw, 4rem); }
.item-description { white-space: pre-line; }
.item-price { padding-block: 20px; margin-block: 25px; border-block: 1px solid var(--line); }
.item-price span, .item-price strong { display: block; }
.item-price span { color: var(--muted); font-size: .76rem; font-weight: 750; text-transform: uppercase; }
.item-price strong { color: var(--green); font-size: 1.65rem; }
.item-note { margin: 14px 0 0; font-size: .76rem; }

.cart-layout { display: grid; gap: 24px; }
.cart-items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cart-item-image { width: 82px; height: 82px; overflow: hidden; border-radius: 11px; background: var(--green-soft); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info > span { color: var(--green); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.cart-item-info h2 { margin: 3px 0 6px; font-size: 1.06rem; }
.cart-item-info strong { display: block; color: var(--green-dark); }
.link-danger { padding: 0; margin-top: 8px; border: 0; color: var(--danger); background: none; font-size: .76rem; font-weight: 700; }
.quantity { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.quantity button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--green); background: var(--white); font-weight: 900; }
.quantity span { min-width: 26px; text-align: center; font-weight: 800; }
.cart-summary { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.cart-summary h2 { font-size: 1.45rem; }
.cart-summary > div { display: flex; justify-content: space-between; padding-block: 10px; border-bottom: 1px solid var(--line); }
.cart-summary .summary-total { padding-block: 18px; border-bottom: 0; }
.summary-total strong { color: var(--green); font-size: 1.3rem; }
.cart-summary p { font-size: .76rem; }
.cart-empty { margin-inline: auto; border-style: solid; border-color: var(--line); }
.careers-grid { display: grid; gap: 36px; }
.info-card { display: grid; gap: 5px; padding: 20px; margin-top: 30px; border-left: 4px solid var(--yellow); background: var(--green-soft); }
.info-card span { color: var(--muted); }
.success-message { padding: 20px; margin-bottom: 18px; border: 1px solid #9dd6ba; border-radius: 12px; color: var(--success); background: #e8f7ef; }
.success-message p { margin: 4px 0 0; color: #315e47; }
.error-page { display: grid; min-height: 65vh; place-items: center; padding-block: 80px; }
.error-page h1 { font-size: clamp(2.4rem, 8vw, 4rem); }

.site-footer { padding-top: 60px; color: var(--white); background: #13241e; }
.footer-grid { display: grid; gap: 36px; }
.footer-logo { width: 190px; padding: 10px; border-radius: 8px; background: var(--white); }
.footer-grid p { max-width: 360px; margin: 18px 0 0; color: rgba(255,255,255,.63); }
.footer-grid h2 { margin-bottom: 14px; color: var(--yellow); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a, .footer-contact a { display: block; width: fit-content; margin-bottom: 9px; color: rgba(255,255,255,.76); }
.footer-contact { font-style: normal; }
.footer-grid a { transition: color .2s ease; }
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 24px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.5); font-size: .78rem; }
.footer-bottom .developer-credit { color: rgba(255,255,255,.42); font-size: .72rem; }
.developer-credit a { color: rgba(255,255,255,.68); font-weight: 650; transition: color .2s ease; }
.developer-credit a:hover { color: var(--yellow); }
.toast { position: fixed; left: 16px; right: 16px; bottom: 84px; z-index: 200; padding: 13px 18px; border-radius: 10px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Administrativo */
.admin-header { background: var(--white); border-bottom: 1px solid var(--line); }
.admin-header-top { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.admin-brand { display: flex; align-items: center; gap: 12px; }
.admin-brand img { width: 150px; height: auto; }
.admin-brand span { display: none; color: var(--muted); font-size: .76rem; }
.admin-header-top > .text-link { font-size: .78rem; }
.admin-nav { display: flex; gap: 4px; padding: 0 16px 10px; overflow-x: auto; }
.admin-nav a, .admin-nav button { display: block; padding: 8px 12px; border: 0; border-radius: 999px; white-space: nowrap; color: var(--muted); background: transparent; font-size: .78rem; font-weight: 750; }
.admin-nav a.active { color: var(--white); background: var(--green); }
.admin-nav form { margin-left: auto; }
.admin-nav button { color: var(--danger); }
.admin-main { min-height: calc(100vh - 120px); padding-block: 36px 70px; background: var(--soft); }
.admin-container { width: min(calc(100% - 28px), 1180px); margin-inline: auto; }
.admin-container-form { max-width: 900px; }
.admin-title { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.admin-title h1 { margin-bottom: 0; font-size: clamp(2rem, 6vw, 3.3rem); }
.admin-title .eyebrow { margin-bottom: 6px; }
.alert { padding: 13px 16px; margin-bottom: 20px; border-radius: 10px; font-weight: 650; }
.alert-success { color: #075c36; background: #dff5e9; border: 1px solid #97d6b5; }
.alert-error { color: #8a1913; background: #ffebe9; border: 1px solid #efaaa4; }
.stats-grid { display: grid; gap: 14px; }
.stats-grid a { display: grid; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 25px rgba(18,55,41,.05); }
.stats-grid span { color: var(--muted); font-weight: 700; }
.stats-grid strong { color: var(--green); font-size: 2.6rem; line-height: 1.2; }
.stats-grid small { color: var(--muted); }
.admin-help { padding: 25px; margin-top: 25px; border-radius: var(--radius); color: var(--white); background: var(--green-dark); }
.admin-help h2 { font-size: 1.4rem; }
.admin-help-actions { display: grid; gap: 10px; }
.admin-help-actions .button { width: 100%; }
.admin-search { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.admin-search label { flex: 1 1 240px; }
.admin-search > a { align-self: center; color: var(--green); font-weight: 700; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.admin-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .85rem; }
.admin-table th, .admin-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--muted); background: var(--soft); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.table-item { display: flex; align-items: center; gap: 11px; }
.table-item img, .table-item > span { display: grid; width: 48px; height: 42px; flex: 0 0 48px; place-items: center; border-radius: 7px; object-fit: cover; color: var(--green); background: var(--green-soft); font-size: .7rem; font-weight: 900; }
.status { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: .67rem; font-weight: 850; }
.status-on { color: #075c36; background: #dff5e9; }
.status-off { color: #68736f; background: #e9eeec; }
.table-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.table-actions form { display: flex; margin: 0; }
.admin-form { display: grid; gap: 18px; }
.admin-form section { box-shadow: none; }
.admin-form section h2 { margin-bottom: 22px; font-size: 1.25rem; }
.admin-form section > label { margin-top: 17px; }
.toggle-grid { display: grid; gap: 12px; }
.toggle { grid-template-columns: 22px 1fr; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 11px; }
.toggle input { width: 20px; min-height: 20px; accent-color: var(--green); }
.toggle span { font-weight: 800; }
.toggle small { grid-column: 2; }
.existing-photos { margin-top: 24px; }
.existing-photos > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.existing-photos label { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.existing-photos img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.existing-photos label span { display: flex; align-items: center; gap: 7px; padding: 8px; color: var(--danger); }
.existing-photos input { width: 17px; min-height: 17px; }
.form-actions { display: flex; flex-direction: column-reverse; gap: 10px; }
.inbox-list { display: grid; gap: 15px; }
.inbox-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.inbox-card.unread { border-left: 5px solid var(--yellow); box-shadow: 0 8px 30px rgba(18,55,41,.07); }
.inbox-head { display: grid; gap: 14px; }
.inbox-head h2 { margin: 8px 0 4px; font-size: 1.25rem; }
.inbox-head p { margin: 0; font-size: .78rem; }
.inbox-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inbox-actions button, .download-link { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--green); background: var(--white); font-size: .75rem; font-weight: 750; }
.inbox-actions button.danger { color: var(--danger); }
.inbox-card dl { display: grid; gap: 10px; padding-block: 18px; margin-block: 18px; border-block: 1px solid var(--line); }
.inbox-card dl div { min-width: 0; }
.inbox-card dt { color: var(--muted); font-size: .66rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.inbox-card dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.inbox-card dd a { color: var(--green); }
.inbox-message { white-space: pre-line; overflow-wrap: anywhere; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 30px 16px; background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.login-card { width: min(100%, 430px); padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.login-logo { display: block; width: 200px; margin-bottom: 38px; }
.login-card h1 { font-size: 2rem; }
.login-card form { display: grid; gap: 16px; margin-top: 25px; }

@media (min-width: 600px) {
  .admin-help-actions { display: flex; flex-wrap: wrap; }
  .admin-help-actions .button { width: auto; }
  .hero-actions { flex-direction: row; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: repeat(2, 1fr); }
  .capacity-grid, .item-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .admin-title { flex-direction: row; align-items: end; justify-content: space-between; }
  .filters { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
  .filters .button-ghost { grid-column: 1 / -1; justify-self: start; min-height: auto; padding: 5px 0; border: 0; }
  .cart-item { grid-template-columns: 100px 1fr auto; align-items: center; }
  .cart-item-image { width: 100px; height: 90px; }
  .quantity { grid-column: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .toggle-grid { grid-template-columns: repeat(2, 1fr); }
  .existing-photos > div { grid-template-columns: repeat(4, 1fr); }
  .form-actions { flex-direction: row; justify-content: flex-end; }
  .inbox-head { grid-template-columns: 1fr auto; }
  .inbox-actions { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .toast { left: auto; width: min(420px, calc(100% - 32px)); }
}

@media (min-width: 850px) {
  .section { padding-block: 105px; }
  .capacity-grid, .item-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid, .careers-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact-grid { grid-template-columns: 5fr 7fr; }
  .location-list { align-self: center; }
  .item-detail-grid { grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: start; }
  .item-info { position: sticky; top: 110px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .cart-summary { position: sticky; top: 105px; }
  .admin-brand span { display: inline; }
  .inbox-card { padding: 26px; }
  .inbox-card dl { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1020px) {
  .header-inner { min-height: 82px; }
  .brand img { width: 210px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 22px; padding: 0; border: 0; box-shadow: none; }
  .main-nav a { padding: 9px 0; border: 0; font-size: .83rem; }
  .main-nav .cart-link { gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--green-soft); }
  .hero { min-height: min(720px, calc(100svh - 82px)); align-items: center; }
  .hero-content { padding-block: 100px; }
  .hero-media { background-position: center; }
  .admin-header-top, .admin-nav { padding-inline: max(24px, calc((100vw - 1180px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Propósito institucional */
[hidden] { display: none !important; }
.purpose-section { color: var(--white); background: var(--green-dark); }
.purpose-heading h2 { margin-bottom: 0; color: var(--white); }
.purpose-heading > p { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,.7); }
.purpose-grid { display: grid; gap: 18px; }
.purpose-card { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.purpose-card > span { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 30px; border-radius: 50%; color: var(--green-dark); background: var(--yellow); font-size: .75rem; font-weight: 800; }
.purpose-card h3 { color: var(--white); }
.purpose-card p { margin-bottom: 0; color: rgba(255,255,255,.74); }

/* Retorno do formulário de contato */
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-feedback { margin: 0; font-size: .84rem; font-weight: 650; }
.form-feedback:empty { display: none; }
.form-feedback-error { color: var(--danger); }
.contact-success { padding: 18px; border: 1px solid #9dd6ba; border-radius: 12px; color: var(--success); background: #e8f7ef; }
.contact-success strong { display: block; }
.contact-success p { margin: 3px 0 12px; color: #315e47; }
.contact-new-message { padding: 0; border: 0; color: var(--green); background: transparent; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Normalização de imagens e ações administrativas */
.footer-logo { height: auto; object-fit: contain; }
.inbox-actions { align-items: center; }
.inbox-actions form { display: flex; margin: 0; }
.inbox-actions button, .download-link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; line-height: 1.2; white-space: nowrap; }

@media (min-width: 850px) {
  .purpose-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Assistente virtual */
.chatbot-launcher {
  position: fixed; right: 18px; bottom: 18px; z-index: 91; display: grid; width: 54px; height: 54px;
  place-items: center; border: 3px solid var(--white); border-radius: 50%; color: var(--white);
  background: var(--green); box-shadow: 0 10px 30px rgba(0,0,0,.24); font-size: 1.2rem; font-weight: 900;
}
.chatbot-panel {
  position: fixed; right: 16px; bottom: 84px; z-index: 210; display: grid; width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100svh - 110px)); grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 24px 70px rgba(5,31,25,.27);
}
.chatbot-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; color: var(--white); background: var(--green-dark); }
.chatbot-identity { display: flex; min-width: 0; align-items: center; gap: 11px; }
.chatbot-header .chatbot-avatar { display: grid; width: 54px; height: 42px; flex: 0 0 54px; place-items: center; padding: 6px; border: 2px solid rgba(255,255,255,.5); border-radius: 10px; background: var(--white); }
.chatbot-avatar img { width: 100%; height: auto; object-fit: contain; }
.chatbot-header strong, .chatbot-header span { display: block; }
.chatbot-header strong { overflow: hidden; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.chatbot-header .chatbot-identity div > span { overflow: hidden; color: rgba(255,255,255,.7); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.chatbot-header button { width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.12); font-size: 1.55rem; line-height: 1; }
.chatbot-messages { display: flex; min-height: 0; flex-direction: column; gap: 11px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; background-color: var(--soft); background-image: radial-gradient(rgba(0,108,64,.07) 1px, transparent 1px); background-size: 18px 18px; scroll-behavior: smooth; }
.chatbot-message { max-width: 88%; padding: 11px 13px; border-radius: 14px; overflow-wrap: anywhere; box-shadow: 0 3px 12px rgba(18,55,41,.08); }
.chatbot-message p { margin: 0; color: inherit; font-size: .86rem; white-space: pre-line; }
.chatbot-message-bot { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--white); }
.chatbot-message-user { align-self: flex-end; border-bottom-right-radius: 4px; color: var(--white); background: var(--green); }
.chatbot-whatsapp-link { display: inline-flex; min-height: 40px; align-items: center; margin-top: 10px; padding: 8px 12px; border-radius: 999px; color: var(--white); background: #168b4c; font-size: .76rem; font-weight: 800; }
.chatbot-form { display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.chatbot-form textarea { min-width: 0; min-height: 46px; max-height: 112px; padding: 11px 14px; border-radius: 23px; resize: none; line-height: 1.4; }
.chatbot-form button { display: grid; width: 46px; height: 46px; min-height: 46px; place-items: center; padding: 0 0 1px 2px; border: 0; border-radius: 50%; color: var(--white); background: var(--green); font-size: 1.05rem; font-weight: 800; }
.chatbot-form button:disabled { cursor: wait; opacity: .6; }
.chatbot-disclaimer { margin: 0; padding: 0 14px 10px; color: var(--muted); background: var(--white); font-size: .61rem; text-align: center; }

@media (max-width: 600px) {
  body.chatbot-open { overflow: hidden; overscroll-behavior: none; }
  .chatbot-panel {
    top: var(--chatbot-viewport-top, 0); right: auto; bottom: auto; left: 0; width: 100%; max-width: none;
    height: var(--chatbot-viewport-height, 100dvh); max-height: none; border: 0; border-radius: 0; box-shadow: none;
  }
  .chatbot-header { min-height: 70px; padding: max(10px, env(safe-area-inset-top)) 14px 10px; }
  .chatbot-messages { padding: 16px 13px 20px; }
  .chatbot-message { max-width: 86%; padding: 12px 14px; }
  .chatbot-message p { font-size: .9rem; }
  .chatbot-form { padding: 10px 10px 8px; }
  .chatbot-disclaimer { padding: 0 12px max(8px, env(safe-area-inset-bottom)); }
}
