/*
Theme Name:  Fundação Orla
Theme URI:   https://fundacaoorla.com.br
Author:      Gustavo Henrique Sampaio Pajuaba
Author URI:  https://fundacaoorla.com.br
Description: Tema oficial da Fundação Orla — Guardiões das Águas. Colorido, jovem e acessível.
Version:     1.0.0
License:     GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fundacaoorla
Tags:        one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  background: #FAFAF8;
  color: #1A1A18;
  line-height: 1.7;
  font-size: 16px;
}

/* ── VARIÁVEIS ── */
:root {
  --azul:        #0D3B5E;
  --azul-mid:    #1A5E8A;
  --azul-light:  #E6F1FB;
  --verde:       #1A6B3A;
  --verde-light: #EAF3DE;
  --coral:       #D85A30;
  --coral-light: #FAECE7;
  --amber:       #BA7517;
  --amber-light: #FAEEDA;
  --teal:        #0F6E56;
  --teal-light:  #E1F5EE;
  --off-white:   #FAFAF8;
  --paper:       #F3F1EB;
  --ink:         #1A1A18;
  --ink-soft:    #4A4A46;
  --ink-muted:   #8A8A84;
  --border:      rgba(26,26,24,0.10);
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
}

/* ── TIPOGRAFIA ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
h4 { font-size: 18px; }
p  { color: var(--ink-soft); margin-bottom: 1rem; }
a  { color: var(--azul-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.site-main  { padding-top: 64px; }

/* ── HEADER / NAVBAR ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  background: rgba(250,250,248,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { height: 40px; width: auto; }
.site-title { font-family: 'Syne', serif; font-size: 16px; font-weight: 700; color: var(--ink); }
.site-description { font-size: 11px; color: var(--ink-muted); }

/* MENU */
.main-navigation ul { display: flex; list-style: none; gap: 4px; align-items: center; }
.main-navigation a {
  font-size: 14px; color: var(--ink-soft);
  padding: 7px 14px; border-radius: 40px;
  transition: background .15s, color .15s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background: var(--paper); color: var(--ink);
  text-decoration: none;
}
.nav-cta {
  font-size: 13px; font-weight: 500; color: #fff;
  background: var(--coral);
  padding: 8px 20px; border-radius: 40px;
  transition: background .2s;
}
.nav-cta:hover { background: #993C1D; text-decoration: none; }

/* ── HERO ── */
.hero-section {
  padding: 100px 0 0;
  background: var(--off-white);
  text-align: center;
  overflow: hidden;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.badge {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500;
  padding: 5px 14px; border-radius: 40px;
}
.badge-blue   { background: var(--azul-light);  color: var(--azul-mid); }
.badge-green  { background: var(--verde-light); color: var(--verde); }
.badge-coral  { background: var(--coral-light); color: var(--coral); }
.badge-amber  { background: var(--amber-light); color: var(--amber); }
.hero-section h1 { margin-bottom: 16px; }
.hero-section h1 .accent-azul { color: var(--azul-mid); }
.hero-section h1 .accent-verde { color: var(--verde); }
.hero-sub {
  font-size: 18px; max-width: 560px; margin: 0 auto 32px;
  color: var(--ink-soft);
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 40px;
  font-size: 15px; font-weight: 500;
  cursor: pointer; border: none;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: #993C1D; transform: translateY(-1px); text-decoration: none; }
.btn-dark    { background: var(--azul);  color: #fff; }
.btn-dark:hover { background: #0a2e4a; text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--paper); text-decoration: none; }

/* ── STATS ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--border);
  max-width: 960px; margin: 48px auto 0;
}
.stat-cell { padding: 24px; text-align: center; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Syne', serif; font-size: 32px; font-weight: 800; line-height: 1;
}
.stat-label { font-size: 12px; color: var(--ink-muted); margin-top: 6px; line-height: 1.4; }
.c-azul  { color: var(--azul-mid); }
.c-verde { color: var(--verde); }
.c-coral { color: var(--coral); }
.c-amber { color: var(--amber); }

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-header { margin-bottom: 44px; }
.eyebrow {
  font-family: 'Syne', serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
  display: block; margin-bottom: 8px;
}
.section-header h2 { margin-bottom: 10px; }
.section-header p  { max-width: 520px; }
.section-flex-head {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin-bottom: 40px;
}

/* ── PROGRAM CARDS ── */
.programs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.program-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.program-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.program-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; margin-top: 8px;
}
.program-card h3 { margin-bottom: 4px; }
.program-card .pub { font-size: 12px; color: var(--ink-muted); margin-bottom: 12px; }
.program-card p   { font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 11px; font-weight: 500; padding: 3px 10px;
  border-radius: 40px; display: inline-block;
}
.tag-blue   { background: var(--azul-light);  color: var(--azul-mid); }
.tag-green  { background: var(--verde-light); color: var(--verde); }
.tag-coral  { background: var(--coral-light); color: var(--coral); }
.tag-amber  { background: var(--amber-light); color: var(--amber); }
.program-link {
  display: inline-block; margin-top: 16px;
  font-size: 13px; font-weight: 500;
  padding: 8px 18px; border-radius: 40px;
}

/* ── BLOG CARDS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit; display: block;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-thumb { height: 140px; display: flex; align-items: center; justify-content: center; }
.blog-body  { padding: 18px 20px; }
.blog-cat   { display: inline-block; margin-bottom: 10px; }
.blog-title {
  font-family: 'Syne', serif; font-size: 16px; font-weight: 700;
  line-height: 1.35; margin-bottom: 8px; color: var(--ink);
}
.blog-excerpt { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.blog-meta    { font-size: 11px; color: var(--ink-muted); margin-top: 12px; }

/* ── APOIO ── */
.apoio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.apoio-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.apoio-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.apoio-card.featured { border-color: var(--coral); border-width: 2px; }
.apoio-card h3 { font-size: 18px; }
.apoio-card p  { font-size: 14px; flex: 1; }

/* ── TRANSPARÊNCIA ── */
.trans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trans-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: background .15s; text-decoration: none; color: inherit;
}
.trans-item:hover { background: var(--paper); }
.trans-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trans-title { font-family: 'Syne', serif; font-size: 14px; font-weight: 700; display: block; }
.trans-sub   { font-size: 12px; color: var(--ink-muted); }
.trans-arr   { margin-left: auto; color: var(--ink-muted); font-size: 16px; }

/* ── CONTATO ── */
.contato-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contato-info { display: flex; flex-direction: column; gap: 20px; }
.ci-row { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ci-label { font-size: 12px; color: var(--ink-muted); margin-bottom: 2px; display: block; }
.ci-val   { font-size: 14px; font-weight: 500; line-height: 1.5; }
.contato-form { display: flex; flex-direction: column; gap: 12px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%; padding: 13px 16px;
  font-size: 14px; font-family: inherit;
  background: #fff; color: var(--ink);
  border: 1.5px solid rgba(26,26,24,0.16);
  border-radius: var(--radius-md); outline: none;
  transition: border-color .2s;
}
.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus { border-color: var(--azul-mid); }
.contato-form textarea { height: 120px; resize: vertical; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); color: #fff;
  padding: 52px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand-name { font-family: 'Syne', serif; font-size: 18px; font-weight: 800; }
.footer-brand-desc { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 6px; line-height: 1.7; }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,0.38);
  margin-bottom: 14px; font-family: 'Syne', serif;
}
.footer-col a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.65); margin-bottom: 8px;
  transition: color .15s; text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-badge {
  font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  padding: 4px 12px; border-radius: 40px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .programs-grid, .blog-grid, .apoio-grid, .contato-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .trans-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-navigation { display: none; }
}
@media (max-width: 600px) {
  .blog-grid   { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
}
