/* Shared shell for the inner pages (Eat / Investors / Landlords + PT versions).
   Loaded AFTER legacy.css (the original Azeit design system, unchanged) and gives
   those pages the same floating glass nav, smooth scroll and reveal motion as the home. */

:root { --header-h: 78px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.js { scroll-behavior: auto; scroll-padding-top: 100px; }
body { background: var(--paper); }

/* --- floating, condensing glass nav (same as home) --- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 14px 14px 0; pointer-events: none; }
.site-header .header-in { pointer-events: auto; max-width: 1240px; width: 100%; height: 60px; min-height: 0; padding: 0 10px 0 22px; border-radius: 6px; margin-inline: auto;
  background: rgba(11, 18, 26, .9); border: 1px solid rgba(246, 244, 238, .1); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .55);
  transition: max-width .6s cubic-bezier(.16, 1, .3, 1), height .5s cubic-bezier(.16, 1, .3, 1); }
.site-header.is-scrolled .header-in { max-width: 960px; height: 52px; }
.site-header .brand img { height: 40px; width: auto; transition: height .5s cubic-bezier(.16, 1, .3, 1); }
.site-header.is-scrolled .brand img { height: 34px; }
.site-footer .brand img { height: 64px; width: auto; }
.site-header .nav a:not(.btn) { color: var(--paper); border-bottom: 0; padding: 8px 2px; font-weight: 500; position: relative; opacity: .9; }
.site-header .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.site-header .nav a:not(.btn):hover::after, .site-header .nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header .nav a.lang-switch { border: 1px solid rgba(246, 244, 238, .35); border-radius: 3px; padding: 6px 10px; font-size: .8rem; letter-spacing: .08em; font-weight: 700; }
.site-header .nav a.lang-switch::after { display: none; }
.site-header .nav-toggle { border-color: rgba(246, 244, 238, .4); }
.site-header .nav-toggle span { background: var(--paper); }
@media (max-width: 859px) {
  .site-header .nav { top: calc(100% + 8px); left: 14px; right: 14px; border-radius: 6px; background: rgba(11, 18, 26, .95); border: 1px solid rgba(246, 244, 238, .1); pointer-events: auto; }
  .site-header .header-in { padding-right: 8px; }
}

/* room under the fixed nav */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); }
.subnav { top: 74px; }
.subnav-in { border-radius: 0; }

/* --- richer type on the inner pages --- */
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: .96; letter-spacing: -.045em; }
h2 { letter-spacing: -.035em; }
.btn { transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s, background .2s; }

/* progress */
.sp-progress { position: fixed; z-index: 120; left: 0; top: 0; height: 3px; width: 100%; background: var(--saffron); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* reveal targets are hidden by JS (class added only when motion is enabled) */
.sp-anim .sp-r { opacity: 0; transform: translateY(36px); }
.hero-art .planes { will-change: transform; }

/* six nav links + language + CTA: tighten between phone and wide desktop so nothing wraps */
@media (min-width: 860px) and (max-width: 1160px) {
  .site-header .header-in { padding-left: 14px; }
  .site-header .nav { gap: 2px; }
  .site-header .nav a:not(.btn) { padding-inline: 7px; font-size: .9rem; white-space: nowrap; }
  .site-header .nav .btn--sm { padding: 10px 12px; font-size: .85rem; white-space: nowrap; }
}
/* seven nav links (Build added): keep the logo full-size on narrow tablets, tightest in Portuguese */
@media (min-width: 860px) and (max-width: 960px) {
  .site-header .nav { gap: 0; }
  .site-header .nav a:not(.btn) { padding-inline: 4px; font-size: .86rem; }
  .site-header .nav .btn--sm { padding: 10px 9px; font-size: .8rem; }
  .site-header .header-in { padding-left: 12px; padding-right: 8px; }
}
/* the condensed (scrolled) nav bar is 960px wide: use the compact link spacing there at every desktop width, so seven links plus the CTA stay on one line */
@media (min-width: 860px) {
  .site-header.is-scrolled .header-in { padding-left: 14px; }
  .site-header.is-scrolled .nav { gap: 2px; }
  .site-header.is-scrolled .nav a:not(.btn) { padding-inline: 7px; font-size: .9rem; white-space: nowrap; }
  .site-header.is-scrolled .nav .btn--sm { padding: 10px 12px; font-size: .85rem; white-space: nowrap; }
}
@media (min-width: 860px) and (max-width: 960px) {
  .site-header.is-scrolled .nav a:not(.btn) { padding-inline: 4px; font-size: .84rem; }
  .site-header.is-scrolled .nav .btn--sm { padding: 10px 8px; font-size: .78rem; }
  .site-header.is-scrolled .header-in { padding-left: 10px; padding-right: 6px; }
}
