/* ======================================================
   Coditech Treinamentos — Public Site Styles
   ====================================================== */

:root {
    --pub-primary:       #6266ea;
    --pub-primary-dark:  #4f53d2;
    --pub-primary-light: #eef0ff;
    --pub-dark:          #1a1f36;
    --pub-text:          #2d3748;
    --pub-muted:         #718096;
    --pub-border:        #e8ecf0;
    --pub-shadow:        0 2px 12px rgba(0,0,0,0.08);
    --pub-shadow-hover:  0 10px 32px rgba(0,0,0,0.14);
    --pub-radius:        14px;
    --pub-transition:    all 0.25s ease;
    --pub-nav-height:    68px;

    /* Paleta vibrante / prova social */
    --pub-vibrant-1:     #6c2bd9;
    --pub-vibrant-2:     #a855f7;
    --pub-vibrant-3:     #ec4899;
    --pub-vibrant-4:     #f97316;
    --pub-gradient-vibrant: linear-gradient(120deg, var(--pub-vibrant-1) 0%, var(--pub-vibrant-2) 45%, var(--pub-vibrant-3) 80%, var(--pub-vibrant-4) 130%);
    --pub-gold:          #f59e0b;
}

/* ---- BODY ---- */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--pub-text);
}

/* ---- NAVBAR ---- */
#publicNav {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    border-bottom: 1px solid var(--pub-border);
    min-height: var(--pub-nav-height);
    transition: box-shadow 0.3s ease;
    padding: 0;
}
#publicNav.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}
#publicNav .container {
    height: var(--pub-nav-height);
    display: flex;
    align-items: center;
}
#publicNav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 0;
}
#publicNav .brand-logo {
    height: 38px;
    width: auto;
    border-radius: 6px;
    flex-shrink: 0;
}
#publicNav .brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-text);
    line-height: 1.2;
    white-space: nowrap;
}
#publicNav .brand-name span {
    color: var(--pub-primary);
}
#publicNav .navbar-nav {
    gap: 2px;
}
#publicNav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pub-text);
    padding: 0.42rem 0.85rem;
    border-radius: 8px;
    transition: var(--pub-transition);
    position: relative;
    white-space: nowrap;
}
#publicNav .nav-link:hover {
    color: var(--pub-primary);
    background: var(--pub-primary-light);
}
#publicNav .nav-link.active {
    color: var(--pub-primary);
    font-weight: 600;
    background: var(--pub-primary-light);
}
#publicNav .nav-link.nav-logout {
    color: var(--pub-muted);
    font-size: 0.88rem;
}
#publicNav .nav-link.nav-logout:hover {
    color: #dc3545;
    background: #fff5f5;
}
#publicNav .btn-nav-primary {
    display: inline-flex;
    align-items: center;
    background: var(--pub-primary);
    color: #fff;
    border: none;
    padding: 0.45rem 1.15rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--pub-transition);
    text-decoration: none;
    white-space: nowrap;
}
#publicNav .btn-nav-primary:hover {
    background: var(--pub-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
#publicNav .btn-nav-outline {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--pub-primary);
    color: var(--pub-primary);
    background: transparent;
    padding: 0.4rem 1.1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--pub-transition);
    text-decoration: none;
    white-space: nowrap;
}
#publicNav .btn-nav-outline:hover {
    background: var(--pub-primary);
    color: #fff;
}
#publicNav .navbar-toggler {
    border: none;
    padding: 6px;
}
#publicNav .navbar-toggler:focus {
    box-shadow: none;
}

/* ---- PAGE HERO ---- */
.page-hero {
    background: var(--pub-gradient-vibrant);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 450px;
    height: 450px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -6%;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.25;
    position: relative;
}
.page-hero p.hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    margin-bottom: 0;
    position: relative;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
    position: relative;
}

/* ---- HOME HERO (banner grande) ---- */
.home-hero {
    background: var(--pub-gradient-vibrant);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 420px;
    height: 420px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.home-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 0;
}
.home-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.home-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 2rem;
}
.home-hero .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: #fff;
    color: var(--pub-primary);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--pub-transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    background: #f0f1ff;
    color: var(--pub-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 0.72rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--pub-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ---- SECTION TITLES ---- */
.sec-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 0.4rem;
}
.sec-sub {
    color: var(--pub-muted);
    font-size: 0.92rem;
}
.sec-bar {
    width: 44px;
    height: 3px;
    background: var(--pub-primary);
    border-radius: 2px;
    margin: 0.65rem auto 0;
}

/* ---- COURSE CARDS (cursos.php e index.php) ---- */
.service-work {
    border: none !important;
    border-radius: var(--pub-radius) !important;
    box-shadow: var(--pub-shadow) !important;
    transition: var(--pub-transition) !important;
    overflow: hidden !important;
}
a:hover .service-work,
.service-work:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--pub-shadow-hover) !important;
}
.service-work .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
a:hover .service-work .card-img-top {
    transform: scale(1.04);
}
.service-work .card-body {
    padding: 1.3rem 1.4rem;
}
.service-work .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pub-text) !important;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.service-work .card-text {
    font-size: 0.86rem;
    color: var(--pub-muted) !important;
    line-height: 1.6;
}

/* Cards genéricos nas páginas internas */
.projects .card,
.row.projects .card {
    border: none;
    border-radius: var(--pub-radius);
    box-shadow: var(--pub-shadow);
    transition: var(--pub-transition);
    overflow: hidden;
}
.projects .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pub-shadow-hover);
}
.projects .card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ---- FILTER BUTTONS ---- */
.filter-btns {
    background: #f7f8fc;
    border: 1px solid var(--pub-border) !important;
    padding: 6px !important;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.filter-btn {
    border: none !important;
    background: transparent !important;
    color: var(--pub-muted) !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    padding: 0.42rem 1.1rem !important;
    border-radius: 8px !important;
    transition: var(--pub-transition) !important;
}
.filter-btn:hover {
    background: var(--pub-primary-light) !important;
    color: var(--pub-primary) !important;
}
.filter-btn.active {
    background: var(--pub-primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(98,102,234,0.35) !important;
}

/* ---- HIGHLIGHT FEATURE CARD (featured course) ---- */
.feature-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: var(--pub-transition);
}
.feature-card:hover {
    box-shadow: 0 10px 36px rgba(0,0,0,0.16);
}
.feature-card .card-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    min-height: 300px;
}
.feature-card .card-body {
    padding: 2rem 2.2rem;
}

/* ---- TESTIMONIAL CAROUSEL ---- */
.testimonial-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: var(--pub-shadow);
    padding: 2.5rem 2rem;
    text-align: center;
}
.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--pub-primary);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.testimonial-card .quote-text {
    font-size: 1.05rem;
    color: var(--pub-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.testimonial-card .quote-author img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--pub-primary);
    margin-bottom: 0.6rem;
}
.testimonial-card .quote-author h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pub-text);
    margin: 0;
}
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(98,102,234,0.1);
    border: 1.5px solid rgba(98,102,234,0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--pub-transition);
}
.testimonial-carousel .carousel-control-prev { left: -22px; }
.testimonial-carousel .carousel-control-next { right: -22px; }
.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    background: var(--pub-primary);
    border-color: var(--pub-primary);
    opacity: 1;
}
.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(37%) sepia(89%) saturate(1234%) hue-rotate(222deg) brightness(95%) contrast(90%);
}
.testimonial-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
    .testimonial-carousel .carousel-control-prev { left: 0; }
    .testimonial-carousel .carousel-control-next { right: 0; }
}

/* ---- FOOTER ---- */
.public-footer {
    background: var(--pub-dark);
    color: rgba(255,255,255,0.65);
    padding: 4rem 0 0;
}
.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.footer-brand-row img {
    height: 36px;
    border-radius: 6px;
}
.footer-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.footer-brand-name span {
    color: #a5a8ff;
}
.footer-desc {
    font-size: 0.86rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.48);
    max-width: 280px;
}
.public-footer h6.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.1rem;
}
.public-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.public-footer .footer-links li {
    margin-bottom: 0.55rem;
}
.public-footer .footer-links li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.public-footer .footer-links li a:hover {
    color: #a5a8ff;
}
.public-footer .footer-links li a i {
    font-size: 0.9rem;
}
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    margin-bottom: 0.6rem;
}
.footer-contact-link:hover {
    color: #a5a8ff;
}
.footer-contact-link i {
    color: #a5a8ff;
    font-size: 1rem;
    flex-shrink: 0;
}
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: var(--pub-transition);
    font-size: 1.15rem;
}
.footer-social a:hover {
    background: var(--pub-primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.25rem 0;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: #a5a8ff;
}

/* ---- GO TO TOP ---- */
.go-to-top-btn {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 42px;
    height: 42px;
    background: var(--pub-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(98,102,234,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.25s;
    z-index: 999;
    font-size: 1.2rem;
}
.go-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.go-to-top-btn:hover {
    background: var(--pub-primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

/* ---- FORMS & AUTH PAGES ---- */
.auth-wrapper {
    min-height: calc(100vh - var(--pub-nav-height));
    background: linear-gradient(135deg, #f0f1ff 0%, #f8f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}
.auth-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.10);
    padding: 2.5rem 2.2rem;
    width: 100%;
    max-width: 440px;
}
.auth-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 0.3rem;
}
.auth-card .auth-sub {
    color: var(--pub-muted);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}

/* ---- TIPO USUARIO SELECTOR (login.php) ---- */
.tipo-selector {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.tipo-option {
    flex: 1;
    padding: 1rem 0.75rem;
    border: 2px solid var(--pub-border);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--pub-transition);
    background: #fafbff;
}
.tipo-option:hover {
    border-color: var(--pub-primary);
    background: var(--pub-primary-light);
}
.tipo-option.active {
    border-color: var(--pub-primary);
    background: var(--pub-primary-light);
}
.tipo-option input[type="radio"] {
    display: none;
}
.tipo-option i {
    font-size: 2.2rem;
    color: var(--pub-muted);
    display: block;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}
.tipo-option.active i {
    color: var(--pub-primary);
}
.tipo-option label {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pub-muted);
    margin: 0;
    display: block;
    transition: color 0.2s;
}
.tipo-option.active label {
    color: var(--pub-primary);
}

/* ---- GENERAL UTILITIES ---- */
.btn-pub-primary {
    background: var(--pub-primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--pub-transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-pub-primary:hover {
    background: var(--pub-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.form-control:focus, .form-select:focus {
    border-color: var(--pub-primary);
    box-shadow: 0 0 0 0.2rem rgba(98,102,234,0.18);
}
.btn-primary {
    background-color: var(--pub-primary);
    border-color: var(--pub-primary);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--pub-primary-dark);
    border-color: var(--pub-primary-dark);
}
.btn-outline-primary {
    color: var(--pub-primary);
    border-color: var(--pub-primary);
}
.btn-outline-primary:hover {
    background-color: var(--pub-primary);
    border-color: var(--pub-primary);
}
.text-primary { color: var(--pub-primary) !important; }
.badge.bg-success { font-weight: 500; }
.badge.bg-danger  { font-weight: 500; }

/* Responsive */
@media (max-width: 991px) {
    #publicNav .navbar-collapse {
        background: #fff;
        padding: 1rem 0 1.25rem;
        border-top: 1px solid var(--pub-border);
        margin-top: 4px;
    }
    #publicNav .navbar-nav {
        gap: 0;
    }
    #publicNav .nav-link {
        padding: 0.6rem 0.5rem;
        border-radius: 0;
        border-bottom: 1px solid var(--pub-border);
    }
    #publicNav .nav-link:last-child {
        border-bottom: none;
    }
    #publicNav .btn-nav-outline,
    #publicNav .btn-nav-primary {
        display: block;
        text-align: center;
        margin: 0.35rem 0 0;
        border-radius: 8px;
        padding: 0.55rem 1rem;
    }
    .testimonial-carousel .carousel-control-prev { left: 0; }
    .testimonial-carousel .carousel-control-next { right: 0; }
}
@media (max-width: 576px) {
    .page-hero { padding: 3rem 0 2.5rem; }
    .home-hero .hero-content { padding: 4rem 0; }
    .auth-card { padding: 1.75rem 1.25rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ======================================================
   PROVA SOCIAL — stats bar, CTA, avatares, badges
   ====================================================== */

/* ---- STATS BAR (cartão flutuante sobre o hero) ---- */
.stats-bar-wrap {
    position: relative;
    z-index: 2;
    margin-top: -2.75rem;
    margin-bottom: 1.5rem;
}
.stats-bar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(108,43,217,0.18);
    padding: 1.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1 1 25%;
    min-width: 130px;
    text-align: center;
    padding: 0.5rem 0.75rem;
    position: relative;
}
.stat-item + .stat-item {
    border-left: 1px solid var(--pub-border);
}
.stat-item .stat-icon {
    font-size: 1.6rem;
    background: var(--pub-gradient-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 0.2rem;
}
.stat-item .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pub-dark);
    line-height: 1.15;
    display: block;
}
.stat-item .stat-label {
    font-size: 0.78rem;
    color: var(--pub-muted);
    font-weight: 500;
}
@media (max-width: 767px) {
    .stats-bar-wrap { margin-top: -1.75rem; }
    .stat-item { flex: 1 1 45%; }
    .stat-item:nth-child(odd) { border-left: none !important; }
}

/* ---- CTA BANNER (chamada final para cadastro) ---- */
.cta-banner {
    background: var(--pub-gradient-vibrant);
    border-radius: 22px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.cta-banner::before { width: 260px; height: 260px; top: -90px; left: -60px; }
.cta-banner::after { width: 320px; height: 320px; bottom: -120px; right: -80px; }
.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
    position: relative;
}
.cta-banner p {
    color: rgba(255,255,255,0.88);
    font-size: 1.02rem;
    max-width: 560px;
    margin: 0 auto 1.6rem;
    position: relative;
}
.cta-banner .btn-hero-primary,
.cta-banner .btn-hero-outline {
    position: relative;
}

/* ---- AVATAR STACK (prova social de depoimentos) ---- */
.avatar-stack {
    display: inline-flex;
    align-items: center;
}
.avatar-stack img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack .avatar-more {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pub-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    border: 2px solid #fff;
}

/* ---- CERT BADGE (selo de certificado) ---- */
.cert-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-gold) 0%, #fbbf24 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(245,158,11,0.35);
    flex-shrink: 0;
}

/* ---- BADGE DE INSCRITOS (prova social nos cards de curso) ---- */
.inscritos-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pub-vibrant-1);
    background: rgba(108,43,217,0.08);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
}

/* ---- VALUE PROPS (ícones de benefícios) ---- */
.value-props {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
}
.value-prop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    border-radius: 50px;
    padding: 0.35rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
