/* Horizonte editorial — estilos compartilhados (paletas em horizonte-*.css) */

:root {
  --logo-mark-size: 3.25rem;
  --logo-acs-font: 1.125rem;
  --logo-line-1: 1.0625rem;
  --logo-line-2: 1.1875rem;
  --logo-tagline: 0.75rem;
  --logo-footer-scale: 0.92;
  --header-h: 112px;
}

body {
  background: var(--gradient-soft);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}

html[data-theme="horizonte"] .site-header {
  height: auto;
  min-height: var(--header-h);
  align-items: stretch;
  background: transparent;
}

html[data-theme="horizonte"] .site-header:not(.is-scrolled) {
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

html[data-theme="horizonte"] .site-header .container.header-inner {
  box-sizing: border-box;
}

.site-header.is-scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(16px) saturate(1.02);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(26, 23, 68, 0.06);
}

/* Cabeçalho: linha 1 = logo + ações · linha 2 = menu centralizado */
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand actions"
    "nav nav";
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  padding: 0.6rem 0 0.45rem;
}

.brand-logo {
  grid-area: brand;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(0.65rem, 1.2vw, 0.85rem);
  max-width: min(100%, 280px);
  min-width: 0;
}

.brand-logo-img {
  display: none;
}

.brand-logo-mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--logo-mark-size);
  height: var(--logo-mark-size);
  font-family: var(--font-serif);
  font-size: var(--logo-acs-font);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--violet-main);
  background: linear-gradient(145deg, var(--violet-soft), var(--violet-base));
  border: 1px solid rgba(83, 74, 183, 0.2);
  border-radius: 8px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1.15;
}

.brand-line--1,
.brand-line--2 {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.brand-line--1 {
  font-size: var(--logo-line-1);
  font-weight: 500;
  color: var(--violet-accent);
}

.brand-line--2 {
  font-size: var(--logo-line-2);
  font-weight: 600;
  color: var(--violet-deep);
  letter-spacing: 0.08em;
}

.brand-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--logo-tagline);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gray-mid);
  margin-top: 0.15rem;
  opacity: 1;
  line-height: 1.25;
}

.site-footer .brand-logo {
  max-width: 100%;
  gap: 0.65rem;
}

.site-footer .brand-logo-mark {
  width: calc(var(--logo-mark-size) * var(--logo-footer-scale));
  height: calc(var(--logo-mark-size) * var(--logo-footer-scale));
  font-size: calc(var(--logo-acs-font) * var(--logo-footer-scale));
}

.site-footer .brand-line--1 {
  font-size: calc(var(--logo-line-1) * var(--logo-footer-scale));
}

.site-footer .brand-line--2 {
  font-size: calc(var(--logo-line-2) * var(--logo-footer-scale));
}

.site-footer .brand-tagline {
  font-size: calc(var(--logo-tagline) * var(--logo-footer-scale));
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
  gap: 0.45rem;
}

.nav {
  grid-area: nav;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0.4rem 0 0.1rem;
  gap: clamp(0.45rem, 1.6vw, 1.25rem);
  border-top: 1px solid transparent;
}

.site-header.is-scrolled .nav {
  border-top-color: var(--border);
  padding-top: 0.45rem;
}

html[data-theme="horizonte"] .menu-toggle {
  display: none;
}

/* Páginas internas: uma linha só (logo + ações) */
html[data-theme="horizonte"] .site-header--subpage {
  --header-h: 68px;
  min-height: var(--header-h);
}

html[data-theme="horizonte"] .header-inner--subpage {
  grid-template-areas: "brand actions";
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 0;
  padding: 0.55rem 0;
}

@media (max-width: 1024px) {
  :root,
  html[data-theme="horizonte"] .site-header {
    --header-h: 68px;
  }

  .header-inner {
    grid-template-areas: "brand actions";
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
    padding: 0.55rem 0;
  }

  .brand-tagline {
    display: none;
  }

  html[data-theme="horizonte"] .menu-toggle {
    display: flex;
  }

  html[data-theme="horizonte"] .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.75rem;
    background: var(--header-scrolled-bg, var(--bg-elevated));
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  html[data-theme="horizonte"] .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  html[data-theme="horizonte"] .nav a {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }

  html[data-theme="horizonte"] .nav a.nav-cta {
    text-align: center;
    padding: 0.65rem 1rem;
  }
}

.nav a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-dark);
  white-space: nowrap;
  padding: 0.2rem 0;
}

.nav a:hover {
  color: var(--violet-accent);
}

.nav a.nav-cta {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
}

.header-actions .btn {
  padding: 0.5rem 0.95rem;
  font-size: 0.8rem;
}

@media (max-width: 1080px) {
  .header-actions .btn-ghost {
    display: none;
  }
}

.section-cta-pedido {
  text-align: center;
}

.cta-pedido-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.cta-pedido-inner h2 {
  font-family: var(--font-serif);
  color: var(--violet-deep);
  margin-bottom: 0.75rem;
}

.cta-pedido-inner .section-lead {
  margin-bottom: 1.35rem;
}

.cta-pedido-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.cta-pedido-actions .btn {
  min-width: 12rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }
}

/* Botões — uma paleta; cor só muda no hover */
html[data-theme="horizonte"] .btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

html[data-theme="horizonte"] .btn-primary,
html[data-theme="horizonte"] .btn-outline,
html[data-theme="horizonte"] .nav a.nav-cta {
  background: var(--violet-accent);
  color: #fff;
  border: 1px solid var(--violet-main);
  box-shadow: 0 4px 14px rgba(38, 33, 92, 0.22);
}

html[data-theme="horizonte"] .btn-primary:hover,
html[data-theme="horizonte"] .btn-outline:hover,
html[data-theme="horizonte"] .nav a.nav-cta:hover {
  background: var(--violet-mid);
  color: #fff;
  border-color: var(--violet-accent);
  box-shadow: 0 6px 20px rgba(83, 74, 183, 0.32);
  filter: none;
}

html[data-theme="horizonte"] .btn-ghost {
  background: transparent;
  color: var(--gray-dark);
  border: 1px solid transparent;
  box-shadow: none;
}

html[data-theme="horizonte"] .btn-ghost:hover {
  background: rgba(83, 74, 183, 0.08);
  color: var(--violet-main);
  border-color: var(--border);
}

html[data-theme="horizonte"] .opportunity-badge,
html[data-theme="horizonte"] .opportunity-banner-badge {
  background: var(--gradient);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 12px rgba(26, 23, 68, 0.22);
}

html[data-theme="horizonte"] .opportunity-flex {
  background: var(--bg-card);
  color: var(--violet-main);
  border: 1px solid var(--border);
  font-weight: 700;
}

html[data-theme="horizonte"] .opportunity-flex.flex-alta {
  color: var(--violet-accent);
  border-color: rgba(83, 74, 183, 0.35);
}

.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-glow {
  background: radial-gradient(
    ellipse 80% 60% at 70% 15%,
    var(--hero-glow-a),
    var(--hero-glow-b) 50%,
    transparent 72%
  );
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  color: var(--violet-deep);
}

.lead {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 30rem;
  margin-bottom: 1.35rem;
}

.eyebrow {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero-actions {
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.hero-actions .btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

.hero-note {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.highlights {
  margin-top: 1.5rem;
  max-width: 100%;
  gap: 0.65rem;
}

.highlight-card {
  padding: 0.75rem 0.9rem;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.highlight-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--violet-accent);
}

.highlight-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-dark);
}

.property-preview {
  max-width: 100%;
}

.preview-image {
  height: 200px;
}

.preview-card {
  padding: 1.1rem 1.2rem 1.2rem;
}

.preview-title {
  font-size: 0.875rem;
  line-height: 1.4;
}

.preview-specs {
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}

.preview-price {
  font-size: 1rem;
  margin-top: 0.35rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--violet-accent);
  background: linear-gradient(120deg, var(--violet-main), var(--violet-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead,
.section-lead {
  font-family: var(--font-sans);
  font-weight: 300;
}

.pill {
  background: var(--bg-elevated);
  color: var(--violet-main);
  border: 1px solid rgba(83, 74, 183, 0.15);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
}



.feature-card,
.property-card,
.steps li,
.proposal-card,
.cta-inner,
.showhall .portrait-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.property-preview {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.section-alt {
  background: var(--section-alt-bg);
  border-block: 1px solid var(--border);
}

.section-head h2,
.showhall-copy h2,
.cta-inner h2 {
  font-family: var(--font-serif);
  color: var(--violet-deep);
}

.logo-strip li {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.showhall-quote {
  border-left-color: var(--violet-mid);
}

.popular,
.preview-tag {
  background: var(--gradient);
  color: #fff;
}

.property-price,
.preview-price,
.prop-price-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--violet-accent);
}

.feature-card h3,
.steps h3 {
  font-family: var(--font-serif);
  color: var(--violet-deep);
}

.feature-card p,
.steps p {
  font-family: var(--font-sans);
  font-weight: 300;
}

.step-num {
  color: var(--violet-accent);
  font-family: var(--font-sans);
}

.city-highlights li::before {
  color: var(--violet-mid);
}

.faq-list summary::after {
  color: var(--violet-accent);
}

.property-card.featured-property {
  border-color: rgba(127, 119, 221, 0.45);
  box-shadow: 0 12px 40px rgba(83, 74, 183, 0.12);
}

.eyebrow.plain {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-accent);
}

.section {
  padding: 3.5rem 0;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.section-lead {
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-grid {
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem 1.25rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.55;
}

.showhall-grid {
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.portrait-frame {
  max-width: 340px;
  margin-inline: auto;
}

.showhall-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.showhall-bio {
  font-size: 0.95rem;
  line-height: 1.65;
}

.property-grid {
  gap: 1.15rem;
}

.property-card h3 {
  font-size: 1rem;
}

.testimonial p {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 400px;
    margin-inline: auto;
  }

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

  .nav {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    max-width: min(300px, 72vw);
    gap: 0.55rem;
  }

  .brand-tagline {
    letter-spacing: 0.18em;
  }

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

  .highlight-value {
    font-size: 1rem;
  }

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

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

  .opportunity-body .btn,
  .property-body .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-pedido-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-pedido-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .cta-form {
    flex-direction: column;
    max-width: none;
  }

  .cta-form .btn,
  .cta-whatsapp.btn {
    width: 100%;
  }

  .opportunity-badge {
    max-width: calc(100% - 5.5rem);
    line-height: 1.25;
  }

  .opportunity-flex {
    font-size: 0.58rem;
    max-width: 5rem;
    text-align: center;
    line-height: 1.2;
  }
}