/* ==========================================================================
   Faucon Design System — Componentes
   ========================================================================== */

/* ---- Header / Nav ---------------------------------------------------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-md);
  transition: padding var(--dur-base) var(--ease), background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.header.is-scrolled {
  padding-block: var(--space-xs);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
[data-brand="faucon"] .header:not(.is-scrolled) { --text: var(--text-on-dark); }
[data-brand="faucon"] .header:not(.is-scrolled) .nav a { color: var(--text-on-dark); }
[data-brand="opera"] .header:not(.is-scrolled) { --text: var(--text-on-dark); }
[data-brand="opera"] .header:not(.is-scrolled) .nav a { color: var(--text-on-dark); }

.header__logo img { height: 34px; width: auto; display: block; }
.header.is-scrolled .header__logo img.header__logo--on-dark { display: none; }
.header:not(.is-scrolled) .header__logo img.header__logo--on-light { display: none; }

.nav { display: none; }
/* 1180px, não 960px: entre ~960-1150px "Sobre Nós" e "Outros Imóveis" quebram em
   2 linhas (faixa comum de notebook: 1024, 1152px) e inflam a altura do header. */
@media (min-width: 1180px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  .nav a {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
    transition: opacity var(--dur-fast) var(--ease);
  }
  .nav a:hover { opacity: 1; color: var(--brand-primary); }
}

.header__actions { display: flex; align-items: center; gap: var(--space-sm); }

.header__social { display: flex; align-items: center; gap: var(--space-2xs); }
.header__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text);
  opacity: 0.8;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.header__social a:hover { opacity: 1; color: var(--brand-primary); }
.header__social svg { width: 17px; height: 17px; }
[data-brand="faucon"] .header:not(.is-scrolled) .header__social a,
[data-brand="opera"] .header:not(.is-scrolled) .header__social a { color: var(--text-on-dark); }

.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer;
  color: inherit;
}
@media (min-width: 1180px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transform: translateY(-100%);
  transition: transform var(--dur-base) var(--ease);
}
.nav-mobile.is-open { transform: translateY(0); }
.nav-mobile a { font-size: var(--text-lg); font-family: var(--font-display); }

/* ---- Botões ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.9em 1.8em;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
[data-brand="opera"] .btn {
  border-radius: 999px;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--brand-primary);
  color: var(--white);
}
.btn--primary:hover { background: var(--brand-primary-dark); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
/* Não dá pra usar "background: currentColor" aqui: como o :hover também muda a cor do
   texto, currentColor passa a valer a NOVA cor (a mesma do texto), e o fundo nasce
   sempre igual ao texto — texto invisível em qualquer combinação de cores. Por isso o
   fundo do hover usa os tokens explícitos, na direção certa pra cada contexto. */
.btn--outline:hover { background: var(--text); color: var(--surface); }
/* Uso dentro de seção escura, onde o botão já nasce claro (--text-on-dark): o hover
   precisa inverter pro outro lado — preenche de claro, texto vira escuro. */
.btn--outline--invert { color: var(--text-on-dark); }
.btn--outline--invert:hover { background: var(--text-on-dark); color: var(--surface-dark); }

.btn--ghost {
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--accent {
  background: var(--brand-accent);
  color: var(--brand-ink);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}
[data-brand="opera"] .hero__scrim {
  background: linear-gradient(180deg, rgba(20,14,10,0.15) 0%, rgba(20,14,10,0.1) 40%, rgba(20,14,10,0.8) 82%, var(--surface-dark) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-2xl) var(--space-xl);
  width: 100%;
  transform: translateY(-15%);
}
.hero__mark {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 143px;
  width: auto;
}
@media (min-width: 768px) { .hero__mark { height: 190px; } }
.hero__logo { height: 64px; width: auto; margin-bottom: var(--space-md); }
.hero__title {
  font-size: var(--text-3xl);
  max-width: 16ch;
}
.hero__title--sm {
  font-size: var(--text-lg);
  max-width: 22ch;
}
/* título de 2+ linhas em telas maiores: --text-3xl com "translateY(-15%)" do hero__content
   empurra o texto pra fora da tela por cima do header — usar esta variante nesses casos */
.hero__title--md {
  font-size: var(--text-2xl);
  max-width: 18ch;
}
.hero__sub {
  margin-top: var(--space-md);
  font-size: var(--text-md);
  max-width: 46ch;
  color: var(--text-on-dark-muted);
}
[data-brand="opera"] .hero__sub { font-family: var(--font-body); font-weight: 300; margin-top: var(--space-2xs); max-width: 58ch; }
.hero__actions { margin-top: var(--space-lg); display: flex; gap: var(--space-sm); flex-wrap: wrap; }
/* título longo que precisa caber numa linha só a partir do tablet — abaixo disso,
   quebra normalmente pra não espremer o texto até ficar ilegível.
   Tamanhos ~15% menores que o padrão: título e botões estavam ocupando área
   grande demais da hero. */
.hero__title--oneline { font-size: clamp(1.28rem, 1.1rem + 0.85vw, 1.7rem); max-width: 30ch; }
@media (min-width: 768px) {
  .hero__title--oneline { white-space: nowrap; max-width: none; font-size: clamp(1.1rem, 2.42vw, 1.95rem); }
}
.hero__actions .btn { font-size: clamp(0.77rem, 0.73rem + 0.17vw, 0.85rem); }

/* ---- Moldura de marca (cantos variáveis) --------------------------------
   Padrão visual do material de marca: uma imagem com um bloco terracota
   deslocado atrás dela, alternando entre duas variantes de cantos —
   use .frame--a e .frame--b intercaladas ao longo do site.
   --a: 3 cantos retos, 1 arredondado · --b: 2 retos, 2 arredondados
   ---------------------------------------------------------------------- */
.frame { position: relative; }
.frame::after {
  content: "";
  position: absolute;
  inset: var(--space-lg) calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-lg);
  background: var(--brand-primary);
  z-index: 0;
  border-radius: inherit;
}
.frame img, .frame video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.frame--a { border-radius: 0 140px 0 0; }
.frame--b { border-radius: 0 140px 0 140px; }

/* ---- Emblema de pilares: marca no centro, textos nas 4 pontas -----------
   Missão/Visão à esquerda (alinhados à direita, "apontando" pro emblema),
   Valores/Propósito à direita (alinhados à esquerda) — cada pilar é uma
   única box verde (título + frase juntos, sem caixa dupla). Em telas
   estreitas colapsa pra uma coluna única, emblema no topo. -------------- */
.pillars-emblem {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: var(--space-xl);
  row-gap: var(--space-lg);
}
.pillars-emblem__mark {
  grid-column: 2;
  grid-row: 1 / 3;
  width: clamp(130px, 15vw, 260px);
  height: auto;
  justify-self: center;
  opacity: 0.92;
  will-change: transform;
}
.pillars-emblem__item--tl { grid-column: 1; grid-row: 1; text-align: right; }
.pillars-emblem__item--bl { grid-column: 1; grid-row: 2; text-align: right; }
.pillars-emblem__item--tr { grid-column: 3; grid-row: 1; text-align: left; }
.pillars-emblem__item--br { grid-column: 3; grid-row: 2; text-align: left; }
.pillars-emblem__item {
  padding: var(--space-md) var(--space-lg);
  background: var(--brand-primary);
  border-radius: var(--radius-md);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.pillars-emblem__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pillars-emblem__label {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--white);
}
.pillars-emblem__text {
  margin-top: var(--space-2xs);
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
}
.pillars-emblem__item--tl .pillars-emblem__text,
.pillars-emblem__item--bl .pillars-emblem__text { margin-left: auto; }
.pillars-emblem__item--tr .pillars-emblem__text,
.pillars-emblem__item--br .pillars-emblem__text { margin-right: auto; }

@media (max-width: 719px) {
  .pillars-emblem { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-lg); }
  .pillars-emblem__mark { order: -1; width: 170px; }
  .pillars-emblem__item { width: 100%; max-width: 380px; }
  .pillars-emblem__item--tl { order: 1; }
  .pillars-emblem__item--bl { order: 2; }
  .pillars-emblem__item--tr { order: 3; }
  .pillars-emblem__item--br { order: 4; }
  .pillars-emblem__item--tl, .pillars-emblem__item--bl,
  .pillars-emblem__item--tr, .pillars-emblem__item--br { text-align: center; }
  .pillars-emblem__item--tl .pillars-emblem__text,
  .pillars-emblem__item--bl .pillars-emblem__text,
  .pillars-emblem__item--tr .pillars-emblem__text,
  .pillars-emblem__item--br .pillars-emblem__text { margin-inline: auto; }
}

/* ---- Bloco de chamada com imagem full-bleed e texto sobreposto ----------
   Mesma lógica visual do hero (mídia + véu + conteúdo centralizado), só que
   mais baixo — usado pra empurrar tráfego de uma seção institucional pra
   uma landing específica (ex.: Empreendimentos → Ópera Apartments). -------- */
.promo-block {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(360px, 52vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
}
/* bleed vertical de 100px: cobre o deslocamento do parallax (JS aplica translateY
   de até ±80px) sem revelar borda em branco nas pontas — mesma lógica do
   .parallax-block do Ópera */
.promo-block__media { position: absolute; inset: -100px 0; z-index: -2; will-change: transform; }
.promo-block__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-block__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,17,14,0.35) 0%, rgba(20,17,14,0.15) 45%, rgba(20,17,14,0.72) 100%);
}
.promo-block__content { padding: var(--space-xl) var(--container-pad); max-width: 640px; }
.promo-block__tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xs);
}
.promo-block__title { font-size: var(--text-2xl); color: var(--text-on-dark); }
.promo-block .btn { margin-top: var(--space-lg); }

/* ---- Stat / número em linha --------------------------------------------- */
.stat-row {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--space-md);
  border-top: 2px solid var(--brand-primary);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--text-xl);
  color: var(--brand-primary);
}
.stat__label {
  margin-top: var(--space-3xs);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ---- Progresso de obra: rosca do total + barras por etapa ----------------
   Mesmo componente usado na landing do Ópera (opera-apartments/index.html), promovido
   aqui pra ser compartilhado — usa var(--brand-primary), então cada marca
   assume a própria cor (verde na Faucon). O JS (faucon.js) já é genérico:
   procura [data-obra][data-pct], .obra-donut__arc e .obra-bar__fill.
   Se uma página quiser uma cor de destaque própria (como o dourado da
   Ópera), basta sobrescrever essas classes num <style> local — o CSS da
   própria página, por vir depois no cascade, tem prioridade. --------------- */
.obra-chart {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-xl);
}
.obra-donut { position: relative; width: 100%; max-width: 340px; margin-inline: auto; }
.obra-donut svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.obra-donut circle { fill: none; stroke-width: 14; }
.obra-donut__track { stroke: var(--surface-alt); }
.obra-donut__arc {
  stroke: var(--brand-primary);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.obra-donut__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.obra-donut__label strong {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  color: var(--brand-primary);
}
.obra-donut__unit { font-size: 0.55em; margin-left: 0.06em; }
.obra-donut__caption {
  margin-top: var(--space-2xs);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.obra-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.obra-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 4.2ch;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}
.obra-row__name { text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.obra-bar { display: block; height: 10px; border-radius: 999px; background: var(--surface-alt); overflow: hidden; }
.obra-bar__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-primary);
  transition: width 2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.obra-row__pct { font-family: var(--font-display); font-weight: var(--weight-display); color: var(--brand-primary); text-align: right; }
.obra-row--total .obra-row__name,
.obra-row--total .obra-row__pct { font-size: var(--text-md); }
.obra-row--total .obra-bar { height: 14px; }
.obra-row--total .obra-bar__fill { background: var(--brand-ink); }
@media (max-width: 820px) {
  .obra-chart { grid-template-columns: 1fr; gap: var(--space-xl); }
  .obra-donut { max-width: 280px; }
}
@media (max-width: 480px) {
  .obra-row { grid-template-columns: 1fr 4.2ch; row-gap: var(--space-2xs); }
  .obra-row__name { grid-column: 1 / -1; }
  .obra-bar { grid-column: 1; }
}

/* ---- Zoom lento e contínuo — usar só em hero com <img> (não em vídeo) ---- */
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__media--zoom img { animation: hero-zoom 22s var(--ease) infinite alternate; }

/* ---- Cards genéricos ------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--space-md); }
.card__title { font-size: var(--text-md); margin-bottom: var(--space-2xs); }
.card__text { color: var(--text-muted); font-size: var(--text-sm); }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--text-muted); }

/* Pilares (Missão/Visão/Valores/Propósito) */
.pillar {
  padding: var(--space-lg);
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  height: 100%;
}
.pillar__icon { color: var(--brand-primary); margin-bottom: var(--space-sm); }
.pillar__title { font-size: var(--text-base); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2xs); }
.pillar__text { color: var(--text-muted); font-size: var(--text-sm); }

/* ---- Tabs (Apto Tipo / Diferenciado / Cobertura) -------------------------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}
.tabs__btn {
  padding: var(--space-sm) var(--space-md);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.tabs__btn.is-active { color: var(--brand-primary); border-color: var(--brand-primary); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade-in var(--dur-base) var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.spec-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.spec-list li {
  display: flex;
  gap: var(--space-xs);
  align-items: baseline;
  padding-block: var(--space-2xs);
  border-bottom: 1px dashed var(--border);
  font-size: var(--text-sm);
}
.spec-list li::before { content: "—"; color: var(--brand-primary); flex-shrink: 0; }

/* ---- Galeria + lightbox ---------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-bottom: var(--space-lg); }
.gallery-filters button {
  padding: var(--space-2xs) var(--space-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.gallery-filters button.is-active,
.gallery-filters button:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,10,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

/* ---- Localização --------------------------------------------------------- */
/* ---- Lista de diferenciais (marcador simples, no estilo do eyebrow) ------ */
.list-diff li {
  position: relative;
  padding-left: var(--space-md);
  color: var(--text-muted);
  font-size: var(--text-base);
}
.list-diff li + li { margin-top: var(--space-2xs); }
.list-diff li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 10px; height: 2px;
  background: var(--brand-primary);
}

.location-block { display: grid; gap: var(--space-lg); }
@media (min-width: 900px) { .location-block { grid-template-columns: 1fr 1fr; align-items: center; } }
.location-block iframe, .location-block__map { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius-md); }

/* ---- Statement band ------------------------------------------------------- */
.statement {
  text-align: center;
}
.statement .t-h3 { max-width: 26ch; margin-inline: auto; }

/* ---- Formulário de contato ------------------------------------------------- */
.form-grid { display: grid; gap: var(--space-md); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--space-3xs); }
.field label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.field input, .field select, .field textarea {
  padding: 0.9em 1em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: var(--text-base);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 1px;
}
.radio-row { display: flex; flex-wrap: wrap; gap: var(--space-md); font-size: var(--text-sm); }
.radio-row label { display: flex; align-items: center; gap: var(--space-2xs); }

/* ---- Footer --------------------------------------------------------------- */
.footer {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  padding-block: var(--space-xl) var(--space-lg);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__logo img { height: 32px; }
.footer__social { display: flex; gap: var(--space-sm); }
.footer__social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.footer__social a:hover { background: var(--brand-primary); border-color: var(--brand-primary); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  font-size: var(--text-xs);
}
.footer__bottom a:hover { color: var(--text-on-dark); }

/* ---- Barra fixa de contato (Ópera) ----------------------------------------- */
.call-bar {
  position: fixed;
  bottom: 0; inset-inline: 0;
  z-index: 90;
  background: var(--brand-ink);
  color: var(--text-on-dark);
  padding: var(--space-sm) var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  text-align: center;
  flex-wrap: wrap;
}
.call-bar strong { color: var(--brand-primary); }

/* ---- Botão flutuante de WhatsApp -------------------------------------------
   Fixo na lateral inferior direita, nas duas landings (Faucon e Ópera). Na
   Ópera sobe acima da call-bar fixa (56px de altura) pra não sobrepor. ------ */
.whatsapp-float {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-lg);
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.whatsapp-float svg { width: 30px; height: 30px; }
[data-brand="opera"] .whatsapp-float { bottom: 88px; }

/* ---- Newsletter ------------------------------------------------------------ */
.newsletter-form { display: flex; gap: var(--space-2xs); flex-wrap: wrap; max-width: 480px; }
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  /* Sem isso, o input usa o branco padrão do navegador + a cor clara herdada da
     seção escura: texto digitado praticamente invisível (quase branco no branco). */
  padding: 0.9em 1em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: var(--text-base);
}
.newsletter-form input:focus { outline: 2px solid var(--brand-primary); outline-offset: 1px; }
