/* ==========================================================================
   Blog Talk It Easy — folha de estilo única.
   Mesma paleta e mesmas fontes da home talkiteasyenglish.com.
   Editar cor, espaçamento ou tipografia aqui muda o blog inteiro de uma vez.
   ========================================================================== */

:root {
  --bg:          #f5f2ed;
  --bg2:         #ede9e2;
  --white:       #ffffff;
  --dark:        #123f26;
  --dark2:       #1a5c36;
  --green:       #1a6b3a;
  --green-light: #2d9653;
  --green-pale:  #e8f5ed;
  --gold:        #b8860b;
  --gold-light:  #f5e9c0;
  --text:        #1a1a1a;
  --text-mid:    #4a5040;
  --text-muted:  #8a9080;
  --border:      #d8d2c8;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --largura:  1180px;   /* faixa larga: grades e cabeçalho */
  --leitura:  700px;    /* coluna de leitura do artigo */
  --raio:     6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }

/* ---------------------------------------------------------------- barra de progresso */
.progresso {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  z-index: 300; transition: width .1s linear;
}

/* ---------------------------------------------------------------- cabeçalho */
.topo {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,242,237,.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.topo.rolou { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(18,63,38,.05); }
.topo-in {
  max-width: var(--largura); margin: 0 auto; padding: 0 24px;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.marca { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.marca img { height: 50px; width: auto; display: block; }
.marca-secao {
  font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--text-muted);
  padding-left: 12px; border-left: 1px solid var(--border);
}
@media (max-width: 780px) { .marca img { height: 34px; } .marca { gap: 9px; } .marca-secao { padding-left: 9px; font-size: 10px; } }
.topo-nav { display: flex; align-items: center; gap: 26px; }
.topo-nav a { font-size: 14.5px; font-weight: 500; color: var(--text-mid); }
.topo-nav a:hover { color: var(--green); }
.botao-topo {
  background: var(--dark); color: #fff !important; font-weight: 500; font-size: 14px;
  padding: 10px 20px; border-radius: 99px; white-space: nowrap; transition: background .18s, transform .18s;
}
.botao-topo:hover { background: var(--dark2); transform: translateY(-1px); }
@media (max-width: 780px) { .topo-nav .esconde-mobile { display: none; } .topo-in { height: 60px; padding: 0 18px; } }

/* ---------------------------------------------------------------- blocos genéricos */
.faixa { max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
.coluna { max-width: var(--leitura); margin: 0 auto; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--green);
}
.etiqueta::before { content: ''; width: 22px; height: 2px; background: var(--gold); }

/* pílula de categoria */
.pilula {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--green); background: var(--green-pale); border: 1px solid rgba(26,107,58,.16);
  padding: 4px 11px; border-radius: 99px;
}
.pilula.ouro { color: #7a5a06; background: var(--gold-light); border-color: rgba(184,134,11,.25); }

.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13.5px; color: var(--text-muted); }
.meta .ponto { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ---------------------------------------------------------------- home: abertura */
.abertura { padding: 4.5rem 0 3rem; }
.abertura h1 {
  font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05; letter-spacing: -.02em; color: var(--dark); margin: 1.1rem 0 1rem; max-width: 14ch;
}
.abertura h1 em { font-style: italic; color: var(--green-light); }
.abertura p { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-mid); max-width: 54ch; line-height: 1.6; }

/* filtros de categoria */
.filtros { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 2.2rem; }
.filtro {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--text-mid);
  background: transparent; border: 1px solid var(--border); border-radius: 99px;
  padding: 8px 17px; cursor: pointer; transition: all .16s;
}
.filtro:hover { border-color: var(--green-light); color: var(--green); }
.filtro.on { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ---------------------------------------------------------------- destaque da home */
.destaque {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--raio);
  overflow: hidden; margin: 2.5rem 0 3.5rem;
}
.destaque-foto { position: relative; min-height: 340px; background: var(--bg2); }
.destaque-foto img { width: 100%; height: 100%; object-fit: cover; object-position: left center; position: absolute; inset: 0; }
.destaque-txt { padding: 2.6rem 2.8rem; display: flex; flex-direction: column; justify-content: center; }
.destaque-txt h2 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 33px);
  line-height: 1.15; letter-spacing: -.015em; color: var(--dark); margin: 1rem 0 .8rem;
}
.destaque-txt h2 a { color: inherit; }
.destaque-txt h2 a:hover { color: var(--green); }
.destaque-txt p { color: var(--text-mid); font-size: 16px; margin-bottom: 1.4rem; }
@media (max-width: 900px) {
  .destaque { grid-template-columns: 1fr; }
  .destaque-foto { min-height: 210px; }
  .destaque-txt { padding: 1.9rem 1.6rem; }
}

/* ---------------------------------------------------------------- grade de posts */
.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; padding-bottom: 4rem; }
@media (max-width: 980px) { .grade { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grade { grid-template-columns: 1fr; gap: 26px; } }

.cartao { display: flex; flex-direction: column; }
.cartao > .pilula { align-self: flex-start; }
.cartao-foto {
  display: block; aspect-ratio: 1200 / 630; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--raio); overflow: hidden; margin-bottom: 1.1rem;
}
.cartao-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cartao:hover .cartao-foto img { transform: scale(1.04); }
.cartao h3 {
  font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.22;
  letter-spacing: -.01em; color: var(--dark); margin: .75rem 0 .55rem;
}
.cartao h3 a { color: inherit; }
.cartao:hover h3 a { color: var(--green); }
.cartao p { font-size: 15px; color: var(--text-mid); line-height: 1.6; margin-bottom: .9rem; }
.cartao .meta { margin-top: auto; }
.vazio { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 3rem 0; font-size: 16px; }

/* ---------------------------------------------------------------- artigo: cabeçalho */
.artigo-topo { padding: 3.5rem 0 0; }
.migalhas { font-size: 13px; color: var(--text-muted); margin-bottom: 1.6rem; }
.migalhas a { color: var(--text-muted); }
.migalhas a:hover { color: var(--green); }
.artigo-topo h1 {
  font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.08; letter-spacing: -.022em; color: var(--dark); margin: 1.1rem 0 1.1rem;
}
.dek { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.55; color: var(--text-mid); margin-bottom: 2rem; }

.assinatura { display: flex; align-items: center; gap: 13px; padding: 1.4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.assinatura img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--border); }
.assinatura b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }

.capa { margin: 2.6rem 0; }
.capa img { width: 100%; border-radius: var(--raio); border: 1px solid var(--border); }
.capa figcaption { font-size: 13px; color: var(--text-muted); margin-top: .7rem; text-align: center; }

/* ---------------------------------------------------------------- artigo: corpo + índice */
.artigo-corpo { display: grid; grid-template-columns: 1fr; gap: 0; padding-bottom: 3rem; }
@media (min-width: 1120px) {
  .artigo-corpo {
    grid-template-columns: 232px minmax(0, var(--leitura)) 1fr;
    gap: 0 44px; max-width: var(--largura); margin: 0 auto; padding-left: 24px; padding-right: 24px;
  }
  .indice-col { grid-column: 1; }
  .texto      { grid-column: 2; }
}
.indice-col { display: none; }
@media (min-width: 1120px) { .indice-col { display: block; } }
.indice { position: sticky; top: 110px; }
.indice b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .9rem; }
.indice a {
  display: block; font-size: 14px; line-height: 1.4; color: var(--text-mid);
  padding: 7px 0 7px 14px; border-left: 2px solid var(--border); transition: all .18s;
}
.indice a:hover { color: var(--green); border-left-color: var(--green-light); }
.indice a.ativo { color: var(--green); border-left-color: var(--green); font-weight: 500; }

/* ---------------------------------------------------------------- tipografia do texto */
.texto { font-size: 18.5px; line-height: 1.75; color: var(--text); }
.texto > * + * { margin-top: 1.5rem; }
.texto p { color: #23282a; }
.texto h2 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3.4vw, 31px);
  line-height: 1.2; letter-spacing: -.015em; color: var(--dark);
  margin-top: 3.2rem; scroll-margin-top: 100px;
}
.texto h3 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.3; color: var(--dark); margin-top: 2.4rem; scroll-margin-top: 100px;
}
.texto a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(26,107,58,.35); }
.texto a:hover { text-decoration-color: var(--green); }
.texto strong { font-weight: 700; color: var(--dark); }
.texto em { font-style: italic; }
.texto ul, .texto ol { padding-left: 1.35rem; }
.texto li { margin-bottom: .6rem; }
.texto li::marker { color: var(--green-light); }
.texto hr { border: 0; height: 1px; background: var(--border); margin: 3rem 0; }
.texto img { border-radius: var(--raio); border: 1px solid var(--border); }
.texto figure figcaption { font-size: 13.5px; color: var(--text-muted); margin-top: .6rem; text-align: center; }

.texto blockquote {
  border-left: 3px solid var(--gold); padding: .3rem 0 .3rem 1.5rem; margin-left: 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.8vw, 25px);
  line-height: 1.4; color: var(--dark);
}

/* caixa de destaque */
.destaque-caixa {
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--green-light);
  border-radius: var(--raio); padding: 1.5rem 1.7rem; font-size: 16.5px; line-height: 1.65;
}
.destaque-caixa > * + * { margin-top: .8rem; }
.destaque-caixa > b:first-child { display: block; font-family: var(--serif); font-weight: 700; font-size: 18.5px; color: var(--dark); margin-bottom: .55rem; }

/* caixa de termo em inglês — componente da casa */
.termo {
  background: var(--dark); color: #fff; border-radius: var(--raio); padding: 1.4rem 1.6rem;
  display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.1rem; align-items: baseline;
}
.termo .en { font-family: var(--sans); font-weight: 700; font-size: 19px; color: #fff; letter-spacing: -.01em; }
.termo .pt { font-size: 15.5px; color: var(--gold-light); }
.termo .obs { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); margin-top: .5rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 560px) { .termo { grid-template-columns: 1fr; } }

/* botão de pronúncia dentro do cartão de termo */
.termo .en { display: inline-flex; align-items: center; gap: 10px; }
.ouvir {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0; padding: 0; cursor: pointer;
  background: var(--green-light); border: 0; border-radius: 50%; color: #fff;
  transition: background .16s, transform .16s;
}
.ouvir:hover { background: #35b163; transform: scale(1.08); }
.ouvir:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.ouvir svg { width: 13px; height: 13px; fill: currentColor; margin-left: 1px; }
.ouvir.tocando { background: var(--gold); }
.ouvir.tocando svg { animation: pulsa 1s ease-in-out infinite; }
@keyframes pulsa { 0%,100% { opacity: 1 } 50% { opacity: .45 } }

/* ---------------------------------------------------------------- tocador de áudio */
.tocador {
  display: flex; align-items: center; gap: 16px; margin: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--raio);
  padding: 1.1rem 1.3rem;
}
.tocar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex-shrink: 0; padding: 0; cursor: pointer;
  background: var(--dark); border: 0; border-radius: 50%; color: #fff;
  transition: background .16s, transform .16s;
}
.tocar:hover { background: var(--green); transform: scale(1.05); }
.tocar:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; }
.tocar svg { width: 19px; height: 19px; fill: currentColor; }
.tocar .i-play { margin-left: 2px; }
.tocar .i-pause { display: none; }
.tocador.tocando .tocar { background: var(--green-light); }
.tocador.tocando .i-play { display: none; }
.tocador.tocando .i-pause { display: block; }

.tocador-corpo { flex: 1; min-width: 0; }
.tocador-corpo b { display: block; font-size: 15.5px; font-weight: 500; color: var(--dark); line-height: 1.3; }
.tocador figcaption { font-size: 13.5px; color: var(--text-muted); margin-top: .3rem; text-align: left; line-height: 1.45; }
.barra-som { height: 4px; background: var(--bg2); border-radius: 99px; margin-top: .6rem; overflow: hidden; cursor: pointer; }
.barra-som i { display: block; height: 100%; width: 0; background: var(--green-light); border-radius: 99px; transition: width .1s linear; }
.tocador .tempo { font-family: var(--sans); font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.tocador.erro { border-color: #e0b4b4; background: #fdf6f6; }
@media (max-width: 560px) { .tocador { gap: 12px; padding: .9rem 1rem; } .tocar { width: 40px; height: 40px; } }

/* ---------------------------------------------------------------- conversão dentro do post */
.cta-curso {
  background: var(--green-pale); border: 1px solid rgba(26,107,58,.18); border-radius: var(--raio);
  padding: 1.6rem 1.8rem; display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap;
}
.cta-curso .txt { flex: 1; min-width: 240px; }
.cta-curso b { display: block; font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--dark); margin-bottom: .3rem; }
.cta-curso span { font-size: 15px; color: var(--text-mid); line-height: 1.55; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--dark); color: #fff !important; font-family: var(--sans); font-weight: 500; font-size: 15px;
  padding: 13px 26px; border: 0; border-radius: 99px; cursor: pointer; white-space: nowrap;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.botao:hover { background: var(--dark2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(18,63,38,.18); }
.botao.verde { background: var(--green-light); }
.botao.verde:hover { background: var(--green); }
.botao.zap { background: #25D366; }
.botao.zap:hover { background: #1eb356; }
.botao svg { width: 17px; height: 17px; fill: currentColor; }
.botao[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* bloco de lead no fim do artigo */
.lead-bloco { background: var(--dark); color: #fff; border-radius: var(--raio); padding: 2.6rem 2.4rem; margin: 3.5rem 0 0; }
.lead-bloco h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(23px, 3.2vw, 30px); line-height: 1.18; color: #fff; margin-bottom: .8rem; }
.lead-bloco h2 em { font-style: italic; color: var(--gold-light); }
.lead-bloco > p { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; max-width: 52ch; margin-bottom: 1.8rem; }
.lead-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.1rem; }
.lead-campos .largo { grid-column: 1 / -1; }
@media (max-width: 620px) { .lead-campos { grid-template-columns: 1fr; } .lead-bloco { padding: 2rem 1.5rem; } }
.lead-bloco input, .lead-bloco select {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--raio); padding: 13px 15px; transition: border-color .18s, background .18s;
}
.lead-bloco input::placeholder { color: rgba(255,255,255,.42); }
.lead-bloco input:focus, .lead-bloco select:focus { outline: 0; border-color: var(--green-light); background: rgba(255,255,255,.11); }
.lead-bloco select option { background: var(--dark); color: #fff; }
.lead-acoes { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lead-nota { font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.5; margin-top: 1rem; }
.lead-nota a { color: rgba(255,255,255,.7); text-decoration: underline; }
.lead-ok { display: none; }
.lead-bloco.pronto .lead-form { display: none; }
.lead-bloco.pronto .lead-ok { display: block; }
.lead-ok b { display: block; font-family: var(--serif); font-size: 22px; color: var(--gold-light); margin-bottom: .5rem; }
.lead-ok p { color: rgba(255,255,255,.78); font-size: 16px; margin-bottom: 1.4rem; }
.lead-erro { display: none; font-size: 14px; color: #ffd9d9; margin-top: .8rem; }

/* compartilhar */
.compartilhar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.compartilhar span { font-size: 13.5px; color: var(--text-muted); }
.compartilhar a {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 50%; color: var(--text-mid); transition: all .18s; background: var(--white);
}
.compartilhar a:hover { border-color: var(--green-light); color: var(--green); transform: translateY(-2px); }
.compartilhar svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------------------------------------------------------------- relacionados */
.relacionados { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 0; margin-top: 4rem; }
.relacionados h2 { font-family: var(--serif); font-weight: 700; font-size: 27px; color: var(--dark); margin-bottom: 2rem; }
.relacionados .grade { padding-bottom: 0; }

/* ---------------------------------------------------------------- rodapé */
.rodape { background: var(--dark); color: rgba(255,255,255,.6); padding: 3.5rem 0 2.5rem; font-size: 14px; }
.rodape-in { max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
.rodape-logo { height: 78px; width: auto; margin-bottom: 1.1rem; }
@media (max-width: 640px) { .rodape-logo { height: 62px; } }
.rodape-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 1.6rem 0 1.6rem; }
.rodape-links a { color: rgba(255,255,255,.62); font-size: 14px; }
.rodape-links a:hover { color: var(--gold-light); }
.rodape-legal { font-size: 12px; color: rgba(255,255,255,.34); line-height: 1.7; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem; }

/* ---------------------------------------------------------------- whatsapp flutuante */
.zap-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 250;
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: #fff !important; font-weight: 500; font-size: 14.5px;
  padding: 12px 19px 12px 15px; border-radius: 99px;
  box-shadow: 0 8px 24px rgba(37,211,102,.42); transition: transform .16s, box-shadow .2s;
}
.zap-float:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.5); }
.zap-float svg { width: 23px; height: 23px; fill: #fff; flex-shrink: 0; }
@media (max-width: 640px) { .zap-float { bottom: 16px; right: 14px; padding: 12px; } .zap-float span { display: none; } }

/* ---------------------------------------------------------------- impressão */
@media print {
  .topo, .progresso, .zap-float, .lead-bloco, .relacionados, .compartilhar, .indice-col, .cta-curso { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .texto { font-size: 12pt; }
}
