/* ============================================================
   SAPORE — main.css
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ground:   #FFFFFF;
    --ground2:  #F3F3F3;
    --ground3:  #E8E8E8;
    --ink:      #222222;
    --ink2:     #666666;
    --ink3:     #999999;
    --umber:    #B8963C;
    --forest:   #C9A84C;
    --gold:     #C9A84C;
    --divider:  #E0E0E0;
    --dark:     #2A2A2A;
    --dark2:    #1E1E1E;
    --display:  'Outfit', system-ui, sans-serif;
    --body:     'DM Sans', system-ui, sans-serif;
    --nav-h:    120px;
    --max-w:    1280px;
    --pad:      clamp(24px, 10vw, 200px);
}

html { scroll-behavior: smooth; }

body {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color-scheme: light;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Force light mode always */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--ground);
        color: var(--ink);
        color-scheme: light;
    }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 var(--pad);
    z-index: 100;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-lang {
}

.nav.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-white { display: block; transition: opacity 0.3s; }
.nav-logo-dark  { display: none; }

.nav.scrolled .nav-logo-white { display: none; }
.nav.scrolled .nav-logo-dark  { display: block; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-family: var(--body);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links .current-menu-item > a {
    color: var(--gold);
}

.nav.scrolled .nav-links a { color: var(--ink2); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links .current-menu-item > a { color: var(--ink); }

/* Dropdown */
.nav-has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border: 0.5px solid var(--divider);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 200;
}

.nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 11px 20px;
    font-size: 14px !important;
    color: var(--ink2) !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    font-weight: 400 !important;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.nav-dropdown li a:hover {
    color: var(--ink) !important;
    background: var(--ground2);
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.97);
    border-left: 0.5px solid var(--divider);
    border-top: 0.5px solid var(--divider);
    rotate: 45deg;
}

.nav-lang {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.nav.scrolled .nav-lang { color: var(--ink3); }

/* Páginas sem hero sobreposto: nav sempre no estado scrolled */
.single-projeto .nav,
.page-template-page-sobre-nos .nav,
.page-template-page-contactos .nav {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.single-projeto .nav .nav-logo-white,
.page-template-page-sobre-nos .nav .nav-logo-white,
.page-template-page-contactos .nav .nav-logo-white { display: none; }
.single-projeto .nav .nav-logo-dark,
.page-template-page-sobre-nos .nav .nav-logo-dark,
.page-template-page-contactos .nav .nav-logo-dark  { display: block; }
.single-projeto .nav .nav-links a,
.page-template-page-sobre-nos .nav .nav-links a,
.page-template-page-contactos .nav .nav-links a    { color: var(--ink2); }
.single-projeto .nav .nav-links a:hover,
.page-template-page-sobre-nos .nav .nav-links a:hover,
.page-template-page-contactos .nav .nav-links a:hover { color: var(--ink); }
.single-projeto .nav .nav-lang,
.page-template-page-sobre-nos .nav .nav-lang,
.page-template-page-contactos .nav .nav-lang       { color: var(--ink3); }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: background 0.3s, transform 0.3s, opacity 0.3s;
}

.nav.scrolled .nav-toggle span { background: var(--ink); }

/* ============================================================
   BUTTONS / PILLS
   ============================================================ */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 28px;
    border: 1px solid var(--ink);
    border-radius: 50px;
    font-family: var(--body);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    text-decoration: none;
}

.pill:hover {
    background: var(--ink);
    color: #fff;
}

.pill.white {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.pill.white:hover {
    background: #fff;
    color: var(--ink);
}

.pill.forest {
    border-color: var(--forest);
    color: var(--forest);
}

.pill.forest:hover {
    background: var(--forest);
    color: #fff;
}

/* ============================================================
   HERO (home)
   ============================================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg,
            #1a1a1a 0%,
            #2c2616 35%,
            #3a3120 55%,
            #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

/* Dots de navegação */
.hero-dots {
    position: absolute;
    bottom: 44px;
    right: var(--pad);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.3);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad);
    padding-top: calc(var(--nav-h) + 120px);
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
}

/* WP admin bar compensation */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }

.hero-eyebrow {
    font-size: 17px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 200;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: var(--pad);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 2;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.hero-scroll-label {
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    writing-mode: vertical-rl;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */

.page-hero {
    position: relative;
    height: 80vh;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero:has(.ph-projetos) {
    height: calc(27vh + 30px);
    min-height: 230px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Page-specific gradients */
.ph-sobre {
    background: linear-gradient(140deg,
        #1e1a14 0%, #2e2818 40%, #3a3220 65%, #1a1a1a 100%);
}

.ph-areas {
    background: linear-gradient(140deg,
        #1a1710 0%, #2a2414 40%, #3a3224 65%, #1a1a1a 100%);
}

.ph-projetos {
    background: linear-gradient(140deg,
        #161616 0%, #1e1e1e 50%, #2a2a2a 100%);
}

.ph-contactos {
    background: linear-gradient(140deg,
        #18161a 0%, #221e26 40%, #2e2a36 65%, #1a1a1a 100%);
}

.ph-legal {
    background: linear-gradient(140deg, #1a1a18 0%, #26241e 50%, #1e1c18 100%);
}

/* ============================================================
   PÁGINAS LEGAIS
   ============================================================ */

.page-hero:has(.ph-legal) {
    height: 28vh;
    min-height: 200px;
}

/* ============================================================
   PÁGINAS LEGAIS
   ============================================================ */

.legal-page {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 80px 120px;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    padding-right: 48px;
}

.legal-nav-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 16px;
    font-weight: 500;
}

.legal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 0.5px solid var(--divider);
}

.legal-nav-list li a {
    display: block;
    padding: 8px 0 8px 16px;
    font-size: 14px;
    color: var(--ink3);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
    border-left: 2px solid transparent;
    margin-left: -1px;
    font-weight: 300;
}

.legal-nav-list li a:hover {
    color: var(--ink);
    border-left-color: var(--gold);
}

.legal-body {
    border-left: 0.5px solid var(--divider);
    padding-left: 64px;
    width: 1000px;
    max-width: 1000px;
}

.legal-intro {
    font-size: 17px;
    line-height: 1.85;
    color: var(--ink2);
    font-weight: 300;
    margin-bottom: 56px;
    padding-bottom: 48px;
    border-bottom: 0.5px solid var(--divider);
}

.legal-section {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 0.5px solid var(--divider);
    scroll-margin-top: calc(var(--nav-h) + 32px);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-h2 {
    font-family: var(--display);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    padding-bottom: 16px;
    border-bottom: 0.5px solid var(--divider);
}

.legal-h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 28px;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.legal-body p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink2);
    font-weight: 300;
    margin-bottom: 14px;
}

.legal-body a {
    color: var(--gold);
    text-decoration: none;
}

.legal-body a:hover {
    text-decoration: underline;
}

.legal-list {
    margin: 16px 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.legal-list li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink2);
    font-weight: 300;
    padding: 10px 0 10px 20px;
    position: relative;
    border-bottom: 0.5px solid var(--divider);
}

.legal-list li:first-child {
    border-top: 0.5px solid var(--divider);
}

.legal-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 12px;
    top: 12px;
}

.page-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

.page-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-h) + 40px) var(--pad) 64px;
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
}

.page-hero-eyebrow {
    font-size: 17px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: var(--display);
    font-size: clamp(32px, 5.5vw, 62px);
    font-weight: 200;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-wrap: balance;
}

.page-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    max-width: 560px;
}

/* ============================================================
   MANIFESTO (home)
   ============================================================ */

.manifesto {
    background: var(--ground);
    padding: 96px var(--pad);
    border-bottom: 0.5px solid var(--divider);
}

.manifesto-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.manifesto-text {
    max-width: 600px;
}

.manifesto-img {
    overflow: hidden;
    border-radius: 2px;
}

.manifesto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manifesto-title {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.manifesto-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink2);
    font-weight: 300;
    margin-bottom: 40px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.sec-head {
    padding: 72px var(--pad) 40px;
}

.eyebrow {
    font-size: 17px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 12px;
}

.sec-title {
    font-family: var(--display);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--ink);
    max-width: 580px;
    text-wrap: balance;
    letter-spacing: -0.01em;
}

/* ============================================================
   GALLERY (home projects preview)
   ============================================================ */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 0 var(--pad);
}

.g-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.g-item:hover .g-bg { transform: scale(1.04); }

.g-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

/* Gallery gradient backgrounds */
.gb1 { background: linear-gradient(160deg, #2a2010 0%, #3a2e18 60%, #2a2010 100%); }
.gb2 { background: linear-gradient(160deg, #1a2420 0%, #243228 60%, #1a2420 100%); }
.gb3 { background: linear-gradient(160deg, #1e1820 0%, #282030 60%, #1e1820 100%); }
.gb4 { background: linear-gradient(160deg, #201818 0%, #2e2020 60%, #201818 100%); }
.gb5 { background: linear-gradient(160deg, #141e20 0%, #1c2a2e 60%, #141e20 100%); }
.gb6 { background: linear-gradient(160deg, #1e2014 0%, #2a2c1e 60%, #1e2014 100%); }
.gb7 { background: linear-gradient(160deg, #1a1a20 0%, #22222e 60%, #1a1a20 100%); }
.gb8 { background: linear-gradient(160deg, #201c14 0%, #2c2820 60%, #201c14 100%); }
.gb9 { background: linear-gradient(160deg, #14201e 0%, #1e2e2a 60%, #14201e 100%); }

.g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
}

.g-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.g-tag {
    background: rgba(0,0,0,0.45);
    border: 0.5px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
}

.g-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    z-index: 2;
}

.g-loc {
    font-size: 17px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.g-name {
    font-family: var(--display);
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.01em;
}

.gallery-foot {
    padding: 40px var(--pad);
    border-bottom: 0.5px solid var(--divider);
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #000;
    padding: 56px var(--pad);
}

.stat {
    flex: 1;
    text-align: center;
    padding: 0 32px;
}

.stat-n {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 200;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-l {
    font-size: 17px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    font-weight: 300;
}

.stat-sep {
    width: 0.5px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    border-bottom: 0.5px solid var(--divider);
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-visual {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.sv-umber { background: var(--dark2); }
.sv-forest { background: linear-gradient(135deg, #1e2414 0%, #2c341e 60%, #222e18 100%); }

.split-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.02) 40px,
        rgba(255,255,255,0.02) 41px
    );
}

.split-label {
    position: absolute;
    bottom: 28px;
    left: var(--pad);
    right: var(--pad);
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.split.reverse .split-label {
    text-align: left;
}

.split-text {
    padding: 64px var(--pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ground);
}

.split-eyebrow {
    font-size: 17px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 16px;
}

.split-title {
    font-family: var(--display);
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    text-wrap: balance;
}

.split-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink2);
    font-weight: 300;
    margin-bottom: 16px;
    max-width: 480px;
}

.split-body:last-of-type { margin-bottom: 36px; }

/* ============================================================
   VALORES — header
   ============================================================ */

.valores-header {
    padding: 96px var(--pad) 80px;
    background: var(--ground);
    border-top: 0.5px solid var(--divider);
    border-bottom: 0.5px solid var(--divider);
    display: flex;
    align-items: center;
    gap: 64px;
}

.valores-header-inner {
    max-width: 560px;
}

.valores-header .eyebrow {
    margin-bottom: 20px;
}

.valores-header-title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(26px, 3.5vw, 42px);
    color: var(--ink);
    text-wrap: balance;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ============================================================
   VALORES GRID
   ============================================================ */

.valores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ground);
}

.valor {
    padding: 52px var(--pad);
    border-right: 0.5px solid var(--divider);
    border-bottom: 0.5px solid var(--divider);
    border-top: 3px solid transparent;
    transition: border-color 0.25s, background 0.25s;
    position: relative;
}

.valor:nth-child(3n) { border-right: none; }

.valor:hover {
    border-top-color: var(--gold);
    background: var(--ground2);
}

.valor-num {
    display: block;
    font-family: var(--display);
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-weight: 400;
}

.valor-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.valor-body {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink2);
    font-weight: 300;
}

/* ============================================================
   GRUPO STRIP (sobre nós)
   ============================================================ */

.grupo-strip {
    background: var(--dark2);
    padding: 0 var(--pad);
    position: relative;
    overflow: hidden;
}

.grupo-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent 60%);
}

.grupo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 96px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
}

.grupo-left { max-width: 520px; }

.grupo-eyebrow {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 20px;
}

.grupo-title {
    font-family: var(--display);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 300;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.grupo-body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
}

.grupo-right {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}

.gs {
    text-align: center;
    flex: 1;
    padding: 32px 0;
}

.gs-divider {
    width: 0.5px;
    height: 80px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.gs-n {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 200;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.gs-l {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    font-weight: 400;
}

/* ============================================================
   PROJETOS — filter + grid
   ============================================================ */

.proj-filters {
    padding: 48px var(--pad) 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.proj-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 0.5px solid var(--divider);
}
.proj-filter:last-child {
    border-bottom: none;
    padding-bottom: 32px;
}

.filter-btn {
    padding: 6px 16px;
    border: 0.5px solid var(--divider);
    border-radius: 50px;
    background: transparent;
    font-family: var(--body);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink2);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover { border-color: var(--ink2); color: var(--ink); }

.filter-btn.on {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 var(--pad) 80px;
}

.proj-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    transition: opacity 0.3s;
}

.proj-card.hidden { display: none; }

.proj-card:hover .g-bg { transform: scale(1.05); }

/* ============================================================
   ÁREAS DE NEGÓCIO
   ============================================================ */

.an-section {
    padding: 72px var(--pad) 80px;
    border-bottom: 0.5px solid var(--divider);
    scroll-margin-top: var(--nav-h);
}

.an-section-alt {
    background: var(--ground2);
}

.an-section-header {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--divider);
}

.an-section-icon {
    flex-shrink: 0;
    color: var(--ink3);
    opacity: 0.6;
}

.an-section-title {
    font-family: var(--display);
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 300;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.an-section-sub {
    font-size: 16px;
    color: var(--ink2);
    font-weight: 300;
}

.an-tipo {
    margin-bottom: 56px;
}

.an-tipo:last-child {
    margin-bottom: 0;
}

.an-tipo-title {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink2);
    margin-bottom: 16px;
}

.an-tipo-line {
    height: 0.5px;
    background: var(--divider);
    margin-bottom: 28px;
}

.an-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.an-card {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--dark);
}

.an-card-img {
    position: absolute;
    inset: 0;
}

.an-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.an-card:hover .an-card-img img { transform: scale(1.04); }

.an-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark2);
}

/* overlay gradiente */
.an-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

.an-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

.an-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 20px;
}

.an-card-loc {
    font-size: 17px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
    font-weight: 400;
}

.an-card-name {
    font-family: var(--display);
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .an-grid { grid-template-columns: 1fr 1fr; }
    .an-section-header { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
    .an-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACTOS
   ============================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    border-bottom: 0.5px solid var(--divider);
}

.contact-info {
    padding: 72px var(--pad);
}

.contact-info-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

.contact-detail-label {
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 4px;
    font-weight: 400;
}

.contact-detail-val {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink2);
    font-weight: 300;
}

.contact-detail-val a { color: var(--ink2); transition: color 0.2s; }
.contact-detail-val a:hover { color: var(--ink); }

.contact-form {
    padding: 72px var(--pad);
}

.contact-form-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 36px;
}

/* FORM ELEMENTS */
.form-row { margin-bottom: 20px; }

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink2);
    font-weight: 400;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--ground2);
    border: 0.5px solid var(--divider);
    border-radius: 3px;
    padding: 13px 16px;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--ink3);
    background: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--ground2);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 0 64px;
    padding: 72px var(--pad) 56px;
    border-top: 0.5px solid var(--divider);
}

.footer-col {
    padding: 0 40px 0 0;
}

.footer-col-brand {
    padding-right: 56px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 1; }

.footer-brand-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink2);
    font-weight: 300;
    margin-bottom: 28px;
}

.footer-copy {
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink3);
}

.footer-col-title {
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 20px;
    font-weight: 400;
}

/* Numbered nav */
.footer-nav-num {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-num a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15px;
    color: var(--ink2);
    font-weight: 300;
    transition: color 0.2s;
}

.footer-nav-num a:hover { color: var(--ink); }

.fn-num {
    font-size: 14px;
    color: var(--ink3);
    letter-spacing: 0.06em;
    font-family: var(--display);
    min-width: 20px;
}

.footer-addr {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink2);
    font-weight: 300;
    margin-bottom: 14px;
}

.footer-link {
    font-size: 15px;
    color: var(--ink2);
    font-weight: 300;
    transition: color 0.2s;
    display: block;
}

.footer-link:hover { color: var(--gold); }

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social a {
    font-size: 15px;
    color: var(--ink2);
    transition: color 0.2s;
    font-weight: 300;
}

.footer-social a:hover { color: var(--gold); }

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal a,
.footer-legal li a {
    font-size: 15px;
    color: var(--ink2);
    font-weight: 300;
    transition: color 0.2s;
    display: block;
}

.footer-legal a:hover,
.footer-legal li a:hover { color: var(--ink); }

.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================================
   SINGLE PROJETO
   ============================================================ */

/* ── Single Projeto ── */
.sp-main { background: var(--ground); }

.sp-hero {
    position: relative;
    width: 100%;
    height: 53vh;
    min-height: 340px;
    margin-top: var(--nav-h);
    overflow: hidden;
}

.sp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sp-hero-placeholder {
    background: var(--ground3);
    width: 100%;
    height: 100%;
}

.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.sp-hero-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px var(--pad);
}

.sp-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.sp-back:hover { color: #fff; }

.sp-hero-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    border: 0.5px solid rgba(255,255,255,0.3);
}

.sp-hero-title-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 var(--pad) 56px;
}

.sp-hero-eyebrow {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.sp-hero-h1 {
    font-family: var(--display);
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 200;
    color: #fff;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    line-height: 1;
}

/* Body */
.sp-body {
    padding: 0 var(--pad) 120px;
}

.sp-breadcrumb {
    padding-top: 32px;
}

.sp-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink3);
    transition: color 0.2s;
}

.sp-breadcrumb-link:hover { color: var(--ink); }

/* 1. TEXTO + GALERIA lado a lado */
.sp-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 72px 0 72px;
    border-bottom: 0.5px solid var(--divider);
    border-left: none;
    border-right: none;
    outline: none;
}

.sp-top > * { border: none; outline: none; }

/* Garantir que não há linhas verticais nos grids */
.sp-top, .sp-form-section { border-collapse: unset; }
.sp-top::after, .sp-top::before,
.sp-form-section::after, .sp-form-section::before { display: none; }

.sp-text {
    font-size: 17px;
    line-height: 1.85;
    color: var(--ink2);
    font-weight: 300;
}

.sp-text p { margin-bottom: 20px; }
.sp-text p:last-child { margin-bottom: 0; }
.sp-placeholder { color: var(--ink3); font-style: italic; }

.sp-brochura-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding: 13px 22px;
    border: 0.5px solid var(--divider);
    border-radius: 2px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
}
.sp-brochura-btn:hover { background: var(--ground2); }

/* Coluna de galeria */
.sp-gal-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-content: start;
}

.sp-gal-item {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.sp-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sp-gal-item:hover img { transform: scale(1.04); }

/* Primeira foto ocupa linha inteira */
.sp-gal-col .sp-gal-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}

/* 2. DADOS */
.sp-dados {
    display: flex;
    background: var(--ground2);
    margin: 0 calc(-1 * var(--pad));
    padding: 40px var(--pad);
    border-top: 2px solid var(--gold);
}

.sp-dados + .sp-dados {
    border-top: 0.5px solid var(--divider);
    margin-top: 0;
}

.sp-dado {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 48px;
    border-right: 0.5px solid var(--divider);
    margin-right: 48px;
}

.sp-dado:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.sp-dados-areas { border-top: 0.5px solid var(--divider); }

.sp-dado-full {
    flex: 1 1 100%;
    border-right: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.sp-dado-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.sp-dado-value {
    font-family: var(--display);
    font-size: 18px;
    color: var(--ink);
    font-weight: 300;
    letter-spacing: -0.01em;
}

.sp-aptos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sp-apto {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink);
    background: var(--ground);
    border: 0.5px solid var(--divider);
    border-radius: 2px;
    padding: 5px 14px;
}

/* 3. FORMULÁRIO */
.sp-form-section {
    padding-top: 72px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    align-items: start;
}

.sp-form-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.sp-form-sub {
    font-size: 16px;
    color: var(--ink3);
    line-height: 1.7;
}

.sp-form { display: flex; flex-direction: column; }

.sp-form-field { margin-bottom: 28px; }

.sp-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sp-form-row-2 .sp-form-field { margin-bottom: 28px; }

.sp-form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 10px;
}

.sp-form-input,
.sp-form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid var(--divider);
    border-radius: 0;
    padding: 10px 0;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}

.sp-form-input:focus,
.sp-form-textarea:focus { border-bottom-color: var(--ink); }

.sp-form-input[readonly] { color: var(--ink2); cursor: default; }

.sp-form-textarea { resize: vertical; min-height: 130px; }

.sp-form-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 32px;
    margin-top: 4px;
}

.sp-form-check input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; }

.sp-form-check label { font-size: 16px; color: var(--ink3); line-height: 1.6; }

.sp-form-btn {
    align-self: flex-start;
    padding: 14px 40px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: var(--body);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.sp-form-btn:hover { background: #444; }

.sp-form-msg {
    padding: 14px 18px;
    border-radius: 2px;
    font-size: 17px;
    margin-bottom: 24px;
    grid-column: 1 / -1;
}

.sp-form-ok  { background: #f0f7f0; border: 0.5px solid #b0d0b0; color: #2a5a2a; }
.sp-form-err { background: #fdf0f0; border: 0.5px solid #d0b0b0; color: #5a2a2a; }

@media (max-width: 1024px) {
    .sp-top { grid-template-columns: 1fr; gap: 48px; }
    .sp-form-section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .sp-form-row-2 { grid-template-columns: 1fr; }
    .sp-gal-col { grid-template-columns: 1fr; }
    .sp-gal-col .sp-gal-item:first-child { grid-column: 1; }
    .sp-hero-h1 { font-size: clamp(28px, 8vw, 48px); }
    .sp-dados { flex-direction: column; gap: 24px; }
    .sp-dado { border-right: none; border-bottom: 0.5px solid var(--divider); padding: 0 0 24px; margin: 0; }
}

/* ── Lightbox ── */
#sp-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#sp-lightbox.active { display: flex; }

.lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
}

.lb-img-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

.lb-close, .lb-prev, .lb-next {
    position: absolute;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    border: 0.5px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}

.lb-close, .lb-prev, .lb-next { border-radius: 50%; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }

.lb-close {
    top: 20px; right: 24px;
    width: 40px; height: 40px;
    font-size: 16px;
}

.lb-prev, .lb-next {
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    font-size: 28px;
    display: flex; align-items: center; justify-content: center;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split.reverse { direction: ltr; }
    .split-visual { min-height: 320px; }
    .valores { grid-template-columns: repeat(2, 1fr); }
    .footer { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
    .footer-col-brand { grid-column: 1 / -1; padding-right: 0; }
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { border-right: none; border-bottom: 0.5px solid var(--divider); }
    .grupo-inner { grid-template-columns: 1fr; gap: 48px; }
    .grupo-right { justify-content: flex-start; }
}

@media (max-width: 768px) {
    :root { --pad: 20px; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #111;
        padding: calc(var(--nav-h) + 32px) 32px 40px;
        gap: 8px;
        align-items: flex-start;
        z-index: 98;
    }

    .nav-links.open > li > a {
        font-size: 28px;
        color: #fff;
        letter-spacing: -0.01em;
        text-transform: none;
        font-family: var(--display);
        font-weight: 400;
        display: block;
        padding: 12px 0;
        border-bottom: 0.5px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .nav-links.open > li:last-child > a { border-bottom: none; }

    .nav.scrolled .nav-toggle span { background: var(--ink); }

    .nav:has(.nav-links.open) {
        background: #111;
        z-index: 99;
    }
    .nav:has(.nav-links.open) .nav-logo-white { display: block; opacity: 1; }
    .nav:has(.nav-links.open) .nav-logo-dark  { display: none; }
    .nav:has(.nav-links.open) .nav-toggle span { background: #fff; }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-links, .nav-lang { display: none; }
    .nav-toggle { display: flex; }
    .nav-right { justify-self: unset; }

    .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
    .manifesto-text { max-width: 100%; }

    .gallery { grid-template-columns: 1fr; }
    .valores { grid-template-columns: 1fr; }
    .footer { display: flex !important; flex-direction: column; gap: 32px; }
    .footer-col { padding-right: 0; order: 1; grid-column: unset; }
    .footer-col-brand { order: 99; padding-top: 40px; margin-top: 8px; border-top: 0.5px solid var(--divider); grid-column: unset; }
    .proj-grid { grid-template-columns: 1fr; gap: 12px; }
    .proj-filters { padding: 24px var(--pad) 0; }
    .proj-filter { gap: 8px; padding: 12px 0; }
    .filter-btn { font-size: 11px; padding: 5px 12px; }
    .proj-card { aspect-ratio: 3/2; }
    .page-hero:has(.ph-projetos) { min-height: 320px; }
    .page-hero-content { padding-top: calc(var(--nav-h) + 120px) !important; }
    .form-row-2 { grid-template-columns: 1fr; }
    .stats { flex-direction: column; gap: 32px; }
    .stat-sep { width: 48px; height: 0.5px; }
    .grupo-right { gap: 0; }
}
