/* =============================================
   PROSPERAR CURSOS - CSS Principal
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --purple: #7B1FA2;
    --purple-light: #9C27B0;
    --blue: #1976D2;
    --green: #25D366;
    --orange: #FF5722;
    --yellow: #FFC107;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--gray-800); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; font-family: inherit; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow); transition: var(--transition); }
.header-container { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1300px; margin: 0 auto; }
.logo img { height: 50px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 25px; }
.nav-link { font-weight: 500; color: var(--gray-700); padding: 8px 12px; border-radius: 8px; }
.nav-link:hover { color: var(--primary); background: rgba(233,30,99,0.08); }
.btn-cta { background: var(--gradient); color: var(--white); font-weight: 600; padding: 12px 24px; border-radius: 25px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(233,30,99,0.3); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,30,99,0.4); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.menu-toggle span { width: 28px; height: 3px; background: var(--gray-800); border-radius: 3px; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; background: var(--gradient); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content { color: var(--white); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 8px 20px; border-radius: 25px; font-size: 0.9rem; margin-bottom: 20px; }
.hero-title { font-family: 'Montserrat', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { display: block; background: linear-gradient(90deg, #FFE082, #FFF176); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.15rem; opacity: 0.95; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero { font-weight: 700; font-size: 1.05rem; padding: 16px 32px; border-radius: 30px; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.btn-hero.primary { background: var(--white); color: var(--primary); box-shadow: var(--shadow-lg); }
.btn-hero.primary:hover { transform: translateY(-3px) scale(1.02); }
.btn-hero.whatsapp { background: var(--green); color: var(--white); }
.btn-hero.whatsapp:hover { background: #128C7E; transform: translateY(-3px); }
.hero-stats { display: flex; gap: 40px; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 800; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* HERO FORM */
.hero-form-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 35px; box-shadow: var(--shadow-lg); }
.hero-form-title { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gray-900); text-align: center; margin-bottom: 5px; }
.hero-form-subtitle { color: var(--gray-600); text-align: center; margin-bottom: 25px; }
.hero-form { display: flex; flex-direction: column; gap: 15px; }
.form-group { position: relative; }
.form-group input, .form-group select { width: 100%; padding: 15px 15px 15px 50px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 1rem; background: var(--gray-50); transition: var(--transition); }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(233,30,99,0.1); }
.form-group i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-500); font-size: 1.1rem; }
.btn-submit { background: var(--gradient); color: var(--white); font-weight: 700; font-size: 1.05rem; padding: 16px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 4px 15px rgba(233,30,99,0.3); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(233,30,99,0.4); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-badge { display: inline-block; background: var(--gradient); color: var(--white); font-size: 0.85rem; font-weight: 600; padding: 6px 18px; border-radius: 20px; margin-bottom: 12px; }
.section-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }
.bg-gray { background: var(--gray-50); }

/* CATEGORIAS */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.category-card { background: var(--white); border-radius: var(--radius-lg); padding: 25px 15px; text-align: center; box-shadow: var(--shadow); border: 2px solid transparent; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.category-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient); transform: scaleX(0); transition: var(--transition); }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.category-card:hover::before { transform: scaleX(1); }
.category-icon { width: 65px; height: 65px; margin: 0 auto 15px; background: var(--gradient); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--white); transition: var(--transition); }
.category-card:hover .category-icon { transform: scale(1.1) rotate(5deg); }
.category-name { font-weight: 700; font-size: 0.95rem; color: var(--gray-800); margin-bottom: 5px; }
.category-count { font-size: 0.8rem; color: var(--gray-500); }

/* Cores por categoria */
.category-card[data-area="informatica"] .category-icon { background: linear-gradient(135deg, #2196F3, #1565C0); }
.category-card[data-area="profissionalizante"] .category-icon { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.category-card[data-area="ingles"] .category-icon { background: linear-gradient(135deg, #F44336, #C62828); }
.category-card[data-area="espanhol"] .category-icon { background: linear-gradient(135deg, #FF9800, #E65100); }
.category-card[data-area="enem"] .category-icon { background: linear-gradient(135deg, #9C27B0, #6A1B9A); }
.category-card[data-area="encceja"] .category-icon { background: linear-gradient(135deg, #00BCD4, #00838F); }
.category-card[data-area="concurso"] .category-icon { background: linear-gradient(135deg, #3F51B5, #283593); }
.category-card[data-area="gastronomia"] .category-icon { background: linear-gradient(135deg, #FF5722, #BF360C); }
.category-card[data-area="estetica"] .category-icon { background: linear-gradient(135deg, #E91E63, #AD1457); }
.category-card[data-area="petshop"] .category-icon { background: linear-gradient(135deg, #795548, #4E342E); }
.category-card[data-area="kids"] .category-icon { background: linear-gradient(135deg, #FFEB3B, #F9A825); }
.category-card[data-area="melhoridade"] .category-icon { background: linear-gradient(135deg, #607D8B, #37474F); }

/* DIFERENCIAIS */
.diferenciais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.diferencial-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border-left: 4px solid var(--primary); transition: var(--transition); }
.diferencial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.diferencial-icon { width: 55px; height: 55px; background: var(--gradient); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); margin-bottom: 18px; }
.diferencial-title { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.diferencial-text { color: var(--gray-600); line-height: 1.7; }

/* CURSOS */
.cursos-filters { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 35px; align-items: center; justify-content: center; }
.filter-search { flex: 1; min-width: 280px; max-width: 400px; position: relative; }
.filter-search input { width: 100%; padding: 14px 14px 14px 48px; border: 2px solid var(--gray-200); border-radius: 30px; font-size: 1rem; }
.filter-search input:focus { border-color: var(--primary); outline: none; }
.filter-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-500); }
.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { padding: 10px 20px; border: 2px solid var(--gray-200); border-radius: 25px; background: var(--white); font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--gradient); color: var(--white); border-color: transparent; }

.cursos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.curso-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100); }
.curso-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.curso-header { background: var(--gradient); padding: 15px 20px; position: relative; }
.curso-modalidade { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.95); color: var(--primary); font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 15px; text-transform: uppercase; }
.curso-modalidade.presencial { background: rgba(76,175,80,0.95); color: var(--white); }
.curso-area { color: rgba(255,255,255,0.9); font-size: 0.85rem; }
.curso-body { padding: 20px; }
.curso-nome { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.4; }
.curso-info { display: flex; gap: 15px; color: var(--gray-500); font-size: 0.85rem; }
.curso-info span { display: flex; align-items: center; gap: 5px; }
.curso-footer { padding: 15px 20px; background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.btn-curso { width: 100%; background: var(--gradient); color: var(--white); font-weight: 600; padding: 12px; border-radius: var(--radius); text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-curso:hover { box-shadow: 0 4px 15px rgba(233,30,99,0.3); }

.cursos-load-more { text-align: center; margin-top: 40px; }
.btn-load-more { background: var(--white); color: var(--primary); font-weight: 600; padding: 14px 40px; border: 2px solid var(--primary); border-radius: 30px; display: inline-flex; align-items: center; gap: 8px; }
.btn-load-more:hover { background: var(--primary); color: var(--white); }
.cursos-counter { margin-top: 15px; color: var(--gray-500); }

/* DEPOIMENTOS */
.depoimentos { background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%); color: var(--white); position: relative; }
.depoimentos .section-title { color: var(--white); }
.depoimentos .section-title span { -webkit-text-fill-color: #FFE082; }
.depoimentos-slider { max-width: 800px; margin: 0 auto; }
.depoimento-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.depoimento-text { font-size: 1.15rem; line-height: 1.8; margin-bottom: 25px; font-style: italic; }
.depoimento-text::before { content: '"'; font-size: 4rem; font-family: Georgia, serif; color: var(--primary); line-height: 0; display: block; margin-bottom: 10px; }
.depoimento-autor { display: flex; align-items: center; justify-content: center; gap: 15px; }
.depoimento-avatar { width: 55px; height: 55px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; }
.depoimento-info h4 { font-weight: 700; }
.depoimento-info p { font-size: 0.9rem; opacity: 0.8; }

/* CTA */
.cta-section { background: var(--gradient); text-align: center; color: var(--white); position: relative; overflow: hidden; }
.cta-section::before, .cta-section::after { content: ''; position: absolute; background: rgba(255,255,255,0.1); border-radius: 50%; }
.cta-section::before { top: -50%; right: -15%; width: 400px; height: 400px; }
.cta-section::after { bottom: -30%; left: -10%; width: 350px; height: 350px; }
.cta-content { position: relative; z-index: 2; }
.cta-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 15px; }
.cta-text { font-size: 1.1rem; opacity: 0.95; max-width: 550px; margin: 0 auto 30px; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-cta-main { background: var(--white); color: var(--primary); font-weight: 700; font-size: 1.05rem; padding: 16px 35px; border-radius: 30px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); }
.btn-cta-main:hover { transform: translateY(-3px); }
.btn-cta-whatsapp { background: var(--green); color: var(--white); font-weight: 700; font-size: 1.05rem; padding: 16px 35px; border-radius: 30px; display: flex; align-items: center; gap: 10px; }
.btn-cta-whatsapp:hover { background: #128C7E; transform: translateY(-3px); }

/* FOOTER */
.footer { background: var(--gray-900); color: var(--white); padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 55px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-title { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-500); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; color: var(--gray-500); }
.footer-contact i { color: var(--primary); margin-top: 4px; }
.footer-bottom { padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-bottom p, .footer-bottom a { color: var(--gray-500); font-size: 0.9rem; }
.footer-bottom a:hover { color: var(--primary); }

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; z-index: 999; width: 60px; height: 60px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,0.4); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); } }

/* ANIMATIONS */
.animate { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-form-wrapper { order: 2; max-width: 480px; margin: 0 auto; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-buttons, .hero-stats { justify-content: center; }
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 100px 0 50px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-item { flex: 1; min-width: 80px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .diferenciais-grid, .cursos-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .filter-search { min-width: 100%; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; }
    .btn-hero { width: 100%; justify-content: center; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-card { padding: 18px 10px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-cta-main, .btn-cta-whatsapp { width: 100%; justify-content: center; }
    .whatsapp-float { width: 55px; height: 55px; font-size: 1.6rem; bottom: 20px; right: 20px; }
}

/* Mobile Menu */
.nav.open { display: flex; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; padding: 30px; z-index: 999; }
.nav.open .nav-list { flex-direction: column; }
.nav.open .nav-link { padding: 15px; border-bottom: 1px solid var(--gray-100); font-size: 1.1rem; }
.nav.open .btn-cta { margin-top: 20px; justify-content: center; }

/* =============================================
   E-COMMERCE STYLES (Carrinho, Auth, Toast)
   ============================================= */

/* NAV AUTH / CARRINHO */
.nav-auth { display: flex; align-items: center; gap: 15px; }
.nav-cart { position: relative; background: none; font-size: 1.3rem; color: var(--gray-700); padding: 8px; }
.nav-cart .badge { position: absolute; top: 0; right: 0; background: var(--primary); color: white; font-size: 0.7rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.user-dropdown { position: relative; }
.user-btn { background: var(--gradient); color: white; padding: 8px 16px; border-radius: 20px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.dropdown-menu { position: absolute; top: 100%; right: 0; background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 180px; padding: 8px 0; display: none; z-index: 1000; }
.user-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--gray-700); }
.dropdown-menu a:hover { background: var(--gray-50); color: var(--primary); }

/* CART SIDEBAR */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100; opacity: 0; visibility: hidden; transition: var(--transition); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 400px; max-width: 100%; height: 100vh; background: white; z-index: 1101; box-shadow: -5px 0 30px rgba(0,0,0,0.2); transition: var(--transition); display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
.cart-close { background: none; font-size: 1.5rem; color: var(--gray-500); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; padding: 50px 20px; color: var(--gray-500); }
.cart-empty i { font-size: 3rem; margin-bottom: 15px; opacity: 0.5; }
.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--gray-100); }
.cart-item-image { width: 60px; height: 60px; background: var(--gradient); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.cart-item-price { color: var(--primary); font-weight: 700; }
.cart-item-remove { background: none; color: var(--gray-400); padding: 5px; }
.cart-item-remove:hover { color: var(--primary); }
.cart-footer { padding: 20px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }
.cart-totals { margin-bottom: 15px; }
.cart-totals div { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--gray-600); }
.cart-totals .cart-total-row { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); border-top: 1px solid var(--gray-200); padding-top: 10px; }
.cart-coupon { display: flex; gap: 8px; margin-bottom: 15px; }
.cart-coupon input { flex: 1; padding: 10px 15px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.cart-coupon button { padding: 10px 15px; background: var(--gray-800); color: white; border-radius: var(--radius); font-weight: 500; }
.btn-checkout { width: 100%; background: var(--gradient); color: white; padding: 15px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-checkout:hover { box-shadow: 0 4px 15px rgba(233,30,99,0.4); }

/* AUTH MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); padding: 20px; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content { background: white; border-radius: var(--radius-lg); width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 25px 25px 0; text-align: center; }
.modal-header h2 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.modal-header p { color: var(--gray-500); font-size: 0.95rem; }
.modal-tabs { display: flex; margin: 20px 25px 0; border-bottom: 2px solid var(--gray-200); }
.modal-tab { flex: 1; padding: 12px; text-align: center; font-weight: 600; color: var(--gray-500); background: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); }
.modal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.modal-body { padding: 25px; }
.auth-form { display: none; flex-direction: column; gap: 15px; }
.auth-form.active { display: flex; }
.auth-form .form-group { margin-bottom: 0; }
.auth-form .form-group input { padding-left: 15px; }
.btn-auth { background: var(--gradient); color: white; padding: 14px; border-radius: var(--radius); font-weight: 600; width: 100%; }

/* TOAST */
.toast-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--gray-900); color: white; padding: 15px 25px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); animation: slideUp 0.3s ease; min-width: 280px; }
.toast.success { background: #2E7D32; }
.toast.error { background: #C62828; }
.toast.info { background: #1565C0; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* COURSE CARD E-COMMERCE */
.course-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100); }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-image { background: var(--gradient); padding: 40px; text-align: center; position: relative; }
.course-image i { font-size: 3rem; color: white; opacity: 0.9; }
.course-badge { position: absolute; top: 12px; padding: 4px 12px; border-radius: 15px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.course-badge:first-of-type { left: 12px; background: rgba(255,255,255,0.95); color: var(--primary); }
.course-badge.presencial { background: #4CAF50; color: white; }
.course-badge.featured { right: 12px; left: auto; background: #FFC107; color: #333; }
.course-body { padding: 20px; }
.course-category { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 5px; }
.course-name { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; line-height: 1.4; }
.course-info { display: flex; gap: 15px; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 15px; }
.course-info span { display: flex; align-items: center; gap: 5px; }
.course-price { margin-bottom: 15px; }
.price-original { text-decoration: line-through; color: var(--gray-400); font-size: 0.9rem; margin-right: 8px; }
.price-current { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.btn-course { width: 100%; background: var(--gradient); color: white; padding: 12px; border-radius: var(--radius); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-course:hover { box-shadow: 0 4px 15px rgba(233,30,99,0.3); transform: translateY(-2px); }

/* COURSES GRID E-COMMERCE */
#courses-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

/* RESPONSIVE E-COMMERCE */
@media (max-width: 768px) {
    .cart-sidebar { width: 100%; right: -100%; }
    .nav-auth { gap: 10px; }
    #courses-container { grid-template-columns: 1fr; }
}

/* Link no card do curso */
.course-card .course-image { display: block; cursor: pointer; }
.course-card .course-body a { text-decoration: none; color: inherit; display: block; }
.course-card .course-body a:hover .course-name { color: var(--primary); }
