@font-face {
  font-family: Outfit;
  src: url('/outfit.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/plus-jakarta.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #080808;
  --white: #f4f3ee;
  --yellow: #ffe000;
  --muted: #a9a9a1;
  --line: #ffffff26;
  --display: Outfit, system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--ink);
  color: var(--white);
  font: 15px/1.65 var(--body);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.shell { width: min(1440px, 100%); padding-inline: 5vw; margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: -100px; left: 5vw; padding: 10px; background: var(--yellow); color: var(--ink); }
.skip-link:focus { top: 8px; }

.masthead { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brands { display: flex; min-width: 0; align-items: center; gap: clamp(10px, 2vw, 25px); }
.brands a { display: block; flex: none; }
.brands img { width: 100%; height: auto; }
.ninho { width: 133px; }
.minmidia { width: 126px; }
.header-link { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--yellow); padding: 8px 0; font-size: 12px; font-weight: 700; }
.header-link span, footer a span { color: var(--yellow); }

.welcome, .wide, .narrow { padding-block: clamp(34px, 7vw, 102px); }
.welcome { min-height: 68svh; display: grid; grid-template-columns: 1.2fr minmax(300px, .9fr); gap: clamp(30px, 8vw, 130px); align-items: center; }
.narrow { max-width: 690px; }
.narrow h1 { margin-bottom: 25px; font-size: clamp(42px, 7vw, 76px); }
.tag { display: inline-flex; gap: 11px; align-items: center; color: var(--yellow); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex: none; }
h1, h2 { font-family: var(--display); margin: 0; }
h1 { font-size: clamp(49px, 8vw, 110px); font-weight: 700; line-height: .96; letter-spacing: -.055em; margin-top: .18em; }
h1 em { color: var(--yellow); font-style: normal; }
h2 { font-size: 23px; line-height: 1.15; }
p { margin: 15px 0 0; color: var(--muted); }
.intro p { margin-top: 22px; font-size: clamp(15px, 1.5vw, 19px); }

.panel { display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); border-top-color: var(--yellow); padding: clamp(18px, 3vw, 34px); background: #111; }
label { font-size: .91rem; font-weight: 700; }
input { width: 100%; min-width: 0; border: 1px solid #53534d; border-radius: 0; padding: 13px 12px; background: var(--ink); color: var(--white); font: inherit; font-size: 16px; margin-bottom: 4px; }
input::placeholder { color: #95958d; }
input[type=file] { padding: 10px; }
button, .secondary { min-height: 51px; padding: 12px 16px; font: 700 .82rem/1.4 var(--body); letter-spacing: .055em; cursor: pointer; }
button { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--yellow); background: var(--yellow); color: var(--ink); text-align: left; }
button:hover { background: var(--white); border-color: var(--white); }
button:disabled { opacity: .65; cursor: wait; }
.secondary { display: flex; align-items: center; border: 1px solid var(--line); }
.secondary:hover { border-color: var(--yellow); color: var(--yellow); }
small { color: var(--muted); font-size: .74rem; }
.error { color: #ffb7ac; margin: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); margin-top: 30px; }
.photo-card { overflow: hidden; border: 1px solid var(--line); background: #111; }
.photo-card:hover { border-color: #ffe00088; }
.photo-preview, .photo-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #171717; }
.photo-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 14px; color: var(--muted); font-size: .79rem; }
.photo-meta a { display: flex; align-items: center; gap: 9px; min-height: 46px; color: var(--yellow); font-weight: 700; }
.photo-meta a:hover { text-decoration: underline; }

.admin-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 25px; }
#upload-status { color: var(--muted); overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding-block: 21px; color: var(--muted); font-size: .78rem; }
footer strong { color: var(--white); }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
footer a:hover, .header-link:hover { color: var(--yellow); }

@media (max-width: 850px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .welcome, .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .welcome { min-height: auto; gap: 28px; }
  .intro h1 br { display: none; }
  .intro h1 em::before { content: ' '; }
  .intro p { margin-top: 11px; }
  .header-inner { min-height: 69px; }
  .ninho { width: 105px; }
  .minmidia { width: 108px; }
  .header-link { display: none; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); }
}
