/*
Theme Name: Atlanticoimo
Theme URI: https://crowdfundingimobiliarioportugal.com/
Author: Atlanticoimo
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: atlanticoimo
*/

:root {
  --cfimpt-primary: #0E5A75;
  --cfimpt-primary-dark: #093E51;
  --cfimpt-secondary: #FFFFFF;
  --cfimpt-accent: #D9B26A;
  --cfimpt-accent-dark: #B19156;
  --cfimpt-accent-soft: #F9F4EA;
  --cfimpt-bg: #F7F4ED;
  --cfimpt-surface: #FFFFFF;
  --cfimpt-text: #22302A;
  --cfimpt-muted: #5E6E66;
  --cfimpt-border: #E1DDD0;
  --cfimpt-success: #2E7D52;
  --cfimpt-danger: #C0473B;
  --cfimpt-shadow: 0 4px 18px rgba(30,77,59,.08);
  --cfimpt-shadow-lg: 0 14px 40px rgba(30,77,59,.16);
  --cfimpt-radius: 14px;
  --cfimpt-radius-sm: 8px;
  --cfimpt-font-head: 'Spectral', Georgia, serif;
  --cfimpt-font-body: 'Work Sans', system-ui, -apple-system, sans-serif;
  --cfimpt-maxw: 1180px;
  --cfimpt-gradient: linear-gradient(135deg, #0E5A75 0%, #FFFFFF 100%);
}

/* Reset base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cfimpt-font-body);
  font-size: 16px;
  line-height: 1.74;
  color: var(--cfimpt-text);
  background: var(--cfimpt-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cfimpt-secondary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--cfimpt-primary); }

h1, h2, h3, h4 {
  font-family: var(--cfimpt-font-head);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cfimpt-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(--cfimpt-border); margin: 2.4em 0; }

/* ============================================================
   FOOTER F2 — Trust/risk-bar + linha slim
   ============================================================ */
.cfimpt-footer {
  background: var(--cfimpt-primary);
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}

/* Faixa de aviso de risco (largura total) */
.cfimpt-footer-risk-bar {
  background: rgba(0,0,0,.22);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.cfimpt-footer-note {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin: 0;
  line-height: 1.6;
  max-width: 90ch;
}

/* Linha slim: 3 colunas */
.cfimpt-footer-slim {
  padding: 2.25rem 0 1.75rem;
}

.cfimpt-footer-slim-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cfimpt-footer-slim-brand h3 {
  font-family: var(--cfimpt-font-head);
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 .6rem;
}

.cfimpt-footer-claim {
  font-size: .86rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}

.cfimpt-footer-slim-links h4,
.cfimpt-footer-slim-legal h4 {
  font-family: var(--cfimpt-font-head);
  font-size: .95rem;
  color: #fff;
  margin: 0 0 .7rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.cfimpt-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.cfimpt-footer-menu-extra {
  margin-top: .5rem;
}

.cfimpt-footer-menu a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: color .18s ease;
}

.cfimpt-footer-menu a:hover { color: #fff; }

/* Barra inferior */
.cfimpt-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 0;
  max-width: var(--cfimpt-maxw);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .77rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}

.cfimpt-footer-bottom a {
  color: rgba(255,255,255,.35);
}

.cfimpt-footer-bottom a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 860px) {
  .cfimpt-footer-slim-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .cfimpt-footer-slim-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .cfimpt-footer-slim-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cfimpt-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
