@font-face {
  font-family: "Rethink Sans";
  src: url("assets/fonts/rethink-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("assets/fonts/rethink-sans-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("assets/fonts/rethink-sans-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Rethink Sans";
  src: url("assets/fonts/rethink-sans-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --blue: #008ead;
  --blue-dark: #007f9d;
  --ink: #454545;
  --muted: #6e6e6e;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --line: rgba(67, 67, 67, 0.22);
  --shell: min(1320px, calc(100vw - 80px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Rethink Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.page-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(80px, 9vw, 150px); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  height: 100px;
  align-items: center;
  justify-content: space-between;
  color: white;
  transform: translateX(-50%);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255,255,255,.25);
  content: "";
}
.brand { display: inline-flex; align-items: center; color: white; }
.brand-logo { width: 158px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3.1vw, 52px); }
.main-nav a, .language {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a::after {
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.language { border-left: 1px solid rgba(255,255,255,.5); padding-left: 19px; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero {
  position: relative;
  display: grid;
  min-height: min(830px, 100svh);
  align-items: center;
  overflow: hidden;
  color: white;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; background: #283d46; }
.hero-image {
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  animation: hero-image-in 1.8s var(--ease) forwards;
}
.hero-image--left { background-image: url("assets/web/hero-imobiliario.jpg"); background-position: center 55%; }
.hero-image--right { background-image: url("assets/web/hero-servicos.jpg"); background-position: center; animation-delay: .12s; }
.hero-shade {
  background: linear-gradient(90deg, rgba(7,18,23,.5), rgba(7,18,23,.12) 58%, rgba(7,18,23,.18));
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.eyebrow {
  margin: 0 0 17px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
}
.eyebrow--blue { color: var(--blue); }
.hero-eyebrow { opacity: 0; animation: rise-in .8s .25s var(--ease) forwards; }
.hero h1 {
  max-width: 900px;
  margin: 0 0 40px;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}
.hero h1 span { display: block; opacity: 0; transform: translateY(70px); animation: rise-in 1s .38s var(--ease) forwards; }
.hero h1 span + span { animation-delay: .52s; }
.hero-content > .text-link { opacity: 0; animation: rise-in .8s .72s var(--ease) forwards; }
.text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding: 0 20px 6px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .035em;
  transition: opacity .25s ease, padding .25s ease;
}
.text-link:hover, .text-link:focus-visible { padding-right: 28px; opacity: .7; }
.text-link--light { color: white; }
.hero-tabs {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 46px;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 50px);
  padding: 10px 30px;
  background: var(--blue);
}
.hero-tabs a { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.tab-mark { width: 23px; height: 23px; object-fit: contain; }

.intro-grid { display: grid; grid-template-columns: 1.45fr .6fr; gap: clamp(80px, 12vw, 190px); align-items: end; }
.intro h2, .presence h2, .news h2, .people h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .94;
}
.intro h2 strong { font-weight: 700; }
.intro-copy { max-width: 430px; padding-bottom: 6px; }
.intro-copy p { margin: 0 0 34px; color: var(--muted); }

.business-panels { display: flex; height: 720px; overflow: hidden; background: #2c383d; }
.business-panel {
  position: relative;
  height: 100%;
  width: 23%;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: width .85s var(--ease);
}
.business-panel.is-active { width: 54%; }
.business-panel img { height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s ease; }
.business-panel:not(.is-active) img { filter: saturate(.85) brightness(.82); }
.business-panel:hover img, .business-panel:focus-visible img { transform: scale(1.025); }
.panel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,14,18,.74)); }
.panel-content { position: absolute; right: 48px; bottom: 48px; left: 48px; color: white; opacity: 0; transform: translateY(30px); transition: opacity .45s ease, transform .65s var(--ease); }
.business-panel.is-active .panel-content { opacity: 1; transform: none; transition-delay: .2s; }
.panel-content h3 { margin: 0 0 16px; font-size: clamp(42px, 4.4vw, 76px); font-weight: 650; letter-spacing: -.045em; line-height: .9; }
.panel-content .eyebrow { margin-bottom: 13px; }

.presence { overflow: hidden; background: var(--blue); color: white; }
.presence-heading { display: grid; grid-template-columns: 1fr .76fr; gap: 90px; align-items: end; margin-bottom: 68px; }
.presence-heading > p { max-width: 600px; margin: 0 0 7px; font-weight: 550; }
.country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.country-card { position: relative; min-height: 420px; overflow: hidden; border-radius: 20px; color: white; }
.country-card img { height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.country-card:hover img { transform: scale(1.045); }
.country-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,15,21,.05), rgba(4,15,21,.74)); }
.country-content { position: absolute; right: 40px; bottom: 38px; left: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.country-content .eyebrow { margin-bottom: 9px; }
.country-content strong { font-size: clamp(44px, 4vw, 66px); font-weight: 550; letter-spacing: -.04em; line-height: 1; }
.country-content small { margin: 10px 0 20px; font-size: 14px; }

.people-card { display: grid; grid-template-columns: 1.28fr .9fr; overflow: hidden; border-radius: 22px; background: var(--soft); }
.video-poster { position: relative; min-height: 460px; overflow: hidden; background: #d5d5d5; }
.video-poster img { height: 100%; object-fit: cover; }
.video-poster::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 55%); content: ""; }
.play-button {
  position: absolute;
  z-index: 2;
  bottom: 35px;
  left: 35px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.play-button:hover { transform: scale(1.08); background: white; }
.play-button span { width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid var(--blue); }
.video-note { position: absolute; z-index: 3; right: 25px; bottom: 27px; margin: 0; padding: 7px 12px; border-radius: 30px; background: rgba(0,0,0,.62); color: white; font-size: 13px; opacity: 0; transform: translateY(8px); transition: .3s ease; }
.video-poster.is-noted .video-note { opacity: 1; transform: none; }
.people-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 90px); }
.people-copy h2 { font-size: clamp(39px, 4.6vw, 66px); }
.people-copy > p:not(.eyebrow) { max-width: 440px; margin: 28px 0 34px; color: var(--muted); }
.people-copy .text-link { align-self: flex-start; }

.news { padding-top: 30px; }
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 55px; }
.news-heading h2 { font-size: clamp(50px, 6vw, 84px); }
.news-track {
  display: grid;
  grid-auto-columns: min(47%, 620px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.news-track::-webkit-scrollbar { display: none; }
.news-card { position: relative; min-height: 510px; overflow: hidden; border-radius: 19px; scroll-snap-align: start; color: white; }
.news-card img { height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover img { transform: scale(1.04); }
.news-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,15,21,.76)); }
.news-card-content { position: absolute; right: 34px; bottom: 34px; left: 34px; }
.news-card-content p { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-card-content h3 { margin: 0 0 20px; font-size: clamp(34px, 3vw, 48px); font-weight: 500; letter-spacing: -.035em; }
.carousel-controls { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.carousel-controls button { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; }
.carousel-progress { position: relative; width: 170px; height: 2px; overflow: hidden; background: var(--line); }
.carousel-progress span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--blue); transition: width .2s linear; }

.site-footer { padding-block: 74px 54px; background: var(--blue); color: white; }
.site-footer .page-shell { width: min(1232px, calc(100vw - 96px)); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .72fr .48fr; gap: 105px; align-items: start; }
.footer-brand .brand { margin-bottom: 30px; }
.footer-brand .brand-logo { width: 205px; }
.site-footer .footer-brand p { margin: 0; font-size: 50px; font-weight: 350; letter-spacing: -.035em; line-height: 1.06; }
.site-footer h2 { margin: 2px 0 28px; font-size: 14px; font-weight: 700; }
.site-footer p { margin: 0; font-size: 16px; line-height: 1.75; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 14px; }
.site-footer a:hover, .site-footer a:focus-visible { opacity: .7; }
.footer-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 125px; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.75); }
.footer-bottom p { font-size: 12px; }
.socials { display: flex; gap: 9px; }
.socials a { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: white; color: var(--blue); }
.socials svg { width: 14px; height: 14px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(55px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal--delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes hero-image-in { to { transform: scale(1); } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 42px, 760px); }
  .site-header { left: 0; width: 100%; height: 78px; padding-inline: 21px; transform: none; }
  .site-header > .brand { position: relative; z-index: 2; }
  .site-header::after { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 1px; background: white; transition: transform .3s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--blue); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a, .language { font-size: 25px; font-weight: 450; }
  .language { border: 0; padding-left: 0; }
  .hero { min-height: 780px; align-items: end; padding-bottom: 115px; }
  .hero-content { padding-top: 130px; }
  .hero-media { grid-template-columns: 1fr; }
  .hero-image--left { display: none; }
  .hero-image--right { background-position: 48% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,17,22,.2), rgba(6,17,22,.7)); }
  .hero h1 { font-size: clamp(52px, 13vw, 82px); line-height: .92; }
  .hero-tabs { grid-template-columns: 1fr 1fr; justify-items: center; gap: 5px 20px; padding: 12px 18px; }
  .hero-tabs .tab-mark { display: none; }
  .intro-grid, .presence-heading, .people-card, .footer-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 48px; }
  .intro-copy { max-width: 600px; }
  .business { padding: 16px; background: white; }
  .business-panels { height: auto; flex-direction: column; gap: 14px; background: white; }
  .business-panel, .business-panel.is-active {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 16px;
    cursor: default;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .business-panel:nth-child(2) { transition-delay: .08s; }
  .business-panel:nth-child(3) { transition-delay: .16s; }
  .business-panel.is-in-view { opacity: 1; transform: none; }
  .business-panel:not(.is-active) img { filter: none; }
  .business-panel img { transform: scale(1.02); }
  .business-panel.is-in-view img { transform: scale(1); }
  .business-panel .panel-content { right: 24px; bottom: 28px; left: 24px; opacity: 1; transform: none; }
  .country-grid { grid-template-columns: 1fr; }
  .country-card { min-height: 390px; }
  .presence-heading { gap: 34px; margin-bottom: 50px; }
  .people-copy { padding: 52px 30px 60px; }
  .video-poster { min-height: 420px; }
  .news { padding-top: 10px; }
  .news-track { grid-auto-columns: 82%; }
  .site-footer { padding-block: 68px 34px; }
  .site-footer .page-shell { width: min(100% - 42px, 760px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 52px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-logo { width: 185px; }
  .site-footer .footer-brand p { font-size: 42px; }
  .footer-bottom { align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 52px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .section-pad { padding-block: 72px; }
  .brand-logo { width: 138px; }
  .hero { min-height: 720px; }
  .hero h1 { margin-bottom: 30px; font-size: clamp(48px, 14vw, 68px); }
  .hero-eyebrow { max-width: 290px; }
  .hero-tabs a { font-size: 10px; }
  .intro h2, .presence h2, .people h2, .news h2 { font-size: 43px; }
  .panel-content h3 { font-size: 45px; }
  .country-card { min-height: 360px; border-radius: 14px; }
  .country-content { right: 24px; bottom: 25px; left: 24px; }
  .video-poster { min-height: 310px; }
  .play-button { bottom: 22px; left: 22px; width: 54px; height: 54px; }
  .news-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
  .news-track { width: calc(100vw - 16px); grid-auto-columns: 88%; gap: 10px; }
  .news-card { min-height: 430px; border-radius: 14px; }
  .news-card-content { right: 24px; bottom: 25px; left: 24px; }
  .site-footer .page-shell { width: calc(100% - 32px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 46px 18px; }
  .footer-brand .brand-logo { width: 175px; }
  .site-footer .footer-brand p { font-size: 38px; }
  .site-footer h2 { margin-bottom: 20px; }
  .site-footer p, .site-footer nav { font-size: 14px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
