:root{
  --bg: #F7EFE1;
  --bg-elevated: #F0E4CE;
  --surface: #FFFDF8;
  --border: rgba(161, 29, 46, 0.16);

  --accent: #C9911A;        /* dourado — cor principal da marca (escurecido p/ contraste no claro) */
  --accent-dim: #A87914;
  --accent-2: #D63A25;      /* laranja-vermelho */
  --accent-2-dim: #A11D2E;  /* bordô */
  --accent-blue: #1E4FD8;   /* azul de apoio */
  --accent-purple: #8B3FD1; /* roxo de apoio */

  --text: #2B160D;
  --text-muted: #7A5B44;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-impact: 'Anton', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --radius: 16px;
  --max-width: 1000px;
  --shadow: 0 1px 2px rgba(0,0,0,0.45), 0 10px 28px rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--text);
}

a{ color: inherit; }

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #1A0A10; padding: .6em 1em;
  border-radius: 0 0 8px 0; z-index: 100; font-weight: 700;
}
.skip-link:focus{ left: 0; }

.text-muted{ color: var(--text-muted); }
.small{ font-size: .85rem; }

.bars{ display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i{ display:block; width: 3px; background: var(--accent); border-radius: 1px; }
.bars i:nth-child(1){ height: 40%; }
.bars i:nth-child(2){ height: 100%; background: var(--accent-2); }
.bars i:nth-child(3){ height: 65%; }
.bars-lg{ height: 34px; gap: 5px; margin-bottom: 1em; }
.bars-lg i{ width: 7px; }

.hero .bars i,
.page-header .bars i{ background: rgba(255,255,255,0.85); }
.hero .bars i:nth-child(2),
.page-header .bars i:nth-child(2){ background: #2A1006; }

.section-mark{ display:flex; align-items:flex-end; gap: 4px; height: 22px; margin: 0 0 .6em; }
.section-mark i{ display:block; width: 6px; border-radius: 2px 2px 0 0; height: var(--h); opacity: .95; background: var(--accent); }
.section-mark i:nth-child(2){ background: var(--accent-2); }
.section-mark i:nth-child(3){ background: var(--accent-blue); }

/* ============ HERO ============ */
.hero{
  position: relative;
  background: linear-gradient(155deg, var(--accent-2-dim), var(--accent-2) 68%);
  border-bottom: 4px solid var(--accent);
  padding: 3rem 1.5rem 0;
  overflow: hidden;
}
.hero-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.hero-logo{
  max-width: min(560px, 88vw);
  width: 100%;
  height: auto;
  margin: 0 auto 1.4rem;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

.eyebrow{
  font-family: var(--font-impact);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center; gap: .6em;
  margin-bottom: 1rem;
}

.hero h1{
  font-family: var(--font-impact);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: .6rem;
  color: #FFF6E4;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-shadow: 0 3px 0 rgba(0,0,0,0.18);
}
.hero-sub{
  font-family: var(--font-body);
  font-weight: 500;
  color: #FBD9A8;
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
}

.hero-badge{
  display: inline-flex; align-items: center; gap: .55em;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--accent-2-dim);
  font-family: var(--font-impact);
  font-size: .95rem;
  letter-spacing: .03em;
  padding: .6em 1.3em;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero-badge .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .4; transform: scale(1.3); }
}

.hero-palette{
  display: flex;
  height: 16px;
  z-index: 1;
}
.hero-palette i{
  flex: 1;
  background: var(--c);
}

/* ============ NAV ============ */
.site-nav{
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: center; gap: .5rem;
  background: rgba(247, 239, 225, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: .6rem 1rem;
  flex-wrap: wrap;
}
.tab-link{
  text-decoration: none;
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 600;
  padding: .5em 1em;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.tab-link:hover{ color: var(--text); background: var(--surface); }
.tab-link.active{ color: #2B160D; background: var(--accent); font-weight: 700; }

.page-header{
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  background: linear-gradient(155deg, var(--accent-2-dim), var(--accent-2) 68%);
  border-bottom: 4px solid var(--accent);
  color: #fff;
}
.page-header h1{
  font-family: var(--font-impact);
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.8rem); color: #FFF6E4;
  text-shadow: 0 3px 0 rgba(0,0,0,0.18);
}
.page-header .eyebrow{ color: rgba(255,255,255,0.9); }

.page{ max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section{
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.section.in-view{ opacity: 1; transform: none; }
.section:last-of-type{ border-bottom: none; }

.section h2{ font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--accent); }
.lede{ color: var(--text-muted); max-width: 62ch; font-size: 1.05rem; }

/* ============ SOBRE / FOTO ============ */
.about-grid{
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2.2rem;
  align-items: start;
  margin-top: 1.5rem;
}
.about-photo{
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.about-photo img{ display:block; width: 100%; height: auto; }
@media (max-width: 720px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-photo{ max-width: 320px; margin: 0 auto; }
}

.pullquote{
  margin: 2rem 0 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}
.pullquote span{
  display: block;
  margin-top: .5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}

.stat-chips{
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
}
.chip{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  min-width: 160px;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}
.chip:nth-child(2){ border-top-color: var(--accent-2); }
.chip:nth-child(3){ border-top-color: var(--accent-blue); }
.chip-num{
  display: block; font-family: var(--font-impact);
  color: var(--accent); font-size: 1.6rem; letter-spacing: .02em;
}
.chip:nth-child(2) .chip-num{ color: var(--accent-2); }
.chip:nth-child(3) .chip-num{ color: var(--accent-blue); }
.chip-label{ color: var(--text-muted); font-size: .88rem; }

/* ============ BANDEIRAS / PROPOSTAS ============ */
.flag-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.flag-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.flag-card:nth-child(4n+2){ border-top-color: var(--accent-2); }
.flag-card:nth-child(4n+3){ border-top-color: var(--accent-blue); }
.flag-card:nth-child(4n+4){ border-top-color: var(--accent-purple); }

.flag-icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 179, 36, 0.14);
  color: var(--accent);
  margin-bottom: 1rem;
}
.flag-card:nth-child(4n+2) .flag-icon{ background: rgba(232, 64, 45, 0.14); color: var(--accent-2); }
.flag-card:nth-child(4n+3) .flag-icon{ background: rgba(30, 79, 216, 0.14); color: var(--accent-blue); }
.flag-card:nth-child(4n+4) .flag-icon{ background: rgba(139, 63, 209, 0.14); color: var(--accent-purple); }
.flag-icon svg{ width: 24px; height: 24px; }

.flag-title{ font-size: 1.05rem; margin-bottom: .4em; }
.flag-text{ color: var(--text-muted); font-size: .92rem; flex-grow: 1; }
.flag-status{
  margin-top: 1.1em;
  font-family: var(--font-impact);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============ EMPTY STATE ============ */
.empty-state{
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.empty-state p{ margin: .4em 0; }
.empty-state .text-muted{ max-width: 48ch; margin-left: auto; margin-right: auto; }
.empty-state-actions{
  display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn{
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  padding: .75em 1.5em; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s ease;
  border: none;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--accent); color: #1A0A10; }
.btn-primary:hover{ background: #FFC94D; }
.btn-outline{ background: var(--surface); border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover{ background: rgba(245, 179, 36, 0.14); }
.btn-ghost{ background: transparent; color: var(--text-muted); }
.btn-ghost:hover{ color: var(--text); }

.cards-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.card h3{
  display: flex; align-items: center; gap: .5em;
  font-size: 1.1rem; margin-bottom: .3em;
}
.card h4{ font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-top: 1.5rem; }
.icon{ width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.link{ color: var(--accent-2); text-decoration: none; border-bottom: 1px solid transparent; font-weight: 600; }
.link:hover{ border-bottom-color: currentColor; }

.social-link{
  display: inline-flex; align-items: center; gap: .5em;
  text-decoration: none; color: var(--text);
  margin-top: .4rem;
}
.social-link:hover{ color: var(--accent-2); }

/* ============ AGENDA (tabela) ============ */
.schedule-table-wrap{
  margin-top: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.schedule-table{
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 560px;
}
.schedule-table thead th{
  text-align: left;
  font-family: var(--font-impact);
  font-size: .75rem;
  letter-spacing: .04em;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: .8em 1em;
}
.schedule-table td{
  padding: .8em 1em;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.schedule-table .day-row td{
  background: rgba(245, 179, 36, 0.12);
  color: var(--accent);
  font-family: var(--font-impact);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============ APOIE (tiers) ============ */
.tier-title{
  font-size: .82rem;
  font-family: var(--font-impact);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}
.support-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.support-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.support-card:nth-child(2){ border-top-color: var(--accent-2); }
.support-card:nth-child(3){ border-top-color: var(--accent-blue); }
.support-card h3{ font-size: 1.05rem; margin-bottom: .5em; }
.support-card p{ color: var(--text-muted); font-size: .92rem; margin-bottom: 1.2em; }

/* ============ FOOTER ============ */
.footer{
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}
.footer-logo{ height: 44px; width: auto; margin-bottom: 1.5rem; }
.footer-links{ display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a{ color: var(--text-muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.footer-links a:hover{ color: var(--accent-2); }
.footer-copy{ color: var(--text-muted); font-size: .8rem; margin: 0 0 .3em; }
.footer-legal{ color: var(--text-muted); font-size: .74rem; opacity: .75; max-width: 60ch; margin: 0 auto; }

a:focus-visible, .btn:focus-visible, .tab-link:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 640px){
  .hero{ padding: 2.5rem 1.2rem 0; }
  .site-nav{ gap: .25rem; }
  .tab-link{ font-size: .85rem; padding: .5em .8em; }
}
