/* Page-specific refinements, loaded after the legacy template. */
:root {
  --ink: #202326;
  --muted: #5e6469;
  --line: #dde1e2;
  --accent: #a76a25;
  --gutter: 48px;
  --hero-height: 100svh;
}
html, body { width: 100%; height: auto; min-height: 100%; overflow-x: clip; }
body { color: var(--ink); background: #fff; }
body * { letter-spacing: 0; }
body a:hover { color: var(--accent); }
body :is(a, button, input, textarea):focus-visible {
  outline: 3px solid #b77c36;
  outline-offset: 5px;
}
body :is(button, a) { -webkit-tap-highlight-color: transparent; }
body :is(img, iframe) { max-width: 100%; }
body :is(#about, #Multimedia, #contactos) { scroll-margin-top: 28px; }
body .container { width: 100%; max-width: 1200px; margin-inline: auto; }
body #navbar { position: absolute; z-index: 10; height: 80px; }
#navbar ul { gap: 48px; margin: 0; }
#navbar li { margin: 0; }
#navbar a { display: inline-flex; align-items: center; min-height: 48px; font-size: 15px; }
#navbar a.text-amber-700 { color: #e2b078; }
body .hero-background { width: 100%; height: var(--hero-height); min-height: 580px; overflow: clip; background-color: #0f172a; }
body .hero-container { padding-inline: var(--gutter); }
body .hero-content {
  height: var(--hero-height); min-height: 580px;
  padding-block: 150px 64px; justify-content: space-between;
}
.hero-content h1 { font-size: 88px; line-height: 1.04; margin: 0; }
.hero-socials a { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; opacity: .85; }
.hero-socials i { font-size: 26px; }
body .fa-instagram { -webkit-text-stroke: 0; }
body main.m-auto { margin-top: 0; }
body #about { padding: 88px max(var(--gutter), calc((100% - 1104px) / 2)); }
#about .custom-heading { text-align: left; font-size: 44px; line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
#about .custom-heading::before, #about .custom-heading::after { content: none; }
#about .biography-copy > h3 { font-size: 15px; text-transform: uppercase; text-align: left; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--accent); }
#about .biography-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.biography-layout > div { width: 100%; min-width: 0; }
#about p { font-family: Roboto, sans-serif; text-align: left; font-size: 17px; line-height: 1.8; color: #484e53; }
#about p br { display: block; content: ""; margin-bottom: 16px; }
#about .biography-layout img { display: block; width: 100%; max-width: 100%; height: auto; }
#about .biography-portrait { align-self: start; position: sticky; top: 32px; }
body #readMoreBtn { align-self: flex-start; width: auto; min-width: 144px; margin-top: 18px; }
body .section-header { padding: 0; margin: 0 0 36px; }
body .section-header .section-title { font-size: 36px; line-height: 1.2; margin: 0; text-wrap: balance; }
.section-header h4 { font-size: 16px; line-height: 1.6; margin: 12px 0 0; color: var(--muted); }
body #video { max-width: none; padding: 80px var(--gutter); background: #f3f5f5; border-block: 1px solid var(--line); }
#video > .container { max-width: 960px; padding: 0; }
body #video .section-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 960px; margin: 0 auto 32px; text-align: left; }
#video .video-heading { min-width: 0; }
body #video .section-header .section-title { text-wrap: initial; }
body #video .btn-large { flex-shrink: 0; margin: 0; }
#video .row { display: block; margin: 0; }
#video .aspect-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 32px #20232612; }
#video iframe { display: block; border-radius: 8px !important; background: #16191c; }
body .btn-large { margin: 28px 0 0; padding: 0; }
body .btn-large a.btn-common, body #readMoreBtn, body #contact button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; max-width: 100%; min-height: 48px; padding: 12px 24px;
  border: 1px solid #282d31; border-radius: 4px !important;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  color: #fff; background: #282d31; margin-bottom: 0;
  transition: background-color .2s, color .2s, border-color .2s;
}
body .btn-large a.btn-common { margin-top: 0; }
body .btn-large a.btn-common:hover, body #readMoreBtn:hover, body #contact button:hover { background: #424a50; border-color: #424a50; color: #fff; }
body .btn-common i { font-size: 19px; }
body .vm-store { padding: 80px var(--gutter); background: #fff; background-image: none; border-bottom: 1px solid var(--line); }
.vm-store .campos { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 40px; width: 100%; max-width: 1104px; margin: 0 auto; align-items: center; }
.vm-store .section-header { grid-column: 1 / -1; }
.vm-store .section-header .section-title { color: var(--ink); }
.vm-store .campos > .btn-large { grid-column: 1 / -1; margin-top: 32px; }
.vm-store #esquerda { padding: 0; width: 100%; }
.vm-store iframe { display: block; width: 100%; border: 0; border-radius: 8px; }
.vm-store #esquerda iframe { width: 100% !important; left: auto; transform: none; }
.vm-store #direita { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 0; padding: 0; color: var(--ink); }
.vm-store #direita iframe { height: 152px; }
.vm-store #direita > *, .vm-store .left-item { min-width: 0; margin: 0; }
.vm-store #direita .right-item { display: none; }
.vm-store .item-content > br { display: none; }
.vm-store .item-content h2 { font-size: 18px; font-weight: 500; line-height: 1.4; text-align: left; padding: 0 0 16px !important; }
body .vm-store .btn-large a.btn-common { background: #282d31; border-color: #282d31; color: #fff; }
body .vm-store .btn-large a.btn-common:hover { background: #424a50; border-color: #424a50; color: #fff; }
body .instagram { padding: 80px var(--gutter); }
.instagram::before { content: none; }
body .instagram .instagram-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; max-width: 1104px; }
.instagram .instagram-content figure { min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
body .instagram .instagram-content img { display: block; width: 100%; height: 100%; object-fit: cover; }
body .contact-band { max-width: none; background: #f3f5f5; border-top: 1px solid var(--line); }
body #contact { padding: 80px var(--gutter); }
#contact > .container { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 80px; max-width: 1104px; padding: 0; }
#contact > .container > h2 { grid-column: 1; font-size: 36px; line-height: 1.2; margin: 0 0 32px; }
#contact-form { grid-column: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-width: 0; }
#contact-form > div { margin: 0; min-width: 0; }
#contact-form > div:nth-of-type(n+3) { grid-column: 1 / -1; }
#contact-form label { color: #42484d; font-size: 14px; font-weight: 500; }
#contact-form :is(input:not([type="hidden"]), textarea) { padding: 12px 14px; border: 1px solid #bdc5c8; border-radius: 4px; font-size: 16px; line-height: 1.5; }
#contact-form textarea { resize: vertical; min-height: 160px; }
#contact-form button { justify-self: start; margin-top: 4px; }
#contact-form button:disabled { opacity: .55; cursor: wait; }
#contact > .container > .mt-10 { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; padding: 32px 0 32px 40px; border-left: 1px solid #cdd3d5; }
#contact > .container > .mt-10 h2 { font-size: 24px; line-height: 1.35; margin-bottom: 24px; }
body #contact .mt-10 button { background: transparent; color: var(--ink); }
body #contact .mt-10 button:hover { background: #e0e5e6; }
@media (min-width: 1280px) {
  body .partners .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  body .partners .container { max-width: 1536px; }
}
footer a { overflow-wrap: anywhere; }
@media (min-width: 768px) {
  body .hero-container { max-width: none; }
  body .hero-content { justify-content: flex-end; align-items: flex-start; gap: 28px; }
}
@media (min-width: 1440px) {
  .hero-content h1 { font-size: 104px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; }
  #about .biography-layout { gap: 32px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  #about p { font-size: 16px; line-height: 1.75; }
  #contact > .container { column-gap: 32px; }
  #contact > .container > .mt-10 { padding-left: 28px; }
  #contact-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  :root { --gutter: 24px; --hero-height: clamp(440px, 82svh, 640px); }
  body .mobile-navigation { position: absolute; top: 0; right: 0; left: 0; z-index: 30; padding: 0; overflow: visible; }
  body .hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; top: max(14px, env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; z-index: 32; }
  .hamburger .bar { width: 24px; height: 2px; margin: 3px 0; background: #fff; box-shadow: 0 1px 3px #0006; }
  body .nav-menu { position: absolute; top: 0; left: 0; width: 100%; padding: 76px 24px 24px; margin: 0; border-radius: 0; background: rgba(23, 29, 37, .92); color: #fff; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 16px 32px #0003; }
  body .nav-menu.active { visibility: visible; opacity: 1; transform: none; }
  .nav-menu li { padding: 0; margin: 0; width: 100%; }
  .nav-menu li + li { border-top: 1px solid rgba(255, 255, 255, .16); }
  .nav-menu a { display: block; padding: 14px; text-align: center; }
  body .hero-background, body .hero-content { min-height: 0; }
  body .hero-content { justify-content: flex-end; align-items: flex-start; padding: 80px 0 32px; gap: 24px; }
  .hero-background::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, #0f172a26 0%, transparent 35%, #0f172a80 65%, #0f172aeb 100%); pointer-events: none; }
  .hero-background #wallpaper { background-position: 64% top; }
  .hero-content h1 { max-width: 8ch; font-size: 44px; line-height: 1.05; text-align: left; text-wrap: initial; }
  body .hero-socials { gap: 12px; margin-inline: 0; }
  .hero-socials a { opacity: 1; }
  .hero-socials > a { margin-left: 0 !important; }
  body .btn-large { width: 100%; text-align: center; }
  body #video .btn-large { align-self: stretch; }
  body .btn-large a.btn-common, body #readMoreBtn, body #contact button {
    width: 100%; min-height: 48px; justify-content: center; text-align: center;
  }
  body #readMoreBtn { align-self: stretch; }
  #contact-form button { justify-self: stretch; }
  body #video .section-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  body #about, body #video, body .vm-store, body .instagram, body #contact { padding-block: 56px; }
  #about .custom-heading { display: none; }
  #about .biography-copy > h3 { font-size: 28px; line-height: 1.2; text-transform: none; color: var(--ink); margin: 0 0 24px; padding: 0; border: 0; }
  #about .biography-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #about .biography-layout img { max-width: 480px; }
  #about .biography-portrait { position: static; }
  body .section-header .section-title, #contact > .container > h2 { font-size: 28px; }
  body .section-header { margin-bottom: 28px; }
  .vm-store .campos { grid-template-columns: minmax(0, 1fr); }
  .vm-store #direita { margin-top: 28px; gap: 24px; }
  body .instagram .instagram-content { gap: 12px; }
  #contact > .container { grid-template-columns: minmax(0, 1fr); }
  #contact > .container > .mt-10 { grid-column: 1; grid-row: auto; margin-top: 40px; padding: 32px 0 0; border-left: 0; border-top: 1px solid #cdd3d5; }
}
@media (max-width: 599px) {
  body #video .section-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  .vm-store #direita { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body .instagram .instagram-content { grid-template-columns: minmax(0, 1fr); max-width: 400px; gap: 20px; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .hero-content h1 { font-size: 38px; }
  body .section-header .section-title { font-size: 26px; }
  #contact { padding-inline: 8px !important; }
  footer .space-x-12 { column-gap: 24px; }
  footer .space-x-12 > * { margin-left: 0 !important; }
}
@media (min-width: 768px) and (max-height: 650px) {
  body .hero-background, body .hero-content { min-height: 520px; }
  body .hero-content { padding-block: 120px 32px; }
  .hero-content h1 { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body *, body *::before, body *::after { animation: none !important; transition: none !important; }
}

/* Compact content treatment. Keep all cover and navigation rules above intact. */
body #about, body #video, body .vm-store, body .instagram, body #contact {
  padding-block: 48px;
}
#about .biography-layout { gap: 40px; }
#about .custom-heading { font-size: 38px; margin-bottom: 12px; }
#about .biography-copy > h3 { margin-bottom: 20px; padding-bottom: 14px; }
#about p { font-size: 16px; line-height: 1.65; margin-bottom: 0; }
#about p br { margin-bottom: 12px; }
#about .biography-portrait {
  padding: 6px;
  border: 1px solid #a76a2533;
  border-radius: 14px;
  background: linear-gradient(135deg, #a76a2514, #eef3f4);
}
body #readMoreBtn { margin-top: 16px; }
body #Multimedia .section-header { margin-bottom: 22px; }
body #Multimedia .section-title, #contact > .container > h2 { font-size: 30px; }
#Multimedia .section-header h4 { margin-top: 8px; font-size: 15px; }
#Multimedia .section-title::after, #contact > .container > h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #a76a25, #a76a251a);
}
#video .section-title::after, #contact > .container > h2::after { margin-left: 0; }
body #video {
  background: radial-gradient(ellipse at 100% 0, #a76a250b, transparent 60%), #f1f4f5;
}
#video .aspect-video { border: 1px solid #263a4926; border-radius: 12px; box-shadow: 0 8px 24px #2023260d; }
.vm-store .campos { gap: 0 24px; }
.vm-store #direita { gap: 16px; }
.vm-store .item-content h2 { font-size: 15px; padding-bottom: 8px !important; }
.vm-store .campos > .btn-large { margin-top: 20px; }
body #Multimedia .btn-large { margin-top: 20px; }
body #video .btn-large { margin-top: 0; }
body .instagram .instagram-content { gap: 16px; }
.instagram .instagram-content figure { aspect-ratio: 1; border-radius: 12px; border: 1px solid #263a491a; }
body .contact-band { background: linear-gradient(120deg, #f0f4f5, #f7f6f3); }
#contact > .container { column-gap: 40px; }
#contact > .container > h2 { margin-bottom: 20px; }
#contact-form { gap: 14px; }
#contact-form label { margin-bottom: 6px; }
#contact-form :is(input:not([type="hidden"]), textarea) {
  border-radius: 8px;
  background: #ffffffd9;
  transition: border-color .2s, box-shadow .2s;
}
#contact-form :is(input:not([type="hidden"]), textarea):focus-visible {
  border-color: #a76a25;
  box-shadow: 0 0 0 4px #a76a2514;
}
#contact-form textarea { min-height: 120px; }
#contact > .container > .mt-10 { padding: 24px; border: 1px solid #263a4926; border-radius: 12px; background: #ffffff80; }
#contact > .container > .mt-10 h2 { font-size: 21px; margin-bottom: 16px; }
body main .btn-large a.btn-common, body #readMoreBtn, body #contact button {
  border-radius: 8px !important;
  background-image: linear-gradient(120deg, #ffffff0c, transparent);
  box-shadow: inset 0 1px 0 #ffffff18;
}
body footer { padding-block: 32px; border-top: 1px solid #ffffff24; }
footer .footer-list { display: grid; align-content: start; gap: 0; margin-block: 0; padding: 0; }
footer .footer-list > li { margin: 0; padding: 0; line-height: 1.4; }
footer .footer-list a { display: inline-flex; align-items: center; min-height: 36px; line-height: 1.4; }
footer .footer-credits > span { margin-top: 12px; }
footer .footer-credits > span:empty { display: none; }
@media (min-width: 768px) {
  footer .footer-content { width: 100%; max-width: 1104px; }
  footer .footer-columns { gap: 48px; }
  footer .footer-links { width: auto; flex: 1; justify-content: flex-start; gap: clamp(48px, 8vw, 120px); }
  footer .footer-links > ul { margin-left: 0; }
  footer .footer-credits { width: auto; flex: 0 0 auto; margin: 0; }
}
@media (min-width: 1024px) {
  body #video {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 824px);
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  body #video .section-header { flex-direction: column; align-items: flex-start; gap: 20px; margin: 0; }
}
@media (max-width: 767px) {
  body #about, body #video, body .vm-store, body .instagram, body #contact { padding-block: 32px; }
  #about .biography-layout { gap: 24px; }
  #about .biography-copy > h3 { font-size: 26px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
  #about .biography-portrait { width: min(100%, 360px); justify-self: center; }
  body #Multimedia .section-title, #contact > .container > h2 { font-size: 26px; }
  body #video .section-header { gap: 16px; margin-bottom: 18px; }
  .vm-store #direita { margin-top: 20px; gap: 16px; }
  body .instagram .instagram-content { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1104px; gap: 8px; }
  .instagram .instagram-content figure { aspect-ratio: 4 / 5; border-radius: 8px; }
  #contact > .container > .mt-10 { margin-top: 24px; padding: 20px; }
  footer .footer-list a { min-height: 44px; }
  body footer { padding-block: 24px; }
}
