/* 
   MINUTO ENGENHARIA — DESIGN SYSTEM 2026
   TEMA: ROXO PREMIUM
   ESTRUTURA: SKILL 04 (11 SEÇÕES)
*/

:root {
  --primary: #8B5CF6;
  --primary-hover: #7C3AED;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --accent: #A78BFA;
  --bg-dark: #080808;
  --bg-card: #0F0F0F;
  --border-color: #1E1E1E;
  --text-main: #F5F5F5;
  --text-muted: #888;
  --success: #10B981;
  --stars: #FFD700;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* Utilitários */
.section-container { max-width: 1100px; margin: 0 auto; padding: 100px 2rem; }
.text-center { text-align: center; }
.section-title { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1rem; line-height: 1.1; }
.section-sub { font-size: clamp(0.95rem, 2vw, 1.1rem); color: var(--text-muted); max-width: 700px; margin: 0 auto 3rem; }
.text-accent { color: var(--primary); }

/* Botões */
.btn-primary-hero {
  background: var(--primary);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 10px 30px var(--primary-glow);
}
.btn-primary-hero:hover { transform: translateY(-3px); background: var(--primary-hover); box-shadow: 0 15px 40px var(--primary-glow); }

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 12px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-block;
}
.btn-secondary-hero:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); }

/* ── HEADER (SKILL 03) ── */
.header-fixed {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(8, 8, 8, 0.95); backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center;
}
.logo { font-weight: 950; font-size: 1.6rem; color: var(--primary); letter-spacing: -0.06em; }
.nav-menu { display: flex; align-items: center; gap: 0.5rem; }
.nav-menu a { color: var(--text-muted); font-weight: 600; font-size: 0.88rem; padding: 0.6rem 1.2rem; transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu .btn-cta { background: var(--primary); color: #fff; border-radius: 8px; font-weight: 800; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; border: none; background: none; }
.nav-toggle span { width: 28px; height: 2px; background: #fff; transition: var(--transition); }

/* ── HERO ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%); }
.hero-content { max-width: 900px; margin: 0 auto; padding: 6rem 2rem; }
.hero-badge { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); color: var(--primary); padding: 0.6rem 1.4rem; border-radius: 50px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2rem; display: inline-block; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); font-weight: 950; line-height: 1.05; margin-bottom: 2rem; letter-spacing: -0.04em; }
.hero-sub { font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: var(--text-muted); margin: 0 auto 3rem; max-width: 750px; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat span:first-child { font-size: 1.8rem; font-weight: 900; color: #fff; }
.stat-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-top: 0.3rem; }
.hero-ctas { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* ── SECTION APPS (RANKING) ── */
.section-apps { background: var(--bg-dark); }
.apps-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 860px; margin: 0 auto; }
.app-card {
  display: grid; grid-template-columns: 40px 64px 1fr auto; align-items: center; gap: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
  padding: 1.2rem 1.8rem; transition: var(--transition);
}
.app-card:hover { border-color: var(--primary); background: rgba(139, 92, 246, 0.05); transform: translateX(6px); }
.app-rank { font-size: 0.85rem; font-weight: 800; color: var(--primary); opacity: 0.8; }
.app-img-wrap img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.app-name { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.app-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.app-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.stars { color: var(--stars); font-size: 0.85rem; }
.rating-val { font-weight: 800; color: #fff; font-size: 0.9rem; }
.rating-count { color: var(--text-muted); font-size: 0.75rem; opacity: 0.6; }
.app-tags { display: flex; gap: 0.4rem; }
.tag { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: var(--text-muted); padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.btn-ver-app { border: 1px solid var(--border-color); color: var(--text-muted); padding: 0.6rem 1.2rem; border-radius: 10px; font-size: 0.85rem; font-weight: 700; transition: var(--transition); }
.btn-ver-app:hover { border-color: #fff; color: #fff; }
.btn-testar { background: var(--primary); color: #fff; padding: 0.6rem 1.2rem; border-radius: 10px; font-size: 0.85rem; font-weight: 800; margin-left: 0.5rem; transition: var(--transition); }
.btn-testar:hover { background: var(--primary-hover); transform: scale(1.05); }

/* ── WHY SECTION ── */
.section-why { background: #0A0A0A; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 2.5rem 2rem; border-radius: 24px; transition: var(--transition); }
.feature-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.8rem; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── HOWTO SECTION ── */
.section-howto { background: var(--bg-dark); }
.steps-list { list-style: none; max-width: 750px; margin: 3rem auto; }
.steps-list li { display: flex; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--border-color); align-items: flex-start; }
.steps-list li:last-child { border-bottom: none; }
.step-num { font-size: 2rem; font-weight: 950; color: var(--primary); opacity: 0.25; min-width: 45px; line-height: 1; }
.steps-list h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.steps-list p { color: var(--text-muted); font-size: 0.95rem; }

/* ── COMPARISON TABLE ── */
.section-compare { background: #0A0A0A; }
.compare-table-wrap { overflow-x: auto; margin-top: 3rem; border-radius: 20px; border: 1px solid var(--border-color); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; background: var(--bg-card); }
.compare-table th, .compare-table td { padding: 1.5rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.compare-table th { background: #121212; font-weight: 800; font-size: 1rem; color: #fff; }
.compare-table td { font-size: 0.92rem; color: var(--text-muted); }
.yes { color: var(--success); font-weight: 800; }
.no { color: var(--primary); font-weight: 700; }
.partial { color: var(--stars); font-weight: 700; }

/* ── REVIEWS ── */
.section-reviews { background: var(--bg-dark); }
.rating-overview { display: flex; align-items: center; gap: 2rem; margin-bottom: 4rem; justify-content: center; }
.big-rating { font-size: 5rem; font-weight: 950; color: #fff; line-height: 1; }
.stars-large { color: var(--stars); font-size: 1.8rem; margin-bottom: 0.3rem; }
.rating-total { color: var(--text-muted); font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.review-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 2rem; border-radius: 24px; transition: var(--transition); }
.review-card header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.reviewer-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.reviewer-name { font-weight: 700; display: block; }
.reviewer-location { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { color: var(--stars); margin-left: auto; font-size: 1rem; }
.review-card p { font-style: italic; color: #CCC; line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.review-card time { font-size: 0.75rem; color: var(--text-muted); opacity: 0.5; }

/* ── BLOG SECTION ── */
.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.btn-outline { border: 1px solid var(--border-color); padding: 0.7rem 1.5rem; border-radius: 10px; font-weight: 700; transition: var(--transition); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; transition: var(--transition); }
.blog-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-category { color: var(--primary); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.blog-card h3 { font-size: 1.1rem; font-weight: 800; margin: 0.5rem 0 1rem; line-height: 1.4; }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }

/* ── CTA FINAL ── */
.section-cta-final { background: linear-gradient(180deg, #0A0A0A 0%, #120A24 100%); padding: 120px 2rem; text-align: center; }

/* ── FOOTER ── */
.site-footer { background: #050505; border-top: 1px solid var(--border-color); padding: 80px 2rem 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 4rem; max-width: 1100px; margin: 0 auto; }
.footer-brand .logo { display: block; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; max-width: 300px; }
.site-footer h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 1.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.8rem; }
.site-footer ul a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.site-footer ul a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid var(--border-color); margin-top: 60px; padding-top: 40px; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

/* RESPONSIVIDADE (SKILL 03) */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh;
    background: #0F0F0F; flex-direction: column; padding: 6rem 2rem; transition: var(--transition);
    border-left: 1px solid var(--border-color);
  }
  .nav-menu.open { right: 0; }
  .app-card { grid-template-columns: 30px 48px 1fr; padding: 1rem; }
  .app-actions { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .section-container { padding: 60px 1.5rem; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .features-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .app-desc, .app-tags { display: none; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* BLOG STYLES */
.article-container { max-width: 900px; margin: 0 auto; padding: 120px 1.5rem 80px; }
.breadcrumb { margin-bottom: 2rem; color: #666; font-size: 0.9rem; }
.breadcrumb a { color: var(--primary); }
.article-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 2rem; color: #fff; font-weight: 800; }
.article-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.author-link { display: flex; align-items: center; gap: 1rem; color: #fff; }
.author-link img { border-radius: 50%; border: 2px solid var(--primary); }
.author-name { display: block; font-weight: 700; color: var(--primary); }
.author-title { display: block; font-size: 0.8rem; color: #888; }
.read-time { color: #666; font-size: 0.9rem; }

.article-content { line-height: 1.8; color: #A0A0A0; font-size: 1.1rem; }
.article-content h2 { font-size: 1.8rem; color: #fff; margin: 3.5rem 0 1.5rem; font-weight: 700; }
.article-content p { margin-bottom: 1.5rem; }
.article-content ul { margin-bottom: 2rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.8rem; list-style: disc; color: var(--primary); }
.article-content li span { color: #A0A0A0; }

.direct-answer { background: #111; border-left: 4px solid var(--primary); padding: 2rem; border-radius: 0 12px 12px 0; margin: 3rem 0; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.direct-answer p { margin: 0; font-style: italic; }

.cta-internal { margin: 4rem 0; }
.cta-box { background: linear-gradient(135deg, #1A1A1A, #0A0A0A); border: 1px solid #333; padding: 3rem; border-radius: 24px; text-align: center; }
.cta-box h3 { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; }
.cta-box .btn-primary { margin-top: 1.5rem; display: inline-block; }

.article-faq { margin: 4rem 0; }
.article-faq details { background: #0F0F0F; border: 1px solid #1E1E1E; border-radius: 12px; margin-bottom: 1rem; }
.article-faq summary { padding: 1.2rem; cursor: pointer; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.article-faq summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; }
.article-faq details[open] summary::after { content: '-'; }
.article-faq p { padding: 0 1.2rem 1.2rem; margin: 0; font-size: 1rem; }

.author-footer { display: flex; gap: 2rem; padding: 3rem; background: #0A0A0A; border-radius: 20px; border: 1px solid #1E1E1E; margin-top: 6rem; align-items: center; }
.author-footer img { width: 80px; height: 80px; border-radius: 50%; filter: grayscale(0.5); }
.author-footer h4 { margin-bottom: 0.5rem; color: #fff; }
.author-footer a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 768px) {
  .author-footer { flex-direction: column; text-align: center; gap: 1.5rem; }
  .article-meta { gap: 1rem; }
}
