/* ============================================================
   La Maior - design.css
   CSS do design aprovado (html-puro/lamaior-completo_4_com_responsive.html).
   As cores e fontes vem dos presets do theme.json via o :root abaixo,
   entao editar em Aparencia > Editor > Estilos recolore o site todo.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — edite aqui para mudar cores e fontes
   ============================================================ */
:root {
  /* As cores agora vêm dos presets do theme.json (Aparência > Editor > Estilos).
     Mudar a paleta no painel recolore o site inteiro — não edite os hex aqui.
     Os fallbacks (após a vírgula) cobrem o caso de o tema não estar carregado. */
  --verde:   var(--wp--preset--color--verde,  #1B3D2C);
  --verde2:  var(--wp--preset--color--verde2, #265A3F);
  --gold:    var(--wp--preset--color--gold,   #C4851A);
  --gold2:   var(--wp--preset--color--gold2,  #9E6A0C);
  --brasa:   var(--wp--preset--color--brasa,  #8B3A2F);
  --linho:   var(--wp--preset--color--linho,  #F3EDE1);
  --linho2:  var(--wp--preset--color--linho2, #EAE0CE);
  --text:    var(--wp--preset--color--texto,  #1C2518);
  --mid:     var(--wp--preset--color--mid,    #7A6A50);
  --light:   var(--wp--preset--color--light,  #A89878);
  --bdr:     rgba(28,37,24,.1);  /* bordas */
  --white:   var(--wp--preset--color--branco, #FFFFFF);
  /* Fontes idem: vêm das fontFamilies do theme.json */
  --f-title:   var(--wp--preset--font-family--body,    'DM Sans', sans-serif);
  --f-display: var(--wp--preset--font-family--display, 'Playfair Display', serif);
  --f-body:    var(--wp--preset--font-family--body,    'DM Sans', sans-serif);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--linho);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   HEADER — fixo, sempre visível
   ============================================================ */
#hdr {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; height: 70px;
  padding: 0 72px;
  display: flex; align-items: center;
  background: var(--verde); /* fallback; cor real vem do atributo do block tnm/header */
  box-shadow: 0 2px 28px rgba(0,0,0,.18);
  transition: box-shadow .3s;
}
/* Logo do site (get_custom_logo) dentro do header */
#hdr .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
#hdr .custom-logo { height: var(--hdr-logo-h, 42px); width: auto; max-width: none; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--f-title); font-size: 12px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.58); cursor: pointer;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #fff;
  font-family: var(--f-title); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 11px 24px; border-radius: 3px; cursor: pointer;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

/* Nav (base): .nav-collapse agrupa menu + CTA à direita (flex em linha), tanto no
   editor quanto no desktop. No mobile (.js-reveal ≤900px) vira o painel/drawer.
   O hambúrguer fica oculto e só aparece nas media queries do site. */
.nav-collapse { display: contents; }
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 9px 8px;
  background: transparent; border: 0; cursor: pointer;
  margin-left: auto;
}
.nav-burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: #fff; transition: transform .3s ease, opacity .2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   (REMOVIDO) sistema de roteamento SPA .page/.page.active
   No WordPress o <body> recebe a classe "page", então .page{display:none}
   escondia a página inteira. As páginas reais do WP cuidam disso.
   ============================================================ */

/* ============================================================
   COMPONENTES COMPARTILHADOS
   ============================================================ */

/* Kicker (label acima dos títulos) */
.kicker {
  font-family: var(--f-title); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.kicker::before { content: ''; width: 20px; height: 2px; background: var(--gold); flex-shrink: 0; }
.kicker.lht { color: var(--gold); }
/* Garante a margem do kicker mesmo quando é um parágrafo do core (que zera margens via layout) */
p.kicker { margin-bottom: 14px; }

/* Títulos de seção */
.sec-h {
  font-family: var(--f-title);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.0; color: var(--text);
  overflow: visible; padding-bottom: 4px; margin-bottom: 16px;
}
.sec-h.lht { color: #fff; }
.sec-sub { font-size: 18px; color: #4A5E40; line-height: 1.8; max-width: 560px; }
.sec-sub.lht { color: rgba(255,255,255,.5); }

/* Seção base */
.sec { padding: 88px; }

/* Botões */
.btn {
  font-family: var(--f-title); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 16px 28px; border-radius: 3px;
  display: inline-block; cursor: pointer;
  transition: all .2s;
}
.btn-p { background: var(--gold); color: #fff; border: none; }
.btn-p:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-s { border: 1.5px solid rgba(255,255,255,.32); color: #fff; background: none; }
.btn-s:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn-dk { background: var(--verde); color: #fff; border: none; }
.btn-dk:hover { background: var(--verde2); transform: translateY(-1px); }

/* O theme.json define cor de link:hover global (gold). Como nossos botões são <a>,
   garantimos aqui que o texto continua branco no hover (igual ao layout aprovado). */
.btn:hover, .btn-p:hover, .btn-s:hover, .btn-dk:hover, .btn-wpp:hover,
.nav-cta:hover, .det-btn:hover, .ov-btn:hover, .mc-btn:hover,
.btn-wpp-sm:hover, .form-btn:hover, .btn-outline:hover { color: #fff; }

/* Botão com ícone (WhatsApp): alinha ícone + texto verticalmente e dá espaçamento. */
.tnm-btn-ico { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.tnm-btn-ico svg { flex-shrink: 0; }

/* WhatsApp button */
.btn-wpp {
  background: #25D366; color: #fff;
  font-family: var(--f-title); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 16px 24px; border-radius: 3px; border: none;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-wpp:hover { background: #1DAA55; transform: translateY(-2px); }

/* Hero de páginas internas */
.page-hero {
  padding: 72px 88px 60px;
  position: relative; overflow: hidden;
}
/* fundo vem do atributo do block tnm/page-hero (editável) */
.page-hero .ph-content { position: relative; z-index: 2; }
.page-hero .ph-content .ph1 { margin-bottom: 16px; }
.page-hero.dark::after {
  content: '𝄞';
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-size: 320px; color: rgba(196,133,26,.05);
  font-family: serif; line-height: 1; pointer-events: none;
}
.ph1 {
  font-family: var(--f-title);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800; line-height: .96;
  letter-spacing: -2.5px; overflow: visible; padding-bottom: 6px;
  margin-bottom: 16px;
}
.ph1.lht { color: #fff; }
.ph1 em { color: var(--gold); font-style: normal; }
.ph-sub {
  font-family: var(--f-body); font-style: italic;
  font-size: 19px; line-height: 1.65; max-width: 560px;
}
.ph-sub.lht { color: rgba(255,255,255,.5); }

/* Staff lines (pentagrama decorativo) */
.staff { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; pointer-events: none; }
.sl { position: absolute; left: 0; right: 0; height: 1px; background: rgba(196,133,26,.13); }
.sn { position: absolute; color: rgba(196,133,26,.09); font-family: serif; line-height: 1; user-select: none; }

/* Grids */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }

/* Card base */
.card {
  background: var(--white); border: 1px solid var(--bdr);
  border-radius: 8px; padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(28,37,24,.04);
}

/* ============================================================
   FADE UP / REVEAL ON SCROLL
   - O estado "escondido" só vale no front (html.js-reveal). No editor,
     sem essa classe, tudo fica visível para edição.
   - O theme.js adiciona .is-revealed (com stagger) quando o item entra na tela.
   ============================================================ */
.js-reveal .fu { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js-reveal .fu.vis { opacity: 1; transform: translateY(0); }
.fu.d1 { transition-delay: .1s; }
.fu.d2 { transition-delay: .2s; }
.fu.d3 { transition-delay: .3s; }

/* Reveal por elemento (fiel ao layout): números do stats, título/marcos/citação da história */
.js-reveal .wp-block-tnm-stats .stat,
.js-reveal .wp-block-tnm-historia .story-h,
.js-reveal .wp-block-tnm-historia .beat,
.js-reveal .wp-block-tnm-historia .story-foot,
.js-reveal .wp-block-tnm-espaco .espaco-intro > *,
.js-reveal .wp-block-tnm-espaco .espaco-grid,
.js-reveal .wp-block-tnm-depoimentos .depos-hd,
.js-reveal .wp-block-tnm-depoimentos .depo,
.js-reveal .wp-block-tnm-cta .cta-head,
.js-reveal .wp-block-tnm-cta .cta-btns,
.js-reveal .wp-block-tnm-cta2 .cta-head,
.js-reveal .wp-block-tnm-cta2 .cta-btns,
.js-reveal .wp-block-tnm-proposta .prop-intro,
.js-reveal .wp-block-tnm-proposta .prop-grid,
.js-reveal .wp-block-tnm-programacao .prog-intro,
.js-reveal .wp-block-tnm-programacao .prog-list,
.js-reveal .wp-block-tnm-programacao .prog-note,
.js-reveal .wp-block-tnm-galeria-cultural .gal-txt,
.js-reveal .wp-block-tnm-galeria-cultural .gal-photos,
.js-reveal .wp-block-tnm-locacao .loc-col,
.js-reveal .wp-block-tnm-locacao .loc-img,
.js-reveal .wp-block-tnm-intro-band .intro-stat,
.js-reveal .wp-block-tnm-intro-band .intro-txt,
.js-reveal .wp-block-tnm-professores .kicker,
.js-reveal .wp-block-tnm-professores .sec-h,
.js-reveal .wp-block-tnm-professores .prof-card,
.js-reveal .wp-block-tnm-team-note .tn-qt,
.js-reveal .wp-block-tnm-team-note .tn-txt,
.js-reveal .wp-block-tnm-metodologia .kicker,
.js-reveal .wp-block-tnm-metodologia .sec-h,
.js-reveal .wp-block-tnm-metodologia .m-card {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s ease, transform .7s ease;
}
.js-reveal .is-revealed {
	opacity: 1 !important;
	transform: none !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
/* fundo/padding numa classe (vale no editor e no site, mesmo sem o elemento <footer>) */
footer, .site-footer { background: var(--verde); }
.site-footer { padding: 52px 88px 36px; }
.ft { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.ft-brand .fd { font-size: 15px; color: rgba(255,255,255,.38); line-height: 1.75; margin-top: 14px; font-style: italic; }
.ft-brand .fs { font-family: var(--f-title); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.2); margin-top: 12px; }
.ft-col .fch { font-family: var(--f-title); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.28); margin-bottom: 14px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ft-col a { font-size: 15px; color: rgba(255,255,255,.5); transition: color .2s; cursor: pointer; }
.ft-col a:hover { color: var(--gold); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.ft-copy { font-size: 13px; color: rgba(255,255,255,.22); }

/* WhatsApp float */
.wfloat {
  position: fixed; bottom: 26px; right: 26px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 400; box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.wfloat:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }

/* ============================================================
   HOME — HERO
   ============================================================ */
#hero {
  height: 100vh; min-height: 620px;
  position: relative; display: flex; align-items: flex-end;
  padding: 0 88px 88px; overflow: hidden;
  margin-top: -70px; /* full bleed under fixed header */
}
.hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?w=1920&q=80') center/cover no-repeat; }
/* Overlay do block tnm/hero: --ov-rgb = cor, --ov-a = opacidade (multiplica os alphas
   do gradiente aprovado, preservando a proporção entre os stops). */
.hero-ov { position: absolute; inset: 0; background: linear-gradient(150deg,
	rgba(var(--ov-rgb, 27,61,44), calc(.9 * var(--ov-a, 1))) 0%,
	rgba(var(--ov-rgb, 27,61,44), calc(.58 * var(--ov-a, 1))) 60%,
	rgba(var(--ov-rgb, 27,61,44), calc(.82 * var(--ov-a, 1))) 100%); }
.hero-c { position: relative; z-index: 2; max-width: 700px; }
.hero-ey { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-family: var(--f-title); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--gold); }
.hero-ey::before { content: ''; width: 26px; height: 2px; background: var(--gold); flex-shrink: 0; }
.hero-ey span { font-family: var(--f-title); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--gold); }
/* hero-ctas como grupo nativo (core/group) mantém o gap do design */
.hero-ctas.wp-block-group { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-h1 {
  font-family: var(--f-title);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 800; line-height: .94;
  letter-spacing: -3px; color: #fff;
  margin-bottom: 26px; overflow: visible; padding-bottom: 8px;
}
.hero-h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-style: italic; font-size: 20px; color: rgba(255,255,255,.56); line-height: 1.7; max-width: 460px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* HOME — STATS */
/* fundo verde agora vem do atributo do block tnm/stats (editável pelo DA).
   Estilizamos pela classe do bloco (.wp-block-tnm-stats) além do #stats, porque
   no editor o id nem sempre é aplicado — a classe garante o flex no admin e no site. */
#stats, .wp-block-tnm-stats { display: flex; padding: 0 88px; }
.wp-block-tnm-stats > * { flex: 1; }
.stat { flex: 1; padding: 34px 16px; display: flex; flex-direction: column; align-items: center; gap: 5px; border-right: 1px solid rgba(255,255,255,.07); }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--f-title); font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--gold); line-height: 1; }
.stat-l { font-family: var(--f-title); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.38); text-align: center; }

/* HOME — STORYTELLING */
/* fundo escuro vem do atributo do block tnm/historia (editável). Layout/decoração
   também na classe do bloco p/ valer no editor (id nem sempre é aplicado lá). */
#story, .wp-block-tnm-historia { padding: 88px; position: relative; overflow: hidden; }
#story::before, .wp-block-tnm-historia::before { content: '𝄞'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-size: 380px; color: rgba(196,133,26,.04); font-family: serif; line-height: 1; pointer-events: none; }
.story-h { font-family: var(--f-title); font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; letter-spacing: -2px; line-height: 1.0; color: #fff; max-width: 680px; margin-bottom: 64px; overflow: visible; padding-bottom: 6px; }
.story-h em { color: var(--gold); font-style: normal; }
.beats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.08); }
.beat { padding: 44px 36px 44px 0; border-right: 1px solid rgba(255,255,255,.07); }
.beat:last-child { border-right: none; padding-right: 0; padding-left: 36px; }
.beat:nth-child(2) { padding-left: 36px; }
.beat-n { font-family: var(--f-title); font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .12em; margin-bottom: 14px; opacity: .6; }
.beat-y { font-family: var(--f-title); font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 12px; overflow: visible; padding-bottom: 2px; }
.beat-t { font-size: 16px; color: rgba(255,255,255,.48); line-height: 1.8; font-style: italic; }
.beat-t strong { color: rgba(255,255,255,.75); font-style: normal; }
.story-foot { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 44px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.story-qt { font-family: var(--f-body); font-style: italic; font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; color: rgba(255,255,255,.6); line-height: 1.5; max-width: 600px; }
.story-qt em { color: var(--gold); font-style: normal; font-family: var(--f-title); font-weight: 700; font-size: .9em; }
.story-note { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 18px 22px; max-width: 280px; }
.story-note p { font-size: 14px; color: rgba(255,255,255,.38); line-height: 1.65; font-style: italic; }
.story-note strong { color: var(--gold); font-style: normal; font-family: var(--f-title); font-size: 12px; font-weight: 700; }

/* HOME — CURSOS */
/* fundo (creme) vem do atributo do block tnm/cursos; layout na classe p/ o editor */
#cursos, .wp-block-tnm-cursos { padding: 88px; }
.cursos-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; gap: 32px; }
.cursos-note { font-size: 16px; color: var(--mid); font-style: italic; text-align: right; max-width: 240px; line-height: 1.55; }
.cat-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.cat-tab { font-family: var(--f-title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 9px 18px; border-radius: 3px; border: 1px solid var(--bdr); background: transparent; color: var(--mid); cursor: pointer; transition: all .2s; }
.cat-tab:hover { border-color: var(--gold); color: var(--gold); }
.cat-tab.active { background: var(--verde); border-color: var(--verde); color: #fff; }
.curso-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.cc { background: #fff; border: 1px solid var(--bdr); border-radius: 8px; padding: 22px 18px; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; }
.cc:hover, .cc.open { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28,37,24,.08); }
.cc.open { border-color: var(--verde); }
.cc.hidden { display: none; }
.cc-icon { font-size: 26px; margin-bottom: 10px; display: block; }
.cc-name { font-family: var(--f-title); font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; overflow: visible; padding-bottom: 2px; }
.cc-tl { font-size: 13px; color: var(--mid); line-height: 1.55; }
.cc-badge { display: inline-block; margin-top: 10px; font-family: var(--f-title); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 3px 8px; border-radius: 2px; }
.cb-new { background: rgba(196,133,26,.14); color: var(--gold); }
.cb-kid { background: rgba(139,58,47,.14); color: var(--brasa); }
.cc-arr { position: absolute; right: 14px; top: 14px; font-size: 18px; color: rgba(28,37,24,.15); transition: color .2s, transform .25s; }
.cc:hover .cc-arr { color: var(--gold); }
.cc.open .cc-arr { color: var(--verde); transform: rotate(90deg); }
#det { display: none; background: var(--verde); border-radius: 8px; padding: 36px 40px; margin-bottom: 20px; animation: fadeIn .3s ease; }
#det.open { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; align-items: start; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.det-name { font-family: var(--f-title); font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; overflow: visible; padding-bottom: 2px; }
.det-desc { font-size: 16px; color: rgba(255,255,255,.62); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.det-col h4 { font-family: var(--f-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 12px; }
.det-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.det-col li { font-size: 15px; color: rgba(255,255,255,.58); padding-left: 18px; position: relative; line-height: 1.5; }
.det-col li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 13px; }
.det-btn { background: var(--gold); color: #fff; font-family: var(--f-title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 12px 20px; border-radius: 3px; display: inline-block; cursor: pointer; transition: background .2s; }
.det-btn:hover { background: var(--gold2); }
.cursos-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--bdr); }
.cursos-tot { font-size: 16px; color: var(--mid); }
.cursos-tot strong { color: var(--text); font-family: var(--f-title); font-weight: 700; }

/* HOME — DEPOIMENTOS */
/* fundo vem do atributo do block tnm/depoimentos; layout na classe p/ o editor */
#depos, .wp-block-tnm-depoimentos { padding: 88px; }
.depos-hd { margin-bottom: 52px; }
.depos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.depo { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 30px 26px; display: flex; flex-direction: column; transition: background .2s; }

/* ── Carrossel de depoimentos (Splide) ── */
.depos-carousel { margin-bottom: 34px; }
.depos-carousel .splide__slide { height: auto; }
.depos-carousel .splide__slide .depo { height: 100%; }
/* Setas para FORA do conteúdo (nas laterais, fora dos cards). */
.depos-carousel .splide__arrow { background: rgba(255,255,255,.12); opacity: 1; }
.depos-carousel .splide__arrow:hover:not(:disabled) { background: var(--gold); }
.depos-carousel .splide__arrow svg { fill: #fff; }
.depos-carousel .splide__arrow--prev { left: -2.6em; }
.depos-carousel .splide__arrow--next { right: -2.6em; }
/* Bolinhas ~20px mais para baixo. */
.depos-carousel .splide__pagination { bottom: -28px; }
.depos-carousel .splide__pagination__page { background: rgba(255,255,255,.35); }
.depos-carousel .splide__pagination__page.is-active { background: var(--gold); transform: scale(1.1); }
/* Em telas estreitas, traz as setas de volta para dentro (evita cortar fora da seção). */
@media (max-width: 900px) {
  .depos-carousel .splide__arrow--prev { left: 0.5em; }
  .depos-carousel .splide__arrow--next { right: 0.5em; }
}
/* Reveal não deve esconder os slides fora de tela do carrossel. */
.js-reveal .depos-carousel .depo { opacity: 1 !important; transform: none !important; }
.depo:hover { background: rgba(255,255,255,.11); }
.dq { font-family: var(--f-body); font-size: 46px; color: var(--gold); line-height: .8; margin-bottom: 12px; opacity: .55; }
.dt { font-size: 16px; color: rgba(255,255,255,.62); line-height: 1.8; font-style: italic; flex: 1; margin-bottom: 22px; }
/* Depoimento em vídeo (player embutido, no lugar do texto).
   A proporção vem do cadastro; verticais/quadrados são limitados e centralizados. */
.depo-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; margin: 0 auto 22px; background: rgba(0,0,0,.25); }
.depo-video--9-16 { aspect-ratio: 9 / 16; max-width: 240px; }
.depo-video--1-1  { aspect-ratio: 1 / 1;  max-width: 300px; }
.depo-video--4-5  { aspect-ratio: 4 / 5;  max-width: 260px; }
.depo-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* contain para não cortar em tela cheia (na página, o container já tem a proporção do vídeo). */
.depo-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.depo-video video:fullscreen, .depo-video video:-webkit-full-screen { object-fit: contain; }
.da { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.dav { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #fff; font-family: var(--f-title); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dn { font-family: var(--f-title); font-size: 13px; font-weight: 700; color: #fff; display: block; }
.dr { font-size: 12px; color: rgba(255,255,255,.32); }

/* HOME — CTA FINAL */
/* fundo escuro vem do atributo do block tnm/cta; layout/::before na classe p/ o editor */
#home-cta, .wp-block-tnm-cta, .wp-block-tnm-cta2 { padding: 80px 88px; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; position: relative; overflow: hidden; }
#home-cta::before, .wp-block-tnm-cta::before, .wp-block-tnm-cta2::before { content: '♩'; position: absolute; right: 320px; top: 50%; transform: translateY(-50%); font-size: 220px; color: rgba(196,133,26,.04); font-family: serif; line-height: 1; pointer-events: none; }
.cta-h { font-family: var(--f-title); font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; letter-spacing: -1.5px; color: #fff; line-height: 1.1; overflow: visible; padding-bottom: 4px; margin-bottom: 10px; }
.cta-h em { color: var(--gold); font-style: normal; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.38); font-style: italic; }
.cta-btns { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
/* no CTA 2 os botões são blocos (grupo flex vertical): largura igual */
.wp-block-tnm-cta2 .cta-btns { align-items: stretch; gap: 12px; }
.wp-block-tnm-cta2 .cta-btns > * { width: 100%; }
.btn-outline { border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); font-family: var(--f-title); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 15px 24px; border-radius: 3px; text-align: center; cursor: pointer; transition: all .2s; background: none; }
.btn-outline:hover { border-color: rgba(255,255,255,.45); color: #fff; }

/* ============================================================
   PROFESSORES
   ============================================================ */
/* fundo vem do atributo do block tnm/intro-band (editável) */
.intro-band { padding: 64px 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-bottom: 1px solid var(--bdr); }
.intro-stat { display: flex; align-items: baseline; gap: 14px; }
.intro-n { font-family: var(--f-title); font-size: clamp(60px, 8vw, 92px); font-weight: 800; color: var(--verde); line-height: 1; overflow: visible; }
.intro-l { font-family: var(--f-title); font-size: 15px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: .08em; max-width: 170px; line-height: 1.4; }
.intro-txt { font-size: 17px; color: #3A4E35; line-height: 1.85; }
.intro-txt strong { color: var(--text); font-weight: 600; }
/* fundo vem do atributo do block tnm/professores (editável) */
.prof-section { padding: 72px 88px; }
.profs { display: grid; grid-template-columns: repeat(var(--prof-cols, 3),1fr); gap: 20px; margin-top: 44px; }
.prof-card { background: #fff; border: 1px solid var(--bdr); border-radius: 10px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.prof-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(27,61,44,.14); }
.prof-photo { height: var(--prof-photo-h, 250px); position: relative; overflow: hidden; }
.prof-photo .pbg { position: absolute; inset: 0; background-size: cover; background-position: center top; transition: transform .4s ease; }
.prof-card:hover .pbg { transform: scale(1.04); }
.prof-ov { position: absolute; inset: 0; background: var(--verde); transform: translateY(100%); transition: transform .38s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 24px; }
.prof-card:hover .prof-ov { transform: translateY(0); }
.ov-q { font-family: var(--f-body); font-style: italic; font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 18px; }
.ov-btn { display: inline-block; background: var(--gold); color: #fff; font-family: var(--f-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 9px 16px; border-radius: 3px; cursor: pointer; transition: background .2s; align-self: flex-start; }
.ov-btn:hover { background: var(--gold2); }
.prof-info { padding: 18px 20px 20px; }
.prof-name { font-family: var(--f-title); font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px; overflow: visible; padding-bottom: 1px; }
.prof-inst { font-size: 14px; color: var(--gold); font-family: var(--f-title); font-weight: 600; }
.prof-cred { font-size: 13px; color: var(--light); margin-top: 4px; font-style: italic; }
/* fundo vem do atributo do block tnm/metodologia (editável) */
.metodo-sec { padding: 72px 88px; }
.metodo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
.m-card { background: #fff; border: 1px solid var(--bdr); border-radius: 8px; padding: 26px 22px; }
.m-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.m-title { font-family: var(--f-title); font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; overflow: visible; padding-bottom: 2px; }
.m-desc { font-size: 16px; color: #4A5E40; line-height: 1.7; }
/* fundo vem do atributo do block tnm/team-note (editável) */
.team-note { padding: 64px 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tn-qt { font-family: var(--f-body); font-style: italic; font-size: clamp(18px, 2.4vw, 26px); font-weight: 300; line-height: 1.5; color: rgba(255,255,255,.65); }
.tn-qt em { color: var(--gold); font-style: normal; font-family: var(--f-title); font-weight: 700; font-size: .9em; }
.tn-txt { font-size: 16px; color: rgba(255,255,255,.48); line-height: 1.8; }
.tn-txt strong { color: rgba(255,255,255,.78); }

/* ============================================================
   CULTURAL
   ============================================================ */
.c-hero { height: 88vh; min-height: 540px; position: relative; display: flex; align-items: center; padding: 0 88px; overflow: hidden; margin-top: -70px; }
.c-hero-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1459749411175-04bf5292ceea?w=1920&q=80') center/cover no-repeat; }
/* Overlay do block tnm/cultural-hero: --ov-rgb = cor, --ov-a = opacidade. */
.c-hero-ov { position: absolute; inset: 0; background: linear-gradient(100deg,
	rgba(var(--ov-rgb, 27,61,44), calc(.95 * var(--ov-a, 1))) 0%,
	rgba(var(--ov-rgb, 27,61,44), calc(.55 * var(--ov-a, 1))) 55%,
	rgba(var(--ov-rgb, 27,61,44), calc(.28 * var(--ov-a, 1))) 100%); }
.c-hero-c { position: relative; z-index: 2; max-width: 680px; }
/* fundo escuro vem do atributo do block tnm/proposta (editável) */
.prop-sec { padding: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; overflow: hidden; }
.prop-sec::after { content: '𝄞'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-size: 340px; color: rgba(196,133,26,.04); font-family: serif; line-height: 1; pointer-events: none; }
.prop-h { font-family: var(--f-title); font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; color: #fff; overflow: visible; padding-bottom: 4px; margin-bottom: 18px; }
.prop-h em { color: var(--gold); font-style: normal; }
/* garante a margem inferior do título mesmo com o layout de blocos do WP zerando margens */
.prop-intro .prop-h { margin-bottom: 18px; }
.prop-txt { font-size: 17px; color: rgba(255,255,255,.52); line-height: 1.85; }
.prop-txt strong { color: rgba(255,255,255,.78); }
.prop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 20px 18px; }
.pi-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.pi-title { font-family: var(--f-title); font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 5px; overflow: visible; padding-bottom: 2px; }
.pi-desc { font-size: 13px; color: rgba(255,255,255,.42); line-height: 1.6; }
/* fundo (creme) vem do atributo do block tnm/programacao (editável) */
.prog-sec { padding: 88px; }
.prog-intro { max-width: 620px; margin-bottom: 52px; }
.prog-list { display: flex; flex-direction: column; gap: 1px; background: var(--bdr); border-radius: 10px; overflow: hidden; }
.ev-row { background: var(--linho2); padding: 26px 30px; display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center; transition: background .2s; }
.ev-row:hover { background: #fff; }
.ev-date { font-family: var(--f-title); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.ev-name { font-family: var(--f-title); font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 3px; overflow: visible; padding-bottom: 1px; }
.ev-desc { font-size: 14px; color: var(--mid); }
.ev-tag { font-family: var(--f-title); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 4px 10px; border-radius: 2px; white-space: nowrap; }
.t-show { background: rgba(196,133,26,.14); color: var(--gold); }
.t-sarau { background: rgba(139,58,47,.14); color: var(--brasa); }
.t-ws { background: rgba(27,61,44,.1); color: var(--verde2); }
.t-new { background: rgba(196,133,26,.2); color: var(--gold); }
.prog-note { margin-top: 22px; font-size: 15px; color: var(--mid); font-style: italic; }
/* fundo vem do atributo do block tnm/galeria-cultural (editável) */
.gal-sec { padding: 88px; }
.gal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.gal-txt .sec-sub { font-size: 17px; color: #4A5E40; }
.gal-features { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.gal-feat { font-size: 16px; color: var(--gold); display: flex; gap: 10px; margin: 0; }
.gal-feat span { color: var(--gold); }
/* seta dourada antes do texto (texto editável como parágrafo nativo) */
.gal-feat::before { content: '→'; color: var(--gold); flex-shrink: 0; }
/* restaura os espaçamentos do layout (o WP zera margens de blocos no fluxo) */
.gal-txt .sec-h { margin-bottom: 16px; }
.gal-txt .gal-features { margin-top: 24px; }
.gal-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 270px 190px; gap: 10px; margin-top: 0; }
.gp { border-radius: 8px; background-size: cover; background-position: center; }
.gp.tall { grid-row: 1 / -1; }
/* fundo vem do atributo do block tnm/locacao (editável) */
.loc-sec { padding: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
/* margens do design (o WP zera margens de blocos no fluxo) */
.loc-col .loc-h { margin-bottom: 14px; }
.loc-col .loc-txt { margin-bottom: 24px; }
.loc-col .loc-items { margin-bottom: 28px; }
.loc-h { font-family: var(--f-title); font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; letter-spacing: -1.2px; color: #fff; line-height: 1.05; overflow: visible; padding-bottom: 4px; margin-bottom: 14px; }
.loc-h em { color: var(--gold); font-style: normal; }
.loc-txt { font-size: 16px; color: rgba(255,255,255,.5); line-height: 1.85; margin-bottom: 24px; }
.loc-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.loc-item { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.6; margin: 0; }
/* bolinha dourada antes do texto (texto editável como parágrafo nativo) */
.loc-item::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 9px; }
.loc-item strong { color: #fff; }
.loc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 9px; }
.loc-item-t { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.6; }
.loc-item-t strong { color: #fff; }
/* imagem vem do atributo do block (background-image inline) */
.loc-img { border-radius: 10px; height: 380px; background-size: cover; background-position: center; background-repeat: no-repeat; }

/* ============================================================
   CONTATO
   ============================================================ */
/* Fundo da seção vem do atributo do block tnm/contato (backgroundColor). */
.contact-main { padding: 80px 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.info-title { font-family: var(--f-title); font-size: 26px; font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 6px; overflow: visible; padding-bottom: 2px; }
.info-sub { font-size: 16px; color: var(--mid); font-style: italic; margin-bottom: 36px; line-height: 1.6; }
.ib { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.ib-icon { width: 44px; height: 44px; background: var(--verde); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.ib-label { font-family: var(--f-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--mid); margin-bottom: 4px; }
.ib-val { font-size: 16px; color: var(--text); line-height: 1.55; }
.ib-val a { color: var(--verde); font-weight: 600; transition: color .2s; cursor: pointer; }
.ib-val a:hover { color: var(--gold); }
.wpp-block { background: var(--verde); border-radius: 8px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.wpp-block-txt { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.55; }
.wpp-block-txt strong { color: #fff; font-family: var(--f-title); font-size: 13px; font-weight: 700; display: block; margin-bottom: 2px; }
.btn-wpp-sm { background: #25D366; color: #fff; font-family: var(--f-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 11px 16px; border-radius: 3px; display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; cursor: pointer; transition: background .2s; border: none; }
.btn-wpp-sm:hover { background: #1DAA55; }
.t-note { background: #fff; border: 1px solid var(--bdr); border-left: 3px solid var(--gold); border-radius: 5px; padding: 16px 18px; margin-top: 22px; }
.t-note .tl { font-family: var(--f-title); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 6px; }
.t-note p { font-size: 14px; color: var(--mid); line-height: 1.65; font-style: italic; }
.form-wrap { background: #fff; border-radius: 12px; padding: 38px 34px; border: 1px solid var(--bdr); box-shadow: 0 4px 28px rgba(28,37,24,.07); }
.form-title { font-family: var(--f-title); font-size: 21px; font-weight: 800; color: var(--text); margin-bottom: 4px; overflow: visible; padding-bottom: 2px; }
.form-sub { font-size: 15px; color: var(--mid); font-style: italic; margin-bottom: 26px; }
.form-g { margin-bottom: 16px; }
.form-label { font-family: var(--f-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--mid); display: block; margin-bottom: 6px; }
.form-input, .form-select, .form-ta { width: 100%; padding: 12px 15px; border: 1.5px solid var(--bdr); border-radius: 6px; font-family: var(--f-body); font-size: 16px; color: var(--text); background: var(--linho); outline: none; transition: border-color .2s, background .2s; }
.form-input:focus, .form-select:focus, .form-ta:focus { border-color: var(--verde); background: #fff; }
.form-ta { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Construtor de formulários (tnm/form): o container é o grid e cada campo diz
   quantas colunas ocupa — mesmo resultado visual do .form-row do layout aprovado. */
.tnm-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.tnm-form-fields .form-g { margin-bottom: 0; }
.tnm-form-fields .tnm-col-inteira { grid-column: 1 / -1; }
.tnm-form-opts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 4px; }
.tnm-form-opt { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; color: var(--text); cursor: pointer; }
.tnm-form-opt input { accent-color: var(--verde); width: 16px; height: 16px; }
.form-btn { width: 100%; padding: 16px; background: var(--verde); color: #fff; font-family: var(--f-title); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; border: none; border-radius: 6px; cursor: pointer; margin-top: 6px; transition: background .2s, transform .15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-btn:hover { background: var(--verde2); transform: translateY(-1px); }
.form-btn.is-loading { opacity: .8; cursor: progress; transform: none; }
.fb-spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: fb-spin .7s linear infinite; }
@keyframes fb-spin { to { transform: rotate(360deg); } }
.form-note { font-size: 12px; color: var(--light); text-align: center; margin-top: 10px; line-height: 1.5; }
#form-ok, .form-ok { display: none; background: var(--verde); border-radius: 8px; padding: 28px; text-align: center; margin-top: 16px; }
#form-ok .ok-i, .form-ok .ok-i { font-size: 36px; margin-bottom: 10px; }
#form-ok .ok-t, .form-ok .ok-t { font-family: var(--f-title); font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
#form-ok .ok-s, .form-ok .ok-s { font-size: 15px; color: rgba(255,255,255,.55); font-style: italic; }
.map-placeholder { background: var(--verde2); height: 280px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* Overlay do mapa: a cor de fundo do .map-placeholder vem do atributo do block
   tnm/mapa (inline) e a opacidade da foto vem de --map-img-a. */
.map-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1600&q=80') center/cover no-repeat; opacity: var(--map-img-a, .22); }
.map-card { background: #fff; border-radius: 10px; padding: 22px 26px; text-align: center; position: relative; z-index: 1; box-shadow: 0 8px 40px rgba(0,0,0,.18); }
.mc-l { font-family: var(--f-title); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 8px; }
.mc-a { font-family: var(--f-title); font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.mc-b { font-size: 14px; color: var(--mid); }
.mc-btn { display: inline-block; margin-top: 12px; background: var(--verde); color: #fff; font-family: var(--f-title); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 9px 16px; border-radius: 3px; cursor: pointer; transition: background .2s; }
.mc-btn:hover { background: var(--gold); }
/* Fundo da seção vem do atributo do block tnm/faq (backgroundColor). */
.faq-sec { padding: 80px 88px; }
.faq-intro { max-width: 580px; margin-bottom: 48px; }
.faq-wrap { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--bdr); }
.faq-q { font-family: var(--f-title); font-size: 17px; font-weight: 700; color: var(--text); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; transition: color .2s; }
.faq-q:hover { color: var(--verde); }
.faq-q .ficon { font-size: 20px; color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq-q.open .ficon { transform: rotate(45deg); }
.faq-a { font-size: 16px; color: #4A5E40; line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding-bottom .3s; }
.faq-a.open { max-height: 400px; padding-bottom: 20px; }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq-a a { color: var(--verde); font-weight: 600; cursor: pointer; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  #hdr { padding-left: 48px; padding-right: 48px; }
  .site-footer { padding-left: 48px; padding-right: 48px; }
  #hero, .sec, .intro-band, .prof-section, .metodo-sec, .team-note,
  .prop-sec, .prog-sec, .gal-sec, .loc-sec, .contact-main, .faq-sec,
  #stats, #story, #cursos, #depos, #home-cta, .page-hero, .c-hero,
  .wp-block-tnm-historia, .wp-block-tnm-cursos, .wp-block-tnm-depoimentos, .wp-block-tnm-cta, .wp-block-tnm-cta2 { padding-left: 48px; padding-right: 48px; }
  #stats, .wp-block-tnm-stats { padding-top: 0; padding-bottom: 0; padding-left: 48px; padding-right: 48px; }
  .beats { grid-template-columns: 1fr; }
  .beat { padding: 28px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  /* zera o recuo lateral herdado (beats 2 e 3) p/ alinhar com o 01 */
  .beat:nth-child(2), .beat:last-child { padding-left: 0; padding-right: 0; }
  .beat:last-child { border-bottom: none; }
  .story-foot { grid-template-columns: 1fr; }
  .story-note { max-width: 100%; }
  .curso-grid { grid-template-columns: repeat(2, 1fr); }
  #det.open { grid-template-columns: 1fr; }
  .depos-grid { grid-template-columns: 1fr; }
  #home-cta, .wp-block-tnm-cta, .wp-block-tnm-cta2 { grid-template-columns: 1fr; }
  .intro-band { grid-template-columns: 1fr; }
  .profs { grid-template-columns: repeat(2, 1fr); }
  .team-note { grid-template-columns: 1fr; }
  .prop-sec { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-photos { grid-template-rows: 260px 180px; }
  .loc-sec { grid-template-columns: 1fr; }
  .contact-main { grid-template-columns: 1fr; }
  .espaco-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .espaco-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px 170px; }
  #espaco { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 680px) {
  #hdr { padding: 0 24px; }
  #hero, .sec, .intro-band, .prof-section, .metodo-sec, .team-note,
  .prop-sec, .prog-sec, .gal-sec, .loc-sec, .contact-main, .faq-sec,
  #stats, #story, #cursos, #depos, #home-cta, .page-hero, .c-hero { padding-left: 24px; padding-right: 24px; }
  .wp-block-tnm-stats, .wp-block-tnm-historia, .wp-block-tnm-cursos, .wp-block-tnm-depoimentos, .wp-block-tnm-cta, .wp-block-tnm-cta2 { padding-left: 24px; padding-right: 24px; }
  .site-footer { padding: 48px 24px 28px; }
  /* Stats: 2x2 em vez de espremer 4 numa linha (no site e no editor) */
  #stats, .wp-block-tnm-stats { flex-wrap: wrap; padding-top: 0; padding-bottom: 0; }
  .stat, .wp-block-tnm-stats > * { flex: 0 0 50%; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.07); border-right: none; }
  /* só a coluna esquerda (ímpares) mantém a divisória vertical; a direita não */
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .curso-grid { grid-template-columns: 1fr; }
  .form-row, .tnm-form-fields { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr; }
  .profs { grid-template-columns: 1fr; }
  .metodo-grid { grid-template-columns: 1fr; }
  .gal-photos { grid-template-columns: 1fr; grid-template-rows: 200px 150px 150px; }
  .gp.tall { grid-row: auto; }
  .ev-row { grid-template-columns: 1fr; gap: 6px; }
  /* Cabeçalho da seção Cursos empilha no mobile */
  .cursos-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cursos-note { text-align: left; max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — NAV MOBILE (hambúrguer + drawer)
   Só aparece em telas estreitas; desktop permanece intacto.
   ============================================================ */
@media (max-width: 900px) {
  /* Drawer mobile gated por .js-reveal: só no site (o <html> ganha .js-reveal no
     front). No editor a classe não existe, então o header fica no layout normal. */
  .js-reveal .nav-burger { display: flex; }
  /* O wrapper deixa de ser display:contents e vira o painel do menu */
  .js-reveal .nav-collapse {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--verde);
    padding: 18px 24px 26px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    transform: translateY(-130%);
    opacity: 0; visibility: hidden;
    transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .25s ease, visibility .32s;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .js-reveal .nav-collapse.open { transform: translateY(0); opacity: 1; visibility: visible; z-index: 490; }
  .js-reveal .nav-links {
    flex-direction: column; gap: 0; width: 100%;
  }
  /* core/navigation empilha os itens (a <ul> interna é flex row por padrão) */
  .js-reveal .nav-links .wp-block-navigation__container {
    flex-direction: column; align-items: stretch; width: 100%; gap: 0;
  }
  .js-reveal .nav-links li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .js-reveal .nav-links a {
    display: block; padding: 16px 4px; font-size: 14px;
    color: rgba(255,255,255,.85);
  }
  .js-reveal .nav-cta {
    width: 100%; text-align: center; margin-top: 16px;
    padding: 16px 24px; font-size: 13px;
  }
  body.menu-open { overflow: hidden; }

  /* Professores — overlay (mini-currículo) revelado por toque no mobile */
  .prof-card.show-ov .prof-ov { transform: translateY(0); }
  .prof-card.show-ov .pbg { transform: scale(1.04); }
}

/* ============================================================
   RESPONSIVE — TELAS PEQUENAS (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  body { font-size: 16px; }
  #hero { padding-left: 20px; padding-right: 20px; padding-bottom: 56px; min-height: 560px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  /* Alvos de toque confortáveis */
  .btn, .btn-p, .btn-s, .btn-dk, .btn-wpp, .form-btn, .det-btn,
  .nav-cta, .ov-btn, .mc-btn, .btn-outline { min-height: 44px; }
  /* Stats em 2 colunas legíveis */
  .stat { padding: 22px 12px; }
}
/* ============================================================
   TIPOGRAFIA LÁ MAIOR — Playfair Display nos headlines
   Troca a personalidade de "agência moderna" para "cultura e tradição"
   ============================================================ */
.hero-h1, .story-h, .sec-h, .ph1, .beat-y, .cta-h,
.prop-h, .loc-h, .info-title, .grid-h {
  font-family: var(--f-display) !important;
}
.hero-h1   { letter-spacing: -2px !important; }
.story-h   { letter-spacing: -2px !important; }
.sec-h     { letter-spacing: -1px !important; font-weight: 800; }
.ph1       { letter-spacing: -1.5px !important; }
.beat-y    { letter-spacing: -.5px !important; }
.cta-h     { letter-spacing: -1px !important; }
.prop-h    { letter-spacing: -1px !important; }
.loc-h     { letter-spacing: -.8px !important; }

/* Quotes em Playfair itálico — reforça o caráter cultural */
.story-qt, .hero-sub, .ph-sub {
  font-family: var(--f-display) !important;
  font-style: italic;
  font-weight: 400;
}
/* Kickers mais leves com DM Sans */
.kicker { font-family: var(--f-title) !important; font-size: 11px; letter-spacing: .22em; }
/* Cards de curso com DM Sans para legibilidade */
.cc-name, .det-name, .prof-name, .ev-name, .m-title,
.nav-links a, .nav-cta, .btn, .btn-p, .btn-s, .btn-dk, .btn-wpp,
.stat-n, .stat-l, .cat-tab, .beat-n, .faq-q {
  font-family: var(--f-title) !important;
}
/* Corpo e depoimentos em DM Sans limpo */
.sobre-p, .prop-txt, .tn-txt, .dt, .m-desc, .cc-tl,
.faq-a, .det-desc, .ov-q, .intro-txt, .loc-txt, .prog-note,
.wpp-block-txt, .t-note p, .form-sub, .form-note, .info-sub,
.ph-sub.lht { 
  font-family: var(--f-body) !important; 
  font-style: normal;
}
.dt { font-style: italic !important; font-family: var(--f-display) !important; }
/* ── BORDAS ARREDONDADAS — mais acolhedor, menos corporativo ── */
.card, .cc, .depo, .m-card, .pi, .story-note,
.wpp-block, .t-note, #det { border-radius: 20px !important; }
.form-wrap  { border-radius: 28px !important; }
.prof-card  { border-radius: 20px !important; }
.prof-photo { border-radius: 20px 20px 0 0 !important; }
.cat-tab    { border-radius: 20px !important; }
.btn, .nav-cta, .btn-p, .btn-s, .btn-dk,
.btn-wpp, .form-btn, .det-btn, .ov-btn,
.mc-btn, .btn-wpp-sm, .btn-outline { border-radius: 10px !important; }
.gp, .loc-img, .gal-photos .gp { border-radius: 16px !important; }
.ev-row:first-child { border-radius: 20px 20px 0 0 !important; }
.ev-row:last-child  { border-radius: 0 0 20px 20px !important; }
.faq-item:first-child .faq-q { border-radius: 0; }

/* ── GALERIA DOS ESPAÇOS ── */
/* fundo verde vem do atributo do block tnm/espaco (editável). Layout/::before
   também na classe do bloco p/ valer no editor. */
#espaco, .wp-block-tnm-espaco {
  padding: 88px;
  position: relative; overflow: hidden;
}
#espaco::before, .wp-block-tnm-espaco::before {
  content: '♪';
  position: absolute; left: -20px; bottom: -40px;
  font-size: 300px; color: rgba(196,133,26,.05);
  font-family: serif; line-height: 1; pointer-events: none;
}
.espaco-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end; margin-bottom: 52px;
}
.espaco-intro .sec-h { color: #fff; margin-bottom: 0; }
/* só o parágrafo direto (texto descritivo) — não o kicker, que fica aninhado e é dourado */
.espaco-intro > p {
  font-size: 17px; color: rgba(255,255,255,.5);
  line-height: 1.8; font-style: italic;
}
/* Grade fluida: o auto-placement monta o mosaico a partir do tamanho de cada card.
   grid-auto-rows repete o ritmo do design (300px, 200px, 300px, 200px…), então
   qualquer quantidade de fotos mantém o padrão aprovado. */
.espaco-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-auto-rows: 300px 200px;
  grid-auto-flow: row dense;
  gap: 12px;
}
.eg { position: relative; overflow: hidden; border-radius: 20px; }
.eg .eg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.eg:hover .eg-img { transform: scale(1.04); }
/* Degradê da legenda: cor/opacidade vêm do block tnm/espaco (--eg-rgb / --eg-a). */
.eg .eg-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(var(--eg-rgb, 27,61,44), calc(.85 * var(--eg-a, 1))) 0%, transparent 100%);
  padding: 28px 20px 18px;
}
/* descrição (linha pequena em caixa alta) */
.eg .eg-label .eg-desc {
  display: block; font-family: var(--f-title); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.85);
}
/* título (Playfair, maior) */
.eg .eg-label .eg-title {
  display: block; font-family: var(--f-display);
  font-size: 18px; font-weight: 700; text-transform: none;
  letter-spacing: 0; color: #fff; margin-bottom: 2px;
  overflow: visible;
}
/* Tamanho por card (block tnm/espaco-card): o resto é auto-posicionado. */
.eg--alto  { grid-row: span 2; }
.eg--largo { grid-column: span 2; }
/* .eg--normal = 1 coluna × 1 linha (sem regra) */

/* ============================================================
   RESPONSIVO DA GALERIA DOS ESPAÇOS
   IMPORTANTE: precisa vir DEPOIS das regras base de #espaco/.espaco-grid
   acima, senão a base (definida adiante no arquivo) venceria na cascata.
   ============================================================ */
@media (max-width: 1100px) {
  #espaco, .wp-block-tnm-espaco { padding-left: 48px; padding-right: 48px; }
  .espaco-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  /* 2 colunas: todos os cards viram 1×1 (o ritmo 240/170 se repete nas linhas). */
  .espaco-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px 170px; }
  .espaco-grid .eg--alto, .espaco-grid .eg--largo { grid-column: auto; grid-row: auto; }
}
@media (max-width: 900px) {
  .espaco-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .espaco-grid .eg { min-height: 220px; }
  .espaco-grid .eg--alto, .espaco-grid .eg--largo { grid-column: auto; grid-row: auto; }
}
@media (max-width: 680px) {
  #espaco, .wp-block-tnm-espaco { padding-left: 24px; padding-right: 24px; }
}
/* ============================================================
   AJUSTES DO TEMA WORDPRESS
   ============================================================ */
/* Espaço para o header fixo (substitui o .page{padding-top:70px} do HTML SPA) */
body { padding-top: 70px; }
/* O hero da Home continua full-bleed sob o header (via #hero{margin-top:-70px}) */
/* Compensa a barra de admin do WP quando logado */
.admin-bar #hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar #hdr { top: 46px; } }
/* Evita scroll horizontal acidental */
html, body { overflow-x: hidden; }

/* ===== Header com blocos nativos (Logo do site + Navegação + Botão) ===== */
/* Logo do site */
#hdr .wp-block-site-logo { margin: 0; line-height: 0; }
#hdr .wp-block-site-logo img { height: 42px; width: auto; max-width: none; }

/* O menu vem de wp_nav_menu (<ul class="nav-links"><li><a>) — as cores e o
   estado ativo são governados pelas regras .nav-links a / .active / current-menu-item
   no topo deste arquivo. O drawer mobile usa .nav-collapse + .nav-burger. */

/* CTA "Agende sua Aula": link simples <a class="nav-cta"> — estilizado pela
   regra .nav-cta original do design.css (sem o wrapper .wp-block-button). */
#hdr .nav-cta { align-self: center; flex: 0 0 auto; }