/* =============================================
   MARIA CLARA 2026 — versão clara
   ============================================= */

@font-face {
  font-family: 'Basenji';
  src: url('../fonts/Basenji-SemiBold.otf') format('opentype');
  font-weight: 600;
}
@font-face {
  font-family: 'Basenji';
  src: url('../fonts/Basenji-SemiBoldSlanted.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* --- TOKENS --- */
:root {
  --grafite:   #2A2A2E;
  --roxo:      #550385;
  --laranja:   #F6660D;
  --off-white: #E8E4DE;

  --bg:        #FFFFFF;
  --bg-suave:  #F9F7F5;
  --bg-roxo:   #F3EDF9;
  --bg-laranja:#FEF2EB;

  --texto:     #1A1A1D;
  --texto-mid: #4A4A50;
  --texto-soft:#8A8A90;
  --borda:     rgba(42,42,46,0.1);

  --fd: 'Basenji', 'Helvetica Neue', Arial, sans-serif;
  --fb: 'Gilroy', 'Helvetica Neue', Arial, sans-serif;

  --raio:    14px;
  --s:       88px;
  --max:     1100px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--bg); color: var(--texto); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- UTILITÁRIOS --- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-block;
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--roxo); background: var(--bg-roxo);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--fb); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; letter-spacing: 0.03em;
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.btn:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.btn-laranja { background: var(--laranja); color: #fff; }
.btn-roxo    { background: var(--roxo);    color: #fff; }
.btn-outline { background: transparent; color: var(--grafite); border: 1.5px solid var(--borda); }
.btn-outline:hover { border-color: var(--laranja); color: var(--laranja); box-shadow: none; }
.btn-concordo { background: #1a5e36; color: #fff; }
.btn-discordo { background: #8c2020; color: #fff; }
.btn-pular    { background: transparent; color: var(--texto-soft); border: 1.5px solid var(--borda); }

.topo-secao { text-align: center; margin-bottom: 56px; }
.topo-secao h2 {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.01em; color: var(--grafite);
  margin-bottom: 14px; line-height: 1.1;
}
.topo-secao h2 em { font-style: italic; color: var(--laranja); }
.subtitulo { font-family: var(--fb); font-size: 17px; color: var(--texto-mid); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* =============================================
   NAV
   ============================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0; background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--borda);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 68px;
}
.nav-logo img { height: 30px; width: auto; display: block; }

nav ul {
  display: flex; gap: 28px; list-style: none;
}
nav ul a {
  font-family: var(--fb); font-size: 14px; font-weight: 600;
  color: var(--texto-mid); letter-spacing: 0.02em;
  transition: color .2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav ul a:hover { color: var(--laranja); border-bottom-color: var(--laranja); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

/* HAMBURGUER */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer; z-index: 210;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--grafite); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.ativo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.ativo span:nth-child(2) { opacity: 0; }
.nav-toggle.ativo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding-top: 68px;
  overflow: hidden; background: var(--bg); position: relative;
}
#hero::before {
  content: ''; position: absolute; top: -10%; right: -5%;
  width: 55%; height: 120%;
  background: radial-gradient(ellipse at center, var(--bg-laranja) 0%, transparent 70%);
  pointer-events: none;
}
.hero-texto { padding: 80px 48px 80px 72px; position: relative; z-index: 1; }
.hero-texto .eyebrow {
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--laranja); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-texto .eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--laranja); flex-shrink: 0;
}
.hero-texto h1 {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.07; letter-spacing: -0.02em;
  color: var(--grafite); margin-bottom: 24px;
}
.hero-texto h1 em { font-style: italic; color: var(--laranja); }
.hero-texto p {
  font-family: var(--fb); font-size: 17px; color: var(--texto-mid);
  max-width: 440px; margin-bottom: 40px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-foto { height: 100vh; position: relative; overflow: hidden; z-index: 1; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-foto::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none;
}

.hero-stats { display: flex; gap: 36px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--borda); }
.hero-stats .stat .num {
  font-family: var(--fd); font-weight: 900; font-size: 32px;
  color: var(--laranja); line-height: 1; margin-bottom: 5px;
}
.hero-stats .stat .label {
  font-family: var(--fb); font-size: 11px; color: var(--texto-soft);
  letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.4;
}

/* =============================================
   TICKER
   ============================================= */
#slogan { background: var(--laranja); padding: 22px 0; overflow: hidden; }
#slogan .ticker {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ticker 22s linear infinite;
}
#slogan .ticker span {
  font-family: var(--fd); font-weight: 900; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.95); flex-shrink: 0;
}
#slogan .ticker span.dot { color: rgba(255,255,255,.3); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================
   SOBRE
   ============================================= */
#sobre { padding: var(--s) 0; background: var(--bg); }
.grid-sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.foto-sobre {
  border-radius: var(--raio); overflow: hidden; aspect-ratio: 3/4;
  background: var(--bg-suave); box-shadow: 0 24px 64px rgba(85,3,133,.1);
}
.foto-sobre img { width: 100%; height: 100%; object-fit: cover; }
.sobre-texto h2 {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--grafite); margin-bottom: 24px;
}
.sobre-texto h2 em { font-style: italic; color: var(--laranja); }
.sobre-texto p {
  font-family: var(--fb); font-size: 16px; color: var(--texto-mid);
  line-height: 1.8; margin-bottom: 16px;
}
.valores-lista { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.valor-tag {
  padding: 7px 18px; border-radius: 999px; background: var(--bg-roxo);
  font-family: var(--fb); font-size: 13px; color: var(--roxo); font-weight: 600;
  letter-spacing: 0.04em; transition: background .2s, color .2s;
}
.valor-tag:hover { background: var(--roxo); color: #fff; }

/* =============================================
   TRAJETÓRIA
   ============================================= */
#trajetoria { padding: var(--s) 0; background: var(--bg-suave); }

.cards-funcao { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.funcao-card {
  background: var(--bg); border-radius: var(--raio); padding: 36px 32px;
  border: 1.5px solid var(--borda);
  transition: border-color .25s, box-shadow .25s;
}
.funcao-card.destaque { border-color: rgba(246,102,13,.3); background: var(--bg-laranja); }
.funcao-card:hover { border-color: var(--laranja); box-shadow: 0 12px 32px rgba(246,102,13,.1); }
.funcao-icone { font-size: 28px; margin-bottom: 16px; }
.funcao-card h3 {
  font-family: var(--fd); font-weight: 900; font-size: 18px;
  color: var(--grafite); margin-bottom: 14px; letter-spacing: -0.01em;
}
.funcao-card p { font-family: var(--fb); font-size: 15px; color: var(--texto-mid); line-height: 1.75; margin-bottom: 14px; }
.funcao-card ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.funcao-card ul li {
  font-family: var(--fb); font-size: 14px; color: var(--texto-mid);
  line-height: 1.6; padding-left: 18px; position: relative;
}
.funcao-card ul li::before {
  content: '→'; position: absolute; left: 0; color: var(--laranja); font-size: 12px;
}
.destaque-funcao {
  font-family: var(--fb); font-size: 15px; font-weight: 700;
  color: var(--grafite); border-left: 3px solid var(--laranja); padding-left: 14px;
  margin-top: 8px;
}

/* Resultados */
.resultados-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
  margin-top: 32px;
}
.resultado-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg); border-radius: 10px; padding: 16px 18px;
  border: 1.5px solid var(--borda); font-family: var(--fb); font-size: 14px; color: var(--texto-mid); line-height: 1.55;
  transition: border-color .2s;
}
.resultado-item:hover { border-color: var(--laranja); }
.res-icone { font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* Leis */
.leis-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
  margin-top: 32px;
}
.lei-item {
  background: var(--bg-roxo); border-radius: 10px; padding: 18px 20px;
  font-family: var(--fb); font-size: 14px; color: var(--roxo); font-weight: 600;
  line-height: 1.55; border: 1.5px solid rgba(85,3,133,.15);
}
.lei-mais { background: var(--roxo); color: #fff; border-color: transparent; }

.cta-trajetoria {
  background: var(--grafite); border-radius: var(--raio); padding: 44px 48px;
  margin-top: 56px;
}
.cta-trajetoria h3 {
  font-family: var(--fd); font-weight: 900; font-size: 26px;
  color: var(--off-white); margin-bottom: 20px; letter-spacing: -0.01em;
}
.cta-trajetoria p {
  font-family: var(--fb); font-size: 16px; color: rgba(232,228,222,.7);
  line-height: 1.8; margin-bottom: 14px;
}
.cta-trajetoria p strong { color: var(--laranja); }

/* =============================================
   CAUSAS
   ============================================= */
#causas { padding: var(--s) 0; background: var(--bg); }
.causas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.causa-card {
  background: var(--bg-suave); border-radius: var(--raio); padding: 34px 26px;
  border: 1.5px solid var(--borda); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.causa-card:hover { border-color: var(--laranja); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(246,102,13,.1); }
.causa-card .icone { font-size: 28px; margin-bottom: 16px; }
.causa-card h3 { font-family: var(--fd); font-weight: 900; font-size: 18px; color: var(--grafite); margin-bottom: 10px; }
.causa-card p { font-family: var(--fb); font-size: 14px; color: var(--texto-mid); line-height: 1.75; }

/* =============================================
   PARTICIPE
   ============================================= */
#participe { padding: var(--s) 0; background: var(--bg-suave); }
.opiniao-card {
  background: var(--bg); border-radius: var(--raio); padding: 40px;
  max-width: 740px; margin: 0 auto; border: 1.5px solid var(--borda);
}
.opiniao-card .eixo-label {
  font-family: var(--fb); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--roxo); margin-bottom: 16px;
}
.opiniao-card blockquote {
  font-family: var(--fd); font-weight: 900; font-style: italic;
  font-size: 21px; line-height: 1.45; color: var(--grafite); margin-bottom: 32px;
}
.opiniao-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.barra-progresso {
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
  font-family: var(--fb); font-size: 13px; color: var(--texto-soft);
}
.barra { flex: 1; height: 3px; background: var(--borda); border-radius: 2px; overflow: hidden; }
.barra .fill { height: 100%; background: var(--laranja); border-radius: 2px; transition: width .4s ease; }

/* =============================================
   PROPOSTA
   ============================================= */
#proposta { padding: var(--s) 0; background: var(--bg-roxo); }
#proposta .topo-secao { text-align: left; margin-bottom: 48px; }
#proposta .topo-secao h2 em { color: var(--roxo); }
form#form-proposta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 780px; }
form#form-proposta .full { grid-column: 1 / -1; }

.campo label {
  display: block; font-family: var(--fb); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-soft); margin-bottom: 7px;
}
.campo input, .campo select, .campo textarea {
  width: 100%; background: var(--bg); border: 1.5px solid var(--borda);
  border-radius: 10px; padding: 12px 15px; color: var(--texto);
  font-family: var(--fb); font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
  border-color: var(--roxo); box-shadow: 0 0 0 3px rgba(85,3,133,.08);
}
.campo textarea { resize: vertical; min-height: 120px; }
.campo select option { background: #fff; color: var(--texto); }
.campo-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--fb); font-size: 14px; color: var(--texto-mid); line-height: 1.55; cursor: pointer;
}
.campo-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--roxo); flex-shrink: 0; }
.char-count { font-family: var(--fb); font-size: 12px; color: var(--texto-soft); text-align: right; margin-top: 4px; }

/* =============================================
   APOIO
   ============================================= */
#apoio { padding: var(--s) 0; background: var(--bg); }
.grid-apoio { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
#apoio h2 {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -0.02em; color: var(--grafite); margin-bottom: 18px; line-height: 1.1;
}
#apoio h2 em { font-style: italic; color: var(--laranja); }
.descricao { font-family: var(--fb); font-size: 16px; color: var(--texto-mid); line-height: 1.8; margin-bottom: 32px; }
form#form-apoio { display: flex; flex-direction: column; gap: 14px; }
.apoio-beneficios { display: flex; flex-direction: column; gap: 16px; }
.apoio-beneficios li {
  display: flex; align-items: flex-start; gap: 13px;
  font-family: var(--fb); font-size: 15px; color: var(--texto-mid); line-height: 1.55;
}
.apoio-beneficios li .bullet {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-laranja); border: 1.5px solid rgba(246,102,13,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
footer { background: var(--grafite); padding: 44px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.redes { display: flex; gap: 12px; }
.redes a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(232,228,222,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,228,222,.6); transition: background .2s, color .2s;
}
.redes a:hover { background: var(--laranja); color: #fff; }
.footer-legal {
  font-family: var(--fb); font-size: 12px;
  color: rgba(232,228,222,.25); text-align: right; line-height: 1.7;
}

/* SUCESSO */
.msg-sucesso {
  display: none; background: #edf7f1; border: 1.5px solid #a3d9b8;
  border-radius: 10px; padding: 14px 18px;
  font-family: var(--fb); font-size: 15px; color: #1a6e3a; margin-top: 14px;
}
.msg-sucesso.ativo { display: block; }

/* =============================================
   RESPONSIVO MOBILE
   ============================================= */
@media (max-width: 860px) {
  :root { --s: 60px; }

  /* NAV MOBILE */
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  nav ul {
    display: none;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.98);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; z-index: 190;
  }
  nav ul.aberto { display: flex; }
  nav ul a { font-size: 22px; font-weight: 700; color: var(--grafite); }
  nav ul a:hover { color: var(--laranja); border-bottom: none; }

  /* HERO */
  #hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-foto { height: 60vw; min-height: 260px; order: -1; }
  .hero-foto::after { height: 80px; }
  .hero-texto { padding: 36px 20px 48px; }
  .hero-texto h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-texto p { font-size: 15px; max-width: 100%; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { font-size: 13px; padding: 11px 20px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  /* SOBRE */
  .grid-sobre { grid-template-columns: 1fr; gap: 36px; }
  .foto-sobre { aspect-ratio: 4/3; order: -1; }

  /* TRAJETÓRIA */
  .cards-funcao { grid-template-columns: 1fr; }
  .cta-trajetoria { padding: 32px 24px; }

  /* APOIO */
  .grid-apoio { grid-template-columns: 1fr; gap: 40px; }

  /* PROPOSTA */
  form#form-proposta { grid-template-columns: 1fr; }
  form#form-proposta .full { grid-column: 1; }

  /* FOOTER */
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  #slogan .ticker { animation: none; }
  * { transition: none !important; }
}

.campo-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}

.campo-check input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    accent-color: #F6660D;
}

.campo-check label {
    display: inline;
    margin: 0;
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}