/*
Theme Name: Imoguia
Theme URI: https://crowdfundingimobiliario-guide.com/
Author: Imoguia
Description: Tema proprio — perfis de plataforma, avaliacoes, comparativos e otimizacao para motores de resposta.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: imoguia
*/

:root {
  --cfguide-primary: #5C6B3C;
  --cfguide-primary-dark: #404A2A;
  --cfguide-secondary: #D9A441;
  --cfguide-accent: #F5A65B;
  --cfguide-accent-dark: #E08C3A;
  --cfguide-accent-soft: #FDEBD6;
  --cfguide-bg: #F5F6F9;
  --cfguide-surface: #FFFFFF;
  --cfguide-text: #222833;
  --cfguide-muted: #697587;
  --cfguide-border: #E0E4EC;
  --cfguide-success: #2E8B6B;
  --cfguide-danger: #CF4B4B;
  --cfguide-shadow: 0 4px 18px rgba(51,65,92,.08);
  --cfguide-shadow-lg: 0 14px 40px rgba(51,65,92,.16);
  --cfguide-radius: 14px;
  --cfguide-radius-sm: 8px;
  --cfguide-font-head: 'Bricolage Grotesque', Georgia, serif;
  --cfguide-font-body: 'Karla', system-ui, -apple-system, sans-serif;
  --cfguide-maxw: 1180px;
  --cfguide-gradient: linear-gradient(135deg, #5C6B3C 0%, #D9A441 100%);
}

/* Reset base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cfguide-font-body);
  font-size: 16px;
  line-height: 1.74;
  color: var(--cfguide-text);
  background: var(--cfguide-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cfguide-secondary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--cfguide-primary); }

h1, h2, h3, h4 {
  font-family: var(--cfguide-font-head);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cfguide-primary);
  margin: 1.5em 0 .5em;
}
h1 { font-size: clamp(32px, 4.6vw, 50px); margin-top: 0; letter-spacing: .2px; }
h2 { font-size: clamp(25px, 3.2vw, 34px); }
h3 { font-size: clamp(19px, 2.3vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; }
blockquote { margin: 1.6em 0; }
hr { border: 0; border-top: 1px solid var(--cfguide-border); margin: 2.4em 0; }

/* ============================================================
   FOOTER F4 — Compacto centrado
   ============================================================ */
.cfguide-foot {
  background: var(--cfguide-primary);
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  padding: 2.25rem 0 1.5rem;
}

.cfguide-foot-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

/* About de uma linha */
.cfguide-foot-about {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin: 0;
  max-width: 65ch;
  line-height: 1.55;
}

/* Linha de ligacoes com separador · */
.cfguide-foot-pipe-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.cfguide-foot-pipe-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

/* Separador · entre todos os items */
.cfguide-foot-pipe-menu li + li::before,
.cfguide-foot-pipe-row .cfguide-foot-pipe-menu:nth-child(2) li:first-child::before {
  content: ' \00B7 ';
  color: rgba(255,255,255,.3);
  padding: 0 .35rem;
}

.cfguide-foot-pipe-menu a {
  color: rgba(255,255,255,.65);
  font-size: .84rem;
  transition: color .18s ease;
  white-space: nowrap;
}

.cfguide-foot-pipe-menu a:hover { color: #fff; }

/* Nota de aviso */
.cfguide-foot-note {
  font-size: .76rem;
  color: rgba(255,255,255,.38);
  max-width: 70ch;
  margin: 0;
  line-height: 1.55;
}

/* Barra copyright */
.cfguide-foot-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .77rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: .85rem;
  width: 100%;
  max-width: 65ch;
}

.cfguide-foot-bottom a {
  color: rgba(255,255,255,.35);
}

.cfguide-foot-bottom a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 480px) {
  .cfguide-foot-about {
    font-size: .86rem;
  }
  .cfguide-foot-pipe-menu a {
    font-size: .82rem;
  }
}
