/* Lagon — resort balnéaire (compact mobile) */
.tpl-lagon { --radius: 22px; }
.lg-hero { position: relative; height: 236px; background-size: cover; background-position: center; animation: lgIn 1.2s var(--ease) both; }
@keyframes lgIn { from { opacity: 0; transform: scale(1.05); } }
.lg-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,30,40,.4), transparent 45%); }
.lg-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: calc(1.6rem + env(safe-area-inset-top)) 1rem 0; }
.lg-logo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--accent); font-family: var(--display); font-weight: 800; font-size: .9rem; backdrop-filter: blur(10px); box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.lg-logo img { width: 100%; height: 100%; object-fit: cover; }
.lg-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .8rem; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--text); font-weight: 700; font-size: .78rem; backdrop-filter: blur(10px); }
.lg-chip svg { width: 14px; height: 14px; color: var(--accent); }
.lg-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; fill: var(--bg); }
.lg-card { position: relative; z-index: 2; margin: -58px 1rem 0; padding: 1rem 1.1rem 1rem; border-radius: 24px; background: var(--surface); box-shadow: 0 22px 44px -24px rgba(11,37,48,.45); animation: up .9s var(--ease) both .25s; }
.lg-greet { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-weight: 700; font-size: .78rem; }
.lg-greet svg { width: 15px; height: 15px; animation: lgSun 10s linear infinite; }
@keyframes lgSun { to { transform: rotate(360deg); } }
.lg-name { margin-top: .2rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 7vw, 1.9rem); line-height: 1.08; letter-spacing: -.03em; }
.lg-tag { margin-top: .2rem; color: var(--muted); font-size: .86rem; }
.lg-pills { display: flex; gap: .4rem; margin: .8rem -1.1rem 0; padding: 0 1.1rem; overflow-x: auto; scrollbar-width: none; }
.lg-pills::-webkit-scrollbar { display: none; }
.lg-pills > * { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .7rem; border-radius: 99px; background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--text); font-weight: 600; font-size: .74rem; white-space: nowrap; flex-shrink: 0; }
.lg-pills svg { width: 14px; height: 14px; color: var(--accent); }
.lg-welcome { padding: .9rem 1.5rem 0; color: var(--muted); text-align: center; font-size: .84rem; line-height: 1.4; }
.lg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .9rem 1rem 0; }
.lg-tile { display: flex; flex-direction: column; gap: .65rem; min-height: 108px; padding: .85rem; border-radius: 20px; background: var(--surface); box-shadow: 0 10px 22px -16px rgba(11,37,48,.45); transition: transform .2s var(--ease); }
.lg-tile:active { transform: scale(.97); }
.lg-tile.is-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; padding: .95rem; background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #38bdf8)); color: var(--on-accent); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--accent) 80%, transparent); }
.lg-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); flex-shrink: 0; }
.lg-tile.is-wide .lg-ico { width: 46px; height: 46px; background: rgba(255,255,255,.22); color: inherit; }
.lg-ico svg { width: 20px; height: 20px; }
.lg-txt b { display: block; font-family: var(--display); font-weight: 700; font-size: .96rem; line-height: 1.15; }
.lg-txt small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .15rem; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.lg-tile.is-wide .lg-txt b { font-size: 1.12rem; }
.lg-tile.is-wide small { color: inherit; opacity: .85; }
.lg-feat { padding: 1.4rem 0 0; }
.lg-feat h2 { padding: 0 1.1rem .6rem; font-family: var(--display); font-size: 1.1rem; font-weight: 800; }
.lg-rail { display: flex; gap: .6rem; overflow-x: auto; padding: 0 1rem .4rem; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 1rem; }
.lg-rail::-webkit-scrollbar { display: none; }
.lg-dish { flex: 0 0 140px; scroll-snap-align: start; }
.lg-dish img { width: 100%; height: 104px; object-fit: cover; border-radius: 18px; margin-bottom: .4rem; }
.lg-dish b { display: block; font-size: .84rem; line-height: 1.25; }
.lg-dish small { color: var(--accent); font-weight: 700; font-size: .78rem; }
.tpl-lagon .cs-dock { border-radius: 26px; }
.tpl-lagon .cs-dock a { border-radius: 20px; }
