:root {
  --ink: #0f1e3d;
  --ink-soft: #1a2a4d;
  --ink-mute: #3a4865;
  --paper: #f5efe2;
  --paper-deep: #ebe3d2;
  --paper-darker: #ddd1b6;
  --gold: #b8945a;
  --gold-deep: #9c7a44;
  --gold-soft: #d4b884;
  --char: #1a1a1a;
  --mute: #6b6457;
  --mute-soft: #8a8273;
  --rule: rgba(15,30,61,0.12);
  --rule-light: rgba(15,30,61,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--paper); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

/* ========== TOP STRIP ========== */
.topstrip {
  border-bottom: 1px solid rgba(245,239,226,0.15);
  background: var(--ink);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,239,226,0.7);
  position: relative;
  z-index: 10;
  font-weight: 500;
}
.topstrip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 56px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}
.topstrip__contact { margin-left: auto; margin-right: 0; }
.topstrip__locations { display: flex; gap: 28px; }
.topstrip__locations span { display: inline-flex; align-items: center; gap: 9px; }
.topstrip__locations span::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold-soft);
  border-radius: 50%;
}
.topstrip__lang { display: flex; gap: 14px; align-items: center; }
.topstrip__lang a { color: rgba(245,239,226,0.6); text-decoration: none; transition: color .3s; }
.topstrip__lang a.active { color: var(--paper); }
.topstrip__lang a:hover { color: var(--gold-soft); }
.topstrip__contact {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245,239,226,0.78);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 14;
  font-weight: 400;
  margin-left: auto;
  margin-right: 32px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .45s ease, backdrop-filter .45s ease, border-color .45s ease, padding .3s ease;
}
.nav.is-scrolled {
  background: rgba(15,30,61,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(245,239,226,0.12);
}
.nav.is-scrolled .nav__inner { padding-top: 12px; padding-bottom: 12px; }
.nav.is-scrolled .brand img { height: 88px; }
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 32px;
}

/* Brand: logo image */
.brand {
  display: inline-block;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 144px;
  width: auto;
  display: block;
  filter: brightness(1.1);
  transition: height .45s ease;
}

.nav__menu {
  display: flex;
  gap: 36px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav__menu a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-soft);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__menu a:hover { color: var(--gold-soft); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: var(--gold-soft);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--gold-soft); color: var(--ink); }
.nav__cta::after { content: '→'; font-size: 14px; }

/* Mobile burger */
.nav__burger {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav__burger span {
  position: absolute;
  left: 4px;
  width: 28px;
  height: 1px;
  background: var(--paper);
  transition: all .35s ease;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 24px; }
.nav__burger.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  padding: 80px 24px 40px;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36;
  font-weight: 350;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold-soft); }
.mobile-menu .mobile-menu__cta {
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold-soft);
  color: var(--gold-soft);
  padding: 16px 28px;
  margin-top: 24px;
}
.mobile-menu__locations {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,239,226,0.5);
  font-weight: 500;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.mobile-menu__locations span { display: inline-flex; align-items: center; gap: 8px; }
.mobile-menu__locations span::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold-soft);
  border-radius: 50%;
}

/* ========== HERO with background image ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 180px 0 120px;
  background-color: #0a1530;
  background-image:
    radial-gradient(ellipse at 50% 18%, rgba(184,148,90,0.14) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10,21,48,0.32) 0%, rgba(10,21,48,0.22) 50%, rgba(8,18,42,0.42) 100%),
    url("/hero-bg.png");
  background-size: cover, cover, cover;
  background-position: center;
  color: var(--paper);
  overflow: hidden;
}
.hero__triangles {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-image: url("/triangulos.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.hero__triangles--right {
  top: -60px; right: -120px;
  width: 560px; height: 580px;
  background-position: top right;
  filter: brightness(2.2) hue-rotate(-10deg);
  opacity: 0;
  transform: translate(80px, -60px) scale(0.92);
  animation: heroTriRightIn 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero__triangles--left {
  bottom: -120px; left: -180px;
  width: 480px; height: 500px;
  filter: brightness(2);
  opacity: 0;
  transform: translate(-80px, 60px) rotate(180deg) scale(0.92);
  animation: heroTriLeftIn 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.hero__triangles--accent {
  top: 30%; right: 8%;
  width: 64px; height: 64px;
  background-image: none;
  background-color: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: blur(0.3px);
  opacity: 0;
  transform: translateY(20px) scale(0.6);
  animation: heroAccentIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards, accentPulse 5s ease-in-out 3s infinite;
}

@keyframes heroTriRightIn {
  to { opacity: 0.14; transform: translate(0,0) scale(1); }
}
@keyframes heroTriLeftIn {
  to { opacity: 0.08; transform: translate(0,0) rotate(180deg) scale(1); }
}
@keyframes heroAccentIn {
  to { opacity: 0.6; transform: translateY(0) scale(1); }
}
@keyframes accentPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.08); }
}


/* Filete dourado que se desenha sob a headline */
.hero__rule-gold {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft) 50%, transparent);
  width: 0;
  margin: 56px 0 48px;
  animation: ruleDraw 1.6s cubic-bezier(0.65, 0, 0.35, 1) 1s forwards;
}
@keyframes ruleDraw {
  to { width: 180px; }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,148,90,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,148,90,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.hero__inner { position: relative; z-index: 2; }

.hero__logo {
  text-align: center;
  margin-bottom: 72px;
  animation: fadeIn 1.4s ease 0.1s both;
}
.hero__logo img {
  height: 240px;
  width: auto;
  max-width: 92%;
  filter: drop-shadow(0 2px 32px rgba(0,0,0,0.35));
}

.hero__divider {
  width: 80px;
  height: 1px;
  background: var(--gold-soft);
  margin: 0 auto 56px;
  animation: fadeIn 1.4s ease 0.5s both;
}

.hero__headline {
  font-family: 'Fraunces', serif;
  font-weight: 320;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  color: var(--paper);
  text-align: center;
  margin-bottom: 56px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1.6s ease 0.3s both;
}
.hero__headline em {
  font-style: italic;
  font-weight: 320;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-soft);
}

.hero__intro {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 350;
  font-variation-settings: "opsz" 30, "SOFT" 50;
  color: rgba(245,239,226,0.85);
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  animation: fadeIn 1.6s ease 0.6s both;
  letter-spacing: -0.005em;
}

.hero__cities {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  animation: fadeIn 1.6s ease 0.9s both;
}
.hero__cities .dot { color: rgba(212,184,132,0.5); }

/* ========== FILOSOFIA ========== */
.filosofia {
  padding: 170px 0 150px;
  position: relative;
  text-align: center;
}

.filosofia__eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.filosofia__eyebrow::before, .filosofia__eyebrow::after {
  content: '';
  flex: 0 0 64px;
  height: 1px;
  background: var(--gold);
}

.filosofia__quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 320;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
  font-size: clamp(34px, 4.7vw, 68px);
  line-height: 1.18;
  color: var(--ink);
  max-width: 1080px;
  margin: 0 auto;
  letter-spacing: -0.018em;
  position: relative;
}
.filosofia__quote .openq, .filosofia__quote .closeq {
  font-family: 'Fraunces', serif;
  font-size: 1.6em;
  color: var(--gold);
  font-style: normal;
  position: relative;
  top: 0.18em;
  line-height: 0;
  font-weight: 350;
  font-variation-settings: "opsz" 144;
}

.filosofia__attribution {
  margin-top: 56px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.filosofia__attribution span {
  display: inline-block;
  border-top: 1px solid var(--gold);
  padding-top: 14px;
  min-width: 140px;
}

/* ========== PILARES ========== */
.pilares {
  padding: 110px 0 150px;
  background: var(--paper-deep);
  position: relative;
}

.pilares__head {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  margin-bottom: 100px;
  align-items: end;
}
.pilares__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.2vw, 78px);
  font-weight: 340;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  line-height: 0.98;
  letter-spacing: -0.024em;
  color: var(--ink);
}
.pilares__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-deep);
}
.pilares__lead {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 540px;
  font-weight: 400;
}

.pilares__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.pilar {
  padding: 60px 44px 52px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.5s ease;
}
.pilar:last-child { border-right: none; }
.pilar:hover { background: var(--paper); }

.pilar__num {
  font-family: 'Fraunces', serif;
  font-size: 88px;
  font-weight: 280;
  font-variation-settings: "opsz" 144;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 0.8px var(--gold-deep);
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.pilar__title {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 380;
  font-variation-settings: "SOFT" 50, "opsz" 36;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.012em;
}
.pilar__body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.pilar__list {
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.pilar__list li {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}
.pilar__list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ========== SOBRE (sem foto, single column wide) ========== */
.sobre {
  padding: 170px 0 150px;
  position: relative;
}
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  align-items: start;
}
.sobre__side {
  position: sticky;
  top: 120px;
}
.sobre__eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.sobre__eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
}
.sobre__side-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 64px;
  font-weight: 340;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-deep);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.sobre__ornament {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin-top: 40px;
}

.sobre__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 340;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.018em;
}
.sobre__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--ink);
}
.sobre__attribution {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  display: inline-block;
  padding-right: 24px;
}
.sobre__lead {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 360;
  font-variation-settings: "opsz" 30, "SOFT" 40;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.sobre__lead::first-letter {
  font-size: 64px;
  font-weight: 340;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  float: left;
  line-height: 0.95;
  margin: 6px 14px -4px 0;
  color: var(--gold-deep);
}
.sobre__body {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.sobre__signature {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  flex-wrap: wrap;
}
.sobre__signature-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 30px;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36;
  color: var(--ink);
  font-weight: 360;
  line-height: 1;
}
.sobre__signature-role {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
  font-weight: 500;
}
.link-cta {
  font-family: 'Source Sans 3';
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.link-cta::after { content: '→'; transition: transform .3s; }
.link-cta:hover { color: var(--gold-deep); }
.link-cta:hover::after { transform: translateX(4px); }

/* ========== ÁREAS ========== */
.areas {
  padding: 150px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.areas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}
.areas__head {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}
.areas__eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.areas__eyebrow::before, .areas__eyebrow::after {
  content: '';
  width: 48px; height: 1px;
  background: var(--gold);
}
.areas__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.2vw, 78px);
  font-weight: 340;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  line-height: 1;
  letter-spacing: -0.024em;
  color: var(--paper);
}
.areas__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-soft);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,239,226,0.2);
  position: relative;
  z-index: 2;
}
.area {
  padding: 60px 44px;
  border-right: 1px solid rgba(245,239,226,0.2);
  position: relative;
  cursor: pointer;
  transition: background 0.5s ease;
}
.area:last-child { border-right: none; }
.area:hover { background: rgba(184,148,90,0.07); }
.area__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(184,148,90,0.4);
  padding-bottom: 22px;
}
.area__num {
  font-family: 'Fraunces', serif;
  font-size: 13.5px;
  letter-spacing: 0.32em;
  color: var(--gold-soft);
  font-weight: 500;
  text-transform: uppercase;
}
.area__arrow {
  font-size: 20px;
  color: var(--gold-soft);
  transition: transform 0.4s ease;
}
.area:hover .area__arrow { transform: translateX(10px); }

.area__title {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 360;
  font-variation-settings: "SOFT" 60, "opsz" 36;
  line-height: 1.08;
  margin-bottom: 26px;
  color: var(--paper);
  letter-spacing: -0.015em;
}
.area__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36;
  color: var(--gold-soft);
}
.area__body {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(245,239,226,0.78);
  margin-bottom: 36px;
}
.area__tags { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.area__tags span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 0.5px dotted rgba(212,184,132,0.4);
}

/* ========== ENTIDADES (LOGO WALL) ========== */
.entidades {
  padding: 150px 0 130px;
  position: relative;
  background: var(--paper);
}

.entidades__head {
  text-align: center;
  margin-bottom: 90px;
}
.entidades__eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.entidades__eyebrow::before, .entidades__eyebrow::after {
  content: '';
  width: 48px; height: 1px;
  background: var(--gold);
}
.entidades__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.8vw, 70px);
  font-weight: 340;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 28px;
}
.entidades__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-deep);
}
.entidades__lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Logo wall on navy background — institutional premium */
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ink);
  margin-bottom: 56px;
  position: relative;
  border: 1px solid rgba(245,239,226,0.12);
}
.logos::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}
.logo-cell {
  position: relative;
  aspect-ratio: 4/3;
  border-right: 1px solid rgba(245,239,226,0.12);
  border-bottom: 1px solid rgba(245,239,226,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  transition: all .5s ease;
  overflow: hidden;
  z-index: 2;
}
.logo-cell:nth-child(4n) { border-right: none; }
.logo-cell:nth-last-child(-n+4):nth-child(n+9) { border-bottom: none; }
.logo-cell:hover { background: rgba(184,148,90,0.08); }
.logo-cell:hover .logo-cell__img { opacity: 1; transform: scale(1.05); }
.logo-cell:hover .logo-cell__hover { opacity: 1; transform: translateY(0); }

.logo-cell__img {
  width: 100%;
  max-width: 320px;
  max-height: 160px;
  object-fit: contain;
  opacity: 0.85;
  filter: brightness(1.08);
  transition: all .6s ease;
}

.logo-cell__hover {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s ease;
}

.entidades__caption {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  font-variation-settings: "opsz" 14, "SOFT" 60;
  color: var(--mute);
  margin-bottom: 48px;
}

.entidades__cta-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

/* ========== CTA BLOCK ========== */
.cta-block {
  padding: 150px 0;
  background: var(--paper-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before, .cta-block::after {
  content: '';
  position: absolute;
  width: 18%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
  top: 50%;
}
.cta-block::before { left: 0; }
.cta-block::after { right: 0; transform: scaleX(-1); }

.cta-block__small {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 36px;
}
.cta-block__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.6vw, 86px);
  font-weight: 340;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 48px;
  letter-spacing: -0.024em;
}
.cta-block__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-deep);
}
.cta-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 40px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s ease;
  border: 1px solid var(--ink);
}
.cta-block__btn:hover { background: transparent; color: var(--ink); }
.cta-block__btn::after { content: '→'; font-size: 18px; transition: transform 0.3s ease; }
.cta-block__btn:hover::after { transform: translateX(8px); }

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0 44px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 100px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(245,239,226,0.2);
  position: relative;
  z-index: 2;
}

.footer__brand-img { height: 116px; width: auto; display: block; margin-bottom: 24px; filter: brightness(1.1); }

.footer__statement {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 28;
  font-weight: 350;
  line-height: 1.5;
  color: var(--gold-soft);
  max-width: 420px;
  letter-spacing: -0.008em;
}
.footer__statement em {
  color: var(--paper);
  font-style: italic;
}

.footer__offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.office__city {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 360;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36;
  color: var(--gold-soft);
  margin-bottom: 8px;
  line-height: 1;
}
.office__role {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,239,226,0.5);
  margin-bottom: 22px;
  font-weight: 600;
}
.office__address, .office__phone, .office__email {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(245,239,226,0.85);
  margin-bottom: 4px;
}
.office__email a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 0.5px dotted var(--gold-soft);
  padding-bottom: 1px;
  transition: color .3s;
}
.office__email a:hover { color: var(--paper); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 44px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,239,226,0.5);
  position: relative;
  z-index: 2;
  font-weight: 400;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__legal { display: flex; gap: 36px; flex-wrap: wrap; }
.footer__legal a { color: rgba(245,239,226,0.5); text-decoration: none; transition: color .3s; }
.footer__legal a:hover { color: var(--gold-soft); }

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* Headline reveal — mascarada de baixo para cima (cinemático) */
@keyframes maskRevealUp {
  0%   { clip-path: inset(0 0 100% 0); transform: translateY(8px); }
  100% { clip-path: inset(0 0 0 0); transform: translateY(0); }
}
.hero__headline {
  clip-path: inset(0 0 100% 0);
  animation: maskRevealUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Hairlines dos eyebrows crescem ao scroll */
.areas__eyebrow::before, .areas__eyebrow::after,
.entidades__eyebrow::before, .entidades__eyebrow::after,
.offices__eyebrow::before, .offices__eyebrow::after,
.valores__eyebrow::before, .valores__eyebrow::after,
.sobre__eyebrow::before, .chapter__eyebrow + .chapter__rule {
  width: 0 !important;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view.areas__eyebrow::before, .in-view.areas__eyebrow::after,
.in-view.entidades__eyebrow::before, .in-view.entidades__eyebrow::after,
.in-view.offices__eyebrow::before, .in-view.offices__eyebrow::after,
.in-view.valores__eyebrow::before, .in-view.valores__eyebrow::after { width: 48px !important; }
.in-view.sobre__eyebrow::before { width: 36px !important; }

/* Logo wall stagger */
.logo-cell { transition-delay: calc(var(--i, 0) * 80ms) !important; }

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

/* --- TABLET (641–1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav__inner, .topstrip__inner { padding: 18px 32px; }
  .topstrip__contact { display: none; }
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }

  /* Logo reduzido no tablet */
  .brand img { height: 100px; }
  .nav.is-scrolled .brand img { height: 64px; }

  /* Grids → single column */
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(4n) { border-right: 1px solid rgba(245,239,226,0.12); }
  .logo-cell:nth-child(3n) { border-right: none; }
  .logo-cell { padding: 36px 28px; }
  .pilares__head, .pilares__grid, .areas__grid, .sobre__inner, .footer__top, .footer__offices {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sobre__side { position: static; }
  .pilar { border-right: none; border-bottom: 1px solid var(--rule); }
  .pilar:last-child { border-bottom: none; }
  .area { border-right: none; border-bottom: 1px solid rgba(245,239,226,0.2); }
  .area:last-child { border-bottom: none; }

  /* Hero ajustado */
  .hero { padding: 140px 0 80px; }
  .hero__headline { margin-bottom: 36px; }
  .hero__intro { margin-bottom: 36px; }

  /* Footer centrado */
  .footer__top { text-align: center; gap: 36px !important; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand-img { margin-left: auto; margin-right: auto; height: 80px; margin-bottom: 18px; }
  .footer__statement { margin-left: auto; margin-right: auto; max-width: 320px; font-size: 17px; }
  .footer__offices { gap: 32px; }
  .office { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .office__email a { display: inline-block; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 14px; text-align: center; }
  .footer__legal { justify-content: center; }
}

/* --- MOBILE (≤640px) --- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 12px 20px; }
  .topstrip__inner { padding: 9px 20px; }
  .topstrip__locations { gap: 14px; font-size: 10px; letter-spacing: 0.18em; }

  /* Logo compacto */
  .brand img { height: 64px; }
  .nav.is-scrolled .brand img { height: 48px; }
  .nav.is-scrolled .nav__inner { padding-top: 8px; padding-bottom: 8px; }

  /* Hero mobile — forçar ecrã cheio com imagem portrait */
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 140px 0 80px;
    background-image:
      radial-gradient(ellipse at 50% 18%, rgba(184,148,90,0.14) 0%, transparent 60%),
      linear-gradient(180deg, rgba(10,21,48,0.32) 0%, rgba(10,21,48,0.22) 50%, rgba(8,18,42,0.42) 100%),
      url("/hero-bg-mobile.png");
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-attachment: scroll;
  }
  .hero__headline {
    font-size: clamp(40px, 11vw, 56px);
    margin-bottom: 32px;
  }
  .hero__intro { margin-bottom: 32px; font-size: 17px; line-height: 1.7; max-width: 90%; margin-left: auto; margin-right: auto; }
  .hero__divider { margin-bottom: 28px; }
  .hero__cities { gap: 12px; font-size: 10.5px; letter-spacing: 0.3em; }
  .hero__triangles--right { width: 280px; height: 290px; top: -30px; right: -60px; }
  .hero__triangles--left { width: 240px; height: 250px; bottom: -60px; left: -90px; }
  .hero__triangles--accent { width: 40px; height: 40px; }

  /* Secções: padding reduzido */
  .filosofia, .pilares, .sobre, .areas, .entidades, .cta-block { padding: 64px 0; }
  .pilares__head { gap: 20px; margin-bottom: 40px; }

  /* Pilares */
  .pilar { padding: 36px 20px 32px; }
  .pilar__num { font-size: 56px; margin-bottom: 18px; }
  .pilar__title { font-size: 24px; margin-bottom: 14px; }
  .pilar__body { font-size: 14.5px; margin-bottom: 28px; }
  .pilar__list li { font-size: 12.5px; padding: 7px 0; gap: 10px; }

  /* Áreas */
  .area { padding: 36px 20px; }
  .area__title { font-size: 28px; margin-bottom: 18px; }
  .area__body { font-size: 14.5px; margin-bottom: 28px; }
  .area__tags { gap: 6px 14px; }
  .area__tags span { font-size: 9.5px; }

  /* Sobre */
  .sobre__side-title { font-size: 40px; }
  .sobre__lead { font-size: 19px; }
  .sobre__lead::first-letter { font-size: 44px; margin: 4px 10px -4px 0; }
  .sobre__body { font-size: 15px; }
  .sobre__title { margin-bottom: 14px; }
  .sobre__attribution { margin-bottom: 32px; padding-bottom: 20px; }
  .sobre__ornament { height: 48px; margin-top: 24px; }
  .sobre__signature { margin-top: 36px; padding-top: 24px; gap: 24px; }

  /* Logos: 2 colunas com padding reduzido */
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-cell:nth-child(3n) { border-right: 1px solid rgba(245,239,226,0.12); }
  .logo-cell:nth-child(2n) { border-right: none; }
  .logo-cell { padding: 24px 16px; }
  .logo-cell__img { max-height: 80px; }

  /* Entidades */
  .entidades__head { margin-bottom: 48px; }
  .entidades__cta-row { flex-direction: column; gap: 20px; }

  /* CTA Block */
  .cta-block__btn { padding: 16px 24px; font-size: 11px; letter-spacing: 0.2em; }

  /* Footer mobile compacto e centrado */
  .footer { padding: 48px 0 24px; }
  .footer__top { padding-bottom: 32px; gap: 24px; text-align: center; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand-img { height: 56px; margin: 0 auto 12px; }
  .footer__statement { font-size: 16px; max-width: 280px; }
  .footer__offices { gap: 24px; }
  .office { text-align: center; }
  .office__city { font-size: 22px; margin-bottom: 4px; }
  .office__role { margin-bottom: 10px; font-size: 9px; }
  .office__address, .office__phone, .office__email { font-size: 13px; line-height: 1.55; }
  .footer__bottom { flex-direction: column; align-items: center; padding-top: 24px; gap: 12px; text-align: center; font-size: 10px; }
  .footer__legal { gap: 14px; justify-content: center; font-size: 10px; }

  /* Mobile menu */
  .mobile-menu a { font-size: 26px; }
  .mobile-menu { gap: 24px; padding: 80px 20px 40px; }

  /* Filosofia */
  .filosofia__quote { font-size: clamp(24px, 6.5vw, 34px); }
}

/* --- ECRÃS MUITO PEQUENOS (≤400px) --- */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 10px 16px; }
  .brand img { height: 52px; }
  .nav.is-scrolled .brand img { height: 40px; }

  .hero { padding: 120px 0 64px; }
  .hero__headline { font-size: clamp(34px, 10vw, 42px); margin-bottom: 24px; }
  .hero__intro { font-size: 15.5px; }

  .pilar { padding: 28px 16px 24px; }
  .pilar__num { font-size: 48px; margin-bottom: 14px; }
  .pilar__title { font-size: 22px; }
  .area { padding: 28px 16px; }
  .area__title { font-size: 24px; }

  .sobre__side-title { font-size: 34px; }
  .sobre__lead { font-size: 17px; }
  .sobre__lead::first-letter { font-size: 38px; }

  .mobile-menu a { font-size: 22px; }
  .mobile-menu { gap: 18px; }
  .mobile-menu__locations { gap: 14px; font-size: 9px; }

  .logo-cell { padding: 18px 12px; }
  .logo-cell__img { max-height: 60px; }

  .footer__brand-img { height: 44px; }
  .footer__statement { font-size: 14px; max-width: 260px; }
  .office__city { font-size: 20px; }
  .office__address, .office__phone, .office__email { font-size: 12.5px; }

  .filosofia, .pilares, .sobre, .areas, .entidades, .cta-block { padding: 52px 0; }
  .cta-block__btn { padding: 14px 20px; font-size: 10.5px; }
}
