/* STYLE.CSS — Identidade visual do projeto AGIEV (base: template Archipro).
   Só cor, tipografia e componentes da marca. Layout → default.css | Movimento → effects.css.
   Referência de tokens/componentes: design-system/MASTER.md
   Ordem: 1) Tokens  2) Base/tipografia  3) Botões  4) Header/nav  5) Hero
          6) Seções/cards  7) Blocos especiais (sage/dark)  8) FAQ  9) Formulários
          10) Footer  11) 404  12) Responsivo */

/* ============================================================
   1) TOKENS
   ============================================================ */
:root {
  /* Marca */
  --accent:        #F6694B;
  --accent-hover:  #E4553A;
  --accent-soft:   #FDEDE8;

  /* Neutros */
  --bg:      #FFFFFF;
  --bg-cream:#FEF9F3;
  --bg-muted:#F6F6F6;
  --bg-sand: #EFE9E3;
  --surface: #FFFFFF;
  --line:    #E7E4E1;

  /* Texto */
  --text:      #111111;
  --text-body: #4B4744;
  --text-muted:#8A8580;
  --text-onaccent:#FFFFFF;

  /* Blocos especiais */
  --sage:      #80896D;
  --sage-2:    #6E765D;
  --dark:      #121212;
  --dark-2:    #1C1C1C;
  --dark-text: #F5F3F1;
  --dark-muted:#9C9894;
  --dark-line: #2C2C2C;

  --focus-ring:#F6694B;

  /* Tipografia */
  --font-sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.25rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.25rem);
  --fs-h3: 30px;
  --fs-lead: 1.125rem;
  --fs-body: 16px;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Raios / sombras / seção */
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --pill:      999px;
  --shadow-sm: 0 1px 2px rgba(17,17,17,.05);
  --shadow:    0 12px 32px -16px rgba(17,17,17,.18);
  --shadow-lg: 0 30px 60px -30px rgba(17,17,17,.25);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --container: 1200px;
}

/* ============================================================
   2) BASE / TIPOGRAFIA
   ============================================================ */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { color: var(--text-body); }

a { color: inherit; }
a:hover { color: var(--accent); }

.container { max-width: var(--grid-max); }
/* container interno mais estreito p/ conteúdo editorial */
.container-narrow { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* [hidden] sempre vence classes de display (ex.: .d-flex) */
[hidden] { display: none !important; }

/* Utilitários de identidade */
.section { padding-block: var(--section-y); }
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-muted); }
.text-body     { color: var(--text-body); }
.bg-cream  { background: var(--bg-cream); }
.bg-muted  { background: var(--bg-muted); }
.bg-sand   { background: var(--bg-sand); }
.lead { font-size: var(--fs-lead); color: var(--text-body); }

/* Eyebrow — label pequena acima de títulos */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.eyebrow--accent { color: var(--accent); }

/* Cabeçalho de seção */
.section-head { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 0.75rem; }

/* Imagens com moldura arredondada */
.media { border-radius: var(--radius); overflow: hidden; }
.media-lg { border-radius: var(--radius-lg); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-lg img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3  { aspect-ratio: 4 / 3; }
.ratio-1-1  { aspect-ratio: 1 / 1; }
.ratio-3-4  { aspect-ratio: 3 / 4; }
.ratio-16-7 { aspect-ratio: 16 / 7; }

/* Coluna de leitura de artigo (blog post) */
.article-body { max-width: 68ch; }
.article-body h2 { font-size: var(--fs-h2); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.article-body p { color: var(--text-body); line-height: 1.75; margin-bottom: 1.25rem; }
.article-body ul { margin: 0 0 1.5rem; padding-left: 1.25rem; list-style: disc; }
.article-body li { color: var(--text-body); line-height: 1.7; margin-bottom: 0.5rem; }
.article-body img { border-radius: var(--radius); margin-block: 1.5rem; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--text); font-size: var(--fs-lead); }

/* Link com seta */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 500; color: var(--text);
}
.link-arrow svg { width: 18px; height: 18px; color: var(--accent); }
.link-arrow:hover { color: var(--accent); }

/* ============================================================
   3) BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: var(--fs-sm); font-weight: 500; line-height: 1;
  border-radius: var(--pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary { background: var(--accent); color: var(--text-onaccent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--text-onaccent); }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }

.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: #fff; color: var(--accent); }

.btn--lg { padding: 0.9rem 1.7rem; font-size: var(--fs-body); }
.btn--block { width: 100%; }

/* ============================================================
   4) HEADER / NAV
   ============================================================ */
.site-header {
  position: relative; z-index: 100;
  background: transparent;
  border-bottom: 0;
  /* Mesmo deslocamento do menu da home (margin/padding do .hero-banner):
     ao trocar de página, o menu não muda de posição — só o fundo muda. */
  margin-top: 1rem;
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
}
.site-header .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  /* mesmo recuo lateral do menu da home (nav-inner do .hero-banner) */
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}
/* Dentro do hero da home o card já cria esses deslocamentos — zera aqui */
.hero-banner > .site-header { margin-top: 0; padding-top: 0; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.35rem; color: var(--text); }
.brand svg, .brand .brand-mark { width: 28px; height: 28px; color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: var(--fs-sm); font-weight: 500; color: var(--text);
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.main-nav a:hover { color: var(--accent); }
.main-nav .has-menu svg { width: 14px; height: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Header transparente sobre hero-imagem */
.site-header--overlay {
  position: absolute; left: 0; right: 0;
  background: transparent; border-bottom: 0; backdrop-filter: none;
}
.site-header--overlay .brand,
.site-header--overlay .main-nav a { color: #fff; }

/* ============================================================
   5) HERO
   ============================================================ */

/* Hero-banner: CARD dentro do container/row. Cor de céu + cantos arredondados.
   CAMADAS SOBREPOSTAS: header + texto ao fundo; imagem numa camada ACIMA (z-index).
   Ao rolar, a imagem cresce/sobe e PASSA POR CIMA do texto (não fica cortada no lugar). */
.hero-banner {
  position: relative;
  background-color: #cdd6de;                 /* cor do card (céu) */
  border-radius: var(--radius-xl);           /* arredondado em toda a volta */
  overflow: hidden;
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
  margin-top: 1rem;
  height: clamp(620px, 92vh, 920px);
}
/* header e texto ficam ATRÁS da imagem */
.hero-banner > .site-header { position: relative; z-index: 1; }
.hero-banner > .site-header .nav-inner { padding-inline: clamp(1rem, 3vw, 2.5rem); }
.hero-banner__inner {
  position: relative; z-index: 1;
  text-align: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}
.hero-banner .hero__title { color: var(--text); }
.hero-banner .hero__actions { margin-top: 1.75rem; display: flex; justify-content: center; }

/* Imagem: camada ACIMA do texto (z-index 3), ancorada na base, sangra até as bordas.
   Ao rolar, a imagem dá um ZOOM sutil (scale via --parallax-zoom), crescendo a partir
   da base — a expansão vai para cima (céu) e avança sobre o texto. */
.hero-banner__image {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 58%;                         /* imagem inferior; texto respira nos ~44% de cima */
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hero-banner__image::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/hero-house.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  transform: scale(var(--parallax-zoom, 1));   /* zoom (JS controla) */
  transform-origin: center bottom;             /* cresce a partir da base */
  will-change: transform;
}

/* Header quando está sobre o hero: transparente, sem borda (céu claro atrás) */
.site-header--onhero { background: transparent; border-bottom: 0; }

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-y); }
.hero__title { font-size: clamp(2.25rem, 6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; }
.hero__lead { margin-top: 1.25rem; }
.hero__actions { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero--center { text-align: center; }
.hero--center .hero__actions { justify-content: center; }
.hero__media { margin-top: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); overflow: hidden; }
.hero__media img { width: 100%; display: block; }

/* Hero interno (About/Portfolio/Blog post) — título à esquerda */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero__title { font-size: var(--fs-h1); }
.page-hero .lead { margin-top: 1rem; }

/* Faixa de logos de clientes */
.client-strip { padding-top: 9rem; padding-bottom: 2rem; }
/* Viewport que corta o overflow horizontal; máscara suave nas bordas */
.client-strip .fx-scroll-x { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* Trilha de logos: uma linha só; deslocada via transform. Contém 1+ grupos clonados */
.client-strip .fx-scroll-x__track { display: flex; align-items: center; width: max-content; will-change: transform; }
/* Cada grupo repete o conjunto completo de logos; o gap interno + inicial dá o respiro */
.client-strip .fx-scroll-x__group { display: flex; align-items: center; gap: 3.5rem; padding-left: 3.5rem; }
.client-strip .client { display: inline-flex; align-items: center; white-space: nowrap; }
.client-strip .client img { height: 40px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .2s ease; }
.client-strip .client:hover img { opacity: .85; }

/* ============================================================
   6) SEÇÕES / CARDS
   ============================================================ */

/* Card genérico */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.card--bordered { border: 1px solid var(--line); }
.card--pad { padding: 1.5rem; }
.card__media { border-radius: var(--radius); overflow: hidden; }
.card__body { padding: 1.25rem 0.25rem 0.5rem; }
.card__title { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.card__text { font-size: var(--fs-sm); color: var(--text-body); }
.card__meta { display: flex; gap: 0.75rem; align-items: center; font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* Feature / serviço (imagem + texto + link) */
.feature { display: flex; flex-direction: column; }
.feature__media { border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.feature__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.feature__text { font-size: var(--fs-sm); }
.feature__link { margin-top: 1rem; }

/* Card de projeto (works) */
.work__media { border-radius: var(--radius-lg); overflow: hidden; }
.work__title { font-size: var(--fs-h3); margin-top: 1rem; }
.work__place { font-size: var(--fs-sm); color: var(--text-muted); }

/* Lista de projetos do portfólio (portfolio.html) — modelo Archipro:
   texto à esquerda (título, categoria, local, data, descrição) e
   imagem grande à direita com botão "+" no canto */
.pf-item {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.pf-item:first-child { border-top: 0; padding-top: 0; }
.pf-item:hover { color: inherit; }
.pf-item__info { display: flex; flex-direction: column; }
.pf-item__title { font-size: var(--fs-h2); line-height: 1.15; }
.pf-item__meta { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.2rem; font-size: var(--fs-sm); color: var(--text-muted); }
.pf-item__desc { margin-top: auto; padding-top: 2rem; font-size: var(--fs-sm); max-width: 48ch; }
.pf-item__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.pf-item__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; display: block; }
.pf-item__plus {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); color: var(--text);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .25s ease;
}
.pf-item__plus svg { width: 22px; height: 22px; }
.pf-item:hover .pf-item__plus { background: var(--accent); color: var(--text-onaccent); transform: rotate(90deg); }
@media (max-width: 991px) {
  .pf-item { grid-template-columns: 1fr; gap: 1.25rem; }
  .pf-item__desc { margin-top: 0; padding-top: 1rem; }
}

/* Mosaico de projetos selecionados (home) — título em duas linhas à esquerda,
   texto + CTA à direita e fileiras de fotos sangrando as bordas da tela */
.pf-mosaic__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
/* Cada fileira é uma trilha em loop (mesmo padrão da faixa de empresas):
   grupo de fotos clonado até cobrir a viewport, movido via transform */
.pf-mosaic { display: flex; flex-direction: column; gap: var(--gutter); overflow: hidden; }
.pf-mosaic__row { overflow: hidden; }
.pf-mosaic__track { display: flex; width: max-content; will-change: transform; }
.pf-mosaic__group { display: flex; gap: var(--gutter); padding-left: var(--gutter); }
.pf-mosaic__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.pf-mosaic__group img { height: clamp(200px, 24vw, 360px); width: auto; object-fit: cover; border-radius: var(--radius); display: block; }
/* "+" do portfólio: surge ao passar o mouse e leva ao single project */
.pf-mosaic__item .pf-item__plus { right: 1rem; bottom: 1rem; opacity: 0; transform: scale(0.7) rotate(-90deg); transition: opacity .2s ease, transform .25s ease, background .2s ease, color .2s ease; }
.pf-mosaic__item:hover .pf-item__plus { opacity: 1; transform: scale(1) rotate(0deg); background: var(--accent); color: var(--text-onaccent); }
@media (max-width: 767px) {
  .pf-mosaic__head { grid-template-columns: 1fr; }
  .pf-mosaic__group img { height: 150px; }
}

/* Cabeçalho do single project (projeto-*.html) — título + descrição à esquerda,
   categoria/local/data alinhadas à direita, como no modelo Archipro */
.pf-single__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; }
.pf-single__head .page-hero__title { max-width: 14ch; }
.pf-single__head .lead { max-width: 46ch; }
.pf-single__meta { display: flex; flex-direction: column; gap: 0.2rem; text-align: right; font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 767px) {
  .pf-single__head { grid-template-columns: 1fr; }
  .pf-single__meta { text-align: left; }
}

/* Estatísticas */
.stat__num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text); line-height: 1; }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 0.5rem; }

/* Chip / badge de categoria */
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: var(--fs-xs); font-weight: 500;
  padding: 0.3rem 0.7rem; border-radius: var(--pill);
  background: var(--accent-soft); color: var(--accent-hover);
}
.chip--muted { background: var(--bg-muted); color: var(--text-muted); }
.chip--sage  { background: #EDF0E7; color: #5C6549; }
.chip--overlay { position: absolute; top: 1rem; left: 1rem; }
.chip--sand  { background: var(--bg-sand); color: #6E5E3F; }
.chip--clay  { background: #F6E4D8; color: #96562F; }  /* projeto em andamento (em produção) */
.chip--sky   { background: #E5EAF1; color: #4A5C7D; }  /* em revisão (com o cliente) */
.chip--dark  { background: var(--dark); color: var(--dark-text); }

/* Card de time */
.member__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.member__name { font-weight: 600; color: var(--text); margin-top: 0.75rem; }
.member__role { font-size: var(--fs-sm); color: var(--text-muted); }

/* Depoimento */
.quote { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.quote__text { color: var(--text); }
.quote__author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: var(--pill); overflow: hidden; }
.quote__name { font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.quote__meta { font-size: var(--fs-xs); color: var(--text-muted); }

/* Card de processo */
.process-card { border-radius: var(--radius-lg); padding: 1.75rem; height: 100%; }
.process-card__title { font-size: var(--fs-h3); }
.process-card--plain  { background: var(--bg-muted); color: var(--text); }
.process-card--accent { background: var(--accent); color: #fff; }
.process-card--accent .process-card__title { color: #fff; }
.process-card--dark   { background: var(--dark); color: var(--dark-text); }
.process-card--dark .process-card__title { color: #fff; }
.process-card--accent p { color: rgba(255, 255, 255, 0.85); }
.process-card--dark p { color: var(--dark-muted); }
.process-card { display: flex; flex-direction: column; }
.process-card__media { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; }
.process-card__media img { width: 100%; display: block; }
.process-card--plain .process-card__media { background: #fff; box-shadow: var(--shadow-sm); }

/* Card de serviço (Exterior design / Decoration / Construction):
   texto no topo, botão "+" no canto, imagem preenchendo a base. */
.service-card {
  background: #f6f6f6
}

.service-card__plus {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--text); box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: background .2s ease, color .2s ease, transform .25s ease;
}
.service-card__plus svg { width: 20px; height: 20px; }
.service-card:hover .service-card__plus { background: var(--accent); color: #fff; transform: rotate(90deg); }
/* posições alternativas do botão "+" */
.service-card__plus--tl { right: auto; left: 1.25rem; }
.service-card__plus--bl { top: auto; right: auto; bottom: 1.25rem; left: 1.25rem; }

/* ============================================================
   7) BLOCOS ESPECIAIS (sage / dark)
   ============================================================ */

/* Banner com imagem de fundo + texto sobreposto (Inside the firm / Let's work together) */
.banner-feature {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.banner-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* Véu de contraste para o texto branco (só na base esquerda) */
.banner-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 45%, transparent 70%);
  pointer-events: none;
}
.banner-feature__content {
  position: relative; z-index: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 480px;
}
.banner-feature__content h2 { color: #fff; }
.banner-feature__content p { color: rgba(255,255,255,.9); margin-top: .75rem; }
/* Variante com texto centralizado-vertical (Let's work together) */
.banner-feature--center { align-items: center; }

/* Newsletter verde-oliva */
.promo-sage {
  background: var(--sage); color: var(--sage-text);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.promo-sage h2, .promo-sage h3 { color: #fff; }
.promo-sage p { color: rgba(255,255,255,.85); }

/* Seção escura genérica com cantos superiores arredondados */
.dark-block {
  background: var(--dark); color: var(--dark-text);
  border-radius: var(--radius-xl);
}
.dark-block h1, .dark-block h2, .dark-block h3 { color: #fff; }
.dark-block p { color: var(--dark-muted); }

/* Formulário de newsletter inline (input + botão coral) */
.newsletter-form {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; border-radius: var(--pill); padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  max-width: 460px;
}
.newsletter-form input {
  flex: 1; border: 0; background: transparent; font-size: var(--fs-sm);
  color: var(--text); min-width: 0;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { outline: none; }

/* ============================================================
   8) FAQ (accordion)
   ============================================================ */
.faq { background: var(--bg-cream); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left;
  padding: 1.15rem 0; font-size: var(--fs-lead); font-weight: 500; color: var(--text);
}
.faq__icon { width: 24px; height: 24px; color: var(--accent); flex: none; transition: transform .25s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.15rem; color: var(--text-body); font-size: var(--fs-sm); }

/* ============================================================
   9) FORMULÁRIOS
   ============================================================ */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.field .req { color: var(--accent); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.8rem 1rem; min-height: 48px;
  font-size: var(--fs-body); color: var(--text);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: none; padding-right: 2.5rem; }
.field--select { position: relative; }
.field--select .chevron { position: absolute; right: 1rem; bottom: 1rem; width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.field__error { display: block; margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--accent-hover); }
.field__error[hidden] { display: none; }

/* Variante pill (usada em "Request a quote") */
.form--pill .input,
.form--pill .select,
.form--pill .textarea { border-radius: var(--pill); }
.form--pill .textarea { border-radius: var(--radius-lg); }

/* Upload de arquivos (briefing): label estilizada, input escondido */
.upload {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.1rem 1rem; cursor: pointer;
  font-size: var(--fs-sm); color: var(--text-muted);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.upload:hover { border-color: var(--accent); color: var(--accent); }
.upload svg { width: 20px; height: 20px; flex: none; }
.upload input[type="file"] { display: none; }
/* ".field label" (display:block) venceria o .upload — restaura o flex centrado */
.field label.upload { display: flex; margin-bottom: 0; font-weight: 400; }
.upload__list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.upload__item {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.75rem; border-radius: var(--pill);
  background: var(--bg-muted); font-size: var(--fs-xs); color: var(--text-body);
}
.upload__item svg { width: 13px; height: 13px; flex: none; }
.upload__item button { display: inline-flex; color: var(--text-muted); }
.upload__item button:hover { color: var(--accent-hover); }
.upload__count { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.4rem; }
.upload__count.is-max { color: var(--accent-hover); font-weight: 600; }

/* Card de ambiente/área (blocos dinâmicos do briefing) */
.env-card {
  position: relative;
  background: var(--bg-cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.25rem;
}
.env-card .field:last-child { margin-bottom: 0; }
.env-card__label {
  display: inline-block; margin-bottom: 1rem;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.env-card__remove {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 34px; height: 34px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--line); background: #fff;
  transition: color .2s ease, border-color .2s ease;
}
.env-card__remove:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.env-card__remove svg { width: 16px; height: 16px; }
.env-card__remove[hidden] { display: none; }

/* Caixa de aviso suave (briefing) */
.note-box {
  font-size: var(--fs-sm); color: var(--text-body);
  background: var(--bg-cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.25rem;
}
/* Dica/observação logo abaixo de um campo */
.field-hint { margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--text-muted); }

/* Faixa de citação em destaque (artigos) */
.quote-band { border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem); margin-block: 2rem; }

/* Stepper (formulário em passos) */
.stepper { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.stepper__item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 1.1rem 0.4rem 0.45rem; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted);
  transition: border-color .2s ease, color .2s ease;
}
.stepper__num {
  width: 28px; height: 28px; flex: none; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-muted); color: var(--text-muted);
  font-size: var(--fs-xs); font-weight: 600;
}
.stepper__num svg { width: 14px; height: 14px; }
.stepper__item.is-active { border-color: var(--accent); color: var(--text); }
.stepper__item.is-active .stepper__num { background: var(--accent); color: #fff; }
.stepper__item.is-done { color: var(--text); cursor: pointer; }
.stepper__item.is-done .stepper__num { background: #EDF0E7; color: #5C6549; }
.stepper__item.is-done:hover { border-color: var(--text); }

/* Cards de opção (radio/checkbox estilizado com ícone) */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.opt {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.15rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, background .2s ease;
}
.opt:hover { border-color: var(--text); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted); color: var(--text);
  transition: background .2s ease, color .2s ease;
}
.opt__icon svg { width: 22px; height: 22px; }
.opt__title { font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.opt__desc { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }
.opt__check {
  position: absolute; top: 1rem; right: 1rem;
  width: 22px; height: 22px; border-radius: var(--pill);
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.opt__check svg { width: 13px; height: 13px; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt:has(input:checked) .opt__icon { background: #fff; color: var(--accent); }
.opt:has(input:checked) .opt__check { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
/* Dentro de .field, ".field label" (display:block) venceria o .opt — restaura o flex */
.field label.opt { display: flex; margin-bottom: 0; }

/* Chips de seleção (variante compacta do .opt, p/ listas como ambientes) */
.opt-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt-chip {
  position: relative; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1.1rem; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-body);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.opt-chip:hover { border-color: var(--text); }
.opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chip svg { width: 15px; height: 15px; flex: none; color: var(--text-muted); }
.opt-chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt-chip:has(input:checked) svg { color: #fff; }
.opt-chip:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.field label.opt-chip { display: inline-flex; margin-bottom: 0; }

/* Área logada (cliente/ e administrador/): conteúdo começa no topo,
   com um respiro único abaixo do header — não usar .section aqui */
.app-main { padding-block: 1.5rem 3rem; }

/* Menu lateral das áreas logadas (fica numa coluna do grid: col-lg-2) */
.side-nav {
  display: flex; flex-direction: row; gap: 0.25rem;
  overflow-x: auto; padding-bottom: 0.5rem;
}
.side-nav a {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-body);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.side-nav a:hover { background: var(--bg-muted); color: var(--text); }
.side-nav a.is-active { background: var(--accent-soft); color: var(--accent-hover); }
.side-nav a svg { width: 18px; height: 18px; flex: none; }
.side-nav__sep { display: none; }
@media (min-width: 992px) {
  .side-nav {
    flex-direction: column; overflow: visible; padding-bottom: 0;
    position: sticky; top: 1.5rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.75rem;
  }
  .side-nav__sep { display: block; height: 1px; background: var(--line); margin: 0.5rem 0.25rem; }
}

/* Toggle de alternância (ex.: Kanban ↔ Lista) */
.role-toggle {
  display: inline-flex; gap: 2px; padding: 4px;
  background: var(--bg-muted); border-radius: var(--pill);
}
.role-toggle button {
  padding: 0.45rem 1.1rem; border-radius: var(--pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted);
  transition: background .2s ease, color .2s ease;
}
.role-toggle button.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* Kanban de briefings (administrador/) */
.kanban {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 1rem; align-items: start; overflow-x: auto; padding-bottom: 0.5rem;
}
.kanban__col { background: var(--bg-muted); border-radius: var(--radius-lg); padding: 0.85rem; min-height: 220px; }
.kanban__col.is-over { outline: 2px dashed var(--accent); outline-offset: -4px; }
.kanban__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.25rem 0.35rem 0.75rem; }
.kanban__title {
  font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-body);
}
.kanban__count {
  min-width: 22px; height: 22px; padding-inline: 6px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted);
}
.kanban-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem 1rem; margin-bottom: 0.6rem; cursor: grab;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.kanban-card:hover { border-color: var(--text); box-shadow: var(--shadow-sm); }
.kanban-card.is-dragging { opacity: 0.4; cursor: grabbing; }
.kanban-card__title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.kanban-card__title svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.kanban-card__meta { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.35rem; line-height: 1.5; }

/* Modal (detalhe do briefing no admin) */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2.5rem 1rem; overflow-y: auto;
  background: rgba(17, 17, 17, 0.45);
}
.modal[hidden] { display: none; }
.modal__box {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 980px; position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1;
  width: 38px; height: 38px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--line); background: #fff;
  transition: color .2s ease, border-color .2s ease;
}
.modal__close:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.modal__close svg { width: 18px; height: 18px; }
.modal__box--sm { max-width: 480px; }

/* Editor de texto básico (conteúdo do artigo no admin) */
.editor { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.editor:focus-within { border-color: var(--text); }
.editor__toolbar {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--line);
  background: var(--bg-muted);
}
.editor__btn {
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem; font-size: var(--fs-xs); font-weight: 600;
  color: var(--text-body); background: transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.editor__btn:hover { background: #fff; color: var(--text); }
.editor__btn.is-active { background: var(--accent-soft); color: var(--accent); }
.editor__area {
  min-height: 240px; padding: 0.9rem 1.1rem;
  font-size: var(--fs-sm); color: var(--text-body); outline: none;
}
.editor__area:empty::before { content: attr(data-placeholder); color: var(--text-muted); }
.editor__area p { margin-bottom: 0.75em; font-size: inherit; }
.editor__area h3 { margin: 0.9em 0 0.4em; font-size: var(--fs-lead); font-weight: 700; color: var(--text); }
.editor__area ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 0.75em; }
.editor__area mark { background: var(--accent-soft); color: var(--accent-hover); border-radius: 0.2em; padding: 0 0.15em; }

/* Galeria por ambiente (projeto do portfólio no admin) */
.galeria {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.6rem; margin-bottom: 1rem;
}
.galeria__item {
  position: relative; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-muted);
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galeria__remove {
  position: absolute; top: 0.35rem; right: 0.35rem;
  width: 26px; height: 26px; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--line); background: #fff;
  transition: color .2s ease, border-color .2s ease;
}
.galeria__remove:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.galeria__remove svg { width: 14px; height: 14px; }
.galeria--capa { grid-template-columns: minmax(120px, 220px); }

/* Pré-visualização do PDF da proposta (anexo do WhatsApp) */
.pdf-doc {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: clamp(1.25rem, 3vw, 2.25rem);
}
.pdf-doc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 2px solid var(--dark);
}
.pdf-doc__sep { border-top: 1px solid var(--line); margin: 1.25rem 0; }
.pdf-doc__label {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}
.pdf-doc__box { background: var(--bg-cream); border-radius: var(--radius-sm); padding: 1.1rem 1.35rem; }
.pdf-doc__linha {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--text-body);
}
.pdf-doc__linha--total { border-bottom: 0; padding-top: 0.6rem; font-weight: 700; color: var(--text); }
.pdf-doc__num {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--accent); color: var(--text-onaccent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: 700;
}

/* Acordeão (ambientes no detalhe do briefing) */
.acc {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-cream); margin-bottom: 0.75rem; overflow: hidden;
}
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus { outline: none; }
.acc summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-lg); }
.acc summary svg { width: 18px; height: 18px; flex: none; color: var(--text-muted); transition: transform .2s ease; }
.acc[open] summary svg { transform: rotate(180deg); }
.acc__body { padding: 0 1.5rem 1.25rem; }
.brief-row__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Dashboard de briefings (dashboard.html) */
.brief-row {
  display: flex; align-items: center; gap: 1.25rem;
  width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.brief-row:hover { border-color: var(--text); box-shadow: var(--shadow-sm); }
.brief-row__icon {
  width: 46px; height: 46px; flex: none; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.brief-row__icon svg { width: 22px; height: 22px; }
.brief-row__title { font-weight: 600; color: var(--text); }
.brief-row__meta { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.2rem; }
.brief-row__arrow { color: var(--text-muted); flex: none; }
.brief-row__arrow svg { width: 18px; height: 18px; }
.brief-row__body { flex: 1; min-width: 0; }
.brief-row--static { cursor: default; }

/* Busca com ícone embutido (painéis) */
.search-box { position: relative; }
.search-box .input { border-radius: var(--pill); padding-left: 2.6rem; }
.search-box > svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-muted);
}

/* Variantes compactas de componentes já existentes */
.opt-chip--sm { padding: 0.35rem 0.8rem; }
.upload--sm { padding: 0.85rem 1rem; }
.textarea--sm { min-height: 70px; border-radius: var(--radius); }
.env-card--fill { height: 100%; margin-bottom: 0; }
.env-card--off { opacity: 0.6; }
.nota-item { border-bottom: 1px solid var(--line); padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.nota-item__remove {
  width: 28px; height: 28px; flex: none; border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--line); background: #fff;
  transition: color .2s ease, border-color .2s ease;
}
.nota-item__remove:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.nota-item__remove svg { width: 14px; height: 14px; }

/* Switch (toggle) */
.switch { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: var(--fs-sm); color: var(--text-body); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track {
  width: 46px; height: 26px; flex: none; position: relative;
  border-radius: var(--pill); background: var(--bg-muted); border: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease;
}
.switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.switch input:checked + .switch__track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.switch[hidden] { display: none; }

/* ============================================================
   10) FOOTER (dark)
   ============================================================ */
.site-footer {
  background: var(--dark); color: var(--dark-text);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2.5rem;
  margin-top: var(--section-y);
}
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--dark-line); }
.footer-cta h2 { color: #fff; max-width: 22ch; }
.footer-cta p { color: var(--dark-muted); }

.footer-links__title {
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark-muted);
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--dark-line);
}
.footer-links a { display: block; padding: 0.7rem 0; font-size: var(--fs-sm); color: var(--dark-text); border-bottom: 1px solid var(--dark-line); }
.footer-links a:hover { color: var(--accent); }
.footer-col-title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--dark-muted); margin-bottom: 0.5rem; }

.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 2rem; color: #fff; }
.footer-brand svg, .footer-brand .brand-mark { width: 40px; height: 40px; color: #fff; }
.footer-bottom--divided { border-top: 1px solid var(--dark-line); margin-top: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; }
.footer-copy { font-size: var(--fs-sm); color: var(--dark-muted); }
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a { width: 20px; height: 20px; color: var(--dark-text); }
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }

/* ============================================================
   11) PÁGINA 404
   ============================================================ */
.err { position: relative; text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.err__ghost {
  font-size: clamp(9rem, 30vw, 22rem); font-weight: 800; line-height: 1;
  color: var(--bg-muted); letter-spacing: -0.03em;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 0; pointer-events: none; user-select: none;
}
.err__content { position: relative; z-index: 1; }
.err__title { font-size: var(--fs-h1); }
.err__lead { max-width: 44ch; }
.err__floaters { position: relative; z-index: 1; }
.err__floaters .media { box-shadow: var(--shadow); }

/* ============================================================
   12) RESPONSIVO
   ============================================================ */
@media (max-width: 991.98px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .nav-cta { display: none; }
}
/* Ordem das colunas só no desktop (mobile mantém a ordem do DOM:
   texto antes da imagem). Padding lateral do texto só no desktop. */
@media (min-width: 992px) {
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  .lg-pl-1 { padding-left: 1rem; }
  .lg-pr-1 { padding-right: 1rem; }
  .lg-mt-0 { margin-top: 0; }
}
@media (max-width: 767.98px) {
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .newsletter-form { max-width: 100%; }
}

/* ============================================================
   13) UTILITÁRIOS DE APOIO — substituem style inline.
   Declarados por último de propósito: vencem componentes na cascata
   (os pt-*/mb-* do default.css perdem p/ componentes do style.css).
   ============================================================ */
.fs-h1 { font-size: var(--fs-h1); }
.fs-h2 { font-size: var(--fs-h2); }
.fs-h3 { font-size: var(--fs-h3); }
.fs-sm { font-size: var(--fs-sm); }
.fs-xs { font-size: var(--fs-xs); }
.text-ok { color: #5C6549; }               /* confirmações (par do .chip--sage) */
.label-mini {
  display: block; font-size: var(--fs-xs); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.ico-14 { width: 14px; height: 14px; flex: none; }
.ico-16 { width: 16px; height: 16px; flex: none; }
.ico-accent { color: var(--accent); }
.ico-top { margin-top: 2px; }              /* alinha ícone com texto de múltiplas linhas */
.u-mt-0 { margin-top: 0; }
.u-mb-0 { margin-bottom: 0; }
.u-grow { flex: 1; min-width: 0; }
.u-justify-end { justify-content: flex-end; }
.ico-20 { width: 20px; height: 20px; flex: none; }
.text-strong { color: var(--text); }
.text-white { color: #fff; }
.u-m-0 { margin: 0; }
.textarea--md { min-height: 90px; }
.text-dark-muted { color: var(--dark-muted); }
.text-left { text-align: left; }
.u-pt-0 { padding-top: 0; }
