/* ============================================================
   11editora – Static Site CSS
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --background: hsl(222, 40%, 5%);
  --foreground: hsl(216, 33%, 97%);
  --card: hsl(222, 37%, 11%);
  --surface: hsl(222, 37%, 7%);
  --surface-2: hsl(222, 37%, 11%);
  --border: hsl(222, 20%, 18%);
  --text-secondary: hsl(218, 18%, 68%);
  --text-muted: hsl(219, 13%, 47%);
  --brand: hsl(41, 99%, 48%);
  --brand-dark: hsl(39, 100%, 38%);
  --cta: hsl(142, 71%, 45%);
  --cta-foreground: hsl(0, 0%, 100%);
  --radius: 0.5rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }
table { border-collapse: collapse; width: 100%; }

/* ── Animations ── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px hsl(142deg 71% 45% / .4); }
  50%       { box-shadow: 0 0 24px hsl(142deg 71% 45% / .7); }
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Responsive grid helpers used inline in HTML */
.sm\:grid-cols-2 { grid-template-columns: 1fr; }
.sm\:grid-cols-3 { grid-template-columns: 1fr; }
.md\:grid-cols-2 { grid-template-columns: 1fr; }
.md\:grid-cols-3 { grid-template-columns: 1fr; }
.lg\:grid-cols-3 { grid-template-columns: 1fr; }
.lg\:grid-cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.md-col-span-2 { grid-column: span 1; }
@media (min-width: 768px) { .md-col-span-2 { grid-column: span 2; } }

/* ═══════════════════════════
   HEADER
═══════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background-color: hsl(222deg 40% 5% / .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
}
.logo-11 { color: var(--brand); }
.logo-editora { color: var(--foreground); }

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }
.desktop-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color .15s;
}
.desktop-nav a:hover,
.desktop-nav a.current { color: var(--brand); }

/* Header CTA */
.btn-header-cta-wrap { display: none !important; }
.btn-header-cta { display: none !important; }
@media (min-width: 768px) {
  .btn-header-cta-wrap { display: flex !important; }
  .btn-header-cta { display: inline-flex !important; }
}

/* Mobile toggle */
.btn-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background-color .15s;
}
.btn-mobile-toggle:hover { background-color: var(--surface); }
.icon-close { display: none; }
@media (min-width: 768px) { .btn-mobile-toggle { display: none !important; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}
.mobile-menu.open { display: flex; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu-inner a {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color .15s, background-color .15s;
}
.mobile-menu-inner a:hover,
.mobile-menu-inner a.current { color: var(--brand); background-color: var(--surface); }
.btn-cta-mobile {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  background-color: var(--cta);
  color: var(--cta-foreground);
  transition: filter .15s;
}
.btn-cta-mobile:hover { filter: brightness(1.08); }

/* ═══════════════════════════
   PAGE WRAPPER
═══════════════════════════ */
.page-wrapper {
  min-height: 100vh;
  padding-top: 4rem;
  background-color: var(--background);
}

/* ═══════════════════════════
   BUTTONS
═══════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: filter .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn-cta { background-color: var(--cta); color: var(--cta-foreground); }
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background-color: var(--surface); filter: none; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* Inline-flex helper */
.inline-flex { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, hsl(41deg 99% 48% / .12), transparent);
  pointer-events: none;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-grid { flex-direction: row; text-align: left; gap: 4rem; align-items: center; }
}
.hero-text { flex: 1; }
.hero-image { flex: 1; max-width: 520px; width: 100%; }
.hero-image img {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 24px 64px hsl(0deg 0% 0% / .4);
  width: 100%;
}

/* ═══════════════════════════
   BADGE
═══════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: hsl(41deg 99% 48% / .12);
  border: 1px solid hsl(41deg 99% 48% / .25);
  color: var(--brand);
}

/* ═══════════════════════════
   SOCIAL PROOF BAR
═══════════════════════════ */
.social-proof-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  padding: 1.25rem 0;
}
.social-proof-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.stars { display: flex; gap: 0.125rem; }
.star { width: 1rem; height: 1rem; fill: var(--brand); color: var(--brand); flex-shrink: 0; }
.star-empty { fill: var(--border); color: var(--border); }

/* ═══════════════════════════
   CARDS
═══════════════════════════ */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.card-hover-shadow {
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-hover-shadow:hover {
  border-color: hsl(41deg 99% 48% / .35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(0deg 0% 0% / .2);
}

/* ═══════════════════════════
   STEPS
═══════════════════════════ */
.step-card { text-align: center; }
.step-icon {
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: hsl(222, 40%, 5%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}
.step-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.375rem; }
.step-desc { font-size: 0.875rem; color: var(--text-secondary); }

/* ═══════════════════════════
   TESTIMONIALS
═══════════════════════════ */
.testimonial-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background-color: transparent;
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active {
  background-color: var(--brand);
  color: hsl(222, 40%, 5%);
  border-color: var(--brand);
  font-weight: 600;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
  height: 100%;
}
.testimonial-card:hover { border-color: hsl(41deg 99% 48% / .3); transform: translateY(-2px); }
.testimonial-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.rating-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background-color: hsl(41deg 99% 48% / .1);
  border: 1px solid hsl(41deg 99% 48% / .2);
  font-size: 0.75rem;
  color: var(--brand);
  white-space: nowrap;
}
.rating-score { font-weight: 700; }
.rating-count { color: var(--text-muted); }
.testimonial-text { font-size: 0.9375rem; color: var(--text-secondary); flex: 1; line-height: 1.6; }
.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-user { display: flex; flex-direction: column; }
.avatar {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
  color: hsl(222, 40%, 5%);
  flex-shrink: 0;
}
.name { font-size: 0.9375rem; font-weight: 600; }
.location { font-size: 0.8125rem; color: var(--text-muted); }
.testimonial-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.375rem; }

/* ═══════════════════════════
   PLANS
═══════════════════════════ */
.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: hsl(222, 40%, 5%);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ═══════════════════════════
   DEVICE CARDS
═══════════════════════════ */
.device-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .device-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .device-cards { grid-template-columns: repeat(6, 1fr); } }

.device-card {
  text-align: center;
  padding: 1.25rem 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s;
}
.device-card:hover { border-color: hsl(41deg 99% 48% / .3); }

/* ═══════════════════════════
   FAQ
═══════════════════════════ */
.faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item:hover { border-color: hsl(41deg 99% 48% / .3); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.details-icon {
  flex-shrink: 0;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] .details-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.25rem 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ═══════════════════════════
   INFO BOX (term-card)
═══════════════════════════ */
.info-box {
  background-color: hsl(222deg 37% 7% / .8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.info-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 0.375rem;
}
.term-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.num, .num-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: hsl(222, 40%, 5%);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════
   BREADCRUMB
═══════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }
.sep { color: var(--text-muted); }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand); }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  background-color: var(--cta);
  color: var(--cta-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  transition: filter .15s;
  align-self: flex-start;
}
.footer-cta-btn:hover { filter: brightness(1.1); }
.footer-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .footer-copy { flex-direction: row; justify-content: space-between; }
}
.footer-copy a { color: var(--text-muted); transition: color .15s; }
.footer-copy a:hover { color: var(--brand); }

/* ═══════════════════════════
   WA FLOAT BUTTON
═══════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--cta);
  color: var(--cta-foreground);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px hsl(142deg 71% 45% / .35);
  animation: pulse-glow 2s ease-in-out infinite;
  transition: filter .15s, transform .15s;
}
.wa-float:hover { filter: brightness(1.1); transform: scale(1.05); }

/* ═══════════════════════════
   TEXT UTILITIES
═══════════════════════════ */
.text-brand { color: var(--brand); }
.text-gradient-brand {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.bg-gradient-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.bg-gradient-cta {
  background: linear-gradient(135deg, var(--cta), hsl(142deg 71% 38%));
}

/* ═══════════════════════════
   ICON HELPERS
═══════════════════════════ */
.icon { display: flex; align-items: center; justify-content: center; }

/* ═══════════════════════════
   Mobile JS toggle states
═══════════════════════════ */
/* JS sets display on these; defaults without JS */
#header-cta-wrap { display: none; }
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; flex-direction: column; }
