:root {
    --app-primary: #087f73;
    --app-primary-rgb: 8, 127, 115;
    --app-primary-dark: #075e57;
    --app-primary-deep: #064b46;
    --app-primary-soft: #dff5f0;
    --app-accent: #f28c55;
    --app-gold: #e9b949;
    --app-ink: #17343a;
    --app-muted: #63777b;
    --app-bg: #f3f8f7;
    --app-border: #dbe9e6;
    --app-shadow: 0 .65rem 1.8rem rgba(8, 82, 75, .10);
    --bs-primary: #087f73;
    --bs-primary-rgb: 8, 127, 115;
    --bs-link-color: #08766c;
    --bs-link-hover-color: #075e57;
}

body[data-theme="ocean"] { --app-primary:#0876a6; --app-primary-rgb:8,118,166; --app-primary-dark:#075a80; --app-primary-deep:#06435f; --app-primary-soft:#e0f2f9; --app-accent:#ff9f66; --app-gold:#f4c45e; --app-bg:#f2f8fb; --bs-primary:#0876a6; --bs-primary-rgb:8,118,166; --bs-link-color:#08709d; --bs-link-hover-color:#075a80; }
body[data-theme="royal"] { --app-primary:#2855a6; --app-primary-rgb:40,85,166; --app-primary-dark:#1e4386; --app-primary-deep:#173365; --app-primary-soft:#e7eefb; --app-accent:#f2a65a; --app-gold:#ecc052; --app-bg:#f4f6fb; --bs-primary:#2855a6; --bs-primary-rgb:40,85,166; --bs-link-color:#2855a6; --bs-link-hover-color:#1e4386; }
body[data-theme="indigo"] { --app-primary:#4f46a5; --app-primary-rgb:79,70,165; --app-primary-dark:#3e3787; --app-primary-deep:#302b68; --app-primary-soft:#eceafb; --app-accent:#f59e72; --app-gold:#edbd55; --app-bg:#f6f5fb; --bs-primary:#4f46a5; --bs-primary-rgb:79,70,165; --bs-link-color:#4f46a5; --bs-link-hover-color:#3e3787; }
body[data-theme="violet"] { --app-primary:#7650a8; --app-primary-rgb:118,80,168; --app-primary-dark:#5d3e87; --app-primary-deep:#482f68; --app-primary-soft:#f1ebf8; --app-accent:#f1a35c; --app-gold:#eabe51; --app-bg:#f8f5fa; --bs-primary:#7650a8; --bs-primary-rgb:118,80,168; --bs-link-color:#704aa1; --bs-link-hover-color:#5d3e87; }
body[data-theme="rose"] { --app-primary:#a83f68; --app-primary-rgb:168,63,104; --app-primary-dark:#873252; --app-primary-deep:#67263f; --app-primary-soft:#faeaf0; --app-accent:#e9ad55; --app-gold:#e6b74d; --app-bg:#fbf5f7; --bs-primary:#a83f68; --bs-primary-rgb:168,63,104; --bs-link-color:#a13962; --bs-link-hover-color:#873252; }
body[data-theme="coral"] { --app-primary:#c95746; --app-primary-rgb:201,87,70; --app-primary-dark:#a54335; --app-primary-deep:#7e3329; --app-primary-soft:#fdebe7; --app-accent:#f2bd52; --app-gold:#f2bd52; --app-bg:#fcf6f3; --bs-primary:#c95746; --bs-primary-rgb:201,87,70; --bs-link-color:#b94d3e; --bs-link-hover-color:#963d31; }
body[data-theme="amber"] { --app-primary:#a86412; --app-primary-rgb:168,100,18; --app-primary-dark:#854e0d; --app-primary-deep:#663b09; --app-primary-soft:#fff1d9; --app-accent:#2a9d8f; --app-gold:#e6a72f; --app-bg:#fbf8f1; --bs-primary:#a86412; --bs-primary-rgb:168,100,18; --bs-link-color:#96600f; --bs-link-hover-color:#784b0b; }
body[data-theme="graphite"] { --app-primary:#344a53; --app-primary-rgb:52,74,83; --app-primary-dark:#283a42; --app-primary-deep:#1d2c32; --app-primary-soft:#e9eef0; --app-accent:#d9934e; --app-gold:#deb057; --app-bg:#f3f5f5; --bs-primary:#344a53; --bs-primary-rgb:52,74,83; --bs-link-color:#3d5964; --bs-link-hover-color:#283a42; }
body[data-theme="turquoise"] { --app-primary:#087f8c; --app-primary-rgb:8,127,140; --app-primary-dark:#07636d; --app-primary-deep:#064b53; --app-primary-soft:#e0f4f4; --app-accent:#ef8f61; --app-gold:#e8b64e; --app-bg:#f2f8f8; --bs-primary:#087f8c; --bs-primary-rgb:8,127,140; --bs-link-color:#087985; --bs-link-hover-color:#07636d; }

body {
    min-height: 100vh;
    background: radial-gradient(circle at 8% 12%, rgba(61,190,164,.11), transparent 24rem), radial-gradient(circle at 92% 90%, rgba(242,140,85,.09), transparent 27rem), var(--app-bg);
    color: var(--app-ink);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
main.container { max-width: 1320px; }
h1, h2, h3, h4, h5, h6 { color: var(--app-ink); }
h1.h3 { font-weight: 750; letter-spacing: -.025em; }
h1.h3::after { content: ""; display: block; width: 3rem; height: .22rem; margin-top: .55rem; border-radius: 999px; background: linear-gradient(90deg, var(--app-accent), var(--app-gold)); }
.text-secondary { color: var(--app-muted) !important; }

.bg-app { background: radial-gradient(circle at 12% -80%, rgba(255,255,255,.24), transparent 24rem), linear-gradient(115deg, var(--app-primary-deep), var(--app-primary) 72%, color-mix(in srgb, var(--app-primary) 78%, white)); }
.app-navbar { min-height: 4.15rem; box-shadow: 0 .35rem 1.25rem rgba(5,60,56,.24); }
.app-navbar .navbar-brand { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; font-weight: 750; letter-spacing: -.01em; }
.app-navbar .navbar-brand::before { content: "P"; display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: .7rem .7rem .7rem .22rem; background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.10)); box-shadow: inset 0 1px rgba(255,255,255,.25); color: #fff; font-size: 1rem; }
.app-navbar .nav-link { position: relative; margin: 0 .08rem; padding: .6rem .7rem !important; border-radius: .65rem; color: rgba(255,255,255,.82); white-space: nowrap; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.app-navbar .nav-link:hover, .app-navbar .nav-link:focus, .app-navbar .nav-link.show { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-1px); }
.app-navbar .dropdown-menu { margin-top: .55rem; padding: .5rem; border: 1px solid rgba(8,127,115,.10); border-radius: .85rem; box-shadow: 0 1rem 2.5rem rgba(5,64,59,.19); }
.app-navbar .dropdown-item { padding: .58rem .8rem; border-radius: .5rem; color: #29484c; }
.app-navbar .dropdown-item:hover, .app-navbar .dropdown-item:focus { background: var(--app-primary-soft); color: var(--app-primary-dark); }
.app-navbar .dropdown-item:active { background-color: var(--app-primary); color: #fff; }

.card { overflow: hidden; border: 1px solid rgba(8,127,115,.08); border-radius: 1rem; background: rgba(255,255,255,.96); box-shadow: var(--app-shadow); transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 .9rem 2.25rem rgba(8,82,75,.13); }
.card-header, .card-footer, .card-header.bg-white, .card-footer.bg-white { border-color: var(--app-border) !important; background: linear-gradient(90deg, #f7fbfa, #fff) !important; }
.section-title { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--app-primary-dark); font-size: 1rem; font-weight: 750; letter-spacing: .01em; }
.section-title::before { content: ""; width: .3rem; height: 1.15rem; flex: 0 0 auto; border-radius: 999px; background: linear-gradient(180deg, var(--app-accent), var(--app-gold)); }

.required::after { content: " *"; color: #c64747; }
.form-label { color: #36565a; font-size: .9rem; font-weight: 650; }
.form-control, .form-select { min-height: 2.7rem; border-color: #cbdedb; border-radius: .7rem; color: var(--app-ink); background-color: #fbfdfd; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.form-control:focus, .form-select:focus { border-color: #39a999; background-color: #fff; box-shadow: 0 0 0 .23rem rgba(8,127,115,.14); }
.form-check-input:checked { border-color: var(--app-primary); background-color: var(--app-primary); }
.form-check-input:focus { border-color: #39a999; box-shadow: 0 0 0 .23rem rgba(8,127,115,.14); }

.btn { border-radius: .68rem; font-weight: 650; letter-spacing: .005em; box-shadow: 0 .15rem .45rem rgba(24,54,58,.07); transition: transform .17s ease, box-shadow .17s ease, background-color .17s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 .4rem .8rem rgba(24,54,58,.12); }
.btn-primary { border-color: var(--app-primary); background: linear-gradient(135deg, var(--app-primary), #0b9784); }
.btn-primary:hover, .btn-primary:focus { border-color: var(--app-primary-dark); background: linear-gradient(135deg, var(--app-primary-dark), var(--app-primary)); }
.btn-outline-primary { border-color: var(--app-primary); color: var(--app-primary-dark); }
.btn-outline-primary:hover { border-color: var(--app-primary); background-color: var(--app-primary); }
.btn-success { background-color: #238b66; border-color: #238b66; }
.btn-warning { background-color: var(--app-gold); border-color: var(--app-gold); color: #3d3012; }

.table { --bs-table-color: #29454a; --bs-table-hover-bg: rgba(8,127,115,.055); }
.table > thead > tr > th { padding-top: .85rem; padding-bottom: .85rem; border-bottom: 1px solid #cfe1de; background: #edf7f5; color: var(--app-primary-dark); font-size: .76rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.table > tbody > tr > td, .table > tbody > tr > th { padding-top: .78rem; padding-bottom: .78rem; border-color: #e6efed; }
.table > tbody > tr:last-child > * { border-bottom: 0; }
.badge { padding: .42rem .62rem; border-radius: 999px; font-weight: 700; letter-spacing: .015em; }
.text-bg-success { background-color: #218763 !important; }
.text-bg-secondary { background-color: #6b7f83 !important; }
.alert { border: 0; border-left: .3rem solid currentColor; border-radius: .8rem; box-shadow: 0 .35rem 1rem rgba(20,55,60,.07); }
.list-group-item { border-color: var(--app-border); }
.list-group-item-action:hover { background-color: #eff9f7; color: var(--app-primary-dark); }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.22), transparent 24rem), radial-gradient(circle at 85% 88%, rgba(242,140,85,.30), transparent 26rem), linear-gradient(140deg, #064b46, #087f73 60%, #32ad94); }
.auth-card { width: min(100%, 34rem); border: 1px solid rgba(255,255,255,.45); box-shadow: 0 1.5rem 4rem rgba(3,58,54,.30); }

.map-table { min-width: 1100px; table-layout: fixed; }
.map-table .map-room { width: 150px; position: sticky; left: 0; z-index: 1; background: #f8fcfb; }
.map-table thead .map-room { z-index: 2; background: #e2f3f0; }
.map-table .map-day { width: 90px; height: 58px; padding: .35rem; }
.map-table .table-primary { --bs-table-bg: #ccefe8; --bs-table-color: #075e57; box-shadow: inset 0 0 0 1px rgba(8,127,115,.18); }

/* Mapa de reservas em linha do tempo */
.booking-toolbar { display: flex; align-items: end; gap: 1.25rem; padding: 1rem 1.2rem; border: 1px solid rgba(var(--app-primary-rgb),.1); border-radius: 1rem; background: rgba(255,255,255,.95); box-shadow: var(--app-shadow); }
.booking-toolbar__date { width: min(100%, 26rem); }
.booking-navigation { display: flex; gap: .45rem; }
.booking-legend { display: flex; align-items: center; gap: .9rem; margin-left: auto; padding-bottom: .55rem; color: var(--app-muted); font-size: .76rem; font-weight: 650; }
.booking-legend span { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.booking-legend i { width: .65rem; height: .65rem; border-radius: 50%; }
.booking-legend .is-confirmed { background: var(--app-primary); }
.booking-legend .is-pending { background: #e49a2d; }
.booking-legend .is-partial { background: #7653a6; }
.booking-board { overflow: hidden; border: 1px solid rgba(var(--app-primary-rgb),.12); border-radius: 1.1rem; background: #fff; box-shadow: 0 .85rem 2.2rem rgba(var(--app-primary-rgb),.12); }
.booking-board__scroll { overflow-x: auto; scrollbar-color: rgba(var(--app-primary-rgb),.45) #edf3f2; scrollbar-width: thin; }
.booking-calendar { min-width: 1230px; }
.booking-calendar__header, .booking-row { display: grid; grid-template-columns: 165px repeat(28, minmax(38px, .5fr)); }
.booking-calendar__header { position: sticky; top: 0; z-index: 6; min-height: 4.8rem; border-bottom: 1px solid #cbdedb; background: #f4faf9; }
.booking-room-heading { position: sticky; left: 0; z-index: 7; grid-column: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 1rem; border-right: 1px solid #cbdedb; background: linear-gradient(135deg, var(--app-primary-dark), var(--app-primary)); color: #fff; }
.booking-room-heading span { font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.booking-room-heading small { color: rgba(255,255,255,.7); font-size: .7rem; }
.booking-date { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: center; padding: .55rem .6rem; border-right: 1px solid #dbe8e6; color: var(--app-muted); text-align: center; }
.booking-date span { grid-column: 1 / -1; color: var(--app-muted); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.booking-date strong { justify-self: end; color: var(--app-ink); font-size: 1.18rem; line-height: 1.05; }
.booking-date small { align-self: end; justify-self: start; margin-left: .16rem; color: var(--app-muted); font-size: .65rem; }
.booking-date.is-weekend { background: rgba(var(--app-primary-rgb),.055); }
.booking-date.is-today { position: relative; background: var(--app-primary-soft); }
.booking-date.is-today::after { content: "HOJE"; position: absolute; right: .25rem; top: .2rem; padding: .1rem .25rem; border-radius: .25rem; background: var(--app-primary); color: #fff; font-size: .5rem; font-weight: 800; }
.booking-row { position: relative; min-height: 5rem; border-bottom: 1px solid #e1ecea; }
.booking-row:last-child { border-bottom: 0; }
.booking-room { position: sticky; left: 0; z-index: 5; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: .7rem 1rem; border-right: 1px solid #d4e3e0; background: #fff; box-shadow: .35rem 0 .8rem rgba(31,65,68,.045); }
.booking-room__number { color: var(--app-ink); font-size: 1rem; font-weight: 800; }
.booking-room__category { overflow: hidden; color: var(--app-muted); font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.booking-room small { color: color-mix(in srgb, var(--app-primary) 72%, #6b7f83); font-size: .66rem; }
.booking-cell { grid-row: 1; border-right: 1px solid #e3ecea; background: #fff; }
.booking-cell.is-weekend { background: #f8fbfa; }
.booking-cell.is-today { background: color-mix(in srgb, var(--app-primary-soft) 60%, white); box-shadow: inset 2px 0 var(--app-primary), inset -1px 0 rgba(var(--app-primary-rgb),.15); }
.booking-stay { z-index: 3; align-self: center; min-width: 0; height: 3.35rem; margin: 0 .18rem; overflow: hidden; padding: .48rem .7rem; border: 1px solid rgba(255,255,255,.45); border-radius: .75rem; background: linear-gradient(135deg, var(--app-primary-dark), var(--app-primary)); box-shadow: 0 .35rem .8rem rgba(var(--app-primary-rgb),.25), inset 0 1px rgba(255,255,255,.2); color: #fff; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.booking-stay:hover, .booking-stay:focus { z-index: 4; color: #fff; filter: saturate(1.12) brightness(1.04); transform: translateY(-2px); box-shadow: 0 .55rem 1rem rgba(var(--app-primary-rgb),.32); }
.booking-stay.is-pending { background: linear-gradient(135deg, #b97016, #e49a2d); box-shadow: 0 .35rem .8rem rgba(185,112,22,.25); }
.booking-stay.is-partial { background: linear-gradient(135deg, #614286, #8b65b3); box-shadow: 0 .35rem .8rem rgba(97,66,134,.25); }
.booking-stay__guest, .booking-stay__number { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-stay__guest { font-size: .78rem; font-weight: 800; }
.booking-stay__number { color: rgba(255,255,255,.78); font-size: .66rem; }
.booking-empty { padding: 3rem; color: var(--app-muted); text-align: center; }
.unassigned-card { border-top: .3rem solid #e49a2d; }
.unassigned-booking { display: flex; min-height: 6rem; flex-direction: column; justify-content: center; padding: .85rem 1rem; border: 1px solid #eadfc9; border-radius: .75rem; background: #fffaf1; color: var(--app-ink); text-decoration: none; transition: transform .16s ease, border-color .16s ease; }
.unassigned-booking:hover { border-color: #e49a2d; color: #8a5710; transform: translateY(-2px); }
.unassigned-booking span, .unassigned-booking small { color: var(--app-muted); }
.unassigned-booking span { font-size: .78rem; }.unassigned-booking small { margin-top: .3rem; font-size: .7rem; }

/* Manual do sistema */
.manual-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 1.5rem; align-items: start; }
.manual-nav { position: sticky; top: 1rem; display: flex; flex-direction: column; padding: 1rem; border: 1px solid rgba(var(--app-primary-rgb),.12); border-radius: 1rem; background: #fff; box-shadow: var(--app-shadow); }
.manual-nav strong { margin: .2rem .55rem .65rem; color: var(--app-primary-dark); }
.manual-nav a { padding: .43rem .55rem; border-radius: .45rem; color: var(--app-muted); font-size: .78rem; text-decoration: none; }
.manual-nav a:hover { background: var(--app-primary-soft); color: var(--app-primary-dark); }
.manual-content { overflow: hidden; border: 1px solid rgba(var(--app-primary-rgb),.1); border-radius: 1rem; background: #fff; box-shadow: var(--app-shadow); }
.manual-content section { padding: 2rem 2.25rem; scroll-margin-top: 1rem; }
.manual-content section + section { border-top: 1px solid var(--app-border); }
.manual-content h2 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; font-size: 1.35rem; font-weight: 800; }
.manual-content h2 > span { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: .6rem; background: var(--app-primary); color: #fff; font-size: .85rem; }
.manual-content h3 { margin: 1.3rem 0 .45rem; color: var(--app-primary-dark); font-size: 1rem; font-weight: 750; }
.manual-content p, .manual-content li, .manual-content dd { color: #405b60; line-height: 1.65; }
.manual-content li + li { margin-top: .32rem; }
.manual-intro { background: linear-gradient(135deg, var(--app-primary-soft), #fff); }
.manual-flow { display: flex; align-items: center; justify-content: space-between; gap: .55rem; margin-top: 1.4rem; }
.manual-flow span { flex: 1; padding: .65rem .35rem; border-radius: .6rem; background: var(--app-primary); color: #fff; font-size: .76rem; font-weight: 750; text-align: center; }
.manual-flow b { color: var(--app-accent); font-size: 1.4rem; }
.manual-faq dt { margin-top: 1rem; color: var(--app-ink); font-weight: 750; }.manual-faq dd { margin: .2rem 0 0; }
.manual-final { background: #fafcfb; }
@media (max-width: 991.98px) { .manual-layout { grid-template-columns: 1fr; }.manual-nav { position: static; display: grid; grid-template-columns: repeat(2,1fr); }.manual-nav strong { grid-column: 1/-1; } }
@media print { .app-navbar,.manual-nav,.manual-print,.alert { display:none!important; } body { background:#fff; }.manual-layout { display:block; }.manual-content { border:0; box-shadow:none; }.manual-content section { break-inside:avoid; padding:1rem 0; }.manual-heading { margin-bottom:1rem!important; } main.container { max-width:none; } }

/* Painel inicial */
.home-hero { position: relative; display: flex; min-height: 12rem; align-items: center; justify-content: space-between; overflow: hidden; padding: 2.25rem 2.5rem; border-radius: 1.25rem; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 14rem), linear-gradient(125deg, var(--app-primary-deep), var(--app-primary) 68%, color-mix(in srgb, var(--app-primary) 72%, white)); box-shadow: 0 1rem 2.5rem rgba(var(--app-primary-rgb),.22); color: #fff; }
.home-hero::after { content: ""; position: absolute; right: 10%; bottom: -5rem; width: 15rem; height: 15rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.home-eyebrow { display: inline-block; margin-bottom: .6rem; color: #ffe3c3; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.home-hero h1 { margin-bottom: .55rem; color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; }
.home-hero p { max-width: 40rem; margin: 0; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.home-hero-mark { position: relative; z-index: 1; display: grid; width: 5.4rem; height: 5.4rem; flex: 0 0 auto; place-items: center; margin-left: 2rem; border: 1px solid rgba(255,255,255,.35); border-radius: 1.6rem 1.6rem 1.6rem .5rem; background: rgba(255,255,255,.13); box-shadow: inset 0 1px rgba(255,255,255,.28); font-size: 2.3rem; font-weight: 800; }
.home-group { --group-color: var(--app-primary); --group-soft: var(--app-primary-soft); overflow: hidden; border: 1px solid rgba(var(--app-primary-rgb),.10); border-radius: 1.15rem; background: rgba(255,255,255,.97); box-shadow: var(--app-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.home-group:hover { transform: translateY(-3px); box-shadow: 0 1.1rem 2.6rem rgba(8,82,75,.15); }
.home-group--records { --group-color: #3867aa; --group-soft: #eaf1fb; }
.home-group--finance { --group-color: #c76b32; --group-soft: #fff0e6; }
.home-group--admin { --group-color: #7653a6; --group-soft: #f1ebf8; }
.home-group__header { display: flex; min-height: 8.7rem; align-items: center; gap: 1rem; padding: 1.45rem 1.5rem; border-top: .3rem solid var(--group-color); background: linear-gradient(115deg, var(--group-soft), #fff 75%); }
.home-group__icon { display: grid; width: 3.25rem; height: 3.25rem; flex: 0 0 auto; place-items: center; border-radius: .9rem; background: var(--group-color); box-shadow: 0 .45rem 1rem color-mix(in srgb, var(--group-color) 27%, transparent); color: #fff; }
.home-group__icon svg { width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-group__header h2 { margin: 0 0 .3rem; color: var(--group-color); font-size: 1.3rem; font-weight: 800; }
.home-group__header p { margin: 0; color: var(--app-muted); font-size: .9rem; line-height: 1.45; }
.home-group__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .65rem; }
.home-link { display: flex; min-height: 5.3rem; align-items: center; justify-content: space-between; gap: .6rem; padding: .85rem .9rem; border-radius: .75rem; color: var(--app-ink); text-decoration: none; transition: background-color .16s ease, color .16s ease, transform .16s ease; }
.home-link:hover, .home-link:focus { background: var(--group-soft); color: var(--group-color); transform: translateX(2px); }
.home-link strong, .home-link small { display: block; }
.home-link strong { margin-bottom: .18rem; font-size: .94rem; }
.home-link small { color: var(--app-muted); font-size: .76rem; line-height: 1.3; }
.home-link__arrow { display: grid; width: 1.7rem; height: 1.7rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--group-soft); color: var(--group-color); font-size: 1.4rem; line-height: 1; }

/* Seletor de identidade visual */
.theme-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.theme-option { cursor: pointer; }
.theme-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.theme-option__body { position: relative; display: block; min-height: 8.2rem; padding: .85rem; border: 2px solid #e0e9e7; border-radius: .9rem; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.theme-option:hover .theme-option__body { transform: translateY(-2px); border-color: #bdcfcc; box-shadow: 0 .5rem 1rem rgba(31,58,62,.09); }
.theme-option input:focus-visible + .theme-option__body { outline: 3px solid rgba(var(--app-primary-rgb),.2); outline-offset: 2px; }
.theme-option input:checked + .theme-option__body { border-color: var(--app-primary); box-shadow: 0 0 0 .2rem rgba(var(--app-primary-rgb),.12); }
.theme-option__preview { display: flex; height: 2.5rem; overflow: hidden; margin-bottom: .7rem; border-radius: .55rem; }
.theme-option__preview i { flex: 1; background: var(--swatch); }
.theme-option__body strong, .theme-option__body small { display: block; }
.theme-option__body strong { color: var(--app-ink); font-size: .83rem; }
.theme-option__body small { margin-top: .15rem; color: var(--app-muted); font-size: .7rem; }
.theme-option__check { position: absolute; top: .42rem; right: .42rem; display: none; width: 1.35rem; height: 1.35rem; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--app-primary); box-shadow: 0 .15rem .4rem rgba(0,0,0,.2); color: #fff; font-size: .72rem; font-weight: 800; }
.theme-option input:checked + .theme-option__body .theme-option__check { display: grid; }

@media (max-width: 1199.98px) { .theme-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .theme-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1199.98px) {
    .app-navbar .navbar-collapse { max-height: calc(100vh - 4.5rem); overflow-y: auto; padding: .75rem 0 1rem; }
    .app-navbar .dropdown-menu { margin: 0 0 .5rem; padding: .25rem; border: 0; background: rgba(255,255,255,.08); box-shadow: none; }
    .app-navbar .dropdown-item { padding-left: 1.5rem; color: rgba(255,255,255,.85); }
    .app-navbar .dropdown-item:hover, .app-navbar .dropdown-item:focus { background: rgba(255,255,255,.12); color: #fff; }
    .app-navbar .app-user { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); }
    .booking-toolbar { flex-wrap: wrap; }
    .booking-legend { width: 100%; margin-left: 0; padding: 0; }
}
@media (max-width: 575.98px) {
    main.container { padding-top: 1.25rem !important; padding-bottom: 2rem !important; }
    h1.h3 { font-size: 1.55rem; }
    .card { border-radius: .85rem; }
    .btn { min-height: 2.6rem; }
    .home-hero { min-height: auto; padding: 1.7rem 1.4rem; }
    .home-hero-mark { display: none; }
    .home-group__links { grid-template-columns: 1fr; }
    .home-group__header { min-height: auto; padding: 1.2rem; }
    .booking-toolbar__date { width: 100%; }
    .booking-navigation { width: 100%; }
    .booking-navigation .btn { flex: 1; padding-right: .45rem; padding-left: .45rem; }
    .booking-legend { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
