/* ============================================================
   COMPASSO IMOBILIÁRIO — PREMIUM STYLESHEET
   Cores: #FF7F00 (laranja) · #505050 (grafite) · #BABABA (cinza) · #FFFFFF (branco)
   ============================================================ */

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

:root {
  --orange:       #FF7F00;
  --orange-light: #FFF0E0;
  --orange-dark:  #D96B00;
  --graphite:     #505050;
  --graphite-dark:#2E2E2E;
  --gray:         #BABABA;
  --gray-light:   #F5F5F5;
  --gray-mid:     #E8E8E8;
  --white:        #FFFFFF;
  --text:         #3A3A3A;
  --text-light:   #777777;
  --radius:       12px;
  --radius-lg:    24px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  color: var(--graphite-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }

p { line-height: 1.75; color: var(--text-light); }
a { text-decoration: none; color: inherit; }
img { width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- ANIMAÇÕES --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.animate { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,127,0,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--graphite);
  border: 1.5px solid var(--graphite);
}
.btn--outline:hover {
  background: var(--graphite-dark);
  color: var(--white);
  border-color: var(--graphite-dark);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--graphite-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--orange);
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 2px;
}
.btn--ghost:hover { color: var(--orange-dark); border-color: var(--orange-dark); }

.btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-mid);
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  /* Cores do logotipo nunca são alteradas — mantém sempre o ficheiro original */
}
/* Fundo claro atrás do logo para garantir visibilidade sem alterar as suas cores.
   O padding é sempre igual nos dois estados da navbar — só a cor de fundo muda —
   para o logo nunca se deslocar de posição ao fazer scroll. */
.nav-logo {
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s ease;
}
.navbar:not(.scrolled) .nav-logo {
  background: rgba(255,255,255,0.95);
}
.footer-logo img {
  height: 36px;
  width: auto;
}
.footer-logo {
  background: rgba(255,255,255,0.95);
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
}
.nav-logo .logo-fallback {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--graphite-dark);
  letter-spacing: 0.02em;
}
.nav-logo .logo-fallback span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--graphite-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--graphite); }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.9); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--white); }
.navbar:not(.scrolled) .btn--nav-cta { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--graphite);
  transition: var(--transition);
}
.btn--nav-cta:hover { background: var(--orange); border-color: var(--orange); color: var(--white) !important; }
.navbar.scrolled .btn--nav-cta { border-color: var(--graphite); color: var(--graphite); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .menu-toggle span { background: var(--graphite-dark); }

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

/* --- HERO: vídeo do palácio e banner --- */
/* O último fotograma do vídeo está aqui como imagem fixa. Quando o
   vídeo acaba, ele desvanece e revela esta imagem, que é idêntica.
   Assim a passagem é imperceptível e funciona mesmo que o navegador
   bloqueie o arranque automático. */
.hero-fundo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #2b2117 url('media/palacio-final.jpg') center/cover no-repeat;
  /* sem escala inicial: tem de coincidir ao pixel com o vídeo,
     senão nota-se um salto quando ele desvanece */
}
.hero.revelado .hero-fundo {
  animation: respirar 26s ease-in-out infinite alternate;
}
@keyframes respirar {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-0.7%, -0.5%, 0); }
}

.cena-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 1.1s ease;
}
.cena-video.oculto { opacity: 0; pointer-events: none; }

/* escurecimento à ESQUERDA, que é onde fica o texto
   (no último fotograma do vídeo a chave está à direita) */
.hero .hero-overlay {
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(28,21,14,0.92) 0%,
    rgba(28,21,14,0.78) 40%,
    rgba(28,21,14,0.32) 66%,
    rgba(28,21,14,0.06) 100%
  );
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero.revelado .hero-overlay { opacity: 1; }

/* conteúdo encostado à esquerda */
.hero .hero-content {
  z-index: 3;
  margin-left: max(40px, calc((100% - 1360px) / 2 + 40px));
  margin-right: auto;
  opacity: 0;
  transform: translateY(26px);
}
.hero.revelado .hero-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s ease 0.15s, transform 1.1s cubic-bezier(0.16,1,0.3,1) 0.15s;
}

.hero .hero-scroll {
  z-index: 3;
  left: max(40px, calc((100% - 1360px) / 2 + 40px));
  right: auto;
  opacity: 0;
  transition: opacity 1s ease 0.5s;
}
.hero.revelado .hero-scroll { opacity: 1; }


@media (max-width: 900px) {
  /* min-width:0 é essencial: sem isto o item flexível recusa encolher
     abaixo do conteúdo mais largo e o texto sai fora do ecrã. */
  .hero .hero-content {
    margin-left: 20px;
    margin-right: 20px;
    padding: 116px 0 88px;
    min-width: 0;
    max-width: 100%;
  }
  .hero h1 { font-size: clamp(1.6rem, 7.2vw, 2.3rem); }
  .hero-sub { font-size: 0.96rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { justify-content: center; }
  .hero .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(32,24,16,0.94) 0%,
      rgba(32,24,16,0.80) 45%,
      rgba(32,24,16,0.45) 100%
    );
  }
  .hero .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero.revelado .hero-fundo { animation: none; }
}

/* --- HELPERS DE SECÇÃO --- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-title { margin-bottom: 20px; }
.section-body { font-size: 1rem; line-height: 1.85; max-width: 620px; }

/* --- HERO (fundo, texto e indicador de scroll) --- */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2E2E2E 0%, #505050 50%, #3a3a3a 100%);
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: multiply;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(46,46,46,0.92) 0%,
    rgba(46,46,46,0.70) 55%,
    rgba(46,46,46,0.15) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 140px 40px 100px;
  margin-left: max(40px, calc((100% - 1360px) / 2 + 40px));
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--orange);
}
.hero-eyebrow span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--orange); }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 42px;
  left: max(40px, calc((100% - 1360px) / 2 + 40px));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.scroll-line {
  width: 46px; height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--orange);
  transform: translateX(-100%);
  animation: scrollDesliza 2.4s ease-in-out infinite;
}
@keyframes scrollDesliza {
  0%        { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* --- POSICIONAMENTO --- */
.posicionamento { padding: 120px 0; background: var(--white); }
.pos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pos-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pos-image img { height: 560px; object-fit: cover; }
.pos-pillars { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-icon { font-size: 1.4rem; line-height: 1.4; flex-shrink: 0; }
.pillar-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--graphite-dark);
  margin-bottom: 3px;
}
.pillar-text span { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* --- COMO AJUDAMOS --- */
.como-ajudamos { padding: 120px 0; background: var(--gray-light); }
.como-header { margin-bottom: 56px; }
.como-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.como-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.como-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.como-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--orange);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 18px;
}
.como-card h3 { margin-bottom: 14px; }
.como-card p { font-size: 0.94rem; margin-bottom: 22px; flex-grow: 1; }

/* --- LIDERANÇA --- */
.pedro { padding: 120px 0; background: var(--white); }
.lideranca-header { text-align: center; margin-bottom: 56px; }
.lideranca-header .section-label { justify-content: center; }
.lideranca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.lideranca-col { position: relative; }
.lideranca-image { position: relative; }
.lideranca-image img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.lideranca-image::after {
  content: '';
  position: absolute;
  left: -14px; bottom: -14px;
  width: 55%; height: 45%;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  border-radius: 0 0 0 var(--radius-lg);
  z-index: 0;
}
.lideranca-col h3 { margin-top: 30px; font-size: 1.65rem; }
.lideranca-role {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.pedro-quote {
  margin-top: 22px;
  background: var(--gray-light);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--graphite-dark);
}
.lideranca-bio { text-align: center; max-width: 780px; margin: 60px auto 0; }
.lideranca-cta { text-align: center; margin-top: 34px; }

/* --- EQUIPA --- */
.equipa { padding: 120px 0; background: var(--graphite-dark); }
.equipa-header { text-align: center; margin-bottom: 56px; }
.equipa-header .section-label { justify-content: center; }
.equipa-header .section-title { color: var(--white); }
.equipa-header .section-body { color: rgba(255,255,255,0.6); margin: 0 auto; }
.equipa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.consultor-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  text-align: center;
  transition: var(--transition);
}
.consultor-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.consultor-avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultor-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.consultor-avatar .initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}
.consultor-card h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 5px; }
.consultor-role {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.consultor-frase {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

/* --- PROCESSO --- */
.processo { padding: 120px 0; background: var(--white); }
.processo-header { text-align: center; margin-bottom: 64px; }
.processo-header .section-label { justify-content: center; }
.processo-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { text-align: center; padding: 0 8px; transition: var(--transition); }
.step-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gray);
  color: var(--graphite);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.step.active .step-circle,
.step:hover .step-circle {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.08);
}
.step h4 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { font-size: 0.88rem; line-height: 1.7; }

/* --- TESTEMUNHOS --- */
.testemunhos { padding: 120px 0; background: var(--gray-light); }
.testemunhos-header { text-align: center; margin-bottom: 56px; }
.testemunhos-header .section-label { justify-content: center; }
.testemunhos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testemunho {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testemunho > p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--graphite-dark);
  margin-bottom: 26px;
  flex-grow: 1;
}
.testemunho-autor { display: flex; align-items: center; gap: 14px; }
.autor-initials {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stars { color: var(--orange); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 2px; }
.testemunho-autor strong { display: block; font-size: 0.92rem; color: var(--graphite-dark); }
.testemunho-autor span { font-size: 0.8rem; color: var(--text-light); }

/* --- ZONAS --- */
.zonas { padding: 120px 0; background: var(--white); }
.zonas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.zona-item { display: flex; align-items: flex-start; gap: 14px; }
.zona-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255,127,0,0.15);
}
.zona-item strong { display: block; font-size: 0.95rem; color: var(--graphite-dark); }
.zona-item span { font-size: 0.9rem; color: var(--text-light); }
.zonas-image {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.zonas-image iframe { display: block; }

/* --- CTA FINAL --- */
.cta-final {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--graphite-dark) 0%, #3a3a3a 100%);
  text-align: center;
}
.cta-final .section-label { justify-content: center; }
.cta-final h2 { color: var(--white); margin-bottom: 20px; }
.cta-final p {
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* --- FOOTER --- */
.footer { background: #232323; color: rgba(255,255,255,0.6); padding: 80px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin-top: 20px;
  max-width: 300px;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--orange); }

/* --- PAGES INTERNAS --- */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--graphite-dark) 0%, #3a3a3a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-bottom: 20px; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--orange); }
.page-content { padding: 100px 0; }

/* Páginas legais (Termos, Privacidade) */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content .legal-updated { font-size: 0.82rem; color: var(--text-light); margin-bottom: 48px; }
.legal-content h2 { font-size: 1.5rem; margin: 48px 0 16px; color: var(--graphite-dark); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 0.98rem; line-height: 1.85; color: var(--text); margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { font-size: 0.98rem; line-height: 1.85; color: var(--text); margin-bottom: 8px; }
.legal-content a { color: var(--orange); font-weight: 600; }
.legal-content strong { color: var(--graphite-dark); }

/* Barra de cookies */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--graphite-dark);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 620px; }
.cookie-banner a { color: var(--orange); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn-cookie-accept {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cookie-banner .btn-cookie-accept:hover { background: var(--orange-dark); }
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 14px 18px;
    gap: 12px;
  }
  .cookie-banner p { font-size: 0.78rem; line-height: 1.45; }
  .cookie-banner .btn-cookie-accept { padding: 9px 22px; font-size: 0.8rem; }
}

/* Contacto */
.contacto-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contacto-info .section-body { margin-bottom: 40px; }
.info-item {
  display: flex; gap: 18px; align-items: flex-start;
  margin-bottom: 28px; padding: 20px;
  border-radius: var(--radius); border: 1px solid var(--gray-mid);
  transition: var(--transition);
}
.info-item:hover { border-color: var(--orange); background: var(--orange-light); }
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 0.9rem; color: var(--graphite-dark); margin-bottom: 3px; }
.info-item span { font-size: 0.85rem; color: var(--text-light); }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { margin-bottom: 32px; font-size: 1.4rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--graphite); margin-bottom: 8px; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,127,0,0.1);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; padding: 15px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,127,0,0.3); }

/* --- IDENTIDADE (Missão / Visão / Valores / Compromisso) --- */
.identidade { background: var(--gray-light); padding: 120px 0; }

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mv-icon { font-size: 1.8rem; margin-bottom: 20px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.mv-card p { font-size: 0.95rem; line-height: 1.8; }

.valores-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.trabalho-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.valor-card, .trabalho-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.valor-card, .trabalho-card { justify-content: flex-start; }
.valor-card { min-height: 168px; }
.trabalho-card { min-height: 210px; }
.valor-card h4, .trabalho-card h4 { min-height: 2.6em; display: flex; align-items: center; }
.valor-card:hover, .trabalho-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.valor-icon, .trabalho-icon { font-size: 1.6rem; margin-bottom: 16px; }
.valor-card h4, .trabalho-card h4 { font-size: 1rem; color: var(--graphite-dark); margin-bottom: 8px; }
.valor-card p, .trabalho-card p { font-size: 0.82rem; line-height: 1.6; }

.identidade-quote {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}
.identidade-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--graphite-dark);
  line-height: 1.5;
}
.identidade-quote span { display: block; margin-bottom: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }

/* --- IMÓVEIS --- */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filtro-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}
.filtro-btn:hover { border-color: var(--orange); color: var(--orange); }
.filtro-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.imoveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.imovel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.imovel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.imovel-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.imovel-info { padding: 24px; }
.imovel-tipo {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-dark);
  background: var(--orange-light);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.imovel-tipo.arrendamento { color: var(--graphite-dark); background: var(--gray-light); }
.imovel-info h3 { font-size: 1.15rem; margin-bottom: 8px; }
.imovel-local { font-size: 0.85rem; margin-bottom: 8px; }
.imovel-preco { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--graphite-dark); margin-bottom: 16px; }
.btn-imovel {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
  transition: var(--transition);
}
.btn-imovel:hover { color: var(--orange-dark); border-color: var(--orange-dark); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .processo-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .processo-steps::before { display: none; }
  .imoveis-grid { grid-template-columns: repeat(2, 1fr); }
  .valores-row { grid-template-columns: repeat(3, 1fr); }
  .trabalho-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--white); padding: 40px 32px;
    gap: 28px; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; color: var(--graphite-dark) !important; }
  .menu-toggle { display: flex; }
  .navbar:not(.scrolled) .menu-toggle span { background: var(--white); }
  .hero-content { padding: 120px 24px 80px; margin-left: 0; }
  .pos-inner, .pedro-inner, .zonas-inner, .contacto-layout { grid-template-columns: 1fr; gap: 48px; }
  .lideranca-grid { grid-template-columns: 1fr; gap: 48px; }
  .mv-grid { grid-template-columns: 1fr; gap: 24px; }
  .valores-row { grid-template-columns: repeat(2, 1fr); }
  .trabalho-row { grid-template-columns: 1fr; }
  .identidade-quote { padding: 32px 24px; }
  .identidade-quote p { font-size: 1.2rem; }
  .imoveis-grid { grid-template-columns: 1fr; }
  .filtros { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .pos-image, .pedro-image, .zonas-image { order: -1; }
  .pos-image-badge { right: 0; bottom: -12px; }
  .pedro-image::after, .lideranca-image::after { display: none; }
  .como-grid { grid-template-columns: 1fr; gap: 2px; }
  .equipa-grid { grid-template-columns: 1fr; }
  .processo-steps { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .testemunhos-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .container, .container--narrow { padding: 0 20px; }
}
