/* ============================================================
   YouCine Toolkit — estilos do site
   ============================================================ */
:root { --yc-green: #16a34a; --yc-green-dark: #15803d; --yc-ink: #1f2937; }

/* Botão de download (verde) */
.youcine-download-wrap { text-align: center; margin: 30px 0; }
.youcine-btn {
  display: inline-block; background: var(--yc-green); color: #fff !important;
  font-weight: 800; font-size: 18px; padding: 16px 46px; border-radius: 999px;
  text-decoration: none !important; border: none; cursor: pointer;
  box-shadow: 0 10px 26px rgba(22,163,74,.40);
  transition: transform .18s, box-shadow .18s, background .18s;
  letter-spacing: .3px;
}
.youcine-btn:hover {
  background: var(--yc-green-dark); color: #fff !important;
  transform: translateY(-2px); box-shadow: 0 14px 32px rgba(22,163,74,.50);
}
.youcine-btn:active { transform: translateY(0); }

/* Painel de arquivo verificado */
.youcine-file-panel {
  background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 6px solid var(--yc-green);
  border-radius: 14px; padding: 20px 22px; margin: 24px 0;
}
.youcine-file-panel p { margin: 6px 0; }
.youcine-file-panel code {
  background: #dcfce7; padding: 2px 8px; border-radius: 6px;
  font-size: 13px; word-break: break-all;
}

/* Caixa do autor */
.youcine-author-box { margin: 2.5em 0; }

/* FAQ */
.youcine-faq h3 { color: var(--yc-ink); }

/* Imagens do conteúdo sempre centralizadas */
.entry-content img, .youcine-content img, .wp-block-image img {
  display: block; margin-left: auto; margin-right: auto;
}
.wp-block-image { text-align: center; }

/* Responsivo */
@media (max-width: 640px) {
  .youcine-btn { width: 100%; padding: 16px 20px; text-align: center; }
}

/* ============================================================
   Página inicial — hero + faixa de confiança + acordeão FAQ
   ============================================================ */
.yc-front { background: #fff; }

/* HERO */
.yc-hero {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(22,163,74,.22), transparent 60%),
              linear-gradient(135deg, #0b1220 0%, #111c33 55%, #0e2a1c 100%);
  color: #fff; padding: 72px 24px 64px; margin: 0;
}
.yc-hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.yc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,.16); border: 1px solid rgba(22,163,74,.55);
  color: #4ade80; font-weight: 700; font-size: 13px; letter-spacing: .6px;
  text-transform: uppercase; padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.yc-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.yc-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.5px; }
.yc-lead { color: #cbd5e1; font-size: 18px; line-height: 1.65; margin: 0 0 28px; max-width: 560px; }
.yc-hero .youcine-download-wrap { text-align: left; margin: 0 0 26px; }
.yc-hero .youcine-btn { font-size: 19px; padding: 17px 52px; }
.yc-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.yc-trust li { color: #a7f3d0; font-size: 14px; font-weight: 600; padding-left: 24px; position: relative; }
.yc-trust li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 8px;
  border-left: 3px solid #4ade80; border-bottom: 3px solid #4ade80; transform: rotate(-45deg);
}
.yc-hero-img { text-align: center; }
.yc-hero-img img {
  max-width: 100%; height: auto; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(900px) rotateY(-6deg);
}

/* Faixa de confiança */
.yc-strip { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 0 24px; }
.yc-strip-inner {
  max-width: 1140px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 0;
}
.yc-strip-card { padding: 26px 20px; text-align: center; border-left: 1px solid #e2e8f0; }
.yc-strip-card:first-child { border-left: none; }
.yc-strip-num { font-size: 24px; font-weight: 800; color: #0f172a; letter-spacing: -.3px; }
.yc-strip-label { font-size: 13px; color: #64748b; margin-top: 4px; }

/* Conteúdo do artigo */
.yc-content { max-width: 780px; margin: 0 auto; padding: 56px 24px 24px; font-size: 17px; line-height: 1.75; color: #334155; }
.yc-content h2 { font-size: 28px; color: #0f172a; margin: 48px 0 18px; letter-spacing: -.3px; }
.yc-content h3 { font-size: 20px; color: #0f172a; margin: 30px 0 12px; }
.yc-content p { margin: 0 0 18px; }
.yc-content a { color: #15803d; font-weight: 600; }
.yc-content ul, .yc-content ol { margin: 0 0 18px; padding-left: 24px; }
.yc-content li { margin-bottom: 8px; }

/* Acordeão FAQ */
.yc-faq-title { text-align: center; }
.yc-accordion { margin: 8px 0 40px; border-top: 1px solid #e2e8f0; }
.yc-acc-item { border-bottom: 1px solid #e2e8f0; }
.yc-acc-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-size: 17px; font-weight: 700; color: #0f172a; padding: 20px 4px;
}
.yc-acc-q:hover { color: #15803d; }
.yc-acc-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: #f0fdf4; color: #15803d; font-size: 20px; line-height: 32px; text-align: center; font-weight: 400;
}
.yc-acc-item.open .yc-acc-icon { background: #16a34a; color: #fff; }
.yc-acc-a { display: none; padding: 0 4px 22px; color: #475569; }
.yc-acc-item.open .yc-acc-a { display: block; }
.yc-acc-a p { margin: 0 0 12px; }

/* Responsivo */
@media (max-width: 900px) {
  .yc-hero { padding: 52px 20px 48px; }
  .yc-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .yc-hero-img img { transform: none; max-width: 420px; }
  .yc-hero .youcine-download-wrap { text-align: center; }
  .yc-hero .youcine-btn { width: 100%; padding: 16px 20px; }
  .yc-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .yc-strip-card { border-left: none; border-top: 1px solid #e2e8f0; padding: 20px 12px; }
  .yc-strip-card:nth-child(-n+2) { border-top: none; }
}

/* ============================================================
   v1.2.0 — cartão de arquivo, acordeão reforçado, rodapé, artigos
   ============================================================ */

/* Cartão "Arquivo verificado" */
.yc-filecard {
  background: #fff; border: 1px solid #bbf7d0; border-radius: 18px;
  margin: 36px 0; overflow: hidden;
  box-shadow: 0 14px 36px rgba(22,163,74,.12);
}
.yc-filecard-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #fff; padding: 16px 24px; font-size: 19px; font-weight: 800;
}
.yc-filecard-ok {
  flex: none; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.55);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 999px;
}
.yc-filecard-body { padding: 10px 24px 18px; background: linear-gradient(180deg, #f0fdf4 0%, #fff 90%); }
.yc-filerow {
  display: flex; gap: 16px; padding: 11px 0; font-size: 15px;
  border-bottom: 1px dashed #bbf7d0;
}
.yc-filerow:last-child { border-bottom: none; }
.yc-filelabel { flex: none; width: 132px; font-weight: 700; color: #065f46; }
.yc-filevalue { color: #1e293b; word-break: break-all; }
.yc-filevalue.yc-hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: #334155; }
.yc-filecard-body > p { color: #475569; font-size: 14px; margin: 12px 0 4px; }

/* Acordeão FAQ — seletores fortes para vencer estilos do tema */
.yc-accordion .yc-acc-item .yc-acc-q,
.yc-accordion .yc-acc-item .yc-acc-q:hover,
.yc-accordion .yc-acc-item .yc-acc-q:focus,
.yc-accordion .yc-acc-item .yc-acc-q:active,
.yc-accordion .yc-acc-item .yc-acc-q:visited {
  background: #ffffff; background-image: none;
  border: none; border-radius: 0; box-shadow: none;
  color: #0f172a; text-transform: none; letter-spacing: normal;
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; text-align: left; font-size: 17px; font-weight: 700; line-height: 1.4;
  padding: 20px 6px; margin: 0;
}
.yc-accordion .yc-acc-item.open .yc-acc-q,
.yc-accordion .yc-acc-item.open .yc-acc-q:hover,
.yc-accordion .yc-acc-item.open .yc-acc-q:focus,
.yc-accordion .yc-acc-item.open .yc-acc-q:active {
  background: #f0fdf4; color: #15803d;
}
.yc-accordion .yc-acc-item .yc-acc-q .yc-acc-icon,
.yc-accordion .yc-acc-item.open .yc-acc-q .yc-acc-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; line-height: 32px; text-align: center; font-weight: 400;
}
.yc-accordion .yc-acc-item .yc-acc-q .yc-acc-icon { background: #f0fdf4; color: #15803d; }
.yc-accordion .yc-acc-item.open .yc-acc-q .yc-acc-icon { background: #16a34a; color: #fff; }

/* Rodapé escuro */
#colophon.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, #0e1a30 100%);
  color: #cbd5e1; border-top: 4px solid #16a34a; margin-top: 0;
}
#colophon.site-footer .widget-title,
#colophon.site-footer .wp-block-heading { color: #fff; font-size: 18px; margin: 0 0 16px; }
#colophon.site-footer .widget,
#colophon.site-footer .widget p { color: #cbd5e1; font-size: 15px; line-height: 1.65; }
#colophon.site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
#colophon.site-footer .widget li { margin: 0 0 10px; padding: 0; }
#colophon.site-footer .widget li::before { content: none; }
#colophon.site-footer .widget a { color: #a7f3d0; text-decoration: none; font-weight: 500; }
#colophon.site-footer .widget a:hover { color: #4ade80; text-decoration: underline; }
#colophon.site-footer .site-footer-row { padding-top: 48px; padding-bottom: 32px; }
#colophon.site-footer .site-bottom-footer-wrap { border-top: 1px solid rgba(255,255,255,.10); }
#colophon.site-footer .site-bottom-footer-wrap,
#colophon.site-footer .site-bottom-footer-wrap p,
#colophon.site-footer .site-info { color: #94a3b8; font-size: 14px; }

/* Artigos internos — tipografia com identidade */
body.page .entry-content h2 {
  font-size: 27px; color: #0f172a; letter-spacing: -.3px;
  padding-bottom: 12px; border-bottom: 3px solid #bbf7d0; margin: 46px 0 20px;
}
body.page .entry-content h3 { font-size: 20px; color: #0f172a; margin: 30px 0 12px; }
body.page .entry-content p, body.page .entry-content li { font-size: 17px; line-height: 1.75; color: #334155; }
body.page .entry-content a { color: #15803d; font-weight: 600; }
body.page .entry-content a:hover { color: #16a34a; }
body.page .entry-content ul, body.page .entry-content ol { margin: 0 0 18px; padding-left: 24px; }
body.page .entry-content li { margin-bottom: 8px; }
body.page .entry-content li::marker { color: #16a34a; font-weight: 700; }

@media (max-width: 640px) {
  .yc-filelabel { width: 108px; }
  .yc-filecard-head { font-size: 17px; padding: 14px 18px; }
  .yc-filecard-body { padding: 8px 18px 14px; }
}

/* v1.2.2 — rodapé: títulos visíveis + logo */
#colophon.site-footer h2 { color: #fff; font-size: 18px; margin: 0 0 16px; }
.yc-footer-logo { max-width: 170px; height: auto; margin: 0 0 14px; display: block; }
