/* Gendai Premium — página de links
   Paleta extraída do logo: terracota #E5613C, preto quente, branco.
   Layout: mobile = coluna única com hero em vídeo + barra de ação fixa;
           >=960px = hero sticky à esquerda, conteúdo rolando à direita. */

@font-face { font-family: "Josefin Sans"; src: url("../assets/fonts/josefin-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  --bg: #0F0D0C;
  --surface: #1A1715;
  --surface-2: #242019;
  --fg: #F6F1EC;
  --muted: #A99F96;
  --line: #322C27;
  --brand: #E5613C;
  --brand-ink: #1A0D08;
  --ok: #6DD5A1;
  --closed: #F2A09A;
  --gutter: 16px;
  --r-lg: 28px;
  --r-md: 18px;
  --font-display: "Josefin Sans", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: max(var(--gutter), env(safe-area-inset-top, 0px));
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
img, video { max-width: 100%; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 12px; font-weight: 700; transition: top .15s; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.layout { max-width: 600px; margin-inline: auto; display: flex; flex-direction: column; gap: 28px; }
.stack { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.eyebrow { font-family: var(--font-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.eyebrow.link { padding: 10px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 40px; }
.sec-head h2, .visit h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .02em; line-height: 1.2; }

/* ---------- Hero ---------- */
.hero { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); isolation: isolate; height: 580px; height: clamp(500px, 70svh, 680px); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,13,12,.6) 0%, rgba(15,13,12,0) 26%, rgba(15,13,12,.1) 44%, rgba(15,13,12,.94) 100%); }
.hero-in { height: 100%; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.logo { height: 92px; width: auto; display: block; flex: none; }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: rgba(15,13,12,.55); border: 1px solid rgba(246,241,236,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-open="true"] .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(109,213,161,.22); }
.status[data-open="false"] .dot { background: var(--closed); }
.hero-bottom { display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 9.4vw, 42px); line-height: 1.06; letter-spacing: .01em; text-wrap: balance; }
.hero h1 b { font-weight: 700; color: var(--brand); }
.since { font-size: 14.5px; color: rgba(246,241,236,.84); max-width: 38ch; }

.btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 15px 20px; border-radius: 16px; background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; transition: transform .15s ease, filter .15s ease; }
.btn-txt small { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .78; margin-top: 1px; }
.ic { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(.98); }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 112px; padding: 16px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.tile:active { transform: scale(.98); }
.ic-tile { width: 26px; height: 26px; color: var(--brand); }
.tile-t { display: block; min-width: 0; }
.tile-t b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }
.tile-t span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }

/* ---------- Reels ---------- */
.arrows { display: none; gap: 8px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; padding: 0; }
.arrow svg { width: 20px; height: 20px; }
.arrow:disabled { opacity: .35; cursor: default; }
.reels { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: 0 0 min(58%, 232px); aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--surface); scroll-snap-align: start; isolation: isolate; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,13,12,0) 52%, rgba(15,13,12,.9) 100%); pointer-events: none; }
.reel figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2; pointer-events: none; }
.reel figcaption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: rgba(246,241,236,.82); margin-top: 3px; }
.reel-hit { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: #fff; border-radius: inherit; }
.reel-hit svg { width: 54px; height: 54px; padding: 15px 12px 15px 17px; border-radius: 50%; background: rgba(15,13,12,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .2s ease; }
.reel[data-paused="true"] .reel-hit svg { opacity: 1; transform: none; }

/* ---------- Fotos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; background: var(--surface); cursor: zoom-in; }
.shot:first-child, .shot:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3.2; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shot:active img { transform: scale(1.02); }
.more-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; margin-top: 12px; padding: 12px 12px 12px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, background .2s ease, transform .15s ease; }
.more-btn:active { transform: scale(.985); }
.more-txt { display: block; min-width: 0; }
.more-txt b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .03em; line-height: 1.25; }
.more-txt small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.more-go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); transition: transform .2s ease; }
.more-go svg { width: 22px; height: 22px; transition: transform .2s ease; }

/* Lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; color: var(--fg); }
.lb::backdrop { background: rgba(8, 6, 5, .95); }
.lb-in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); position: relative; }
.lb-stage { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 0; }
.lb-img { display: block; max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 16px; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lb-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgba(246, 241, 236, .22); background: rgba(26, 23, 21, .8); color: var(--fg); cursor: pointer; flex: none; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 2; }
.lb-nav { display: none; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100%, 560px); }
.lb-count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.lb-ig { font-family: var(--font-display); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--brand); padding: 12px 0; }
body.lb-open { overflow: hidden; }

/* ---------- Links ---------- */
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.row-t { display: block; min-width: 0; }
.row-t strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.row-t span { display: block; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.ic-ext { width: 20px; height: 20px; flex: none; color: var(--brand); transition: transform .15s ease; }

/* ---------- Visita ---------- */
.visit { scroll-margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px dashed var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr[data-today="true"] th, .hours tr[data-today="true"] td { color: var(--brand); font-weight: 700; }
.note { font-size: 13.5px; color: var(--muted); }
.field { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field > div { min-width: 0; }
.field p { overflow-wrap: anywhere; }
.k { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.copy { flex: none; min-width: 84px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.copy[data-done="true"] { border-color: var(--ok); color: var(--ok); }

.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chip { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s ease; }
.chip b { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.chip span { font-size: 13px; color: var(--muted); }


/* ---------- Rodapé ---------- */
.foot { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.seal { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.foot-brand p { font-size: 13px; color: var(--muted); }
.foot-brand b { display: block; font-family: var(--font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--fg); font-weight: 600; font-size: 13px; }
.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.rights { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.dev { display: flex; align-items: center; gap: 12px; flex: none; }
.dev-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dev-logo { display: block; width: auto; height: 21px; flex: none; opacity: .92; }

/* ---------- Barra fixa mobile ---------- */
.dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, rgba(15,13,12,0), rgba(15,13,12,.92) 38%); transform: translateY(110%); transition: transform .28s ease; pointer-events: none; }
.dock.is-on { transform: none; }
.dock.is-on a { pointer-events: auto; }
.dock-main, .dock-wa { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 16px; }
.dock-main { flex: 1; background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.dock-wa { flex: none; width: 54px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brand); }
.dock-wa svg { width: 26px; height: 26px; }

/* ---------- Hover só em dispositivos com hover ---------- */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
  .tile:hover { border-color: var(--brand); background: var(--surface-2); transform: translateY(-2px); }
  .row:hover .ic-ext { transform: translate(3px, -3px); }
  .shot:hover img { transform: scale(1.05); }
  .more-btn:hover { border-color: var(--brand); background: var(--surface-2); }
  .more-btn:hover .more-go svg { transform: translate(2px, -2px); }
  .lb-btn:hover { border-color: var(--brand); color: var(--brand); }
  .chip:hover, .copy:hover, .arrow:hover:not(:disabled) { border-color: var(--brand); }
  .copy:hover { color: var(--brand); }
  .eyebrow.link:hover { color: var(--brand); }
  .reel:hover .reel-hit svg { opacity: 1; transform: none; }
  .dock-main:hover { filter: brightness(1.07); }
}

/* ---------- Tablet (>=600) ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .layout { gap: 36px; }
  .hero { height: clamp(560px, 72svh, 720px); }
  .hero-in { padding: 28px; }
  .logo { height: 104px; }
  .tile { min-height: 128px; padding: 18px 16px; }
  .tile-t b { font-size: 16px; }
  .reel { flex-basis: 232px; }
  .reels { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .arrows { display: flex; }
}

/* ---------- Desktop (>=960): hero sticky + coluna de conteúdo ---------- */
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  body { padding-block: 24px; }
  .layout { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .hero { position: sticky; top: 24px; height: calc(100dvh - 48px); min-height: 560px; max-height: 920px; }
  .hero-in { padding: 36px; }
  .hero h1 { font-size: clamp(38px, 3.6vw, 52px); }
  .since { font-size: 16px; }
  .stack { padding-block: 24px 8px; gap: 48px; }
  .reel { flex-basis: 210px; }
  .dock { display: none; }
  body { padding-bottom: 24px; }
}

@media (min-width: 1400px) {
  .layout { max-width: 1280px; gap: 72px; }
}

/* Celular deitado: hero mais baixo e legível */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 959px) {
  .hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .hero-in { padding: 16px; }
  .logo { height: 64px; }
  .hero h1 { font-size: 24px; }
  .since { display: none; }
  .btn { min-height: 52px; }
}

/* Telas muito estreitas */
@media (max-width: 359px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; align-items: center; min-height: 72px; }
  .social { grid-template-columns: 1fr; }
}

@media (min-width: 600px) { .lb-nav { display: grid; } }

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