:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --white: #fffdf8;
  --ink: #302d22;
  --muted: #595448;
  --forest: #415029;
  --olive-dark: #2d371e;
  --moss: #e4e8d9;
  --line: #d8cebe;
  --clay: #eee6da;
  --terracotta: #8d4c32;
  --terracotta-dark: #733a25;
  --gold: #c59535;
  --gold-light: #efce85;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
[hidden] { display: none !important; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.07; font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -.055em; }
h1[tabindex="-1"]:focus { outline: none; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.045em; }
h3 { font-size: 1.65rem; letter-spacing: -.025em; }
ul, ol { padding-inline-start: 1.35em; }
.shell { width: min(100% - 64px, 1232px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 10; transform: translateY(-150%); }
.skip:focus { transform: none; }
.demo-band { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 14px; padding: 7px 12px; color: var(--white); background: var(--olive-dark); font-size: .875rem; text-align: center; }
.demo-band span { color: var(--clay); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 15px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.55rem/1 var(--serif); white-space: nowrap; }
.brand small { display: block; margin-top: 5px; font: 700 .65rem/1 var(--sans); letter-spacing: .14em; }
.brand-mark { display: block; width: 48px; height: auto; flex: none; }
.public-nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; }
.public-nav a { text-decoration: none; font-size: .94rem; font-weight: 650; padding-block: 8px; }
.public-nav a:hover, a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 19px; border: 1px solid var(--terracotta); border-radius: 8px; background: var(--terracotta); color: white; text-decoration: none; font-weight: 700; line-height: 1.3; }
.button:hover { background: var(--terracotta-dark); }
.button.outline { border-color: var(--forest); }
.button.outline { color: var(--forest); background: transparent; }
.button.outline:hover { background: var(--moss); }
.button:disabled { background: #e1e5dc; color: #4f5b53; border-color: var(--line); cursor: default; }
.eyebrow { font-size: .85rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.muted, .hint { color: var(--muted); }
.hint, .meta { font-size: .9rem; }
.lead { font-size: clamp(1.04rem, 2vw, 1.2rem); max-width: 57ch; color: var(--muted); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: clamp(470px, 47vw, 605px); margin-block: 24px 0; background: var(--olive-dark); color: var(--white); border-radius: 18px; overflow: hidden; }
.hero-media, .hero-media > *, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media > * { object-fit: cover; object-position: 50% 50%; }
.hero::before { content: ''; z-index: -1; background: linear-gradient(92deg, rgba(23, 27, 16, .95), rgba(23, 27, 16, .78) 39%, rgba(23, 27, 16, .08) 78%), linear-gradient(0deg, rgba(23, 27, 16, .68), transparent 28%); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(30px, 5vw, 70px); padding-bottom: 16px; }
.hero-copy h1 { max-width: 12ch; }
.hero .lead { color: #fff5e8; max-width: 43ch; }
.hero .eyebrow { color: var(--gold-light); }
.hero-copy .actions { gap: 12px; margin-top: 10px; }
.hero-primary, .dashboard-action { background: var(--gold-light); border-color: var(--gold-light); color: #282316; }
.hero-primary:hover, .dashboard-action:hover { background: #ffe0a0; }
.hero-secondary, .dashboard-secondary { background: rgba(27, 32, 17, .72); border-color: #ede7d8; }
.hero-secondary:hover, .dashboard-secondary:hover { background: var(--olive-dark); }
.hero-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-self: end; padding: 4px 18px 16px; }
.hero-controls button { min-height: 44px; padding: 6px 12px; border: 1px solid #eee6da; border-radius: 7px; background: rgba(25, 29, 17, .84); color: white; font-size: .875rem; font-weight: 650; }
.hero-controls button:hover { background: var(--olive-dark); }
.hero :focus-visible, .dashboard-hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }
.photo { display: block; width: 100%; object-fit: cover; background: var(--clay); }
.media-stack { display: grid; gap: 14px; min-width: 0; }
.detail-photo { aspect-ratio: 4 / 3; max-height: 450px; border-radius: 14px; }
.support-photo, .event-photo { aspect-ratio: 2 / 1; border-radius: 14px; }
.photo-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 16px; overflow: hidden; }
.photo-feature > .photo { height: 100%; min-height: 220px; max-height: 280px; }
.photo-feature > .feature { border-radius: 0; }
.section { padding-block: 48px; }
.section + .section { padding-top: 8px; }
.section-heading { margin-bottom: 22px; }
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .notice, .panel-box { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 23px; min-width: 0; overflow-wrap: anywhere; }
.card p { color: var(--muted); }
.offer { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.offer > .photo { aspect-ratio: 16 / 10; }
.offer-copy { padding: 21px; flex: 1; display: flex; flex-direction: column; align-items: start; }
.offer-copy a { margin-top: auto; }
.text-link { color: var(--terracotta-dark); font-weight: 750; text-underline-offset: 4px; }
.feature { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(23px, 5vw, 45px); background: var(--clay); border-radius: 16px; }
.feature p:last-child { margin-bottom: 0; }
.page { padding-block: clamp(25px, 5vw, 58px); min-height: 55vh; }
.page h1 { font-size: clamp(2.65rem, 6vw, 4.8rem); }
.page-intro { margin-bottom: 29px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .64fr); gap: 24px; align-items: start; }
.notice { background: var(--moss); border-color: transparent; }
.notice p:last-child, .card p:last-child { margin-bottom: 0; }
.notice.warn { background: #f8e2cf; color: #6f301d; }
form { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
.form-grid > .wide { grid-column: 1 / -1; }
label, .field-label { display: grid; gap: 5px; font-weight: 650; }
input, select, textarea { background: #fff; color: var(--ink); border: 1px solid #8e8572; border-radius: 7px; min-width: 0; width: 100%; min-height: 44px; padding: 9px 11px; }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; margin: 0; min-width: 0; }
legend { font-weight: 650; }
.check { display: flex; min-height: 44px; align-items: center; gap: 9px; font-weight: 500; }
.check input { width: 19px; height: 19px; min-height: 0; accent-color: var(--forest); flex-shrink: 0; }
.resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.site-footer { background: var(--forest); color: white; }
.site-footer p { margin: 0; color: var(--clay); font-size: .9rem; }
.stack { display: grid; gap: 15px; }
.event-row { display: grid; grid-template-columns: minmax(120px, 200px) auto 1fr auto; gap: 18px; align-items: center; }
.event-thumb { aspect-ratio: 16 / 10; border-radius: 8px; }
.date-tile { display: grid; min-width: 78px; text-align: center; padding: 8px; border-radius: 8px; background: var(--moss); font-size: .9rem; }
.date-tile strong { font: 2.25rem/1 var(--serif); }
.panel { padding-top: 30px; }
.panel-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 10px 20px; }
.panel-nav a { border-radius: 6px; text-decoration: none; padding: 9px 15px; font-weight: 700; }
.panel-nav a[aria-current="page"] { background: var(--forest); color: white; }
.panel-box > :last-child { margin-bottom: 0; }
.box-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: start; gap: 8px 16px; }
.pill { display: inline-block; background: var(--moss); border-radius: 30px; padding: 4px 10px; font-size: .875rem; font-weight: 700; }
.pill.pending { background: #f6dfc4; }
.pill.sent { background: #f0e4bc; }
.list-item { padding-block: 13px; border-top: 1px solid var(--line); }
.list-item:first-of-type { margin-top: 8px; }
.list-item p { margin: 4px 0 0; }
.detail { margin: 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.detail dt { color: var(--muted); font-size: .875rem; font-weight: 650; }
.detail dd { margin: 0; white-space: pre-wrap; }
.timeline { list-style: none; padding-left: 0; }
.timeline li { border-left: 2px solid var(--gold); padding: 3px 0 12px 13px; }
.timeline time { display: block; color: var(--muted); font-size: .9rem; }
.link-button { background: transparent; border: 0; color: inherit; padding: 9px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 850px) {
  .hero { min-height: 460px; }
  .hero-copy { padding: 30px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 7vw, 4.4rem); }
  .header-inner { flex-wrap: wrap; gap: 7px 20px; }
  .public-nav { order: 3; width: 100%; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .demo-band { gap: 0 10px; font-size: .8rem; }
  .header-inner { padding-block: 11px; }
  .public-nav { column-gap: 15px; row-gap: 0; }
  .public-nav a { font-size: .875rem; }
  .hero { margin-top: 16px; }
  .hero::before { background: linear-gradient(0deg, rgba(23, 27, 16, .96) 0%, rgba(23, 27, 16, .84) 65%, rgba(23, 27, 16, .22) 95%); }
  .hero-copy { justify-content: end; padding: 104px 20px 12px; }
  .hero-media > * { object-position: 58% 30%; }
  .hero-controls { justify-self: start; padding-inline: 20px; }
  .section { padding-block: 30px; }
  .three, .two, .form-grid, .photo-feature { grid-template-columns: minmax(0, 1fr); }
  .photo-feature > .photo { aspect-ratio: 2 / 1; height: auto; min-height: 0; }
  .feature, .footer-inner { flex-direction: column; align-items: start; }
  .card, .panel-box, .notice { padding: 17px; }
  .offer { padding: 0; }
  .event-row { grid-template-columns: auto 1fr; }
  .event-row .button, .event-thumb { grid-column: 1 / -1; }
  .event-row .button { justify-self: start; }
}

.panel-open .site-header { display: none; }
.panel { display: grid; grid-template-columns: 208px minmax(0, 1fr); align-items: start; gap: 24px; width: min(100% - 48px, 1440px); min-height: 80vh; }
.panel-main { display: grid; gap: 20px; min-width: 0; }
.panel-sidebar { position: sticky; top: 20px; display: grid; gap: 16px; background: var(--clay); border: 1px solid var(--line); padding: 14px; border-radius: 14px; }
.panel-brand { display: flex; align-items: center; gap: 10px; font: 600 1.4rem/1 var(--serif); text-decoration: none; padding: 5px 4px; white-space: nowrap; }
.panel-brand .brand-mark { width: 40px; }
.panel .panel-nav { display: grid; gap: 4px; margin: 0; padding: 0; background: transparent; }
.panel .panel-nav a { padding: 10px 11px; color: var(--forest); font-size: .92rem; }
.panel .panel-nav a:hover { background: var(--moss); }
.panel .panel-nav a[aria-current="page"] { color: white; background: var(--forest); }
.panel-sidebar-foot { display: grid; gap: 8px; border-top: 1px solid var(--line); padding: 10px 5px 0; }
.panel-sidebar-foot a, .panel-sidebar-foot button { color: var(--forest); text-align: start; font-size: .875rem; text-underline-offset: 3px; }
.panel-sidebar-foot button { border: 0; background: none; padding: 0; text-decoration: underline; }
.panel-head { align-items: center; }
.panel-head h1, .panel-head p { margin-bottom: 0; }
.panel-head h1 { font-size: clamp(2.25rem, 5vw, 3.55rem); }
.panel-main h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); letter-spacing: -.025em; }
.panel-main .split { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); }
.panel-main .pill.lost { background: #eee4e0; }
.dashboard-hero { min-height: 210px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; padding: clamp(20px, 4vw, 36px); color: white; background: linear-gradient(95deg, rgba(34, 42, 23, .98), rgba(34, 42, 23, .85) 64%, rgba(34, 42, 23, .69)), url('./assets/imagens/espaco/entrada-sitio.webp') center 46% / cover, var(--olive-dark); border-radius: 14px; }
.dashboard-hero h2 { font-size: clamp(1.95rem, 5vw, 3.2rem); margin-bottom: .2em; }
.dashboard-hero p:last-child { margin: 0; color: var(--clay); }
.dashboard-hero .eyebrow { color: var(--gold-light); }
.dashboard-hero .actions { gap: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-card { display: grid; align-content: start; min-height: 130px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 15px; text-decoration: none; }
.metric-card:hover { border-color: var(--terracotta); background: #fbf1df; }
.metric-card span { font-weight: 700; }
.metric-card strong { color: var(--terracotta-dark); font: 500 2.65rem/1.2 var(--serif); }
.metric-card small { color: var(--muted); font-size: .875rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 15px; }
.overview-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 10px 0; }
.overview-row time { background: var(--clay); border-radius: 8px; display: grid; padding: 6px; justify-items: center; font-size: .8rem; }
.overview-row time strong { font: 500 1.5rem/1 var(--serif); }
.overview-row p { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.filter-list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter-list a { border: 1px solid var(--line); border-radius: 20px; color: var(--forest); background: var(--white); padding: 6px 11px; text-decoration: none; font-weight: 650; font-size: .875rem; }
.filter-list a:hover, .filter-list a[aria-current] { border-color: var(--forest); background: var(--moss); }
.panel [aria-current="true"].text-link { color: var(--forest); background: var(--moss); border-radius: 4px; }
.agenda-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.calendar-head { align-items: center; margin-bottom: 12px; }
.calendar-head h2::first-letter { text-transform: uppercase; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.weekday { font-size: .8rem; color: var(--muted); }
.calendar-day { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; min-height: 45px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: .875rem; }
.calendar-day:hover, .calendar-day[aria-current] { border-color: var(--forest); background: var(--moss); }
.calendar-day span { min-width: 16px; font-size: .75rem; border-radius: 50%; background: var(--forest); color: white; }
.lodging-grid, .room { display: grid; gap: 8px; }
.lodging-grid { margin: 12px 0; }
.room { grid-template-columns: minmax(150px, .24fr) minmax(0, 1fr); align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.room-label { display: flex; align-items: center; gap: 8px; }
.room-label .photo { flex: none; width: 42px; height: 42px; border-radius: 6px; }
.room h3 { margin: 0; font: 700 .95rem/1.2 var(--sans); }
.room ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.room a { display: grid; align-content: center; text-align: center; text-decoration: none; padding: 3px 0; min-height: 45px; border: 1px solid var(--line); border-radius: 5px; background: var(--moss); font-size: .8rem; }
.room a.blocked { border-color: #d9b89d; background: #f7e1ce; color: #6e351e; }
.room a:hover { text-decoration: underline; }
.panel progress { width: 100%; height: 12px; accent-color: var(--forest); }
.panel details summary { cursor: pointer; font-weight: 700; }
.panel details summary:hover { text-decoration: underline; }
.attendees ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding: 0; list-style: none; margin-bottom: 0; }
.attendees li { border-top: 1px solid var(--line); padding-top: 5px; }
.attendees li span { display: block; font-size: .875rem; color: var(--muted); }
.contact-card h2 { margin-bottom: .15em; }
.panel .pill + h2 { margin-top: .28em; }
@media (max-width: 1080px) {
  .panel-main .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 870px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-sidebar { position: static; gap: 9px; }
  .panel .panel-nav { display: flex; flex-wrap: wrap; }
  .panel .panel-nav a { padding: 6px 9px; }
  .panel-sidebar-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; }
}
@media (max-width: 620px) {
  .panel { width: calc(100% - 24px); gap: 16px; }
  .panel-main { gap: 14px; }
  .panel-main .split, .panel-main .grid.two, .panel-main .grid.three, .dashboard-grid, .room { grid-template-columns: minmax(0, 1fr); }
  .metric-card { min-height: 116px; padding: 10px; }
  .attendees ul { grid-template-columns: minmax(0, 1fr); }
}
