/* ── TOKENS (mesmo sistema da página de notícia) ── */
:root {
  --bg:        #FAFAF8;
  --surface:   #FFFFFF;
  --fg:        #1C1C1C;
  --muted:     #6B6B6B;
  --border:    #E8E4DF;
  --accent:    #2D5016;
  --accent-lt: #4A7C28;
  --gold:      #B8860B;
  --warm:      #F5F0E8;
  --warm2:     #EDE8DE;

  --f-serif: 'Playfair Display', Georgia, serif;
  --f-sans:  'Inter', system-ui, sans-serif;
  --r: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:      #141410;
    --surface: #1E1E18;
    --fg:      #EDEAE3;
    --muted:   #8A8A7A;
    --border:  #2E2E24;
    --warm:    #1A1A12;
    --warm2:   #222218;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:      #141410;
  --surface: #1E1E18;
  --fg:      #EDEAE3;
  --muted:   #8A8A7A;
  --border:  #2E2E24;
  --warm:    #1A1A12;
  --warm2:   #222218;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--accent-lt); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* ══════════════════════════
   TOPBAR
══════════════════════════ */
.topbar {
  background: var(--accent);
  color: rgba(255,255,255,.82);
  font-size: .76rem;
  padding: .45rem 0;
}

.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: .35rem; }

.topbar-socials { display: flex; align-items: center; gap: .9rem; }
.topbar-socials a { color: rgba(255,255,255,.7); transition: color .2s; }
.topbar-socials a:hover { color: #fff; text-decoration: none; }

/* ══════════════════════════
   NAVBAR
══════════════════════════ */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}

.navbar .inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: .72rem;
  color: var(--muted);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
}

.nav-links a {
  padding: .4rem .75rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--warm); color: var(--fg); text-decoration: none; }

.nav-links .btn-cert {
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
}
.nav-links .btn-cert:hover { background: var(--accent-lt); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: .4rem .55rem;
  cursor: pointer;
  color: var(--fg);
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }

/* ══════════════════════════
   HERO / SLIDER
══════════════════════════ */
.hero {
  position: relative;
  background: var(--accent);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.hero-slides { position: relative; width: 100%; }

.slide {
  display: none;
  position: relative;
}
.slide.active { display: block; }

.slide-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  opacity: .35;
  position: absolute;
  inset: 0;
}

.slide-body {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  color: #fff;
}

.slide-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .9rem;
}

.slide-title {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 600px;
  margin-bottom: .75rem;
}

.slide-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.btn-slide {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  color: var(--accent) !important;
  padding: .65rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s, transform .15s;
}
.btn-slide:hover { background: var(--warm); transform: translateY(-1px); text-decoration: none; }

/* Indicadores */
.slide-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 5;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.dot.active { background: #fff; transform: scale(1.3); }

/* ══════════════════════════
   CTA BANNER (torne-se psicanalista)
══════════════════════════ */
.cta-strip {
  background: var(--accent-lt);
  color: #fff;
  padding: 1.2rem 0;
}

.cta-strip .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-strip p { font-size: .9rem; opacity: .85; }
.cta-strip strong { font-family: var(--f-serif); font-size: 1.05rem; display: block; }

.btn-whats {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: #fff !important;
  padding: .65rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}
.btn-whats:hover { background: #1DA851; transform: translateY(-1px); text-decoration: none; }

/* ══════════════════════════
   SECTION HEADER genérico
══════════════════════════ */
.sec-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sec-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: .6rem;
}

.sec-title {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

section { padding: 4rem 0; }
section:nth-child(odd) { background: var(--bg); }
section.alt { background: var(--warm); }

/* ══════════════════════════
   LIVRO (destaque)
══════════════════════════ */
.livro-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.livro-cover {
  width: 160px;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.livro-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 6px;
  margin-bottom: .75rem;
}

.livro-title {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.livro-body { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }

/* ══════════════════════════
   SOBRE
══════════════════════════ */
.sobre-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
}

/* ══════════════════════════
   LIVRE PENSAMENTO (depoimentos)
══════════════════════════ */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  position: relative;
}

.lp-quote {
  font-size: 2rem;
  color: var(--accent-lt);
  line-height: 1;
  margin-bottom: .75rem;
  font-family: Georgia, serif;
}

.lp-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .75rem;
  border: 2px solid var(--border);
}

.lp-text {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.lp-author-name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--fg);
}

.lp-author-sub {
  font-size: .78rem;
  color: var(--muted);
}

.lp-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-lt);
}

/* ══════════════════════════
   EVENTOS
══════════════════════════ */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-date {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

.event-title {
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.event-desc {
  font-size: .85rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: .9rem;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  transition: background .18s, color .18s;
  align-self: flex-start;
}
.btn-sm:hover { background: var(--accent); color: #fff !important; text-decoration: none; }

/* eventos lista lateral */
.events-side { display: flex; flex-direction: column; gap: 1rem; }

.event-mini {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .85rem;
}

.event-mini img {
  width: 60px; height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.event-mini-title {
  font-size: .84rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: .25rem;
}

.event-mini-desc { font-size: .78rem; color: var(--muted); margin-bottom: .3rem; }

/* ══════════════════════════
   NOTÍCIAS
══════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .6rem;
}

.news-title {
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.news-excerpt { font-size: .84rem; color: var(--muted); flex: 1; margin-bottom: .9rem; line-height: 1.6; }

/* ══════════════════════════
   TV CEPN
══════════════════════════ */
.tv-wrap {
  text-align: center;
}

.tv-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #FF0000;
  color: #fff !important;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  margin-top: 1rem;
}
.tv-btn:hover { background: #CC0000; transform: translateY(-1px); text-decoration: none; }

/* ══════════════════════════
   PATROCINADORES
══════════════════════════ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  align-items: center;
}

.sponsor-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.sponsor-item img { max-height: 60px; object-fit: contain; }

/* ══════════════════════════
   CONTATO
══════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: .75rem; }

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}
.ci-row svg { flex-shrink: 0; color: var(--accent-lt); margin-top: 3px; }
.ci-row strong { color: var(--fg); }

/* formulário */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.8rem;
}

.form-title-sm {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.f-full { margin-bottom: 1rem; }

.f-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}

.f-input {
  width: 100%;
  padding: .65rem .9rem;
  background: var(--warm);
  border: 1.5px solid transparent;
  border-radius: 7px;
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: .9rem;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  resize: none;
}
.f-input::placeholder { color: var(--muted); opacity: .6; }
.f-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(45,80,22,.12); }

.btn-send {
  width: 100%;
  padding: .78rem;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  color: #fff;
  font-family: var(--f-sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.btn-send:hover { background: var(--accent-lt); transform: translateY(-1px); }

.form-msg {
  display: none;
  padding: .6rem .9rem;
  border-radius: 7px;
  font-size: .83rem;
  margin-top: .8rem;
}

/* ══════════════════════════
   BACK TO TOP
══════════════════════════ */
#btt {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s, transform .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  z-index: 200;
}
#btt.show { opacity: 1; }
#btt:hover { transform: translateY(-2px); }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  background: var(--accent);
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: .8rem;
  padding: 1.4rem 1.5rem;
}
footer a { color: rgba(255,255,255,.85); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 820px) {
  .events-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: .25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 1rem; font-size: .9rem; }

  .topbar-left { gap: .7rem; }
  .topbar-item:last-child { display: none; }

  .livro-wrap { grid-template-columns: 1fr; text-align: center; }
  .livro-cover { margin: 0 auto; }

  .slide-img { height: 380px; }
  .hero { min-height: 380px; }
  .slide-title { font-size: 1.6rem; }
}




/*======================================================*/


:root{color-scheme:light;
box-sizing:border-box;
padding-top:env(safe-area-inset-top,0px);
padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}
img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}