:root {
      color-scheme: light;
      --paper: #f4f3ed;
      --ink: #211d1b;
      --forest: #803d35;
      --leaf: #eedfdb;
      --rust: #bb4a32;
      --gold: #e5b94c;
      --muted: #746c68;
      --line: rgba(33, 29, 27, .16);
      --serif: "Playfair Display", Georgia, serif;
      --sans: "DM Sans", sans-serif;
      --fixed-header-height: 126px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: calc(var(--fixed-header-height) + 14px); }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
    main { padding-top: var(--fixed-header-height); }
    button, a { font: inherit; }
    button { color: inherit; }
    .topline { position: fixed; z-index: 20; top: 0; right: 0; left: 0; height: 7px; background: linear-gradient(90deg, var(--rust) 0 33%, var(--gold) 33% 66%, var(--forest) 66%); }
    .site-header { position: fixed; z-index: 19; top: 7px; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; padding: 23px 6.2vw; border-bottom: 1px solid var(--line); background: var(--paper); }
    .brand { display: flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
    .brand-logo { display: block; width: auto; height: 72px; object-fit: contain; }
    nav { display: flex; gap: 24px; align-items: center; }
    .nav-link, .nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; text-decoration: none; cursor: pointer; transition: color .2s ease, transform .2s ease; }
    .nav-link::after, .nav-trigger::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--rust); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
    .nav-link:hover, .nav-trigger:hover { color: var(--rust); transform: translateY(-1px); }
    .nav-link:hover::after, .nav-trigger:hover::after { transform: scaleX(1); }
    .nav-dropdown { position: relative; }
    .nav-trigger svg { width: 12px; height: 12px; transition: transform .2s ease; }
    .nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
    .dropdown-menu { position: absolute; z-index: 5; top: calc(100% + 7px); left: -16px; min-width: 172px; padding: 7px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 28px rgba(33,29,27,.14); animation: menu-in .18s ease both; }
    .dropdown-menu[hidden] { display: none; }
    .dropdown-menu a { display: block; padding: 11px 12px; color: var(--ink); font-size: 11px; text-decoration: none; transition: background .18s ease, color .18s ease, padding-left .18s ease; }
    .dropdown-menu a:hover, .dropdown-menu a:focus-visible { padding-left: 16px; background: var(--leaf); color: var(--forest); }
    @keyframes menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
    .site-search { display: flex; flex: 0 0 190px; align-items: center; height: 38px; border: 1px solid var(--line); background: rgba(255,255,255,.45); transition: border-color .2s ease, box-shadow .2s ease; }
    .site-search:focus-within { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(128,61,53,.1); }
    .site-search input { width: 100%; min-width: 0; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 10px var(--sans); }
    .site-search input::placeholder { color: var(--muted); }
    .site-search button { display: grid; flex: 0 0 36px; height: 100%; place-items: center; border: 0; background: var(--forest); color: white; cursor: pointer; transition: background .2s ease; }
    .site-search button:hover { background: var(--rust); }
    .site-search svg { width: 15px; height: 15px; }
    .empty-results { grid-column: 1 / -1; margin: 0; padding: 30px 0; color: var(--muted); font: 500 18px var(--serif); }
    .visit-link { padding: 11px 17px; border: 1px solid var(--forest); color: var(--forest); }
    .hero { position: relative; display: grid; min-height: 590px; grid-template-columns: minmax(340px, .84fr) 1.16fr; overflow: hidden; background: var(--forest); color: #f7f5ed; }
    .hero-copy { position: relative; z-index: 1; align-self: center; padding: 78px 5vw 78px 12.4vw; }
    .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--rust); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
    .hero .eyebrow { color: var(--gold); }
    .eyebrow::before { width: 24px; height: 1px; background: currentColor; content: ""; }
    h1, h2, h3, p { margin-top: 0; }
    h1 { max-width: 510px; margin-bottom: 20px; font: 500 clamp(44px, 5vw, 72px)/1.04 var(--serif); letter-spacing: 0; }
    .hero-copy > p:not(.eyebrow) { max-width: 380px; margin-bottom: 31px; color: rgba(247,245,237,.76); font-size: 14px; line-height: 1.8; }
    .hero-actions { display: flex; align-items: center; gap: 18px; }
    .primary-link { padding: 13px 18px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; text-decoration: none; }
    .slide-count { color: rgba(247,245,237,.65); font-size: 11px; }
    .slide-count b { color: var(--gold); font-size: 15px; }
    .hero-visual { position: relative; min-height: 590px; }
    .hero-image { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transition: opacity .65s ease; }
    .hero-image.active { opacity: 1; }
    .hero-caption { position: absolute; z-index: 1; right: 8%; bottom: 36px; left: 12%; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
    .hero-caption strong { display: block; margin-bottom: 6px; font: 500 21px var(--serif); text-shadow: 0 1px 5px rgba(0,0,0,.85); }
    .hero-caption span { color: rgba(255,255,255,.92); font-size: 10px; text-shadow: 0 1px 4px rgba(0,0,0,.9); }
    .hero-controls { display: flex; gap: 8px; }
    .hero-controls button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: transparent; color: white; cursor: pointer; }
    .hero-controls button:hover { background: white; color: var(--forest); }
    .hero-dots { position: absolute; z-index: 2; top: 35px; right: 6.2vw; display: flex; gap: 8px; }
    .hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
    .hero-dots button[aria-current="true"] { background: var(--gold); }
    .about-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8vw; padding: 96px 12.4vw; background: #efe9e6; }
    .about-intro .eyebrow { margin-bottom: 15px; }
    .about-intro h2 { max-width: 430px; margin: 0 0 24px; font: 500 clamp(38px, 4vw, 52px)/1.12 var(--serif); }
    .about-history { max-width: 440px; margin: 0; color: #5d5551; font-size: 13px; line-height: 1.9; }
    .about-pillars { display: grid; gap: 32px; }
    .about-pillar { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-pillar h3 { margin: 0 0 12px; font: 500 24px var(--serif); }
    .about-pillar p, .about-pillar ul { margin: 0; color: #5d5551; font-size: 13px; line-height: 1.85; }
    .about-pillar ul { display: grid; gap: 11px; padding: 0; list-style: none; }
    .about-pillar li { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 10px; }
    .about-pillar li::before { width: 5px; height: 5px; margin-top: .65em; border-radius: 50%; background: var(--rust); content: ""; }
    .text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-size: 11px; font-weight: 700; text-decoration: none; }
    .text-link span { font-size: 17px; transition: transform .2s; }
    .text-link:hover span { transform: translateX(4px); }
    .gallery-section { padding: 42px 8.4vw 112px; }
    .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
    .section-heading .eyebrow { margin-bottom: 10px; }
    .section-heading h2 { margin: 0; font: 500 34px var(--serif); }
    .filter-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
    .filter-list button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: #625953; font-size: 10px; cursor: pointer; }
    .filter-list button:hover, .filter-list button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: white; }
    .artwork-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 36px 18px; align-items: start; }
    .artwork-card { min-width: 0; cursor: pointer; }
    .artwork-card:nth-child(6n + 1), .artwork-card:nth-child(6n + 5) { grid-row: span 2; }
    .artwork-card:nth-child(6n + 1) .artwork-image { aspect-ratio: 4 / 5; }
    .artwork-card:nth-child(6n + 2) .artwork-image { aspect-ratio: 1 / 1; }
    .artwork-card:nth-child(6n + 3) .artwork-image { aspect-ratio: 5 / 4; }
    .artwork-card:nth-child(6n + 4) .artwork-image { aspect-ratio: 4 / 5; }
    .artwork-card:nth-child(6n + 5) .artwork-image { aspect-ratio: 4 / 5; }
    .artwork-card:nth-child(6n) .artwork-image { aspect-ratio: 5 / 4; }
    .artwork-image-wrap { position: relative; overflow: hidden; background: #e3ddda; }
    .artwork-image { display: block; width: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s; }
    .artwork-card:hover .artwork-image, .artwork-card:focus-visible .artwork-image { transform: scale(1.045); filter: brightness(.69); }
    .artwork-overlay { position: absolute; right: 16px; bottom: 15px; left: 16px; color: white; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
    .artwork-card:hover .artwork-overlay, .artwork-card:focus-visible .artwork-overlay { opacity: 1; transform: translateY(0); }
    .artwork-overlay strong { display: block; margin-bottom: 4px; font: 500 17px var(--serif); }
    .artwork-overlay span { font-size: 10px; }
    .artwork-meta { padding-top: 12px; }
    .artwork-meta h3 { margin-bottom: 4px; font: 500 16px var(--serif); }
    .artwork-meta p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
    .artwork-meta .category { margin-top: 7px; color: var(--forest); font-weight: 600; }
    .demonstration-note { display: flex; gap: 12px; align-items: flex-start; margin: 46px 0 0; padding: 17px 19px; border-left: 2px solid var(--rust); background: #efe9e6; color: #625953; font-size: 11px; line-height: 1.7; }
    .demonstration-note strong { flex: 0 0 auto; color: var(--ink); font-weight: 700; }
    .collection-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 310px; background: var(--leaf); }
    .collection-art { min-height: 310px; background-position: center; background-size: cover; }
    .collection-copy { align-self: center; max-width: 530px; padding: 52px 8vw; }
    .collection-copy h2 { margin-bottom: 15px; font: 500 36px/1.15 var(--serif); }
    .collection-copy p:not(.eyebrow) { margin-bottom: 22px; color: #625953; font-size: 12px; line-height: 1.8; }
    footer { background: var(--forest); color: rgba(255,255,255,.72); font-size: 11px; }
    .footer-main { display: grid; grid-template-columns: 1.05fr .9fr .85fr 1.35fr; gap: 40px; padding: 58px 6.2vw 48px; }
    .footer-column h2 { margin: 0 0 17px; color: white; font: 500 18px var(--serif); }
    footer nav.footer-column { display: block; align-self: start; }
    .footer-brand { display: block; margin-bottom: 13px; color: white; font-size: 12px; font-weight: 700; }
    .footer-column p { margin: 0 0 9px; line-height: 1.7; }
    .footer-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
    .footer-list a { color: inherit; text-decoration: none; transition: color .2s ease; }
    .footer-list a:hover { color: var(--gold); }
    .footer-social span { display: block; }
    .footer-social small { display: block; margin-top: 3px; color: rgba(255,255,255,.48); font-size: 9px; }
    .contact-form { display: grid; gap: 10px; }
    .contact-form label { display: grid; gap: 5px; color: rgba(255,255,255,.72); font-size: 10px; }
    .contact-form input, .contact-form textarea { width: 100%; padding: 10px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 0; background: rgba(255,255,255,.04); color: white; font: inherit; }
    .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.44); }
    .contact-form textarea { min-height: 88px; resize: vertical; }
    .contact-form button { justify-self: start; padding: 10px 14px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
    .contact-form button:hover { background: transparent; color: var(--gold); }
    .form-status { min-height: 1.5em; margin: 0; color: var(--gold); font-size: 10px; line-height: 1.5; }
    .footer-bottom { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 19px 6.2vw; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.56); font-size: 10px; text-align: center; }
    .footer-bottom em { color: rgba(255,255,255,.72); }
    .whatsapp-float { position: fixed; z-index: 18; right: 24px; bottom: 24px; display: grid; width: 58px; height: 58px; place-items: center; border: 0; border-radius: 50%; background: #25d366; color: white; box-shadow: 0 5px 18px rgba(0,0,0,.24); text-decoration: none; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
    .whatsapp-float:hover, .whatsapp-float:focus-visible { background: #1db954; box-shadow: 0 8px 24px rgba(0,0,0,.3); transform: translateY(-3px); }
    .whatsapp-float:focus-visible { outline: 3px solid white; outline-offset: 3px; }
    .whatsapp-float svg { width: 30px; height: 30px; }
    .whatsapp-float::before { position: absolute; right: calc(100% + 10px); padding: 9px 11px; background: var(--ink); color: white; content: "Fale connosco no WhatsApp"; font-size: 10px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(4px); transition: opacity .2s ease, transform .2s ease; }
    .whatsapp-float:hover::before, .whatsapp-float:focus-visible::before { opacity: 1; transform: translateX(0); }
    dialog { width: min(960px, calc(100% - 32px)); max-width: none; max-height: min(88vh, 850px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 22px 90px rgba(0,0,0,.3); }
    dialog::backdrop { background: rgba(20,16,15,.76); backdrop-filter: blur(3px); }
    .modal-layout { display: grid; min-height: 500px; grid-template-columns: 1.05fr .95fr; }
    .modal-image { min-height: 500px; background-position: center; background-size: cover; }
    .modal-content { position: relative; align-self: center; padding: 50px 42px; }
    .modal-close { position: absolute; top: 17px; right: 18px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 19px; cursor: pointer; }
    .modal-content h2 { margin-bottom: 8px; font: 500 33px/1.15 var(--serif); }
    .modal-artist { margin-bottom: 25px; color: var(--muted); font-size: 12px; }
    .modal-description { color: #505950; font-size: 12px; line-height: 1.8; }
    .modal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 25px 0; padding-top: 20px; border-top: 1px solid var(--line); }
    .modal-details dt { margin-bottom: 5px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
    .modal-details dd { margin: 0; font-size: 11px; line-height: 1.5; }
    .credit { padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.6; }
    [hidden] { display: none !important; }
    @media (max-width: 1100px) {
      :root { --fixed-header-height: 240px; }
      .site-header { flex-wrap: wrap; gap: 13px 20px; padding: 16px 5vw; }
      nav { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 12px; }
      .nav-link, .nav-trigger { justify-content: center; width: 100%; padding: 8px 2px; font-size: 10px; }
      .nav-trigger { gap: 3px; }
      .site-search { flex: 1 0 100%; width: 100%; }
    }
    @media (max-width: 900px) {
      .hero { grid-template-columns: .9fr 1.1fr; min-height: 510px; }
      .hero-copy { padding-left: 8vw; }
      .hero-visual { min-height: 510px; }
      .about-section { padding-right: 8vw; padding-left: 8vw; }
      .gallery-section { padding-right: 6vw; padding-left: 6vw; }
      .artwork-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .section-heading { align-items: flex-start; flex-direction: column; }
      .filter-list { justify-content: flex-start; }
    }
    @media (max-width: 620px) {
      :root { --fixed-header-height: 274px; }
      nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .dropdown-menu { top: calc(100% + 2px); left: 50%; transform: translateX(-50%); }
      .hero { display: flex; min-height: 700px; flex-direction: column; }
      .hero-copy { padding: 62px 8vw 35px; }
      h1 { max-width: 420px; font-size: 51px; }
      .hero-visual { min-height: 300px; flex: 1; }
      .hero-caption { bottom: 22px; left: 8%; }
      .hero-dots { top: 22px; right: 8vw; }
      .about-section { grid-template-columns: 1fr; gap: 34px; padding: 70px 8vw; }
      .about-intro h2 { font-size: 39px; }
      .gallery-section { padding: 34px 5vw 70px; }
      .section-heading h2 { font-size: 30px; }
      .artwork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 12px; }
      .artwork-card:nth-child(6n + 1), .artwork-card:nth-child(6n + 5) { grid-row: auto; }
      .artwork-card:nth-child(4n + 1) .artwork-image { aspect-ratio: 4 / 5; }
      .artwork-card:nth-child(4n + 2) .artwork-image { aspect-ratio: 1 / 1; }
      .artwork-card:nth-child(4n + 3) .artwork-image { aspect-ratio: 5 / 4; }
      .artwork-card:nth-child(4n) .artwork-image { aspect-ratio: 4 / 5; }
      .artwork-overlay { right: 10px; bottom: 10px; left: 10px; opacity: 1; transform: none; }
      .artwork-overlay strong { font-size: 14px; }
      .artwork-meta h3 { font-size: 14px; }
      .demonstration-note { flex-direction: column; gap: 5px; }
      .collection-band { grid-template-columns: 1fr; }
      .collection-art { min-height: 250px; }
      .collection-copy { padding: 42px 8vw; }
      .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 42px 6vw; }
      .footer-bottom { flex-direction: column; padding: 18px 6vw; }
      .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
      .modal-layout { grid-template-columns: 1fr; }
      .modal-image { min-height: 280px; max-height: 42vh; }
      .modal-content { padding: 34px 25px; }
      .modal-content h2 { padding-right: 25px; font-size: 28px; }
      dialog { max-height: 90vh; overflow-y: auto; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }
