:root {
  --bg-dark: #0b1210;
  --brand-green: #133A37;
  --brand-gold: #c8a24a;
  --text-light: #f2eee6;
  --text-muted: #9aa39b;
  --text-dark: #1a1f1c;
  --surface: #101a17;
  --surface-soft: #13211d;
  --border: rgba(200, 162, 74, 0.25);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --container: min(1140px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #06110e;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  width: min(420px, 88vw);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(5, 16, 13, 0.72);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem 1rem;
  text-align: center;
}

.loader-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto 0.9rem;
}

.loader-text {
  color: var(--text-light);
  margin: 0 0 0.55rem;
}

.loader-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-gold);
  transition: width 160ms linear;
}

.loader-percent {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
  background: var(--brand-gold);
  color: var(--bg-dark);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 5vw, 6rem) 0;
}

.content-carousel {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.content-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(7, 20, 18, 0.78);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 6000ms linear;
}

.carousel-slide.is-active {
  opacity: 1.28;
  transform: scale(1.08);
}

.section-accent {
  background: #133A37;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero-title {
  max-width: clamp(20ch, 54vw, 24ch);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 60ch;
}

#areas .heading-wide,
#socios .heading-wide,
#localizacao .heading-wide {
  max-width: clamp(30ch, 48vw, 26ch);
}

#areas .lead-wide,
#socios .lead-wide,
#localizacao .lead-wide {
  max-width: clamp(52ch, 62vw, 76ch);
}

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 16, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.7rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #133A37;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  color: var(--text-light);
}

.brand-text small {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.56rem;
  color: var(--text-muted);
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
  justify-content: flex-end;
}

.menu a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.95rem;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 1px;
  background: var(--brand-gold);
  transition: width 180ms ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}


.theme-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
}

.theme-toggle:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 1px;
}

body.theme-light {
  --bg-dark: #eef3f0;
  --text-light: #1b2320;
  --text-muted: #32443d;
  --border: rgba(19, 58, 55, 0.34);
  --surface: #ffffff;
  --surface-soft: #dce8e2;
  background: #eef3f0;
  color: #1b2320;
}

body.theme-light .site-header {
  background: #133A37;
  border-bottom-color: rgba(19, 58, 55, 0.3);
}

body.theme-light .menu a,
body.theme-light .brand-text strong,
body.theme-light .brand-footer,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3 {
  color: #1b2320;
}

body.theme-light .site-header .menu a,
body.theme-light .site-header .brand-text strong,
body.theme-light .site-header .brand-text small,
body.theme-light .site-header .theme-toggle {
  color: #f2eee6;
}

body.theme-light .site-header .menu a:hover,
body.theme-light .site-header .menu a:focus-visible {
  color: var(--brand-gold);
}

body.theme-light .site-header .nav-toggle {
  color: #f2eee6;
  border-color: rgba(200, 162, 74, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

body.theme-light .site-header .nav-toggle:hover,
body.theme-light .site-header .nav-toggle:focus-visible {
  background: rgba(200, 162, 74, 0.18);
  border-color: var(--brand-gold);
}

body.theme-light .section-accent {
  background: #133A37;
}

body.theme-light #socios > .container > .eyebrow {
  color: var(--brand-gold);
}

body.theme-light #socios > .container > h2 {
  color: #f2eee6;
}

body.theme-light #socios > .container > .lead {
  color: #d2ddd7;
}

body.theme-light .stat-card,
body.theme-light .card,
body.theme-light .partner-card,
body.theme-light .contact-form {
  background: #ffffff;
  border-color: rgba(19, 58, 55, 0.28);
  box-shadow: 0 12px 28px rgba(19, 58, 55, 0.08);
}

body.theme-light .chips li {
  background: rgba(19, 58, 55, 0.14);
  color: #133A37;
  border-color: rgba(19, 58, 55, 0.46);
}

body.theme-light .eyebrow {
  color: #b38a34;
}

body.theme-light .card-icon {
  background: rgba(19, 58, 55, 0.18);
  border-color: rgba(19, 58, 55, 0.5);
  color: #b38a34;
}

body.theme-light .btn-outline {
  color: #133A37;
  border-color: rgba(19, 58, 55, 0.62);
  background: #f7fbf9;
}

body.theme-light .btn-outline:hover,
body.theme-light .btn-outline:focus-visible {
  background: rgba(19, 58, 55, 0.16);
}

body.theme-light .contact-form input,
body.theme-light .contact-form textarea {
  background: #f9fcfa;
  color: #1b2320;
  border-color: rgba(19, 58, 55, 0.34);
}

body.theme-light .site-footer {
  background: #133A37;
  border-top-color: rgba(19, 58, 55, 0.32);
}

body.theme-light .site-footer p,
body.theme-light .site-footer .brand-footer,
body.theme-light .site-footer .footer-kicker,
body.theme-light .site-footer .footer-title,
body.theme-light .site-footer a,
body.theme-light .site-credit {
  color: #f2eee6;
}

body.theme-light .site-credit a {
  border-bottom-color: rgba(200, 162, 74, 0.55);
}

body.theme-light .menu a:hover,
body.theme-light .menu a:focus-visible {
  color: #133A37;
}

body.theme-light .site-credit a {
  color: var(--brand-gold);
  border-bottom-color: rgba(200, 162, 74, 0.65);
}

body.theme-light #socios .partner-card h3,
body.theme-light #socios .partner-card p {
  color: #1f2f2a;
}

body.theme-light .content-carousel::after {
  background: rgba(243, 244, 241, 0.74);
}

body.theme-light .theme-toggle {
  color: #1f2d27;
  border: solid 1px  #f2eee6ce;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(90vh, 920px);
  display: grid;
  place-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.hero em {
  color: var(--brand-gold);
  font-style: italic;
}

.hero-panel {
  min-height: 420px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(19, 58, 55, 0.82);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(242, 238, 230, 0.2);
  border-radius: 14px;
}

.hero-panel::after {
  content: "Oliveira & Sales";
  position: absolute;
  bottom: 2.2rem;
  left: 2.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: 0.06em;
  color: rgba(242, 238, 230, 0.85);
}

.chips {
  list-style: none;
  margin: 1.7rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.02);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  border-radius: 2px;
  min-height: 50px;
  padding: 0.8rem 1.3rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--brand-gold);
  color: var(--bg-dark);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-light);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
}

.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card,
.card,
.partner-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(200, 162, 74, 0.1);
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 1rem;
  color: var(--brand-gold);
  flex: 0 0 auto;
}

.card h3 {
  color: var(--text-light);
  margin: 0;
  line-height: 1.15;
}

.partners {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-card {
  background: rgba(9, 24, 19, 0.65);
  border-color: rgba(200, 162, 74, 0.2);
}

.role {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.90rem;
  color: var(--brand-gold);
}

.role_en {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--brand-gold);
}
.meta {
  color: var(--text-light);
  font-size: 0.94rem;
}

.placeholder {
  color: #dcbf7a;
  opacity: 0.95;
}

.contact-grid {
  align-items: start;
}

.map-wrap {
  margin-top: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.9) contrast(1.03);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 28, 25, 0.75);
  padding: 1.2rem;
}

.contact-form label {
  display: block;
  margin: 0.8rem 0 0.38rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 10, 7, 0.45);
  color: var(--text-light);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aeb6af;
}

.contact-form input:focus,
.contact-form textarea:focus,
.menu a:focus,
.btn:focus,
.nav-toggle:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 1px;
}

.field-error {
  border-color: #dc6d6d !important;
}

.form-actions {
  margin-top: 1rem;
}

.captcha-wrap {
  margin-top: 0.95rem;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.8rem;
  color: var(--text-light);
}

.form-status.error {
  color: #ffb0b0;
}

.privacy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(200, 162, 74, 0.32);
  background: #133A37;
  padding: 2.4rem 0 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.25rem;
}

.footer-block {
  padding-right: 0.6rem;
}

.footer-kicker {
  margin: 0 0 0.35rem;
  color: rgba(200, 162, 74, 0.96);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-footer {
  margin: 0 0 0.65rem;
  color: #f2eee6;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.footer-title {
  margin: 0 0 0.65rem;
  color: rgba(200, 162, 74, 0.96);
  font-size: 0.78rem;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.footer-muted {
  margin: 0 0 0.55rem;
  color: rgba(242, 238, 230, 0.86);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #f2eee6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-gold);
  border-bottom-color: rgba(200, 162, 74, 0.65);
}

.site-credit {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(242, 238, 230, 0.95);
}

.site-credit a {
  color: var(--brand-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 162, 74, 0.72);
  transition: border-color 160ms ease, color 160ms ease;
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
}

@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-legal-block {
    grid-column: 1 / -1;
  }

  .partners,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .theme-toggle {
    margin-left: 0;
  }

  .menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: var(--container);
    margin: 0 auto;
    flex-direction: column;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(11, 18, 16, 0.98);
    transform-origin: top;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu[hidden] {
    display: flex;
    opacity: 0;
    transform: scaleY(0.85);
    pointer-events: none;
  }

  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal-block {
    grid-column: auto;
  }

  .hero-panel {
    min-height: 310px;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    letter-spacing: 0.2em;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .actions {
    width: 100%;
  }

  .hero-title {
    max-width: 100%;
  }

  #areas .heading-wide,
  #socios .heading-wide,
  #localizacao .heading-wide,
  #areas .lead-wide,
  #socios .lead-wide,
  #localizacao .lead-wide {
    max-width: 100%;
  }

  .map-wrap iframe {
    min-height: 320px;
  }
}


