:root {
    --color-black: #141210;
    --color-black-deep: #0f0c0b;
    --color-dark-surface: #1b1916;
    --color-gold: #d5ac69;
    --color-gold-dark: #b88746;
    --color-gold-hover: #e6bd7b;
    --color-cream: #f7f5f1;
    --color-white: #fff;
    --color-text-muted: #55504a;
    --color-text-light: #e8e1d8;
    --container: 1200px;
    --header-height: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; color: var(--color-text-dark, #141210); background: var(--color-cream); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container, .header-inner, .hero-inner { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 72px 0; }
.eyebrow { margin: 0 0 10px; color: var(--color-gold-dark); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: .98; }
h2 { font-size: clamp(38px, 4vw, 54px); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: var(--header-height); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { position: fixed; background: rgba(15,12,11,.96); box-shadow: 0 1px 0 rgba(213,172,105,.12); }
.header-inner { height: 90px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--color-white); }
.brand-mark { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: screen; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { color: var(--color-gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; }
.brand-copy span { margin-top: 3px; font-size: 10px; letter-spacing: .05em; }
.brand-copy small { margin-top: 4px; color: rgba(232,225,216,.72); font-size: 8px; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { position: relative; padding: 35px 0 31px; color: #eee8e0; font-size: 12px; }
.primary-nav a:hover, .primary-nav a.active { color: var(--color-gold); }
.primary-nav a.active::after { content: ""; position: absolute; bottom: 24px; left: 0; width: 100%; height: 1px; background: var(--color-gold); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 640px; background: url("../hero/Escritório Executivo ao Pôr do Sol.png") center 58% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,9,8,.96) 0%, rgba(11,9,8,.82) 34%, rgba(11,9,8,.18) 70%, rgba(11,9,8,.05) 100%), linear-gradient(rgba(10,8,7,.12), rgba(10,8,7,.08)); }
.hero-inner { position: relative; min-height: 640px; display: flex; align-items: center; }
.hero-content { max-width: 590px; padding-top: 62px; }
.hero h1 { color: var(--color-white); font-size: clamp(48px, 5vw, 68px); }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--color-gold); font-style: normal; }
.hero-content > p { max-width: 550px; margin: 20px 0 28px; color: #e6e0d7; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 4px; padding: 0 22px; font-size: 12px; font-weight: 600; cursor: pointer; transition: .2s ease; }
.button-primary { background: var(--color-gold); color: var(--color-black); }
.button-primary:hover { background: var(--color-gold-hover); }
.button-outline { border-color: rgba(213,172,105,.8); color: var(--color-gold); background: rgba(20,18,16,.18); }
.button-outline:hover { background: rgba(213,172,105,.1); border-color: var(--color-gold-hover); }

.section-office { background: var(--color-cream); }
.office-grid { display: grid; grid-template-columns: 45% 55%; align-items: stretch; }
.office-copy { align-self: center; padding-right: 42px; }
.office-copy h2 { max-width: 480px; color: var(--color-text-dark, #141210); }
.office-copy .title-rule { width: 54px; height: 1px; margin: 18px 0 22px; background: var(--color-gold-dark); }
.office-copy p:not(.eyebrow) { margin: 0 0 16px; color: var(--color-text-muted); font-size: 13px; line-height: 1.7; }
.office-image { height: 420px; margin: 0; overflow: hidden; }
.office-image img { width: 100%; height: 100%; object-fit: cover; }

.section-areas { background: #171512 url("../PNG_elementos_individuais/22-fundo-secao-areas-escuro.png") center / cover; color: var(--color-white); }
.areas-heading { display: grid; grid-template-columns: 56% 44%; align-items: end; margin-bottom: 38px; }
.areas-heading h2 { max-width: 600px; }
.areas-heading > p { max-width: 490px; justify-self: end; margin: 0 0 4px; color: #bbb4aa; font-size: 13px; line-height: 1.6; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-card { min-height: 100px; display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 12px; border: 1px solid rgba(213,172,105,.28); border-radius: 4px; padding: 18px 20px; background: rgba(20,18,16,.62); transition: .2s ease; }
.area-card:hover { border-color: var(--color-gold); transform: translateY(-2px); }
.area-card > img:first-child { width: 44px; height: 44px; filter: sepia(.15); }
.area-card h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; line-height: 1.05; }
.area-arrow { width: 18px; justify-self: end; }

.section-differentials { background: var(--color-cream); padding: 58px 0 48px; }
.differential-grid { display: grid; grid-template-columns: 28% 72%; align-items: center; }
.differential-title h2 { max-width: 290px; font-size: 42px; }
.differential-items { display: grid; grid-template-columns: repeat(4, 1fr); }
.differential-items article { min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border-left: 1px solid #ded5c8; padding: 4px 16px 0; text-align: center; }
.differential-items article:first-child { border-left: 0; }
.differential-items img { width: 54px; height: 54px; margin-bottom: 12px; }
.differential-items p { max-width: 180px; margin: 0; color: #504b45; font-size: 14px; line-height: 1.5; }

.section-team { background: #fbfaf7; padding-top: 20px; }
.team-heading { display: grid; grid-template-columns: 56% 44%; align-items: end; margin-bottom: 30px; }
.team-heading h2 { max-width: 520px; font-size: clamp(42px, 4vw, 52px); }
.team-heading > p { max-width: 470px; justify-self: end; margin: 0 0 6px; color: var(--color-text-muted); font-size: 15px; line-height: 1.65; }
.team-carousel { position: relative; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 10px; }
.team-viewport { overflow: hidden; }
.team-track { display: flex; gap: 14px; transition: transform .35s ease; }
.team-card { flex: 0 0 calc((100% - 28px) / 3); border: 1px solid #eee7dc; border-radius: 4px; background: #fff; overflow: hidden; }
.team-card > img { width: 100%; height: 240px; object-fit: cover; object-position: center 20%; }
.team-card-body { min-height: 230px; padding: 20px 20px 18px; }
.team-card h3 { margin: 0 0 8px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; line-height: 1.05; }
.team-role { min-height: 44px; margin: 0 0 12px; color: var(--color-gold-dark); font-size: 13px; line-height: 1.45; }
.team-card ul { margin: 0; padding-left: 18px; color: var(--color-text-muted); font-size: 13px; line-height: 1.55; }
.team-card li + li { margin-top: 4px; }
.carousel-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ddd3c4; border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-button img { width: 16px; }
.carousel-button:disabled { opacity: .35; cursor: default; }

.section-infrastructure { position: relative; z-index: 1; overflow: hidden; background: var(--color-cream); padding-top: 20px; isolation: isolate; }
.infrastructure-grid { display: grid; grid-template-columns: minmax(0, 25%) minmax(0, 1fr); align-items: center; gap: 22px; }
.infrastructure-grid h2 { max-width: 300px; font-size: clamp(38px, 3.6vw, 48px); }
.infrastructure-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; min-width: 0; }
.gallery-item { display: block; width: 100%; overflow: hidden; border: 0; border-radius: 2px; padding: 0; background: #e9e3da; cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center; transition: transform .35s ease, filter .35s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); filter: brightness(1.06); }
.gallery-item:focus-visible { outline: 2px solid var(--color-gold-dark); outline-offset: 3px; }
.gallery-lightbox { position: fixed; width: min(94vw, 1200px); max-width: none; max-height: 92vh; overflow: visible; border: 0; padding: 24px 64px 18px; background: #151310; color: var(--color-white); }
.gallery-lightbox::backdrop { background: rgba(8,7,6,.88); }
.gallery-lightbox figure { display: grid; justify-items: center; gap: 12px; margin: 0; }
.lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(92vh - 90px); object-fit: contain; }
.lightbox-caption { color: #e8e1d8; font-size: 14px; text-align: center; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 1; display: grid; place-items: center; border: 1px solid rgba(213,172,105,.65); border-radius: 50%; background: rgba(20,18,16,.85); color: var(--color-gold); cursor: pointer; }
.lightbox-close { top: 10px; right: 10px; width: 42px; height: 42px; font-size: 28px; line-height: 1; }
.lightbox-nav { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); font-size: 34px; line-height: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--color-gold); color: var(--color-black); }

.section-contact { position: relative; z-index: 2; clear: both; background: #171512 url("../PNG_elementos_individuais/24-fundo-contato-escuro.png") center / cover; color: var(--color-white); padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 28% 32% 40%; align-items: start; }
.contact-intro { padding-right: 38px; }
.contact-intro h2 { margin-bottom: 18px; font-size: 46px; }
.contact-intro > p:last-child { max-width: 310px; color: #aaa399; font-size: 12px; line-height: 1.7; }
.contact-details { min-height: 220px; border-left: 1px solid rgba(213,172,105,.22); padding: 8px 32px 0; }
.contact-details p { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; color: #dcd5ca; font-size: 12px; line-height: 1.5; }
.contact-details p img { width: 22px; height: 22px; filter: none; }
.contact-details .button { margin-top: 4px; }
.contact-details .button img { width: 20px; height: 20px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; min-height: 46px; border: 1px solid #51483d; border-radius: 3px; background: rgba(10,9,8,.46); color: var(--color-white); padding: 12px; outline: none; }
.contact-form textarea { grid-column: 1 / -1; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-gold); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #c2bcB3; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 8px; color: #bbb5ab; font-size: 10px; line-height: 1.45; }
.consent input { accent-color: var(--color-gold); }
.contact-form .button { grid-column: 1 / -1; border: 0; }
.form-status { grid-column: 1 / -1; min-height: 18px; margin: 0; font-size: 11px; }

.site-footer { background: #11100e; color: #d8d1c6; }
.footer-inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 78px; height: 78px; object-fit: contain; mix-blend-mode: screen; }
.footer-brand span { display: grid; }
.footer-brand strong { color: var(--color-gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; }
.footer-brand small { font-size: 9px; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { font-size: 11px; }
.footer-inner nav a:hover { color: var(--color-gold); }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(213,172,105,.12); color: #918a80; font-size: 9px; }

@media (max-width: 980px) {
    :root { --header-height: 76px; }
    .container, .header-inner, .hero-inner { width: min(calc(100% - 36px), var(--container)); }
    .header-inner { height: 76px; }
    .brand-mark { width: 50px; height: 50px; }
    .menu-toggle { position: relative; z-index: 30; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; border: 0; background: transparent; cursor: pointer; }
    .menu-toggle span { width: 24px; height: 1px; background: var(--color-gold); transition: .2s; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .primary-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(15,12,11,.98); opacity: 0; visibility: hidden; transition: .2s; }
    .primary-nav.open { opacity: 1; visibility: visible; }
    .primary-nav a { padding: 14px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; }
    .primary-nav a.active::after { bottom: 8px; }
    .office-grid { grid-template-columns: 48% 52%; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .differential-grid { grid-template-columns: 24% 76%; }
    .infrastructure-grid { grid-template-columns: minmax(0, 1fr); }
    .infrastructure-grid h2 { max-width: 600px; }
    .team-card { flex-basis: calc((100% - 14px) / 2); }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .contact-form { grid-column: 1 / -1; }
    .contact-details { border-left: 1px solid rgba(213,172,105,.22); }
}

@media (max-width: 680px) {
    .container, .header-inner, .hero-inner { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 52px 0; }
    .brand-copy strong { font-size: 20px; }
    .hero { min-height: 600px; background-position: 64% center; }
    .hero::before { background: linear-gradient(90deg, rgba(11,9,8,.93), rgba(11,9,8,.52)), linear-gradient(rgba(11,9,8,.1), rgba(11,9,8,.32)); }
    .hero-inner { min-height: 600px; align-items: flex-end; padding-bottom: 58px; }
    .hero-content { padding-top: 0; }
    .hero h1 { font-size: 45px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button { width: 100%; }
    .office-grid, .areas-heading, .differential-grid, .team-heading, .infrastructure-grid, .contact-grid { grid-template-columns: 1fr; }
    .office-copy { padding: 0 0 30px; }
    .office-image { height: 290px; }
    .areas-heading { gap: 16px; }
    .areas-heading > p, .team-heading > p { justify-self: start; }
    .area-grid { grid-template-columns: 1fr; }
    .differential-grid { gap: 28px; }
    .differential-items { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .differential-items article { border-left: 0; border-top: 1px solid #ded5c8; padding-top: 18px; }
    .differential-items p { max-width: 170px; font-size: 13px; }
    .section-team { padding-top: 52px; }
    .team-heading { gap: 16px; }
    .team-card { flex-basis: 100%; }
    .team-card > img { height: 340px; }
    .team-carousel { grid-template-columns: 38px 1fr 38px; }
    .infrastructure-grid { gap: 24px; }
    .infrastructure-gallery { grid-template-columns: 1fr; }
    .gallery-lightbox { width: 100vw; max-height: 100vh; padding: 56px 44px 16px; }
    .lightbox-image { max-height: calc(100vh - 110px); }
    .lightbox-nav { width: 38px; height: 38px; font-size: 28px; }
    .lightbox-prev { left: 2px; }
    .lightbox-next { right: 2px; }
    .contact-grid { gap: 30px; }
    .contact-intro { padding-right: 0; }
    .contact-details { min-height: 0; border-left: 0; border-top: 1px solid rgba(213,172,105,.22); padding: 28px 0 0; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form input[type="text"], .contact-form input[type="email"] { grid-column: 1 / -1; }
    .footer-inner { min-height: 150px; flex-direction: column; justify-content: center; gap: 20px; }
    .footer-inner nav { flex-wrap: wrap; justify-content: center; gap: 14px; }
    .footer-bottom { padding: 16px 0; flex-direction: column; gap: 8px; text-align: center; }
}
