/*
Theme Name: Hora do Diploma - EJA EAD
Theme URI: https://horadodiploma.com.br
Author: Hora do Diploma
Description: Tema WordPress de landing page focada em venda do EJA EAD (Educa+). Otimizado para a palavra-chave "EJA EAD", com CTAs para WhatsApp.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: eja-ead
*/

/* ==========================================================================
   Reset / base
   ========================================================================== */
:root {
  --navy: #16193E;
  --pink: #E61C5D;
  --pink-hover: #c2124b;
  --green: #00C853;
  --green-hover: #00a344;
  --wa-green: #00AD57;
  --bg: #ffffff;
  --secondary: #f5f6f9;
  --border: #e6e7ee;
  --muted: #6b6f85;
  --radius: 0.75rem;
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 768px; margin: 0 auto; padding: 0 16px; }

.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.section-title { font-size: 1.5rem; font-weight: 800; }
@media (min-width: 640px) { .section-title { font-size: 1.875rem; } }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.8125rem; }

.bg-secondary { background: var(--secondary); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-pink { background: var(--pink); color: #fff; }

/* ==========================================================================
   Icons (inline SVG helper)
   ========================================================================== */
.icon { width: 28px; height: 28px; stroke: var(--pink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-lg { width: 36px; height: 36px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em;
  transition: all .2s ease; cursor: pointer; border: 0;
}
.btn:active { transform: scale(.96); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 10px 25px rgba(230,28,93,.3); }
.btn-pink:hover { background: var(--pink-hover); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 25px rgba(0,200,83,.3); }
.btn-green:hover { background: var(--green-hover); }
.btn-outline { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(22,25,62,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.site-logo img { height: 54px; width: auto; display: block; }
@media (min-width: 640px) { .site-logo img { height: 64px; } }
.header-cta { display: none; align-items: center; gap: 8px; background: var(--green); color: #fff; border-radius: 999px; padding: 10px 20px; font-size: .875rem; font-weight: 700; }
.header-cta:hover { background: var(--green-hover); }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: rgba(230,28,93,.2); filter: blur(80px); pointer-events: none;
}
.hero-grid { display: grid; gap: 28px; align-items: center; padding: 28px 0 40px; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; padding: 80px 0; } }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border-radius: 999px; padding: 6px 16px; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}
.hero h1 { margin-top: 14px; font-size: 1.65rem; font-weight: 800; }
@media (min-width: 640px) { .hero h1 { font-size: 2.4rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3rem; } }
.hero-sub { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.price-box {
  display: inline-flex; flex-direction: column; margin-top: 16px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05);
  border-radius: 1rem; padding: 12px 20px;
}
.price-box .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); font-weight: 600; }
.price-box .value { font-size: 2rem; font-weight: 800; }
.price-box .value span { color: var(--green); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .875rem; color: rgba(255,255,255,.75); }
.hero-list li { display: flex; align-items: center; gap: 6px; }
.hero-img img { border-radius: 1.5rem; box-shadow: 0 25px 50px rgba(0,0,0,.35); width: 100%; object-fit: cover; }

/* ==========================================================================
   Grids / cards
   ========================================================================== */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .grid-md-2 { grid-template-columns: repeat(2, 1fr); } }

.trust { padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-card { display: flex; gap: 12px; background: #fff; border-radius: 1rem; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.trust-card h3 { font-size: .875rem; font-weight: 700; }
.trust-card p { margin-top: 4px; font-size: .75rem; color: var(--muted); }

.step-card { border: 1px solid var(--border); border-radius: 1rem; padding: 24px; transition: box-shadow .2s; }
.step-card:hover { box-shadow: 0 15px 30px rgba(22,25,62,.08); }
.step-card h3 { margin-top: 16px; font-weight: 700; }
.step-card p { margin-top: 8px; font-size: .875rem; color: var(--muted); }

.check-list { display: grid; gap: 12px; background: var(--secondary); border-radius: 1.5rem; padding: 24px; }
@media (min-width: 640px) { .check-list { grid-template-columns: repeat(2, 1fr); } }
.check-list li, .benefit-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; font-weight: 500; }

.course-card { display: flex; flex-direction: column; background: #fff; border-radius: 1.5rem; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.course-card h3 { margin-top: 16px; font-size: 1.25rem; font-weight: 800; }
.course-card p { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.course-card ul { margin-top: 16px; display: grid; gap: 8px; }
.course-card ul li { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.course-price { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.course-price strong { font-size: 1.5rem; font-weight: 800; }
.course-card .btn { margin-top: 16px; }

.audience-card { background: var(--secondary); border-radius: 1rem; padding: 24px; }
.audience-card h3 { margin-top: 12px; font-size: .875rem; font-weight: 700; }
.audience-card p { margin-top: 8px; font-size: .75rem; color: var(--muted); }

.benefit-list { display: grid; gap: 12px; margin-top: 24px; color: rgba(255,255,255,.85); }
.benefit-list .icon-sm { margin-top: 3px; }
.price-card { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); border-radius: 1.5rem; padding: 32px; text-align: center; }
.price-card .amount { margin-top: 4px; font-size: 2.4rem; font-weight: 800; }
.price-card .amount span { color: var(--green); }

/* ==========================================================================
   FAQ (accordion sem JS)
   ========================================================================== */
.faq { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--pink); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Footer + WhatsApp flutuante
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 40px 0; text-align: center; }
.site-footer img { height: 76px; width: auto; margin: 0 auto; }
.site-footer .partner { margin-top: 12px; font-size: .875rem; font-weight: 600; color: #fff; }
.site-footer .legal { max-width: 680px; margin: 16px auto 0; font-size: .75rem; line-height: 1.6; }
.site-footer .copy { margin-top: 20px; font-size: .75rem; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  width: 84px; height: 84px; display: flex; align-items: center; justify-content: center;
  background: var(--wa-green); border-radius: 100%; box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: opacity .2s;
}
.wa-float:hover { opacity: .9; }
.wa-float svg { width: 42px; height: 42px; }
