/* Fontes hospedadas localmente (Cormorant Garamond + Jost, SIL OFL) */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-500i-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-500i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0d1626;
  --navy-2: #16233d;
  --navy-3: #22324f;
  --cream: #f4ede1;
  --paper: #faf7f1;
  --ink: #1a2233;
  --muted: #5b6475;
  --gold: #d8b678;
  --gold-deep: #8f6a30;
  --line: rgba(13, 22, 38, .12);
  --line-dark: rgba(216, 182, 120, .22);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 3px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; }
.skip-link:focus { left: 12px; }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-center { justify-content: center; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .project-hero .eyebrow { color: var(--gold); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px; font: 500 15px/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e7cc9a; color: var(--navy); }
.btn-ghost { border-color: rgba(244, 237, 225, .45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--navy-3); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--gold); color: var(--navy); font-weight: 500; letter-spacing: .04em; }
.link-arrow:hover { gap: 14px; color: var(--navy); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(216, 182, 120, .14); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand img { width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 2px; }
.brand-name { display: block; font-family: var(--serif); font-size: 22px; line-height: 1; white-space: nowrap; }
.brand-role { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 370px) { .brand-role { display: none; } .brand-name { font-size: 20px; } .brand img { width: 38px; height: 38px; } }
.nav-desktop { display: none; align-items: center; gap: 34px; }
.nav-desktop a:not(.btn) { color: rgba(244, 237, 225, .82); font-size: 14px; letter-spacing: .08em; }
.nav-desktop a:not(.btn):hover, .nav-desktop a[aria-current] { color: var(--gold); }

/* Menu mobile: tela cheia, sem JS obrigatório (<details>) */
.menu-mobile summary { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(244, 237, 225, .22); border-radius: 50%; color: var(--cream); cursor: pointer; list-style: none; transition: border-color .2s, background .2s; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile[open] summary { border-color: var(--gold); background: rgba(216, 182, 120, .12); color: var(--gold); }
.menu-mobile summary .icon { width: 22px; height: 22px; }
.menu-mobile .icon-close, .menu-mobile[open] .icon-open { display: none; }
.menu-mobile[open] .icon-close { display: block; }
.menu-mobile nav { position: fixed; top: var(--header); left: 0; right: 0; bottom: 0; z-index: 49; display: flex; flex-direction: column; padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--navy); overflow-y: auto; overscroll-behavior: contain; counter-reset: menu; animation: menu-in .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.menu-mobile nav a:not(.btn) { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(244, 237, 225, .09); font-family: var(--serif); font-size: clamp(30px, 8.5vw, 40px); line-height: 1.1; color: var(--cream); }
.menu-mobile nav a:not(.btn)::before { counter-increment: menu; content: counter(menu, decimal-leading-zero); min-width: 26px; font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.menu-mobile nav a[aria-current]:not(.btn) { color: var(--gold); }
.menu-cta { display: grid; gap: 18px; margin-top: auto; padding-top: 36px; }
.menu-cta .btn { width: 100%; }
.menu-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; font-size: 14px; color: rgba(244, 237, 225, .65); }
.menu-info a { color: rgba(244, 237, 225, .85); }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .wa-float { display: none; }
@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .menu-mobile { display: none; }
  @supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(13, 22, 38, .88); backdrop-filter: saturate(140%) blur(10px); } }
}

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(calc(100svh - var(--header)), 900px); background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; background: var(--navy-2); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 22, 38, .78) 0%, rgba(13, 22, 38, .35) 60%, rgba(13, 22, 38, .15) 100%), linear-gradient(0deg, rgba(13, 22, 38, .92) 0%, rgba(13, 22, 38, 0) 55%); }
.hero-content { padding-block: clamp(110px, 16vw, 180px) clamp(44px, 7vw, 80px); }
.hero h1 { max-width: 13ch; margin-bottom: 26px; font-size: clamp(46px, 7.6vw, 104px); color: var(--cream); }
.hero-lead { max-width: 50ch; margin-bottom: 38px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(244, 237, 225, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { display: flex; align-items: center; gap: 10px; margin: clamp(48px, 8vw, 96px) 0 0; padding-top: 22px; border-top: 1px solid rgba(244, 237, 225, .2); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 237, 225, .78); }
.hero-foot .icon { width: 18px; height: 18px; color: var(--gold); }

/* Seções */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 96px) var(--section); }
.section-cream { background: var(--cream); }
.dark { background: var(--navy); color: var(--cream); }
.dark h2, .dark h3 { color: var(--cream); }
.dark .muted { color: rgba(244, 237, 225, .74); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-title { max-width: 17ch; margin: 0; font-size: clamp(38px, 5.2vw, 68px); }
.prose { max-width: 66ch; }
.prose .lead { font-family: var(--serif); font-size: clamp(25px, 2.6vw, 33px); line-height: 1.3; color: var(--navy); }

/* Sobre */
.about { display: grid; gap: clamp(48px, 7vw, 110px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; } }
.about-photo { position: relative; isolation: isolate; margin: 0 18px 18px 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid var(--gold); border-radius: var(--radius); }
.about-text .section-title { margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; margin: 36px 0 40px; padding: 26px 0; border-block: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.25; color: var(--navy); }

/* Serviços */
.services { display: grid; border-top: 1px solid var(--line-dark); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { padding: 38px 0 44px; border-bottom: 1px solid var(--line-dark); }
.service-num { display: block; margin-bottom: 26px; font-family: var(--serif); font-size: 19px; color: var(--gold); }
.service h3 { margin-bottom: 14px; font-size: clamp(29px, 2.6vw, 36px); }
.service p { margin: 0; max-width: 38ch; font-size: 16px; color: rgba(244, 237, 225, .74); }

/* Projetos */
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px); }
.card { display: block; color: var(--ink); }
.card:hover { color: var(--ink); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.045); }
.card-empty { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; font-family: var(--serif); font-size: 26px; color: var(--muted); }
.card-body { padding-top: 20px; }
.card-cat { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.card h3 { margin: 8px 0 6px; font-size: 30px; transition: color .2s; }
.card:hover h3 { color: var(--gold-deep); }
.card-meta { font-size: 14px; color: var(--muted); }

/* Depoimentos */
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
@media (min-width: 980px) { .testimonials { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.quote { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 38px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-snap-align: start; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.42; color: var(--navy); }
.quote blockquote::before { content: "“"; display: block; height: 34px; font-size: 70px; line-height: 1; color: var(--gold); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-name { display: block; font-weight: 500; }
.quote-info { display: block; font-size: 14px; color: var(--muted); }
.stars { margin: 0; letter-spacing: 3px; color: var(--gold-deep); }

/* Contato */
.contact { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 980px) { .contact { grid-template-columns: 5fr 6fr; align-items: start; } }
.contact .section-title { margin-bottom: 24px; }
.contact-lead { max-width: 42ch; font-size: 18px; }
.contact-list { display: grid; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(244, 237, 225, .1); }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(244, 237, 225, .1); font-size: 17px; color: var(--cream); }
.contact-list a:hover { color: var(--gold); }
.contact-list .icon { color: var(--gold); }
.form-card { padding: clamp(28px, 4vw, 52px); background: var(--paper); color: var(--ink); border-radius: var(--radius); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 15px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(13, 22, 38, .2); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(216, 182, 120, .35); }
.has-error input, .has-error textarea { border-color: #a3322a; }
.field-error { margin: 6px 0 0; font-size: 14px; color: #a3322a; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0 !important; color: var(--muted) !important; cursor: pointer; }
.check input { width: 20px !important; height: 20px; min-height: 0 !important; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius); font-size: 15px; }
.alert-success { background: #e7f1e8; color: #1f4d2b; border: 1px solid #bcd9c1; }
.alert-error { background: #f8e9e7; color: #7d241d; border: 1px solid #e7c1bc; }

/* Rodapé */
.site-footer { padding: 72px 0 32px; background: var(--navy); color: rgba(244, 237, 225, .7); font-size: 15px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-note { margin: 22px 0 0; }
.footer-title { margin-bottom: 16px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a:not(.brand) { color: rgba(244, 237, 225, .85); }
.site-footer a:not(.brand):hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(244, 237, 225, .1); font-size: 13px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 30px; height: 30px; }

/* Páginas internas */
.page-hero { padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 6vw, 72px); background: var(--navy); color: var(--cream); }
.page-hero-full { display: flex; align-items: center; min-height: 70svh; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(48px, 7vw, 92px); color: var(--cream); }
.page-lead { max-width: 52ch; margin-bottom: 0; font-size: 18px; color: rgba(244, 237, 225, .8); }
.page-hero .hero-actions { margin-top: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(244, 237, 225, .25); border-radius: 999px; font-size: 14px; letter-spacing: .04em; color: var(--cream); }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 72px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.pagination a:hover { border-color: var(--gold-deep); }
.pagination [aria-current] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.empty { padding: 72px 0; text-align: center; font-family: var(--serif); font-size: 30px; color: var(--muted); }

/* Detalhe do projeto */
.project-hero { position: relative; display: flex; align-items: flex-end; min-height: min(calc(100svh - var(--header)), 820px); background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate; }
.project-hero.no-image { min-height: 0; }
.project-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 22, 38, .92) 0%, rgba(13, 22, 38, .2) 60%, rgba(13, 22, 38, .35) 100%); }
.project-hero-content { padding-block: clamp(100px, 14vw, 160px) clamp(44px, 6vw, 72px); }
.project-hero h1 { max-width: 15ch; margin: 0; font-size: clamp(46px, 7.4vw, 100px); color: var(--cream); }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px; font-size: 14px; letter-spacing: .06em; color: rgba(244, 237, 225, .82); }
.back-link:hover { color: var(--gold); }
.back-link .icon { width: 18px; height: 18px; }
.draft-tag { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 500; }
.project-layout { display: grid; gap: 56px; }
@media (min-width: 980px) { .project-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 110px; } }
.meta-list { align-self: start; margin: 0; border-top: 1px solid var(--line); }
@media (min-width: 980px) { .meta-list { position: sticky; top: calc(var(--header) + 32px); } }
.meta-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.meta-list dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.meta-list dd { margin: 0; text-align: right; font-family: var(--serif); font-size: 22px; color: var(--navy); }
.docs-title { margin-top: 56px; font-size: 32px; }
.docs { display: grid; gap: 12px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.doc:hover { border-color: var(--gold-deep); color: var(--ink); }
.doc .icon { width: 28px; height: 28px; color: var(--gold-deep); }
.doc-name { display: block; font-weight: 500; }
.doc-size { display: block; font-size: 13px; color: var(--muted); }
.gallery { columns: 1; column-gap: 20px; margin-top: clamp(64px, 9vw, 120px); }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }
.gallery a { position: relative; display: block; margin-bottom: 20px; overflow: hidden; border-radius: var(--radius); break-inside: avoid; cursor: zoom-in; background: var(--cream); }
.gallery img { width: 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery a:hover img { transform: scale(1.03); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; background: linear-gradient(0deg, rgba(13, 22, 38, .8), transparent); color: var(--cream); font-size: 14px; }
.cta-band { padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.cta-band h2 { margin-bottom: 36px; font-size: clamp(38px, 5vw, 64px); }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(8, 12, 22, .95); }
.lightbox-inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 128px); width: auto; height: auto; object-fit: contain; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; text-align: center; color: rgba(244, 237, 225, .85); font-size: 15px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(244, 237, 225, .3); border-radius: 50%; background: rgba(13, 22, 38, .6); color: var(--cream); cursor: pointer; }
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
